Forum: Ruby-core [ruby-trunk - Bug #8694][Open] scheduled_tasks bug report

Ef0ce0bdbc5c6e5d31a64c0aa457b014?d=identicon&s=25 jstnlth (Justin Luth) (Guest)
on 2013-07-26 12:49
(Received via mailing list)
Issue #8694 has been reported by jstnlth (Justin Luth).

----------------------------------------
Bug #8694: scheduled_tasks bug report
https://bugs.ruby-lang.org/issues/8694

Author: jstnlth (Justin Luth)
Status: Open
Priority: Normal
Assignee: cruby-windows
Category: platform/windows
Target version:
ruby -v: ruby 1.9.3p392 (2013-02-22) [i386-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


gem crash trying to use a scheduled_task resource.  I first tried using
forward slashes, but had similar errors.

scheduled_task { "${source_left}":
    require   => File["${source_left}.config"],
    command   => "c:\\program files\\FreeFileSync\\FreeFileSync.exe",
    #arguments => "$config_file",
    #ensure    => present,
    #enabled   => true,
    #user      => 'one',
    #password  => '1',
    #trigger   => {
    #  schedule   => 'daily',
    #  start_time => '09:30',
    #}
  }


Windows XP SP3.   ruby 1.9.3p392 (2013-02-22) [i386-mingw32]  Puppet
3.2.3

Notice: /Stage[main]//Freefilesync[me]/Package[c:\documents and
settings\User\My
 Documents\SIL.install_ffs]/ensure: created
c:/Program Files/Puppet
Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/windows-ap
i-0.4.2/lib/windows/api.rb:489: [BUG] Segmentation fault
ruby 1.9.3p392 (2013-02-22) [i386-mingw32]
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-07-26 14:57
(Received via mailing list)
Issue #8694 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Open to Third Party's Issue

It crashes in win32-api.
----------------------------------------
Bug #8694: scheduled_tasks bug report
https://bugs.ruby-lang.org/issues/8694#change-40689

Author: jstnlth (Justin Luth)
Status: Third Party's Issue
Priority: Normal
Assignee: cruby-windows
Category: platform/windows
Target version:
ruby -v: ruby 1.9.3p392 (2013-02-22) [i386-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


gem crash trying to use a scheduled_task resource.  I first tried using
forward slashes, but had similar errors.

scheduled_task { "${source_left}":
    require   => File["${source_left}.config"],
    command   => "c:\\program files\\FreeFileSync\\FreeFileSync.exe",
    #arguments => "$config_file",
    #ensure    => present,
    #enabled   => true,
    #user      => 'one',
    #password  => '1',
    #trigger   => {
    #  schedule   => 'daily',
    #  start_time => '09:30',
    #}
  }


Windows XP SP3.   ruby 1.9.3p392 (2013-02-22) [i386-mingw32]  Puppet
3.2.3

Notice: /Stage[main]//Freefilesync[me]/Package[c:\documents and
settings\User\My
 Documents\SIL.install_ffs]/ensure: created
c:/Program Files/Puppet
Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/windows-ap
i-0.4.2/lib/windows/api.rb:489: [BUG] Segmentation fault
ruby 1.9.3p392 (2013-02-22) [i386-mingw32]
This topic is locked and can not be replied to.