[#536] SEVG in bignum.c:505... — Sean Chittenden <sean@...>
$ ruby -e 'p [].to_s.strip.to_i'
5 messages
2002/10/13
[#537] darwin shared library patch — Eric Melville <eric@...>
In Darwin, the preferred way to build shared libraries is with two level
9 messages
2002/10/13
[#539] Re: darwin shared library patch
— "Akinori MUSHA" <knu@...>
2002/10/13
Hi,
[#544] Re: darwin shared library patch
— Eric Melville <eric@...>
2002/10/16
> The patch seems to make ENV[]= coredump.
[#546] Re: darwin shared library patch
— "Akinori MUSHA" <knu@...>
2002/10/16
At Thu, 17 Oct 2002 01:41:49 +0900,
[#541] Patch for MacOS X dln.c — Luc B駘anger <belanglu@...>
I have a patch for the dynamic linker in MacOS X, which permit to load
7 messages
2002/10/13
Segfault
From:
"Christoph" <chr_news@...>
Date:
2002-10-08 05:43:16 UTC
List:
ruby-core #526
Hi,
The following script segfaults with
ruby 1.7.3 (2002-10-07) [i386-cygwin] or [i386-mswin32]
---
class A
@@ups = 1
end
N = 10**5
require 'benchmark'
Benchmark::bmbm {|test|
test.report('bla') {
a = Array.new(N) {
class A
$x = proc { @@ups }
end
$x
}
a.each {|t| t.call }
}
}
---
Rehearsal ---------------------------------------
bla 16.434000 0.520000 16.954000 ( 17.926000)
----------------------------- total: 16.954000sec
user system total real
bla T:/rb81E.tmp:9: [BUG] Segmentation fault
This application has requested the Runtime to terminate
it in an unusual way. Please contact the application's
support team for more information.
---
This from a mswin run (compilied with Vc7 and stock compile
flags). It neither crashes with a Seb-23 version nor
N = 10**4 nor a simpler test
---
class A
$a = Array.new(N) { proc { @@ups } }
end
$a.each {|t| t.call }
---
/Christoph