Project

General

Profile

Actions

Bug #939

closed

mathn とともに rational のテストを実行すると落ちる

Added by tadf (tadayoshi funaba) over 15 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:

Description

=begin
$ ./ruby -r mathn ./test/ruby/test_rational.rb
./ruby: [BUG] Segmentation fault
ruby 1.9.1 (2008-12-28 patchlevel-5000 trunk 21140) [i686-linux]

-- control frame ----------
c:0002 p:-34118032 s:0004 b:0004 l:000003 d:000003 TOP
c:0001 p:0000 s:0002 b:0002 l:0018a4 d:0018a4 TOP :17

-- Ruby level backtrace information-----------------------------------------

-- C level backtrace information -------------------------------------------
0x8121888 ./ruby(rb_vm_bugreport+0x48) [0x8121888]
0x814e349 ./ruby [0x814e349]
0x814e3db ./ruby(rb_bug+0x2b) [0x814e3db]
0x80d4446 ./ruby [0x80d4446]
0xb7fa8440 [0xb7fa8440]
0x80d394a ./ruby [0x80d394a]
0x8113c6b ./ruby(rb_vm_call_cfunc+0x9b) [0x8113c6b]
0x80d181d ./ruby(ruby_process_options+0x8d) [0x80d181d]
0x805d784 ./ruby(ruby_options+0x74) [0x805d784]
0x805bce8 ./ruby(main+0x58) [0x805bce8]
0xb7ddf450 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7ddf450]
0x805bc21 ./ruby [0x805bc21]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Aborted
=end

Actions #1

Updated by tadf (tadayoshi funaba) over 15 years ago

=begin
mathn というより、prime かも。test_range.rb などでも落ちる。

$ ./ruby -r prime ./test/ruby/test_range.rb
./ruby: [BUG] Segmentation fault
ruby 1.9.1 (2008-12-28 patchlevel-5000 trunk 21140) [i686-linux]

-- control frame ----------
c:0002 p:-34118032 s:0004 b:0004 l:000003 d:000003 TOP
c:0001 p:0000 s:0002 b:0002 l:0018a4 d:0018a4 TOP :17

-- Ruby level backtrace information-----------------------------------------

-- C level backtrace information -------------------------------------------
0x8121888 ./ruby(rb_vm_bugreport+0x48) [0x8121888]
0x814e349 ./ruby [0x814e349]
0x814e3db ./ruby(rb_bug+0x2b) [0x814e3db]
0x80d4446 ./ruby [0x80d4446]
0xb7f4d440 [0xb7f4d440]
0x80d394a ./ruby [0x80d394a]
0x8113c6b ./ruby(rb_vm_call_cfunc+0x9b) [0x8113c6b]
0x80d181d ./ruby(ruby_process_options+0x8d) [0x80d181d]
0x805d784 ./ruby(ruby_options+0x74) [0x805d784]
0x805bce8 ./ruby(main+0x58) [0x805bce8]
0xb7d84450 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d84450]
0x805bc21 ./ruby [0x805bc21]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Aborted (core dumped)

=end

Actions #2

Updated by ko1 (Koichi Sasada) over 15 years ago

  • Status changed from Open to Closed

=begin
Ruby:r21143 (trunk)
=end

Actions #3

Updated by matz (Yukihiro Matsumoto) over 15 years ago

=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37635] [Bug #939] mathn とともに rational のテストを実行すると落ちる"
on Mon, 29 Dec 2008 01:17:10 +0900, tadayoshi funaba writes:

|mathn というより、prime かも。test_range.rb などでも落ちる。

再現しません。誰か直した?

miniruby -v -I lib -I .ext/i686-linux -r prime ./test/ruby/test_rational.rb
ruby 1.9.1 (2008-12-29 patchlevel-5000 trunk 21144) [i686-linux]
Loaded suite ./test/ruby/test_rational
Started
....................................
Finished in 0.015402 seconds.

38 tests, 430 assertions, 0 failures, 0 errors, 0 skips

=end

Actions #4

Updated by ko1 (Koichi Sasada) over 15 years ago

=begin
 ささだです.

Yukihiro Matsumoto wrote::

再現しません。誰か直した?

 なおしました.

[ruby-dev:37639]
http://redmine.ruby-lang.org/issues/show/939

--
// SASADA Koichi at atdot dot net

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0