show and repl segfaulting: 1.2 source and 1.1fc6 rpm

View: New views
3 Messages — Rating Filter:   Alert me  

show and repl segfaulting: 1.2 source and 1.1fc6 rpm

by Stiffler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have show and repl segfaulting for certain messages on a CentOS 5 i686 platform.  The problem occurs with both a 1.1 fc6 rpm and 1.2 compiled from source.

The necessary libraries seem to be present:
$ ldd /usr/bin/repl
        linux-gate.so.1 =>  (0xffffe000)
        libdb-4.3.so => /lib/libdb-4.3.so (0xf7e0b000)
        libc.so.6 => /lib/libc.so.6 (0xf7ccb000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7cb4000)
        /lib/ld-linux.so.2 (0xf7f0b000)
ldd /usr/bin/show
        linux-gate.so.1 =>  (0xffffe000)
        libdb-4.3.so => /lib/libdb-4.3.so (0xf7ea2000)
        libtermcap.so.2 => /lib/libtermcap.so.2 (0xf7e9e000)
        libc.so.6 => /lib/libc.so.6 (0xf7d5e000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7d47000)
        /lib/ld-linux.so.2 (0xf7fa2000)

So I recompiled with --enable-debug and the problem has gone away.

Do I just leave it as it is?

Re: show and repl segfaulting: 1.2 source and 1.1fc6 rpm

by Josh Bressers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> Hello,
>
> I have show and repl segfaulting for certain messages on a CentOS 5 i686
> platform.  The problem occurs with both a 1.1 fc6 rpm and 1.2 compiled from
> source.
>

I suspect your problem is this:
http://savannah.nongnu.org/bugs/?22060

Try to rebuild by adding -fno-builtin-strcasecmp to your CFLAGS.

You may also want to try rebuilding the F8 rpm for your system, as it
contains a more modern CVS version of nmh (with numerous features and
fixes).

--
    JB


_______________________________________________
Nmh-workers mailing list
Nmh-workers@...
http://lists.nongnu.org/mailman/listinfo/nmh-workers

RE: show and repl segfaulting: 1.2 source and 1.1fc6 rpm

by Stiffler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




----------------------------------------

> To: zoubidoo@...
> CC: nmh-workers@...
> From: josh@...
> Subject: Re: [Nmh-workers] show and repl segfaulting: 1.2 source and 1.1fc6 rpm
> Date: Tue, 19 Feb 2008 11:05:47 -0500
>
> >
> > Hello,
> >
> > I have show and repl segfaulting for certain messages on a CentOS 5 i686
> > platform.  The problem occurs with both a 1.1 fc6 rpm and 1.2 compiled from
> > source.
> >
>
> I suspect your problem is this:
> http://savannah.nongnu.org/bugs/?22060
>
> Try to rebuild by adding -fno-builtin-strcasecmp to your CFLAGS.
>
> You may also want to try rebuilding the F8 rpm for your system, as it
> contains a more modern CVS version of nmh (with numerous features and
> fixes).
>
Thanks for the suggestion Josh.  The bug report is for a 64-bit architecture while I'm running this on a 32-bit platform. Nevertheless I recompiled anyway with -fno-builtin-strcasecmp added to CFLAGS in the Makefile, but the segfault came back.  Going back to  --enable-debug which so far seems to work.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
Nmh-workers mailing list
Nmh-workers@...
http://lists.nongnu.org/mailman/listinfo/nmh-workers