🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Roland Becker Thu, 18 May 2006 12:31
INN 2.4.1 segfaulting on posts with attachments
#73652
Author: Roland Becker
Date: Thu, 18 May 2006 12:31
73 lines
4069 bytes
We have set up an internal INN 2.4.1 on a SUSE Linux Enterprise Server
9 SP2 (Intel 64Bit).

When posting articles with attachments larger then 10 Kb innd dies with
segfault.
With smaller attachments or without attachments posting and reading
works fine.

I've tried to find something with ldd and gdb.

ldd /usr/lib/news/bin/innd
        libperl.so =>
/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE/libperl.so
(0x0000002a9566d000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a958b8000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000002a95a0f000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000002a95b12000)
        libpthread.so.0 => /lib64/tls/libpthread.so.0
(0x0000002a95c4b000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95d5f000)
        /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
(0x0000002a95556000)

gdb /usr/lib/news/bin/innd 30828
Attaching to program: /usr/lib/news/bin/innd, process 30828
Reading symbols from
/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE/libperl.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE/libperl.so
Reading symbols from /lib64/tls/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib64/tls/libm.so.6
Reading symbols from /lib64/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/tls/libpthread.so.0...(no debugging symbols
found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 182904686176 (LWP 30828)]
Loaded symbols for /lib64/tls/libpthread.so.0
Reading symbols from /lib64/tls/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib64/tls/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging
symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libnss_files.so.2
0x0000002a95e111a5 in __select_nocancel () from /lib64/tls/libc.so.6

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182904686176 (LWP 30828)]
0x000000000040c430 in ARTpost ()
(gdb) backtrace
#0  0x000000000040c430 in ARTpost ()
#1  0x0000000000419980 in NCcreate ()
#2  0x0000000000414a7b in CHANreadloop ()
#3  0x000000000041758f in main ()
(gdb)

On another machine with INN 2.4.1 and Suse Linux Enterprise Server 9
SP3 (i586) the problem doesn't occur.

Has anybody an idea what to do?

Thanks,
Roland
Re: INN 2.4.1 segfaulting on posts with attachments
#73651
Author: Bozweb
Date: Thu, 18 May 2006 16:31
83 lines
4261 bytes
On 18 May 2006 05:31:16 -0700, "Roland Becker"
<roland.becker@hellyfant.de> wrote:

>We have set up an internal INN 2.4.1 on a SUSE Linux Enterprise Server
>9 SP2 (Intel 64Bit).
>
>When posting articles with attachments larger then 10 Kb innd dies with
>segfault.
>With smaller attachments or without attachments posting and reading
>works fine.
>
>I've tried to find something with ldd and gdb.
>
>ldd /usr/lib/news/bin/innd
>        libperl.so =>
>/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE/libperl.so
>(0x0000002a9566d000)
>        libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a958b8000)
>        libdl.so.2 => /lib64/libdl.so.2 (0x0000002a95a0f000)
>        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000002a95b12000)
>        libpthread.so.0 => /lib64/tls/libpthread.so.0
>(0x0000002a95c4b000)
>        libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95d5f000)
>        /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
>(0x0000002a95556000)
>
>gdb /usr/lib/news/bin/innd 30828
>Attaching to program: /usr/lib/news/bin/innd, process 30828
>Reading symbols from
>/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE/libperl.so...(no
>debugging symbols found)...done.
>Loaded symbols for
>/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE/libperl.so
>Reading symbols from /lib64/tls/libm.so.6...(no debugging symbols
>found)...done.
>Loaded symbols for /lib64/tls/libm.so.6
>Reading symbols from /lib64/libdl.so.2...(no debugging symbols
>found)...done.
>Loaded symbols for /lib64/libdl.so.2
>Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols
>found)...done.
>Loaded symbols for /lib64/libcrypt.so.1
>Reading symbols from /lib64/tls/libpthread.so.0...(no debugging symbols
>found)...done.
>[Thread debugging using libthread_db enabled]
>[New Thread 182904686176 (LWP 30828)]
>Loaded symbols for /lib64/tls/libpthread.so.0
>Reading symbols from /lib64/tls/libc.so.6...
>(no debugging symbols found)...done.
>Loaded symbols for /lib64/tls/libc.so.6
>Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging
>symbols found)...done.
>Loaded symbols for /lib64/ld-linux-x86-64.so.2
>Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols
>found)...done.
>Loaded symbols for /lib64/libnss_files.so.2
>0x0000002a95e111a5 in __select_nocancel () from /lib64/tls/libc.so.6
>
>Program received signal SIGSEGV, Segmentation fault.
>[Switching to Thread 182904686176 (LWP 30828)]
>0x000000000040c430 in ARTpost ()
>(gdb) backtrace
>#0  0x000000000040c430 in ARTpost ()
>#1  0x0000000000419980 in NCcreate ()
>#2  0x0000000000414a7b in CHANreadloop ()
>#3  0x000000000041758f in main ()
>(gdb)
>
>On another machine with INN 2.4.1 and Suse Linux Enterprise Server 9
>SP3 (i586) the problem doesn't occur.
>
>Has anybody an idea what to do?
>
>Thanks,
>Roland

The INN/mmap bug?
http://www.ussg.iu.edu/hypermail/linux/kernel/0009.2/0444.html
-- 
Posted by
http://news.bozweb.net
http://www.bozweb.net
Key: 0x82DEE1A0
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads