List Info

Thread: Segmentation fault under Windows




Segmentation fault under Windows
user name
2006-03-30 20:29:34
Bugs item #3924, was opened at 2006-03-26 15:12
You can respond by visiting: 
http://rubyforge.org/tracker/
?func=detail&atid=411&aid=3924&group_id=85

Category: win32-taskscheduler
Group: Code
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: David FAROI (dfaroi)
Assigned to: Daniel Berger (djberg96)
Summary: Segmentation fault under Windows

Initial Comment:
I'm trying to make something like this:

require 'win32/taskscheduler'
include Win32

puts `xcopy "D:\ATest A" "D:\ATest
B" /c /d /e /i /h /l /r /y`

I get the following error :
------
[BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [i386-mswin32]

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

If I remove the two firts line, it works.
Note that I have the same error under ruby 1.8.4

Any idea ?

--
Windows XP SP2
taskscheduler version 0.0.3

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

>Comment By: Daniel Berger (djberg96)
Date: 2006-03-30 13:29

Message:
Fixed in CVS.

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

Comment By: David FAROI (dfaroi)
Date: 2006-03-27 10:34

Message:
Thanks Park Heesob to reply.

Will keep you inform if I success compile a taskscheduler.so
file.

Regards.
David


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

Comment By: Park Heesob  (phasis68)
Date: 2006-03-27 07:21

Message:
Hi,
I found what is the bug.

Please modify taskscheduler.h Line #173
      TASK_FLAG_RUN_ONLY_IF_LOGGED_ON);
to
      INT2NUM(TASK_FLAG_RUN_ONLY_IF_LOGGED_ON));


Regards,

Park Heesob


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

You can respond by visiting: 
http://rubyforge.org/tracker/
?func=detail&atid=411&aid=3924&group_id=85
_______________________________________________
win32utils-devel mailing list
win32utils-develrubyforge.org
http://rubyforge.org/mailman/listinfo/win32utils-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )