Bug#550674: iceweasel hangs when used with padsp

Nathan A. Stine nathan.stine at gmail.com
Thu Dec 24 13:14:09 UTC 2009


On Thu, 2009-12-24 at 09:16 +0100, Mike Hommey wrote:
> On Wed, Dec 23, 2009 at 07:36:37PM -0500, Nathan A. Stine wrote:
> > #0  __lll_lock_wait ()
> >     at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
> > #1  0x00007f54753a1e79 in _L_lock_949 () from /lib/libpthread.so.0
> > #2  0x00007f54753a1c9b in __pthread_mutex_lock (mutex=0x7f5475cd3680)
> >     at pthread_mutex_lock.c:61
> > #3  0x00007f5475acc1a0 in padsp_disabled () at utils/padsp.c:300
> > #4  0x00007f5475acfe85 in dsp_cloak_enable (filename=0x411609
> > "/proc/cpuinfo", 
> >     flags=0, mode=0) at utils/padsp.c:314
> > #5  real_open (filename=0x411609 "/proc/cpuinfo", flags=0, mode=0)
> >     at utils/padsp.c:1461
> > #6  0x00007f5475ad0b49 in open (filename=0x7f5475cd3680 "\002",
> > flags=128)
> >     at utils/padsp.c:1494
> > #7  0x000000000040cd84 in malloc_ncpus () at jemalloc.c:5316
> > #8  malloc_init_hard () at jemalloc.c:5625
> > #9  0x000000000040e525 in malloc_init (num=1, size=32) at
> > jemalloc.c:5567
> > #10 calloc (num=1, size=32) at jemalloc.c:6321
> > #11 0x00007f54758c6360 in _dlerror_run (operate=0x7f54758c60b0
> > <dlsym_doit>, 
> >     args=0x7fff0f3eb940) at dlerror.c:142
> > #12 0x00007f54758c607a in __dlsym (handle=<value optimized out>, 
> >     name=<value optimized out>) at dlsym.c:71
> > #13 0x00007f5475acc313 in dlsym_fn (pathname=<value optimized out>,
> > mode=4)
> >     at utils/padsp.c:141
> > #14 access (pathname=<value optimized out>, mode=4) at
> > utils/padsp.c:2395
> > #15 0x0000000000402042 in FolderExists (argc=1, argv=0x7fff0f3efc48)
> >     at nsXULStub.cpp:151
> > #16 main (argc=1, argv=0x7fff0f3efc48) at nsXULStub.cpp:330
> > 
> > Looks like something in libc6 is what's waiting.  Let me know if you
> > need anything else.
> 
> Thanks.
> 
> Would you have the trace for other threads ? It looks similar to a case
> we had with aoss, libtrash and others, but not quite.
> 
> Mike

Mike,

Looks like there are no other threads.  Attached is my results when
running thread apply all bt full.

Thanks,

Nathan A. Stine
-------------- next part --------------

