Project

General

Profile

Actions

Bug #4829

closed

test_thread.rb reposet "malloc: *** pointer being freed was not allocated" on Mac OS X

Added by nagachika (Tomoyuki Chikanaga) over 13 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.3dev (2011-06-01 trunk 31885) [x86_64-darwin10.7.0]
Backport:
[ruby-dev:43628]

Description

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 のコードの変更はないため、
もともとあった問題が表面化したのだと思います。

Updated by nagachika (Tomoyuki Chikanaga) over 13 years ago

  • Status changed from Open to Closed

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

Actions

Also available in: Atom PDF

Like0
Like0