Ok, go tthe compiler problem addressed. Now it looks like there may be
problem with the old code.

solaris 8/aol3.4.2/gcc3.03/

If a user drops a connection before a response comes back, it looks like it
causes a segfault.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 6 (LWP 7)]
0xff142060 in t_splay () from /usr/lib/libc.so.1
(gdb) bt
#0  0xff142060 in t_splay () from /usr/lib/libc.so.1
#1  0xff141ecc in t_delete () from /usr/lib/libc.so.1
#2  0xff141ad0 in realfree () from /usr/lib/libc.so.1
#3  0xff142310 in _free_unlocked () from /usr/lib/libc.so.1
#4  0xff142260 in free () from /usr/lib/libc.so.1
#5  0x13eae0 in ns_free (ptr=0x2575d8) at memory.c:141
#6  0x59324 in Ns_SetFree (set=0x2575d8) at set.c:124
#7  0x57eec in NsConnThread (arg=0x1c1d50) at serv.c:712
#8  0x13d820 in NsThreadMain (arg=0x1cfbe0) at thread.c:228

(gdb) info frame 8
Stack frame at 0xfe701d18:
 pc = 0x13d820 in NsThreadMain (thread.c:228); saved pc 0xff25bad8
 caller of frame at 0xfe701c80
 source language c.
 Arglist at 0xfe701d18, args: arg=0x1cfbe0
 Locals at 0xfe701d18,
(gdb) info frame 7
Stack frame at 0xfe701c80:
 pc = 0x57eec in NsConnThread (serv.c:712); saved pc 0x13d820
 called by frame at 0xfe701d18, caller of frame at 0xfe701b98
 source language c.
 Arglist at 0xfe701c80, args: arg=0x1c1d50
 Locals at 0xfe701c80,
(gdb) info frame 6
Stack frame at 0xfe701b98:
 pc = 0x59324 in Ns_SetFree (set.c:124); saved pc 0x57eec
 called by frame at 0xfe701c80, caller of frame at 0xfe701b20
 source language c.
 Arglist at 0xfe701b98, args: set=0x2575d8
 Locals at 0xfe701b98,
(gdb) info frame 5
Stack frame at 0xfe701b20:
 pc = 0x13eae0 in ns_free (memory.c:141); saved pc 0x59324
 called by frame at 0xfe701b98, caller of frame at 0xfe701ab0
 source language c.
 Arglist at 0xfe701b20, args: ptr=0x2575d8
 Locals at 0xfe701b20,
(gdb) info frame 4
Stack frame at 0xfe701ab0:
 pc = 0xff142260 in free; saved pc 0x13eae0
 called by frame at 0xfe701b20, caller of frame at 0xfe701a50
 Arglist at 0xfe701ab0, args:
 Locals at 0xfe701ab0,

Reply via email to