Mike Hommey wrote:
Try this way:
./run-mozilla.sh -g ./xpcshell -e ""
gdb> set env LD_PRELOAD
/usr/lib/libtrash/libtrash.so.2.4:/usr/lib/xulrunner-1.9/libjemalloc.so
gdb> run
CTRL+C
gdb> bt full
Strace:
##
[EMAIL PROTECTED]:/usr/lib/xulrunner-1.9# ./run-mozilla.sh -g ./xpcshell -e ""
MOZILLA_FIVE_HOME=.
LD_LIBRARY_PATH=.:./plugins:.
DISPLAY=:0.0
DYLD_LIBRARY_PATH=.:.
LIBRARY_PATH=.:./components:.
SHLIB_PATH=.:.
LIBPATH=.:.
ADDON_PATH=.
MOZ_PROGRAM=./xpcshell
MOZ_TOOLKIT=
moz_debug=1
moz_debugger=
/usr/bin/gdb ./xpcshell -x /tmp/mozargs.ERF492
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
(gdb) set env LD_PRELOAD
/usr/lib/libtrash/libtrash.so.2.4:/usr/lib/xulrunner-1.9/libjemalloc.so
(gdb) run
Starting program: /usr/lib/xulrunner-1.9/xpcshell '-e' ''
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
->>>>>> HERE IT HANGS, THEREFORE PUSHED CTRL+C
[New Thread 0xb648d720 (LWP 504)]
Program received signal SIGINT, Interrupt.
[Switching to Thread 0xb648d720 (LWP 504)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt full
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7f7ac89 in __lll_lock_wait () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7f760f4 in _L_lock_936 () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#3 0xb7f7601e in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#4 0xb7fa84ab in ?? () from /usr/lib/xulrunner-1.9/libjemalloc.so
No symbol table info available.
#5 0xb7fad4e4 in ?? () from /usr/lib/xulrunner-1.9/libjemalloc.so
No symbol table info available.
#6 0xbf98d06c in ?? ()
No symbol table info available.
#7 0xb7fc3a16 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#8 0xb7fd0ff4 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#9 0x00000004 in ?? ()
No symbol table info available.
#10 0x00000003 in ?? ()
No symbol table info available.
#11 0xbf98cfb4 in ?? ()
No symbol table info available.
#12 0xb7fca7e5 in malloc () from /lib/ld-linux.so.2
No symbol table info available.
#13 0xb7faaa25 in calloc () from /usr/lib/xulrunner-1.9/libjemalloc.so
No symbol table info available.
#14 0xb71110c6 in ?? () from /lib/i686/cmov/libdl.so.2
No symbol table info available.
#15 0x00000001 in ?? ()
No symbol table info available.
#16 0x00000014 in ?? ()
No symbol table info available.
#17 0xb7110dd0 in ?? () from /lib/i686/cmov/libdl.so.2
No symbol table info available.
#18 0xb7112ff4 in ?? () from /lib/i686/cmov/libdl.so.2
No symbol table info available.
#19 0x00000000 in ?? ()
No symbol table info available.
(gdb) quit
The program is running. Exit anyway? (y or n) n
##
Does it helps?
Thanks,
Sumit
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]