From: Ferenc Engard Date: 2003-09-14T22:03:40+09:00 Subject: Re: actual debian ruby packages are unuseable with tk > Well, run your script under gdb, i.e. (gdb) r ../test/test2.rb Starting program: /usr/local/bin/ruby ../test/test2.rb (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)...[New Thread 16384 (LWP 15626)] [New Thread 32769 (LWP 15627)] [New Thread 16386 (LWP 15628)] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...rescued valami Program received signal SIGINT, Interrupt. [Switching to Thread 16384 (LWP 15626)] 0x404e7b88 in __pthread_sigsuspend () from /lib/libpthread.so.0 (gdb) bt #0 0x404e7b88 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0x404e7999 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x404e7650 in pthread_onexit_process () from /lib/libpthread.so.0 #3 0x40138bb0 in exit () from /lib/libc.so.6 #4 0x40038ffb in ruby_stop () from /usr/lib/libruby1.6.so.1.6 #5 0x4003910f in ruby_run () from /usr/lib/libruby1.6.so.1.6 #6 0x080486ad in main () (gdb) Ferenc PS: I never debugged multi-threaded programs, but here is some more gdb output: 0x404e7b88 in __pthread_sigsuspend () from /lib/libpthread.so.0 (gdb) info threads 3 Thread 16386 (LWP 15659) Couldn't get registers: No such process. (gdb) info threads Couldn't get registers: No such process. Couldn't get registers: No such process. (gdb) info threads * 3 Thread 16386 (LWP 15659) Couldn't get registers: No such process. 2 Thread 32769 (LWP 15658) Couldn't get registers: No such process. (gdb) info threads Couldn't get registers: No such process. Couldn't get registers: No such process. After this it repeats this same pattern, and 'bt' returns the same error message.