On 18.08.2011 19:03 CE(S)T, Robert Jordan wrote: > $ gdb mono > handle SIGXCPU SIG33 SIG35 SIGPWR nostop noprint > run --debug yourapp.exe > > Then wait for the abort and execute these commands: > > t a a bt
Here we go: > # gdb mono > GNU gdb (GDB) 7.1-ubuntu > Copyright (C) 2010 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 "x86_64-linux-gnu". > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>... > Reading symbols from /usr/bin/mono...(no debugging symbols found)...done. > (gdb) handle SIGXCPU SIG33 SIG35 SIGPWR nostop noprint > Signal Stop Print Pass to program Description > SIGXCPU No No Yes CPU time limit exceeded > SIGPWR No No Yes Power fail/restart > SIG33 No No Yes Real-time event 33 > SIG35 No No Yes Real-time event 35 > (gdb) run --debug ./LogStatePlot.exe -p > /etc/logstate/plotspecs/backupsize.xml -o backupsize.png > Starting program: /usr/bin/mono --debug ./LogStatePlot.exe -p > /etc/logstate/plotspecs/backupsize.xml -o backupsize.png > [Thread debugging using libthread_db enabled] > [New Thread 0x7ffff71ad700 (LWP 20192)] > [New Thread 0x7ffff69ac700 (LWP 20193)] > [New Thread 0x7ffff61ab700 (LWP 20194)] > [New Thread 0x7ffff59aa700 (LWP 20195)] > [New Thread 0x7ffff51a9700 (LWP 20196)] > [New Thread 0x7ffff49a8700 (LWP 20197)] > [New Thread 0x7ffff41a7700 (LWP 20198)] > [New Thread 0x7ffff2e61700 (LWP 20199)] > [New Thread 0x7ffff26b0700 (LWP 20200)] > [New Thread 0x7ffff1f92700 (LWP 20201)] > [New Thread 0x7ffff1f51700 (LWP 20202)] > [New Thread 0x7ffff1d50700 (LWP 20203)] > [New Thread 0x7fffea3fc700 (LWP 20204)] > [New Thread 0x7fffea0c7700 (LWP 20205)] > [New Thread 0x7fffe9e15700 (LWP 20206)] > [Thread 0x7ffff26b0700 (LWP 20200) exited] > [Thread 0x7ffff1f51700 (LWP 20202) exited] > [Thread 0x7fffea3fc700 (LWP 20204) exited] > [Thread 0x7ffff1d50700 (LWP 20203) exited] > [Thread 0x7fffea0c7700 (LWP 20205) exited] > [Thread 0x7ffff1f92700 (LWP 20201) exited] > [Thread 0x7ffff2e61700 (LWP 20199) exited] > > Program received signal SIGABRT, Aborted. > 0x00007ffff71e1a75 in raise () from /lib/libc.so.6 > (gdb) t a a bt > > Thread 16 (Thread 0x7fffe9e15700 (LWP 20206)): > #0 0x00007ffff753eb50 in sem_wait () from /lib/libpthread.so.0 > #1 0x00000000005c46c8 in mono_sem_wait () > #2 0x00000000005b19fb in ?? () > #3 0x00000000005d5901 in ?? () > #4 0x00007ffff75379ca in start_thread () from /lib/libpthread.so.0 > #5 0x00007ffff729470d in clone () from /lib/libc.so.6 > #6 0x0000000000000000 in ?? () > > Thread 8 (Thread 0x7ffff41a7700 (LWP 20198)): > #0 0x00007ffff753c85c in pthread_cond_wait@@GLIBC_2.3.2 () from > /lib/libpthread.so.0 > #1 0x00000000005d4463 in ?? () > #2 0x00000000005dbf4d in ?? () > #3 0x00000000005d524c in ?? () > #4 0x00007ffff75379ca in start_thread () from /lib/libpthread.so.0 > #5 0x00007ffff729470d in clone () from /lib/libc.so.6 > #6 0x0000000000000000 in ?? () > > Thread 7 (Thread 0x7ffff49a8700 (LWP 20197)): > #0 0x00007ffff753c85c in pthread_cond_wait@@GLIBC_2.3.2 () from > /lib/libpthread.so.0 > #1 0x00000000005d4463 in ?? () > #2 0x00000000005dbf4d in ?? () > #3 0x00000000005d524c in ?? () > #4 0x00007ffff75379ca in start_thread () from /lib/libpthread.so.0 > #5 0x00007ffff729470d in clone () from /lib/libc.so.6 > #6 0x0000000000000000 in ?? () > > Thread 6 (Thread 0x7ffff51a9700 (LWP 20196)): > #0 0x00007ffff753c85c in pthread_cond_wait@@GLIBC_2.3.2 () from > /lib/libpthread.so.0 > #1 0x00000000005d4463 in ?? () > #2 0x00000000005dbf4d in ?? () > #3 0x00000000005d524c in ?? () > #4 0x00007ffff75379ca in start_thread () from /lib/libpthread.so.0 > #5 0x00007ffff729470d in clone () from /lib/libc.so.6 > #6 0x0000000000000000 in ?? () > > Thread 5 (Thread 0x7ffff59aa700 (LWP 20195)): > #0 0x00007ffff753c85c in pthread_cond_wait@@GLIBC_2.3.2 () from > /lib/libpthread.so.0 > ---Type <return> to continue, or q <return> to quit--- > #1 0x00000000005d4463 in ?? () > #2 0x00000000005dbf4d in ?? () > #3 0x00000000005d524c in ?? () > #4 0x00007ffff75379ca in start_thread () from /lib/libpthread.so.0 > #5 0x00007ffff729470d in clone () from /lib/libc.so.6 > #6 0x0000000000000000 in ?? () > > Thread 4 (Thread 0x7ffff61ab700 (LWP 20194)): > #0 0x00007ffff753c85c in pthread_cond_wait@@GLIBC_2.3.2 () from > /lib/libpthread.so.0 > #1 0x00000000005d4463 in ?? () > #2 0x00000000005dbf4d in ?? () > #3 0x00000000005d524c in ?? () > #4 0x00007ffff75379ca in start_thread () from /lib/libpthread.so.0 > #5 0x00007ffff729470d in clone () from /lib/libc.so.6 > #6 0x0000000000000000 in ?? () > > Thread 3 (Thread 0x7ffff69ac700 (LWP 20193)): > #0 0x00007ffff753c85c in pthread_cond_wait@@GLIBC_2.3.2 () from > /lib/libpthread.so.0 > #1 0x00000000005d4463 in ?? () > #2 0x00000000005dbf4d in ?? () > #3 0x00000000005d524c in ?? () > #4 0x00007ffff75379ca in start_thread () from /lib/libpthread.so.0 > #5 0x00007ffff729470d in clone () from /lib/libc.so.6 > #6 0x0000000000000000 in ?? () > > Thread 2 (Thread 0x7ffff71ad700 (LWP 20192)): > #0 0x00007ffff753c85c in pthread_cond_wait@@GLIBC_2.3.2 () from > /lib/libpthread.so.0 > #1 0x00000000005d4463 in ?? () > #2 0x00000000005dbf4d in ?? () > #3 0x00000000005d524c in ?? () > #4 0x00007ffff75379ca in start_thread () from /lib/libpthread.so.0 > #5 0x00007ffff729470d in clone () from /lib/libc.so.6 > #6 0x0000000000000000 in ?? () > > Thread 1 (Thread 0x7ffff7fe9740 (LWP 20189)): > #0 0x00007ffff71e1a75 in raise () from /lib/libc.so.6 > #1 0x00007ffff71e55c0 in abort () from /lib/libc.so.6 > #2 0x00000000005cba1f in ?? () > #3 0x00000000005cbab7 in ?? () > ---Type <return> to continue, or q <return> to quit--- > #4 0x00000000005aef3a in ?? () > #5 0x00000000005bdff9 in ?? () > #6 0x00000000005be604 in ?? () > #7 0x00007ffff71e7262 in exit () from /lib/libc.so.6 > #8 0x00007ffff71ccc54 in __libc_start_main () from /lib/libc.so.6 > #9 0x0000000000414599 in ?? () > #10 0x00007fffffffe688 in ?? () > #11 0x000000000000001c in ?? () > #12 0x0000000000000007 in ?? () > #13 0x00007fffffffe8fb in ?? () > #14 0x00007fffffffe909 in ?? () > #15 0x00007fffffffe911 in ?? () > #16 0x00007fffffffe924 in ?? () > #17 0x00007fffffffe927 in ?? () > #18 0x00007fffffffe94e in ?? () > #19 0x00007fffffffe951 in ?? () > #20 0x0000000000000000 in ?? () > (gdb) That's it. -- Yves Goergen "LonelyPixel" <[email protected]> Visit my web laboratory at http://beta.unclassified.de _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
