Thread View: news.software.nntp
2 messages
2 total messages
Started by James F. Hranicky
Fri, 08 Aug 1997 00:00
Stock inn-1.5.1 crashing w/SIG{BUS,SEGV} on Solaris 2.5
Author: James F. Hranicky
Date: Fri, 08 Aug 1997 00:00
Date: Fri, 08 Aug 1997 00:00
68 lines
3624 bytes
3624 bytes
I'm running stock inn-1.5.1 on Solaris 2.5 and I'm getting a SIGBUS
or a SIGSEGV three or four times a day. Here's the output from dbx
for one of the crashes:
[root@thunder:/] # dbx /local/news/sbin/innd /var/tmp/inn-core.01
test: -e: unknown operand
Reading symbolic information for innd
dbx: warning: writable memory segment 0xee000000[17326080] of size 0
in core
dbx: warning: writable memory segment 0xef440000[1077248] of size 0
in core
core file header read successfully
Reading symbolic information for rtld /usr/lib/ld.so.1
Reading symbolic information for libsocket.so.1
Reading symbolic information for libnsl.so.1
Reading symbolic information for libelf.so.1
Reading symbolic information for libresolv.so.2
Reading symbolic information for libc.so.1
Reading symbolic information for libdl.so.1
Reading symbolic information for libintl.so.1
Reading symbolic information for libmp.so.1
Reading symbolic information for libw.so.1
Reading symbolic information for nss_files.so.1
Reading symbolic information for nss_dns.so.1
program terminated by signal BUS (invalid address alignment)
Current function is xmalloc
22 while ((new = malloc(i)) == NULL)
(dbx) list
22 while ((new = malloc(i)) == NULL)
23 (*xmemfailure)("malloc", i);
24 #if 0
25 memset (new,0,i) ;
26 #endif
27 return CAST(ALIGNPTR, new);
28 }
(dbx) where
[1] t_splay(0x75dd68, 0x75dd80, 0x75dd70, 0x24, 0x2e73673e,
0x67f3f0), at 0xef64afd4
[2] t_delete(0x75dd68, 0x8f7c88, 0xf10, 0x75dd78, 0x5e018,
0x89ab78), at 0xef64ad2c
[3] realfree(0x75dd68, 0xf10, 0xef6954e8, 0x89ab80, 0x89ab88,
0x5d103), at 0xef64a9f0
[4] cleanfree(0x0, 0xef6954e8, 0xef6954e8, 0xef695568, 0x0, 0xef6954ec),
at 0xef64b23c
[5] _malloc_unlocked(0x8, 0x62b148, 0x89ab80, 0xb, 0x0, 0x5d100),
at 0xef64a38c
[6] malloc(0x8, 0x1, 0x62b148, 0x0, 0x62b4b0, 0x700a8), at 0xef64a284
=>[7] xmalloc(i = 8U), line 22 in "xmalloc.c"
[8] CCreader(cp = 0x6fab8), line 1701 in "cc.c"
[9] CHANreadloop(), line 832 in "chan.c"
[10] main(ac = 0, av = 0xeffffe84), line 952 in "innd.c"
(dbx) quit
The crashes seem to happen either in xmalloc or xrealloc. Any ideas?
I'm running a dual-processor SS20 with 256M of RAM, and 2 FW/FE Sunswift
cards. Four 4G FW disks are striped together for the spool (FW bus 1), one
1G narrow drive is set aside for the history DB, and the rest of the
news installation is on 1 FW 4G drive (FW bus 2).
----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin UF/CISE Department |
| E314E CSE Building Phone (904) 392-1499 |
| jfh@cise.ufl.edu http://www.cis.ufl.edu/~jfh |
----------------------------------------------------------------------
Re: Stock inn-1.5.1 crashing w/SIG{BUS,SEGV} on Solaris 2.5
Author: Forrest J. Cavalier III
Date: Fri, 08 Aug 1997 00:00
Date: Fri, 08 Aug 1997 00:00
27 lines
1343 bytes
1343 bytes
Posted and e-mailed In article <5sfdbf$7nu$1@thunder.cise.ufl.edu>, jfh@tick.cise.ufl.edu wrote... > >I'm running stock inn-1.5.1 on Solaris 2.5 and I'm getting a SIGBUS >or a SIGSEGV three or four times a day. Here's the output from dbx >for one of the crashes: [snip] Although the most widely reported string buffer overrun was in nnrpd, (with the From: header allowing stack data overwrite), there are a few string buffer errors in inn-1.5.1 which can cause innd to crash. This is one reason that running the 1.5.1sec2 nnrpd with the 1.5.1 innd is not a completely satisfactory solution. Also, inn-1.5.1sec2 has bugs, and not all the known defects fixed. 1.6b3 has bugs. Forrest Cavalier, Mib Software, INN customization and consulting
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