Thread 1 (Thread 0x7faea1c85760 (LWP 5735)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
No locals.
#1  0x00007faea1160e79 in _L_lock_949 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x00007faea1160c9b in __pthread_mutex_lock (mutex=0x7faea1a92680) at pthread_mutex_lock.c:61
        ignore1 = <value optimized out>
        ignore2 = -1582750080
        ignore3 = -512
        __PRETTY_FUNCTION__ = "__pthread_mutex_lock"
        type = <value optimized out>
#3  0x00007faea188b1a0 in padsp_disabled () at utils/padsp.c:300
        sym = 0x0
        sym_resolved = 0
#4  0x00007faea188ee85 in dsp_cloak_enable (filename=0x411609 "/proc/cpuinfo", flags=0, mode=0) at utils/padsp.c:314
No locals.
#5  real_open (filename=0x411609 "/proc/cpuinfo", flags=0, mode=0) at utils/padsp.c:1461
        r = <value optimized out>
        _errno = 0
#6  0x00007faea188fb49 in open (filename=0x7faea1a92680 "\002", flags=128) at utils/padsp.c:1494
        args = {{gp_offset = 0, fp_offset = 0, overflow_arg_area = 0xffffffff, reg_save_area = 0x0}}
        mode = 1
#7  0x000000000040cd84 in malloc_ncpus () at jemalloc.c:5316
        ret = 1
        fd = <value optimized out>
        column = <value optimized out>
        buf = '\000' <repeats 280 times>"\202, \274\251\241\256\177\000\000\000\000\000\000\000\000\000\000\300ڞ,\377\177\000\000\000\000\000\000\000\000\000\000\200\210ȡ\256\177\000\000\020ܞ,\377\177\000\000\"\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000=\300\251\241\256\177\000\000.\000\000\000\000\000\000\000(ܞ,\377\177\000\000\344m\340\240\256\177\000\000\274\274\251\241\256\177\000\000\300ڞ,\377\177\000\000 ۞,\377\177\000\000\000\000\000\000\000\000\000\000x\210ȡ\256\177\000\000pܞ,\377\177\000\000\274\274\251\241\256\177\000\000\004\000\000\000\000\000\000\000P۞,\377\177\000\000&\000\000\000\001\000\000\000X\210ȡ\256\177\000\000\240ܞ,\377\177\000\000\"", '\000' <repeats 15 times>, "=\300\251\241\256\177\000\000\063\000\000\000\000\000\000\000\270ܞ,\377\177\000\000T\005@", '\000' <repeats 13 times>, "P۞,\377\177\000\000p\005"...
#8  malloc_init_hard () at jemalloc.c:5625
        i = 0
        buf = '\000' <repeats 3032 times>"\266, \064砮\177\000\000\320۞,\377\177\000\000\300۞,\377\177\000\000\023\000\000\000\000\000\000\000\060ݞ,\377\177\000\000\314\016A\000\000\000\000\000\305`䠮\177\000\000\341\016A", '\000' <repeats 13 times>, "\025", '\000' <repeats 31 times>"\260, ڞ,\377\177", '\000' <repeats 18 times>, "X۞,\377\177\000\000\070۞,\377\177\000\000\312\016A\000\000\000\000\000\034۞,\377\177", '\000' <repeats 34 times>"\240, ֞,\377\177\000\000\210ڞ,\377\177", '\000' <repeats 18 times>, "\020۞,\377\177\000\000\000\000\000\000\355\020\000\000\000\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377", '\000' <repeats 32 times>, " ", '\000' <repeats 103 times>"\377, \377\377\377\000\000\000\000\210ڞ,\377\177\000\000\312\016A", '\000' <repeats 653 times>
        opts = <value optimized out>
        result = -512
        linklen = <value optimized out>
#9  0x000000000040e525 in malloc_init (num=1, size=32) at jemalloc.c:5567
No locals.
#10 calloc (num=1, size=32) at jemalloc.c:6321
        ret = <value optimized out>
        num_size = <value optimized out>
#11 0x00007faea1685360 in _dlerror_run (operate=0x7faea16850b0 <dlsym_doit>, args=0x7fff2c9eddb0) at dlerror.c:142
        result = 0x0
#12 0x00007faea168507a in __dlsym (handle=<value optimized out>, name=<value optimized out>) at dlsym.c:71
        args = {handle = 0xffffffffffffffff, name = 0x7faea188fcdf "access", who = 0x7faea188b313, sym = 0x7faea1a92680}
        result = 0x0
#13 0x00007faea188b313 in dlsym_fn (pathname=<value optimized out>, mode=4) at utils/padsp.c:141
No locals.
#14 access (pathname=<value optimized out>, mode=4) at utils/padsp.c:2395
No locals.
#15 0x0000000000402042 in FolderExists (argc=1, argv=0x7fff2c9f20b8) at nsXULStub.cpp:151
No locals.
#16 main (argc=1, argv=0x7fff2c9f20b8) at nsXULStub.cpp:330
        rv = <value optimized out>
        lastSlash = 0x7fff2c9f0e23 ""
        iniPath = "/usr/lib/iceweasel/\000\377\177\000\000\r\367\251\241\256\177\000\000\000\000\000\000\000\000\000\000\300\031ɡ\256\177\000\000\000\000\000\000\000\000\000\000\206\000\252\241\256\177\000\000\070\vˡ\256\177\000\000\370\035\237,\377\177\000\000\000\036\237,\377\177\000\000\017\036\237,\377\177\000\000\320\366\251\241\256\177\000\000\320\035\237,\377\177\000\000\070\vˡ\256\177\000\000`Gc\240\256\177\000\000@\036\237,\377\177\000\000R驡\256\177\000\000\210)ɡ\256\177\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\062\270d\240\256\177\000\000\260\017\237,\377\177\000\000\000\000\240\034>Y\376\377\000\000\326\000TC]\377\300\031ɡ\256\177\000\000\000\000\000\000\000\000\000\000\033\270d\240\256\177\000\000\260\017\237,\377\177\000\000\000\000\000\035>Y\376\377\000\000\326\000TC]\377\360\375ʡ\256\177\000\000\230\252잮\177\000\000\320\035\237,\377\177\000\000@\036\237"...
        greDir = "/usr/lib/iceweasel/xulrunner/libxpcom.so", '\000' <repeats 768 times>, "\r\r\252\241\256\177\000\000\000\000\000\000\000\000\000\000\234^\037\235\256\177\000\000\000\000\000\000\000\000\000\000r\244\251\241\256\177", '\000' <repeats 50 times>, "[\275\025\241\256\177\000\000\001", '\000' <repeats 127 times>, "\r\r\252\241\256\177\000\000\000\000\000\000\000\000\000\000v\250?\235\256\177\000\000\000\000\000\000\000\000\000\000r\244\251\241\256\177", '\000' <repeats 50 times>, "[\275\025\241\256\177\000\000\001", '\000' <repeats 127 times>, "\r\r\252\241\256\177\000\000\000\000\000\000\000\000\000\000\266\333_\235\256\177\000\000\000\000\000\000\000\000\000\000r\244\251\241\256\177", '\000' <repeats 50 times>, "[\275\025\241\256\177\000\000"...
        parser = {mSections = {<nsBaseHashtable<nsDepCharHashKey, nsAutoPtr<nsINIParser::INIValue>, nsINIParser::INIValue*>> = {<nsTHashtable<nsBaseHashtableET<nsDepCharHashKey, nsAutoPtr<nsINIParser::INIValue> > >> = {mTable = {ops = 0x0, data = 0x7faea1cae358, hashShift = 8112, maxAlphaFrac = 159 '\237', minAlphaFrac = 44 ',', entrySize = 32767, entryCount = 748625864, removedCount = 32767, generation = 1, entryStore = 0x40102f "__libc_start_main"}}, <No data fields>}, <No data fields>}, mFileContents = {mRawPtr = 0x7fff2c9f20c8 "\254\065\237,\377\177"}}
        kXULFuncs = {{functionName = 0x4110b0 "XRE_CreateAppData", function = 0x615690}, {functionName = 0x4110c2 "XRE_FreeAppData", function = 0x615698}, {functionName = 0x4110d2 "XRE_main", function = 0x6156a0}, {functionName = 0x0, function = 0x0}}
        retval = <value optimized out>
        greFound = 0
        appDataFile = <value optimized out>
        tmpPath = "/usr/lib/iceweasel\000firefox-bin", '\000' <repeats 4065 times>
        fileStat = {st_dev = 125, st_ino = 140388015465304, st_nlink = 140733942013952, st_mode = 2714274200, st_uid = 32686, st_gid = 0, __pad0 = 0, st_rdev = 140733942013992, st_size = 4131212846, st_blksize = 140388013294457, st_blocks = 0, st_atim = {tv_sec = 140388015311256, tv_nsec = 140385301037057}, st_mtim = {tv_sec = 0, tv_nsec = 140385301037057}, st_ctim = {tv_sec = 4294967295, tv_nsec = 191}, __unused = {140388005789696, 140388015349760, 140388015464448}}
A debugging session is active.

	Inferior 1 [process 5735] will be detached.

Quit anyway? (y or n) Detaching from program: /usr/lib/xulrunner-1.9.1/xulrunner-stub, process 5735


More information about the pkg-mozilla-maintainers mailing list