[Rubycocoa-devel 1022] NSApp.sendAction_to_from leads crash

Back to archive index

Naoki Hiroshima n+rub****@h7a*****
Tue Jun 26 05:41:04 JST 2007


Hello,

As I have just started playing with rubycocoa few days ago and never
written any of Objective-C code, perhaps I am doing completely wrong.
But I thought reporting the crash problem as below may worth.

Sometimes it gets the crash on "action: 0" and sometimes it gets as
far as below.

Please see and run the attached program.

$ ruby testwebkit.rb
action: 0
action: 1
action: 2
action: 3
action: 4
action: 5
2007-06-25 03:58:26.923 ruby[22895] *** Exception handlers were not
properly removed. Some code has jumped or returned out of an
NS_DURING...NS_HANDLER region without using the NS_VOIDRETURN or
NS_VALUERETURN macros.
/Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_wrapper.rb:50:
[BUG] Bus Error
ruby 1.8.6 (2007-03-13) [i686-darwin8.10.1]

Abort trap (core dumped)

-- Hiroshima
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testwebkit.rb
Type: application/octet-stream
Size: 1286 bytes
Desc: not available
Url : http://lists.sourceforge.jp/mailman/archives/rubycocoa-devel/attachments/20070625/ab96334d/attachment.obj 


More information about the Rubycocoa-devel mailing list
Back to archive index