From: Anton Ivanov Date: 2007-04-20T06:43:05+09:00 Subject: ruby 1.9 crash on cygwin This is a multi-part message in MIME format. ------_=_NextPart_001_01C782C9.FF606739 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I compiled ruby 1.9 from trunk on cygwin. Initially, the only option I gave to configure was -program-suffix=3D19. I got a crash when I ran = the interpreter and fed it one line of code ('puts "yo"'). I since tried to recompile without ext/tk and with -disable-pthreads, but I still get crashes in the same place. Here's the backtrace: =20 #0 0x6b41b3a5 in rb_sourceline () from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll #1 0x6b418ff1 in rb_eval_string () from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll #2 0x6b5e69a4 in cygruby1919!Init_tcltklib () from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll #3 0x6b4c8f0f in cygruby1919!Init_ext () from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll #4 0x6b4837b9 in ruby_init_loadpath () from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll #5 0x6b484dc2 in ruby_init_loadpath () from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll #6 0x6b484e90 in rb_load_file () from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll #7 0x6b4846ef in ruby_init_loadpath () from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll #8 0x6b48542b in ruby_process_options () from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll #9 0x6b418c35 in ruby_options () from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll #10 0x0040109c in main (argc=3D1, argv=3D0x662d88, envp=3D0x660090) at main.c:46 ------_=_NextPart_001_01C782C9.FF606739 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I compiled ruby 1.9 from trunk on cygwin.  = Initially, the only option I gave to configure was –program-suffix=3D19.  I = got a crash when I ran the interpreter and fed it one line of code (‘puts = “yo”’).  I since tried to recompile without ext/tk and with = –disable-pthreads, but I still get crashes in the same place.  Here’s the = backtrace:

 

#0  0x6b41b3a5 in rb_sourceline = ()

   from = /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll

#1  0x6b418ff1 in rb_eval_string = ()

   from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll

#2  0x6b5e69a4 in cygruby1919!Init_tcltklib = ()

   from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll

#3  0x6b4c8f0f in cygruby1919!Init_ext = ()

   from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll

#4  0x6b4837b9 in ruby_init_loadpath = ()

   from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll

#5  0x6b484dc2 in ruby_init_loadpath = ()

   from = /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll

#6  0x6b484e90 in rb_load_file = ()

   from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll

#7  0x6b4846ef in ruby_init_loadpath = ()

   from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll

#8  0x6b48542b in ruby_process_options = ()

   from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll

#9  0x6b418c35 in ruby_options = ()

   from /home/aivanov/src-ext/ruby-trunk/ruby/cygruby1919.dll

#10 0x0040109c in main (argc=3D1, argv=3D0x662d88, envp=3D0x660090) at main.c:46

------_=_NextPart_001_01C782C9.FF606739--