Jira (PUP-2818) Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled
Title: Message Title Josh Cooper commented on an issue Re: Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled As a result of task scheduler changes in PUP-2881, we gracefully detect when the task scheduler service is not running. Closing this. Add Comment Puppet / PUP-2818 Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled This ticket should represent more of a verification of behavior in the latest 0.3.0 taskscheduler gem after upgrading to the latest version during x64 FFI work. According to user reports, a crash occurs at the following line of puppet-win32-ruby: https://github.com/puppetlabs/puppet-win32-ruby/blob/1.9.3-p484.3/ruby/lib/ruby/gems/1.9.1/gems/win32-ta... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at
Jira (PUP-2818) Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled
Title: Message Title Ethan Brown commented on an issue Re: Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled Clarification. We don't gracefully detect that the service is not running, but we correctly deal with errors now and surface the underlying COM HRESULT properly, which the old gem code did not. Instead of a crash, a user now sees the error for The Task Scheduler Service is not running. which is self-evident. Add Comment Puppet / PUP-2818 Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled This ticket should represent more of a verification of behavior in the latest 0.3.0 taskscheduler gem after upgrading to the latest version during x64 FFI work. According to user reports, a crash occurs at the following line of puppet-win32-ruby: https://github.com/puppetlabs/puppet-win32-ruby/blob/1.9.3-p484.3/ruby/lib/ruby/gems/1.9.1/gems/win32-ta... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it,
Jira (PUP-2818) Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled
Title: Message Title Ethan Brown commented on an issue Re: Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled After merging the PUP-2881 code, the error from a disabled scheduler service is different. Executing Will now generate an error like this: execute the following command line C:\source\puppet [ticket/master/PUP-2881-update-win32-taskscheduler +4 ~0 -0 !] bundle exec puppet resource scheduled_task get the following results DL is deprecated, please use Fiddle DL is deprecated, please use Fiddle Error: Could not run: Failed to call #Win32::TaskScheduler::COM::Task:0x0006c0a200::GetAccountInformation with HRESULT: -2147216619.: The Task Scheduler Service is not running. I believe that a simple call can be made at some point early in the task scheduler loading to bail out earlier than the call to GetAccountInformation, but this is a better error than what was occurring previously. Add Comment Puppet / PUP-2818 Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled This ticket should
Jira (PUP-2818) Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled
Title: Message Title Ethan Brown commented on an issue Re: Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled FYI, psexec is a good way to kill the scheduler service locally. http://social.technet.microsoft.com/Forums/windowsserver/en-us/b9e5a4c0-073c-42fd-a390-8b2aee407a4f/task-scheduler-service-schedule-cannot-be-stopped-in-windows-2008-r1-?forum=winserversecurity psexec.exe -i -s CMD to launch a command prompt as system, then sc stop scheduler Add Comment Puppet / PUP-2818 Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled This ticket should represent more of a verification of behavior in the latest 0.3.0 taskscheduler gem after upgrading to the latest version during x64 FFI work. According to user reports, a crash occurs at the following line of puppet-win32-ruby: https://github.com/puppetlabs/puppet-win32-ruby/blob/1.9.3-p484.3/ruby/lib/ruby/gems/1.9.1/gems/win32-ta... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet
Jira (PUP-2818) Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled
Title: Message Title Ethan Brown updated an issue Puppet / PUP-2818 Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled Change By: Ethan Brown Sprint: Week2014-7- 23 9 to2014- 8 7 - 6 23 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2818) Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled
Title: Message Title Kylo Ginsberg assigned an issue to Unassigned Puppet / PUP-2818 Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled Change By: Kylo Ginsberg Assignee: KyloGinsberg Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2818) Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled
Title: Message Title Josh Cooper updated an issue Puppet / PUP-2818 Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled Change By: Josh Cooper Sprint: Week2014-7-23to2014-8-6 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2818) Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled
Title: Message Title Ethan Brown commented on an issue Re: Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled Wait to work on this until we've updated our taskscheduler gem Add Comment Puppet / PUP-2818 Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled This ticket should represent more of a verification of behavior in the latest 0.3.0 taskscheduler gem after upgrading to the latest version during x64 FFI work. According to user reports, a crash occurs at the following line of puppet-win32-ruby: https://github.com/puppetlabs/puppet-win32-ruby/blob/1.9.3-p484.3/ruby/lib/ruby/gems/1.9.1/gems/win32-ta... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit
Jira (PUP-2818) Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled
Title: Message Title Ethan Brown created an issue Puppet / PUP-2818 Win32-taskscheduler gem 0.2.2 (patched in vendored repo) crashes when task scheduler is disabled Issue Type: Bug Assignee: Kylo Ginsberg Components: Client Created: 22/Jun/14 8:12 AM Fix Versions: 3.7.0 Priority: Major Reporter: Ethan Brown This ticket should represent more of a verification of behavior in the latest 0.3.0 taskscheduler gem after upgrading to the latest version during x64 FFI work. According to user reports, a crash occurs at the following line of puppet-win32-ruby: https://github.com/puppetlabs/puppet-win32-ruby/blob/1.9.3-p484.3/ruby/lib/ruby/gems/1.9.1/gems/win32-taskscheduler-0.2.2/lib/win32/taskscheduler.rb#L529 Where ptr_to_string is called: https://github.com/puppetlabs/puppet-win32-ruby/blob/1.9.3-p484.3/ruby/lib/ruby/gems/1.9.1/gems/win32-taskscheduler-0.2.2/lib/win32/taskscheduler.rb#L1637 It was determined that the reason for the crash is ultimately that the task scheduler service has been disabled on affected boxes. At the very least, Puppet should perform a check on the service and report a sensible error message. The following callstack appears on PE 3.2.1: