[#39260] RubySpec vs CRuby's test/... — Marc-Andre Lafortune <ruby-core-mailing-list@...>

Before the release of Ruby 1.9.2 it was decided that Ruby releases

59 messages 2011/09/04
[#39276] Re: RubySpec vs CRuby's test/... — "NARUSE, Yui" <naruse@...> 2011/09/05

2011/9/5 Marc-Andre Lafortune <[email protected]>:

[#39325] Re: RubySpec vs CRuby's test/... — Charles Oliver Nutter <headius@...> 2011/09/07

I'll jump in with some context from the JRuby perspective.

[#39335] Re: RubySpec vs CRuby's test/... — "NARUSE, Yui" <naruse@...> 2011/09/07

2011/9/7 Charles Oliver Nutter <[email protected]>:

[#39365] Re: RubySpec vs CRuby's test/... — Charles Oliver Nutter <headius@...> 2011/09/08

On Wed, Sep 7, 2011 at 4:17 AM, NARUSE, Yui <[email protected]> wrote:

[#39366] Re: RubySpec vs CRuby's test/... — Yukihiro Matsumoto <matz@...> 2011/09/08

Hi,

[#39370] Re: RubySpec vs CRuby's test/... — Michael Klishin <michael.s.klishin@...> 2011/09/08

Yukihiro Matsumoto:

[#39374] Re: RubySpec vs CRuby's test/... — "NARUSE, Yui" <naruse@...> 2011/09/08

(2011/09/09 1:29), Michael Klishin wrote:

[#39376] Re: RubySpec vs CRuby's test/... — Luis Lavena <luislavena@...> 2011/09/08

On Thu, Sep 8, 2011 at 4:19 PM, NARUSE, Yui <[email protected]> wrote:

[#39379] Re: RubySpec vs CRuby's test/... — Masaya TARUI <tarui@...> 2011/09/08

Hello Luis,

[#39382] Re: RubySpec vs CRuby's test/... — Luis Lavena <luislavena@...> 2011/09/08

On Thu, Sep 8, 2011 at 5:34 PM, Masaya TARUI <[email protected]> wrote:

[#39386] Re: RubySpec vs CRuby's test/... — Charles Oliver Nutter <headius@...> 2011/09/08

On Thu, Sep 8, 2011 at 3:57 PM, Luis Lavena <[email protected]> wrote:

[#39267] [Ruby 1.9 - Bug #5273][Open] Float#round returns the wrong floats for higher precision — Marc-Andre Lafortune <ruby-core@...>

14 messages 2011/09/04

[#39435] [Ruby 1.9 - Bug #5306][Open] Application Hangs Due to Recent rb_thread_select Changes — Charlie Savage <cfis@...>

27 messages 2011/09/09

[#39498] [Ruby 1.9 - Feature #5310][Open] Integral objects — Kenta Murata <muraken@...>

13 messages 2011/09/13

[#39539] [Ruby 1.9 - Feature #5321][Open] Introducing Numeric#exact? and Numeric#inexact? — Kenta Murata <muraken@...>

26 messages 2011/09/14

[#39629] [Ruby 1.9 - Feature #5341][Open] Add SSL session reuse to Net::HTTP — Eric Hodel <[email protected]>

18 messages 2011/09/19

[#39634] [Ruby 1.9 - Bug #5343][Open] Unexpected blocking behavior when interrupt Socket#accept — Tomoyuki Chikanaga <nagachika00@...>

10 messages 2011/09/20

[#39673] [Ruby 1.9 - Bug #5353][Open] TLS v1.0 and less - Attack on CBC mode — Martin Bosslet <Martin.Bosslet@...>

13 messages 2011/09/22

[#39700] [Ruby 1.9 - Feature #5364][Open] How about new syntax: "object.\method" returns a Method instance? — Joey Zhou <yimutang@...>

20 messages 2011/09/25

[#39740] [Ruby 1.9 - Feature #5372][Open] Promote blank? to a core protocol — Alex Young <alex@...>

18 messages 2011/09/27
[#39743] Re: [Ruby 1.9 - Feature #5372][Open] Promote blank? to a core protocol — Aaron Patterson <aaron@...> 2011/09/27

On Tue, Sep 27, 2011 at 06:18:19PM +0900, Alex Young wrote:

[#39754] Re: [Ruby 1.9 - Feature #5372][Open] Promote blank? to a core protocol — Alex Young <alex@...> 2011/09/27

On 27/09/2011 19:46, Aaron Patterson wrote:

[#39807] Re: [Ruby 1.9 - Feature #5372][Open] Promote blank? to a core protocol — Eric Hodel <[email protected]> 2011/10/01

On Sep 27, 2011, at 6:52 PM, Alex Young wrote:

[#39751] [Ruby 1.9 - Bug #5375][Open] [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347 — Jon Forums <redmine@...>

26 messages 2011/09/27

[#39772] ObjectSpace.reference_form(obj) #=> references_array — SASADA Koichi <ko1@...>

Hi,

13 messages 2011/09/29
[#39774] Re: ObjectSpace.reference_form(obj) #=> references_array — Nobuyoshi Nakada <nobu@...> 2011/09/29

Hi,

[#39796] [Ruby 1.9 - Bug #5384][Open] Ruby 1.9.3-RC1 Fails to Compile on Solaris — Cyrus Lopez <cyrus@...>

11 messages 2011/09/30

[ruby-core:39751] [Ruby 1.9 - Bug #5375][Open] [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347

From: Jon Forums <redmine@...>
Date: 2011-09-27 20:48:59 UTC
List: ruby-core #39751
Issue #5375 has been reported by Jon Forums.

----------------------------------------
Bug #5375: [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
http://redmine.ruby-lang.org/issues/5375

Author: Jon Forums
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-09-27 revision 33347) [i386-mingw32]


With 1.9.3dev@33347 I get a segfault when running `gem --version` on WinXP SP3 32bit (Home and Professional) when Ruby is built with TDM-GCC 4.6.1 and the RubyInstaller recipes.

The build passed `make test-all TESTS='openssl fiddle psych' && make test`

I am unable to replicate the failure in the following environments:

  * Win7 Professional or Ultimate 32bit
  * ruby 1.9.3dev@33347 built with TDM-GCC 4.5.2
  * ruby 1.9.4dev@33350 built with TDM-GCC 4.6.1
  * ruby 1.9.4dev@33350 built with gcc 4.6.1 on Arch Linux 3.0


C:\>ruby --version
ruby 1.9.3dev (2011-09-27 revision 33347) [i386-mingw32]

C:\>gem --version
c:/ruby19/lib/ruby/1.9.1/psych/scalar_scanner.rb:71: [BUG] Segmentation fault
ruby 1.9.3dev (2011-09-27 revision 33347) [i386-mingw32]

-- Control frame information -----------------------------------------------
c:0027 p:---- s:0138 b:0138 l:000137 d:000137 CFUNC  :Integer
c:0026 p:0185 s:0134 b:0134 l:000133 d:000133 METHOD c:/ruby19/lib/ruby/1.9.1/psych/scalar_scanner.rb:71
c:0025 p:0220 s:0129 b:0129 l:000128 d:000128 METHOD c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:46
c:0024 p:0030 s:0118 b:0118 l:000117 d:000117 METHOD c:/ruby19/lib/ruby/1.9.1/psych/visitors/visitor.rb:15
c:0023 p:0013 s:0114 b:0114 l:000113 d:000113 METHOD c:/ruby19/lib/ruby/1.9.1/psych/visitors/visitor.rb:5
c:0022 p:0012 s:0110 b:0110 l:000109 d:000109 METHOD c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:16
c:0021 p:0164 s:0102 b:0099 l:000083 d:000098 BLOCK  c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:226
c:0020 p:---- s:0094 b:0094 l:000093 d:000093 FINISH
c:0019 p:---- s:0092 b:0092 l:000087 d:000091 IFUNC
c:0018 p:---- s:0090 b:0090 l:000089 d:000089 CFUNC  :each
c:0017 p:---- s:0088 b:0088 l:000087 d:000087 CFUNC  :each_slice
c:0016 p:0052 s:0084 b:0084 l:000083 d:000083 METHOD c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:211
c:0015 p:0091 s:0079 b:0079 l:000078 d:000078 METHOD c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:123
c:0014 p:0030 s:0065 b:0065 l:000064 d:000064 METHOD c:/ruby19/lib/ruby/1.9.1/psych/visitors/visitor.rb:15
c:0013 p:0013 s:0061 b:0061 l:000060 d:000060 METHOD c:/ruby19/lib/ruby/1.9.1/psych/visitors/visitor.rb:5
c:0012 p:0012 s:0057 b:0057 l:000056 d:000056 METHOD c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:16
c:0011 p:0026 s:0049 b:0049 l:000048 d:000048 METHOD c:/ruby19/lib/ruby/1.9.1/psych/nodes/node.rb:35
c:0010 p:0029 s:0046 b:0046 l:000045 d:000045 METHOD c:/ruby19/lib/ruby/1.9.1/psych.rb:113
c:0009 p:0080 s:0041 b:0041 l:000040 d:000040 METHOD c:/ruby19/lib/ruby/1.9.1/rubygems/config_file.rb:239
c:0008 p:0212 s:0037 b:0037 l:000036 d:000036 METHOD c:/ruby19/lib/ruby/1.9.1/rubygems/config_file.rb:179
c:0007 p:---- s:0028 b:0028 l:000027 d:000027 FINISH
c:0006 p:---- s:0026 b:0026 l:000025 d:000025 CFUNC  :new
c:0005 p:0022 s:0022 b:0021 l:000020 d:000020 METHOD c:/ruby19/lib/ruby/1.9.1/rubygems/gem_runner.rb:78
c:0004 p:0118 s:0017 b:0017 l:000016 d:000016 METHOD c:/ruby19/lib/ruby/1.9.1/rubygems/gem_runner.rb:51
c:0003 p:0164 s:0009 b:0009 l:0019bc d:0021a8 EVAL   c:/ruby19/bin/gem:21
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0019bc d:0019bc TOP

-- Ruby level backtrace information ----------------------------------------
c:/ruby19/bin/gem:21:in `<main>'
c:/ruby19/lib/ruby/1.9.1/rubygems/gem_runner.rb:51:in `run'
c:/ruby19/lib/ruby/1.9.1/rubygems/gem_runner.rb:78:in `do_configuration'
c:/ruby19/lib/ruby/1.9.1/rubygems/gem_runner.rb:78:in `new'
c:/ruby19/lib/ruby/1.9.1/rubygems/config_file.rb:179:in `initialize'
c:/ruby19/lib/ruby/1.9.1/rubygems/config_file.rb:239:in `load_file'
c:/ruby19/lib/ruby/1.9.1/psych.rb:113:in `load'
c:/ruby19/lib/ruby/1.9.1/psych/nodes/node.rb:35:in `to_ruby'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:16:in `accept'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/visitor.rb:5:in `accept'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/visitor.rb:15:in `visit'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:123:in `visit_Psych_Nodes_Mapping'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:211:in `revive_hash'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:211:in `each_slice'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:211:in `each'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:226:in `block in revive_hash'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:16:in `accept'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/visitor.rb:5:in `accept'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/visitor.rb:15:in `visit'
c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:46:in `visit_Psych_Nodes_Scalar'
c:/ruby19/lib/ruby/1.9.1/psych/scalar_scanner.rb:71:in `tokenize'
c:/ruby19/lib/ruby/1.9.1/psych/scalar_scanner.rb:71:in `Integer'

-- C level backtrace information -------------------------------------------
C:\WINDOWS\system32\ntdll.dll(KiFastSystemCallRet+0x0) [0x7c90e514]
C:\WINDOWS\system32\kernel32.dll(WaitForSingleObject+0x12) [0x7c802542]

-- Other runtime information -----------------------------------------------

* Loaded script: c:/ruby19/bin/gem

* Loaded features:

    0 enumerator.so
    1 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/enc/encdb.so
    2 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/enc/iso_8859_1.so
    3 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/enc/trans/transdb.so
    4 c:/ruby19/lib/ruby/1.9.1/rubygems/defaults.rb
    5 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/rbconfig.rb
    6 c:/ruby19/lib/ruby/1.9.1/rubygems/deprecate.rb
    7 c:/ruby19/lib/ruby/1.9.1/rubygems/exceptions.rb
    8 c:/ruby19/lib/ruby/1.9.1/rubygems/defaults/operating_system.rb
    9 c:/ruby19/lib/ruby/1.9.1/rubygems/custom_require.rb
   10 c:/ruby19/lib/ruby/1.9.1/rubygems.rb
   11 c:/ruby19/lib/ruby/1.9.1/optparse.rb
   12 c:/ruby19/lib/ruby/1.9.1/rubygems/user_interaction.rb
   13 c:/ruby19/lib/ruby/1.9.1/rubygems/command.rb
   14 c:/ruby19/lib/ruby/1.9.1/rubygems/command_manager.rb
   15 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/etc.so
   16 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/enc/utf_16le.so
   17 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/enc/trans/utf_16_32.so
   18 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/enc/trans/single_byte.so
   19 c:/ruby19/lib/ruby/1.9.1/rubygems/config_file.rb
   20 c:/ruby19/lib/ruby/1.9.1/rubygems/doc_manager.rb
   21 c:/ruby19/lib/ruby/1.9.1/rubygems/version.rb
   22 c:/ruby19/lib/ruby/1.9.1/rubygems/requirement.rb
   23 c:/ruby19/lib/ruby/1.9.1/rubygems/platform.rb
   24 c:/ruby19/lib/ruby/1.9.1/rubygems/specification.rb
   25 c:/ruby19/lib/ruby/1.9.1/rubygems/path_support.rb
   26 c:/ruby19/lib/ruby/1.9.1/rubygems/dependency.rb
   27 c:/ruby19/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard/rubygems/specification.rb
   28 c:/ruby19/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard/rubygems/doc_manager.rb
   29 c:/ruby19/lib/ruby/1.9.1/rubygems/gem_runner.rb
   30 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/psych.so
   31 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/stringio.so
   32 c:/ruby19/lib/ruby/1.9.1/psych/nodes/node.rb
   33 c:/ruby19/lib/ruby/1.9.1/psych/nodes/stream.rb
   34 c:/ruby19/lib/ruby/1.9.1/psych/nodes/document.rb
   35 c:/ruby19/lib/ruby/1.9.1/psych/nodes/sequence.rb
   36 c:/ruby19/lib/ruby/1.9.1/psych/nodes/scalar.rb
   37 c:/ruby19/lib/ruby/1.9.1/psych/nodes/mapping.rb
   38 c:/ruby19/lib/ruby/1.9.1/psych/nodes/alias.rb
   39 c:/ruby19/lib/ruby/1.9.1/psych/nodes.rb
   40 c:/ruby19/lib/ruby/1.9.1/psych/streaming.rb
   41 c:/ruby19/lib/ruby/1.9.1/psych/visitors/visitor.rb
   42 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/strscan.so
   43 c:/ruby19/lib/ruby/1.9.1/psych/scalar_scanner.rb
   44 c:/ruby19/lib/ruby/1.9.1/psych/visitors/to_ruby.rb
   45 c:/ruby19/lib/ruby/1.9.1/psych/visitors/emitter.rb
   46 c:/ruby19/lib/ruby/1.9.1/psych/visitors/yaml_tree.rb
   47 c:/ruby19/lib/ruby/1.9.1/psych/json/ruby_events.rb
   48 c:/ruby19/lib/ruby/1.9.1/psych/visitors/json_tree.rb
   49 c:/ruby19/lib/ruby/1.9.1/psych/visitors/depth_first.rb
   50 c:/ruby19/lib/ruby/1.9.1/psych/visitors.rb
   51 c:/ruby19/lib/ruby/1.9.1/psych/handler.rb
   52 c:/ruby19/lib/ruby/1.9.1/psych/tree_builder.rb
   53 c:/ruby19/lib/ruby/1.9.1/psych/parser.rb
   54 c:/ruby19/lib/ruby/1.9.1/psych/omap.rb
   55 c:/ruby19/lib/ruby/1.9.1/psych/set.rb
   56 c:/ruby19/lib/ruby/1.9.1/psych/coder.rb
   57 c:/ruby19/lib/ruby/1.9.1/psych/core_ext.rb
   58 c:/ruby19/lib/ruby/1.9.1/i386-mingw32/date_core.so
   59 c:/ruby19/lib/ruby/1.9.1/date/format.rb
   60 c:/ruby19/lib/ruby/1.9.1/date.rb
   61 c:/ruby19/lib/ruby/1.9.1/psych/deprecated.rb
   62 c:/ruby19/lib/ruby/1.9.1/psych/json.rb
   63 c:/ruby19/lib/ruby/1.9.1/psych.rb
   64 c:/ruby19/lib/ruby/1.9.1/yaml.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.



C:\>gdb --args ruby -S gem --version
GNU gdb (GDB) 7.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from c:\ruby19\bin\ruby.exe...done.
(gdb) run
Starting program: c:\ruby19\bin\ruby.exe -S gem --version
[New Thread 1480.0x974]
[New Thread 1480.0x680]

Program received signal SIGSEGV, Segmentation fault.
0x77c3554a in msvcrt!_abnormal_termination ()
   from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0  0x77c3554a in msvcrt!_abnormal_termination ()
   from C:\WINDOWS\system32\msvcrt.dll
#1  0x77c39bc6 in strerror () from C:\WINDOWS\system32\msvcrt.dll
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) thread
[Current thread is 1 (Thread 1480.0x974)]
(gdb) info threads
  Id   Target Id         Frame
  2    Thread 1480.0x680 0x7c90e514 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
* 1    Thread 1480.0x974 0x77c3554a in msvcrt!_abnormal_termination ()
   from C:\WINDOWS\system32\msvcrt.dll
(gdb)



-- 
http://redmine.ruby-lang.org

In This Thread

Prev Next