[Ruby 1.9 - Bug #4829][Open] test_thread.rb reposet "malloc: *** pointer being freed was not allocat

Issue #4829 has been reported by Tomoyuki C…


Bug #4829: test_thread.rb reposet “malloc: *** pointer being freed was
not allocated” on Mac OS X
http://redmine.ruby-lang.org/issues/4829

Author: Tomoyuki C.
Status: Open
Priority: Normal
Assignee:
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-06-01 trunk 31885) [x86_64-darwin10.7.0]

r31885 以降の trunk で make test-all TESTS="-vq ruby/test_thread.rb"
を実行すると以下のように
free に不正なポインタを渡したというメッセージが出て Failure になります。

  1. Failure:
    test_thread_instance_variable(TestThread)
    [/Users/nagachika/opt/ruby-trunk/src/ruby/test/ruby/test_thread.rb:583]:
    [ruby-core:35192].
    <[]> expected but was
    <[“ruby-trunk(11715,0x7fff70e5eca0) malloc: *** error for object
    0x1018155e0: pointer being freed was not allocated”,
    “*** set a breakpoint in malloc_error_break to debug”]>.

しかし r31885 は rubygems のマージで C のコードの変更はないため、
もともとあった問題が表面化したのだと思います。

Issue #4829 has been updated by Tomoyuki C…

Status changed from Open to Closed

#4828 と全く同一でしたので duplicate として閉じます。

Bug #4829: test_thread.rb reposet “malloc: *** pointer being freed was
not allocated” on Mac OS X
http://redmine.ruby-lang.org/issues/4829

Author: Tomoyuki C.
Status: Closed
Priority: Normal
Assignee:
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-06-01 trunk 31885) [x86_64-darwin10.7.0]

r31885 以降の trunk で make test-all TESTS="-vq ruby/test_thread.rb"
を実行すると以下のように
free に不正なポインタを渡したというメッセージが出て Failure になります。

  1. Failure:
    test_thread_instance_variable(TestThread)
    [/Users/nagachika/opt/ruby-trunk/src/ruby/test/ruby/test_thread.rb:583]:
    [ruby-core:35192].
    <[]> expected but was
    <[“ruby-trunk(11715,0x7fff70e5eca0) malloc: *** error for object
    0x1018155e0: pointer being freed was not allocated”,
    “*** set a breakpoint in malloc_error_break to debug”]>.

しかし r31885 は rubygems のマージで C のコードの変更はないため、
もともとあった問題が表面化したのだと思います。

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs