Hi, At Sat, 18 Jun 2005 01:55:01 +0900, Michel Pastor wrote in [ruby-core:05239]: > > Do you have the core file at that time? > > If you have, try to run `gdb /usr/bin/ruby core' and check > > curr_thread, curr, *curr_thread, *curr and ruby_current_node in > > rb_thread_schedule(). > > Unfortunately ruby doesn't aborts when compiled with debug => no core > but Thank you for the info. > > gdb ruby > Starting program: /usr/bin/ruby script/server > => Rails application started on http://0.0.0.0:3000 > [2005-06-17 18:47:06] INFO WEBrick 1.3.1 > [2005-06-17 18:47:06] INFO ruby 1.8.2 (2004-12-25) [i686-linux] > [2005-06-17 18:47:06] INFO WEBrick::HTTPServer#start: pid=4501 port=3000 > [Thread debugging using libthread_db enabled] > [New Thread -1209562464 (LWP 4501)] > [New Thread -1221100624 (LWP 4504)] > [New Thread -1229493328 (LWP 4505)] > [Thread -1229493328 (LWP 4505) exited] > [Thread -1221100624 (LWP 4504) exited] > X.X.X.X - - [17/Jun/2005:18:47:12 CEST] "GET /films/list HTTP/1.1" 500 5539 > - -> /films/list > deadlock 0xb75dae98: run:- -:0 > deadlock 0xb7e73798: sleep:ST(1119026834.110121) (main) - /usr/lib/ruby/1.8/webrick/server.rb:88 > deadlock 0xb774d0a0: sleep:T(1119026863.012682) - /usr/lib/ruby/1.8/timeout.rb:41 > > Program received signal SIGINT, Interrupt. Did you hit Ctrl-C? Then this all results seem normal. > (gdb) p ruby_current_node > $5 = (struct RNode *) 0xb7e176e8 I forgot to mention about this, I'd like to know also *ruby_current_node. -- Nobu Nakada