[Win32utils-devel] [ win32utils-Bugs-21275 ] Callback sometimes segfaults in test suite

noreply at rubyforge.org noreply at rubyforge.org
Sun Jul 20 07:49:10 EDT 2008


Bugs item #21275, was opened at 2008-07-20 03:20
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=21275&group_id=85

Category: win32-api
Group: Test Suite
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Daniel Berger (djberg96)
Summary: Callback sometimes segfaults in test suite

Initial Comment:
Line 45 of test_win32_api_callback.rb sometimes segfaults:

test_assert_nothing_raised{ @api_ew.call(@callback, 'UEDIT32') }

>ruby -Iext test\test_win32_api_callback.rb
Loaded suite test/test_win32_api_callback
Started
test/test_win32_api_callback.rb:45: [BUG] Segmentation fault
ruby 1.8.6 (2008-03-03) [i386-mswin32_80]


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

Why is this happening?

- me

----------------------------------------------------------------------

>Comment By: Park Heesob  (phasis68)
Date: 2008-07-20 20:49

Message:
There seems need to reimplement callback facility.
The current callback can handle only one method at a time.
And it fails in a unit test sometimes as you mentioned.

I will reinvent the wheel if you don't mind. :)

Regards,

Park Heesob


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=21275&group_id=85


More information about the win32utils-devel mailing list