[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
malloc/killpg bug?
From: |
Dan Towner |
Subject: |
malloc/killpg bug? |
Date: |
Mon, 18 Nov 2002 14:08:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 |
Hi all,
I am using a version of glib, supplied as an rpm called
glibc-2.2.2-6.1mdk, which can as part of a Mandrake 8.0 distribution,
for x86. One of my multi-threaded programs keeps showing an odd problem,
in which the program stops executing, without terminating. The problem
is intermittent. Attaching gdb to the running process allows the
following stack trace to be generated.
0x402c5da2 in sigsuspend () from /lib/libc.so.6
(gdb) bt
#0 0x402c5da2 in sigsuspend () from /lib/libc.so.6
#1 0x4002f850 in __pthread_wait_for_restart_signal (self=0x40039440)
at pthread.c:928
#2 0x400317b7 in __pthread_alt_lock (lock=0x403bf8c0, self=0x0)
at restart.h:34
#3 0x4002dbe5 in __pthread_mutex_lock (mutex=0x403bf8b0) at mutex.c:120
#4 0x40316e88 in free () from /lib/libc.so.6
#5 0x080a5824 in ?? ()
#6 0x080a29a6 in ?? ()
#7 0x080a3006 in ?? ()
#8 0x080c2c63 in ?? ()
#9 0x080c3a55 in ?? ()
#10 0x080a75d5 in ?? ()
#11 0x400300fe in pthread_sighandler (signo=14, ctx=
{gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds =
43, __dsh = 49168, edi = 12, esi = 169684248, ebp = 3221207288, esp =
3221207200, ebx = 1077677868, edx = 1077671168, ecx = 105, eax =
1077671176, trapno = 0, err = 0, eip = 1076979034, cs = 35, __csh = 0,
eflags = 643, esp_at_signal = 3221207200, ss = 43, __ssh = 0, fpstate =
0xbfffb620, oldmask = 2147483648, cr2 = 0})
at signals.c:97
#12 0x402c5b68 in killpg () from /lib/libc.so.6
#13 0x4031620a in malloc () from /lib/libc.so.6
#14 0x4015241e in TclpAlloc () from /usr/lib/libtcl.so
#15 0x401574e1 in Tcl_Alloc () from /usr/lib/libtcl.so
#16 0x40197ea0 in Tcl_NewStringObj () from /usr/lib/libtcl.so
#17 0x4019f754 in Tcl_ArrayObjCmd () from /usr/lib/libtcl.so
#18 0x4016f230 in TclExecuteByteCode () from /usr/lib/libtcl.so
#19 0x401541c0 in Tcl_EvalObjEx () from /usr/lib/libtcl.so
#20 0x40194422 in TclObjInterpProc () from /usr/lib/libtcl.so
... etc
I have come across a number of other bug reports which seem to show
similar problems, but have been unable to determine whether they have
been resolved, because the Gnats web interface isn't working at the moment.
Thanks,
Dan.
=============================================================================
Daniel Towner
picoChip Designs Ltd., Riverside Buildings, 108, Walcot Street, BATH,
BA1 5BG
address@hidden
07786 702589
- malloc/killpg bug?,
Dan Towner <=