[#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

Re: Core dump with latest Ruby from CVS

From: Johan Holmberg <holmberg@...>
Date: 2004-11-15 18:16:06 UTC
List: ruby-core #3741

On Mon, 15 Nov 2004, K.Kosako wrote:
> 
>> 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.
>
> Won't you try this patch?
> --
> K.Kosako
>

*With* this patch I get the following crash on FreeBSD.
I don't know if the traceback below is enough to help spot the problem.
The program I'm running is the Rubicon testsuite.

/Johan Holmberg

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

   $ ~/proj/ruby/installs/latest-mainline/bin/ruby AllTests.rb
   AllTests.rb:23: [BUG] Segmentation fault
   ruby 1.9.0 (2004-11-15) [i386-freebsd4.10]

   Abort (core dumped)
   $ gdb ~/proj/ruby/installs/latest-mainline/bin/ruby ruby.core
   [...]
   (gdb) bt
   #0  0x28178fc4 in kill () from /usr/lib/libc.so.4
   #1  0x281ba93e in abort () from /usr/lib/libc.so.4
   #2  0x80c8d8e in rb_bug (fmt=0x80eb3ae "Segmentation fault") at error.c:214
   #3  0x80aaa9b in sigsegv (sig=11) at signal.c:446
   #4  0xbfbfffac in ?? ()
   #5  0x80c73ef in dir_s_aref (obj=135433008, str=135294548) at dir.c:1527
   #6  0x805cdea in rb_call0 (klass=135432988, recv=135433008, id=333, oid=333, argc=1, argv=0xbfbfeb38, body=0x8128734, nosuper=0) at eval.c:5389
   #7  0x805d848 in rb_call (klass=135432988, recv=135433008, mid=333, argc=1, argv=0xbfbfeb38, scope=0) at eval.c:5745
   #8  0x805863b in rb_eval (self=135477688, n=0x81240d0) at eval.c:3209
   #9  0x805845e in rb_eval (self=135477688, n=0x81240bc) at eval.c:3203
   #10 0x8057877 in rb_eval (self=135477688, n=0x812401c) at eval.c:2929
   #11 0x805b4e3 in rb_yield_0 (val=135413148, self=135477688, klass=0, flags=0, avalue=0) at eval.c:4724
   #12 0x805b775 in rb_yield (val=135413148) at eval.c:4806
   #13 0x80bda3a in rb_ary_each (ary=135413188) at array.c:1255
   #14 0x805ce19 in rb_call0 (klass=135454448, recv=135413188, id=3865, oid=3865, argc=0, argv=0x0, body=0x812dacc, nosuper=0) at eval.c:5395
   #15 0x805d848 in rb_call (klass=135454448, recv=135413188, mid=3865, argc=0, argv=0x0, scope=0) at eval.c:5745
   #16 0x8057941 in rb_eval (self=135477688, n=0x812460c) at eval.c:2940
   #17 0x8054b63 in eval_node (self=135477688, node=0x812460c) at eval.c:1285
   #18 0x8055003 in ruby_exec_internal () at eval.c:1465
   #19 0x8055033 in ruby_exec () at eval.c:1483
   #20 0x8055075 in ruby_run () at eval.c:1500
   #21 0x80534e6 in main () at main.c:38
   #22 0x805342a in _start ()

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

In This Thread

Prev Next