#27 [BUG:28]OSX::OCObjWrapper#objc_methods crashes

closed
None
5
2006-01-11
2006-01-10
No

I received a report about a crash with invoking klass#objc_methods.

There is a bug at _ary_push_objc_methods() in
framework/objc/mdl_wrapper.m.

ex.)
require 'osx/cocoa'
s = OSX::NSString.stringWithString "hello"
puts s.objc_methods # => crash

Discussion

  • kimura wataru

    kimura wataru - 2006-01-11
    • assigned_to: nobody --> kimuraw
    • status: open --> closed
     
  • kimura wataru

    kimura wataru - 2006-01-11

    Logged In: YES
    user_id=919560

    this bug was fixed.
    we should use class_nextMethodList().

    framework/src/objc/mdl_objwrapper.m: rev1.7

     
  • kimura wataru

    kimura wataru - 2006-01-11
    • summary: [BUG:28]klass#objc_methods crashes --> [BUG:28]OSX::OCObjWrapper#objc_methods crashes
     
  • kimura wataru

    kimura wataru - 2006-01-11

    Logged In: YES
    user_id=919560

    modify summary.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks