List Info

Thread: Segmentation faultunder Windows




Segmentation faultunder Windows
user name
2006-03-27 20:08:23
noreplyrubyforge.org wrote:
> Bugs item #3924, was opened at 2006-03-27 07: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: Open
> Resolution: None
> 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: Park Heesob  (phasis68)
> 
> Date: 2006-03-27 23: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

Excellent.  Go ahead and close out the ticket.

Thanks,

Dan

_______________________________________________
win32utils-devel mailing list
win32utils-develrubyforge.org
http://rubyforge.org/mailman/listinfo/win32utils-devel

[1]

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