[Win32utils-devel] [ win32utils-Bugs-27862 ] win32-taskscheduler segfault on Windows 7

noreply at rubyforge.org noreply at rubyforge.org
Sat Feb 20 13:05:54 EST 2010


Bugs item #27862, was opened at 2010-02-20 11:05
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=27862&group_id=85

Category: win32-taskscheduler
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: win32-taskscheduler segfault on Windows 7

Initial Comment:
win32-taskscheduler 0.2.0
Windows 7 Ultimate

Here's the segfault with some caller and api information:

["C:/Ruby/lib/ruby/gems/1.8/gems/windows-pr-1.0.9/lib/windows/msvcrt/buffer.rb:39:in `memcpy'", "./lib/win32/taskscheduler.rb:842:in `new_work_item'", "./
n32/taskscheduler.rb:195:in `initialize'", "./test/test_taskscheduler.rb:34:in `new'", "./test/test_taskscheduler.rb:34:in `setup'", "C:/Ruby/lib/ruby/gem
gems/test-unit-2.0.6/lib/test/unit/fixture.rb:163:in `send'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/fixture.rb:163:in `run_fixture
:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/fixture.rb:159:in `each'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/fixtu
159:in `run_fixture'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/fixture.rb:168:in `run_setup'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-
.0.6/lib/test/unit/testcase.rb:311:in `run'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/testsuite.rb:38:in `run'", "C:/Ruby/lib/ruby/g
8/gems/test-unit-2.0.6/lib/test/unit/testsuite.rb:37:in `each'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/testsuite.rb:37:in `run'",
by/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/testsuite.rb:38:in `run'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/testsuite
:in `each'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/testsuite.rb:37:in `run'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/
nit/ui/testrunnermediator.rb:48:in `run_suite'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/ui/console/testrunner.rb:81:in `start_media
 "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/ui/console/testrunner.rb:51:in `start'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/li
/unit/ui/testrunnerutilities.rb:24:in `run'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit/autorunner.rb:310:in `run'", "C:/Ruby/lib/ruby
1.8/gems/test-unit-2.0.6/lib/test/unit/autorunner.rb:52:in `run'", "C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.6/lib/test/unit.rb:321", "C:/Ruby/lib/rub
/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5"]
"memcpy"
["\000\000\000\000", 0, 4]
C:/Ruby/lib/ruby/gems/1.8/gems/windows-api-0.4.0/lib/windows/api.rb:494: [BUG] Segmentation fault
ruby 1.8.6 (2009-08-04) [i386-mingw32]

Line 842 of taskscheduler.rb is this:

memcpy(lpVtbl, @pITask, 4)

Regards,

Dan

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

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


More information about the win32utils-devel mailing list