From: Dan Daniels Date: 2009-06-13T14:28:07+09:00 Subject: Re: win32-service Segmentation fault Heesob Park wrote: > 2009/6/13 Dan Daniels : >>>> unusual >>> >>> Or, if you could step through the debugger, I'd love to see what the >> Application Experience Lookup Service >> system32\DRIVERS\audstub.sys >> BlackBerry Controller >> xe" -s jvmpath="C:\Program Files\Java\jre1.6.0_02\bin\client\jvm.dll" >> c:/ruby/lib/ruby/gems/1.8/gems/win32-service-0.6.1-x86-mswin32-60/l >> ib/win32/service.rb:1057:in `upto' >>        from >> c:/ruby/lib/ruby/gems/1.8/gems/win32-service-0.6.1-x86-mswin32-60/l >> ib/win32/service.rb:1057:in `services' >>        from check_services_test.rb:12 >> >> >> If I change line 1101 to "puts binary_path.inspect", the script >> completes without error. > I guess the error is due to too long path string. > Altering line #1098 > binary_path = 0.chr * 260 > to > binary_path = 0.chr * 1024 > will fix the problem. > > Regards, > Park Heesob Brilliant! That worked. Thanks Park. -- Posted via http://www.ruby-forum.com/.