--Signature=_Sat__18_Jun_2005_22_48_09_+0200_p4ekBYME1D7.R8d8
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Sat, 18 Jun 2005 10:28:53 +0900
nobu.nokada / softhome.net wrote:

> > Program received signal SIGINT, Interrupt.
>=20
> Did you hit Ctrl-C?  Then this all results seem normal.

Yes I had to hit Ctrl-C to take control over the debug session since ruby d=
id not send ABRT
I also tested sending ABRT to generate the core but had the same problems a=
s below

> > (gdb) p ruby_current_node
> > $5 =3D (struct RNode *) 0xb7e176e8
>=20
> I forgot to mention about this, I'd like to know also
> *ruby_current_node.

Sorry, I can't give you this one. I retryed the same thing but can't get rb=
_thread_schedule() in the call chain anymore after hitting Ctrl-C. Seems I =
had been very lucky. Sometimes gdb even says the stack is corrupted like be=
llow :

deadlock 0xb75dae70: run:-  - :0
deadlock 0xb7e73798: sleep:ST(1119126226.871684) (main) - /usr/lib/ruby/1.8=
/webrick/server.rb:88
deadlock 0xb774d0a0: sleep:T(1119126255.847502)  - /usr/lib/ruby/1.8/timeou=
t.rb:41

Program received signal SIGINT, Interrupt.
[Switching to Thread -1209562464 (LWP 4685)]
0x08057673 in rb_thread_restore_context (th=3D0x9a1, exit=3D69576) at eval.=
c:9993
9993        MEMCPY(tmp->stk_pos, tmp->stk_ptr, VALUE, tmp->stk_len);
(gdb) bt
#0  0x08057673 in rb_thread_restore_context (th=3D0x9a1, exit=3D69576) at e=
val.c:9993
#1  0xb7747560 in ?? ()
#2  0xb76b93a0 in ?? ()
#3  0xb7e672e0 in ?? ()
#4  0xbffefd28 in ?? ()
#5  0x0805b22e in rb_eval (self=3D3085391876, n=3D0x10fc8) at eval.c:1776
Previous frame inner to this frame (corrupt stack?)

thx
- Michel

--Signature=_Sat__18_Jun_2005_22_48_09_+0200_p4ekBYME1D7.R8d8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCtIiOZvjSzHhNkDcRAr3TAJ0eOAGtrpFRsyhpFwgN84+45FmA1QCfSu1G
zW+TG3RSX67N6tiMVJaj4pk=
=D54G
-----END PGP SIGNATURE-----

--Signature=_Sat__18_Jun_2005_22_48_09_+0200_p4ekBYME1D7.R8d8--