This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/6420] Mtrace deadlock


------- Additional Comments From wingo at pobox dot com  2008-04-30 11:10 -------
I can confirm seeing this on Fedora 8, with libc version "2.7-2", whatever that
means.

Martin's patch looks right to me, although I have not tried it out.

Here is the relevant backtrace:

Thread 4 (Thread 1085335888 (LWP 7972)):
#0  0x00000034066e0e4e in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x0000003406678808 in _L_lock_805 () at mtrace.c:188
#2  0x000000340667865b in tr_mallochook (size=223448740616, caller=0x34054071b4)
at mtrace.c:182
#3  0x00000034054071b4 in expand_dynamic_string_token (l=<value optimized out>, 
    s=0xaa3800 "/opt/yobuild/lib64/gstreamer-0.10/libgstfaad.so") at dl-load.c:170
#4  0x0000003405407e56 in _dl_map_object (loader=0x2aaaab156828, 
    name=0xaa3800 "/opt/yobuild/lib64/gstreamer-0.10/libgstfaad.so",
preloaded=0, type=2, trace_mode=0, mode=-1879048190, 
    nsid=0) at dl-load.c:2182
#5  0x000000340541118d in dl_open_worker (a=<value optimized out>) at dl-open.c:293
#6  0x000000340540d306 in _dl_catch_error (objname=0x40b0cf30,
errstring=0x40b0cf28, mallocedp=0x40b0cf3f, 
    operate=0x3405411050 <dl_open_worker>, args=0x40b0cee0) at dl-error.c:178
#7  0x0000003405410b7c in _dl_open (file=0xaa3800
"/opt/yobuild/lib64/gstreamer-0.10/libgstfaad.so", mode=-2147483646, 
    caller_dlopen=0x2aaaab654c97, nsid=-2, argc=1, argv=0x7fffbe5dc6f8,
env=0x7fffbe5dc708) at dl-open.c:596
#8  0x0000003406e00fba in dlopen_doit () from /lib64/libdl.so.2
#9  0x000000340540d306 in _dl_catch_error (objname=0xa97390, errstring=0xa97398,
mallocedp=0xa97388, 
    operate=0x3406e00f50 <dlopen_doit>, args=0x40b0d100) at dl-error.c:178
#10 0x0000003406e0152d in _dlerror_run () from /lib64/libdl.so.2
#11 0x0000003406e00f31 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2

Thread 1 (Thread 46912518906080 (LWP 7963)):
#0  0x000000340720cef4 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x000000340720894b in _L_lock_879 () from /lib64/libpthread.so.0
#2  0x00000034072087db in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x000000340670a191 in _dl_addr (address=0x2aaaabdcdef8, info=0x80,
mapp=0x340720ff58, symbolp=0xffffffffffffffff)
    at dl-addr.c:132
#4  0x00000034066780fd in tr_where (caller=0x340561b480) at mtrace.c:119
#5  0x000000340667851f in tr_reallochook (ptr=0x0, size=16,
caller=0x2aaaabdcdef8) at mtrace.c:229
#6  0x00000034066760be in __libc_realloc (oldmem=0x0, bytes=16) at malloc.c:3647
#7  0x00002aaaabdcdef8 in IA__g_realloc (mem=0x0, n_bytes=16) at gmem.c:168



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6420

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]