[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

Core dump with latest Ruby from CVS

From: Johan Holmberg <holmberg@...>
Date: 2004-11-15 07:56:20 UTC
List: ruby-core #3733
Hi !

I get a core dump (from "miniruby") when I try to build the latest 
Ruby source from CVS. I tried to build Ruby on Solaris because I couldn't
get it to work on FreeBSD (it crashed when I ran a script there).
So there seem to be problems on more than one platform.

See below for what happened when I built Ruby on Solaris.

/Johan Holmberg

------------------------------------------------------------

     $ make
     [...]
     ./miniruby ./mkconfig.rb -timestamp=.rbconfig.time \
             -install_name=ruby \
             -so_name=ruby rbconfig.rb
     ./mkconfig.rb:71: [BUG] Segmentation fault
     ruby 1.9.0 (2004-11-15) [sparc-solaris2.8]

     *** Error code 134
     make: Fatal error: Command failed for target `.rbconfig.time'

     $ gdb ./miniruby core
     [...]
     (gdb) bt
     #0  0xff29a034 in _libc_kill ()
     #1  0xff23512c in abort ()
     #2  0x9e9d8 in rb_bug (fmt=0xbe088 "Segmentation fault") at error.c:214
     #3  0x7c2e0 in sigsegv (sig=11) at signal.c:446
     #4  <signal handler called>
     #5  0x70cec in match_at (reg=0x155dc8, str=0x188398 "1.9.0", end=0x18839d "", sstart=0x188399 ".9.0", sprev=0x18839a "9.0", msa=0xffbeda88)
 	at regexec.c:2389
     #6  0x72250 in onig_search (reg=0x155dc8, str=0x188398 "1.9.0", end=0x18839d "", start=0xffbeda80 "", range=0x18839d "", region=0xe35c8, option=1606552)
 	at regexec.c:3273
     #7  0x72984 in ruby_re_search (bufp=0x0, string=0x188398 "1.9.0", size=1606557, startpos=-4269440, range=1606557, regs=0xe35c8) at reggnu.c:81
     #8  0x696d4 in rb_reg_search (re=1079432, str=2003400, pos=0, reverse=0) at re.c:918
     #9  0x82a1c in rb_str_sub_bang (argc=4, argv=0xffbedf78, str=2003400) at string.c:1955
     #10 0x82cc8 in rb_str_sub (argc=2003400, argv=0xffbedf78, str=2003400) at string.c:2030
     #11 0x333cc in call_cfunc (func=0x82ca4 <rb_str_sub>, recv=1090712, len=-1, argc=2003400, argv=0xffbedf78) at eval.c:5448
     #12 0x27638 in rb_call0 (klass=1162040, recv=1090712, id=4553, oid=4553, argc=2, argv=0xffbedf78, body=0x11b028, nosuper=37) at eval.c:5524
     #13 0x27928 in rb_call (klass=1162040, recv=1090712, mid=4553, argc=2, argv=0xffbedf78, scope=0) at eval.c:5745
     #14 0x21dc8 in rb_eval (self=1167584, n=0x2) at ruby.h:634
     #15 0x21eac in rb_eval (self=1167584, n=0x1) at ruby.h:663
     #16 0x21ca8 in rb_eval (self=1167584, n=0x107750) at eval.c:3203
     #17 0x21ca8 in rb_eval (self=1167584, n=0x107708) at eval.c:3203
     #18 0x21eac in rb_eval (self=1167584, n=0x1) at ruby.h:663
     #19 0x216b8 in rb_eval (self=1167584, n=0xe1400) at eval.c:3379
     #20 0x1de54 in ruby_exec_internal () at eval.c:1465
     #21 0x1de88 in ruby_exec () at eval.c:1483
     #22 0x1ded0 in ruby_run () at eval.c:1500
     #23 0x1b764 in main (argc=6, argv=0xffbef7c4, envp=0xffbef7e0) at main.c:38
     (gdb)

------------------------------------------------------------

In This Thread

Prev Next