similar to: Service.start arguments failing or causing segfault

Displaying 20 results from an estimated 300 matches similar to: "Service.start arguments failing or causing segfault"

2001 Aug 15
1
WineLib Warning?
When compiling the following line of code using WineLib 20010731 you get a warning message. // generates a warning CompareString(LOCALE_USER_DEFAULT, dwFlags, s1, -1, s2, -1); These warning relates to the defines found in include/winbase.h file where we have: UINT WINAPI CompareStringA(DWORD,DWORD,LPCSTR,DWORD,LPCSTR,DWORD); UINT WINAPI
2005 Nov 26
1
Another patch of win32-service for nice startup.
Hi, I believe this patch would be a perfect solution for a lengthy initialization application. Added hStartEvent, service_init, checkpoint increments. ============================================================ --- temp/service.c 2005-11-27 00:03:30.000000000 +0900 +++ service.c 2005-11-27 00:01:58.000000000 +0900 @@ -14,6 +14,7 @@ static VALUE cDaemonError; static VALUE rbServiceStruct,
2011 Aug 22
2
Pure Ruby TCP Daemon
Hi all, I created a "pure" branch on github that uses the code Heesob posted a while back: http://rubyforge.org/pipermail/win32utils-devel/2008-November/001274.html However, I couldn''t make it work on my Vista laptop. c:\Users\djberge\Repositories\win32-service\examples>ruby demo_daemon_ctl.rb start VERSION: 0.8.0
2006 Dec 07
0
Fwd: win32-service problems with patch
Got this today. Please take a look and let me know what you think. - Dan ---------- Forwarded message ---------- From: Kevin Burge <kevin.burge at systemware.com> Date: Dec 7, 2006 6:45 AM Subject: win32-service problems with patch To: djberg96 at gmail.com Hi Daniel, Thanks for win32-service. In the process of using it for running a reliable-msg (drb) server and clients, I had some
2004 Feb 25
5
Wide strings and LPCTSTR types
All, I was experimenting with converting LPCTSTR strings to wide strings with something like this: // Converts a Ruby string to a LPWSTR LPCTSTR AllocWideLString(VALUE rbString){ char* str = STR2CSTR(rbString); int length = (strlen(str)+1) * sizeof(WCHAR); LPCTSTR lpStr = (LPCTSTR)malloc(length); MultiByteToWideChar( CP_ACP, 0, str, strlen(str)+1,
2006 May 22
9
win32/service... still with problems.
Hello list, In my quest to get Mongrel working as service for win32, found some problems with win32/service that make it impossible to solve. Attached is the simplest service script I could do with ruby, which depends on win32/service. I found that doing anything complex in service_stop (killing threads, doing file handling, even sleeping for 0.25 seconds). crash the service with backtraces (of
2004 Apr 09
2
Issues with win32-service Daemon
Hi all, I wrote a little echo client to run as a service. I have a couple of problems with this. First, any time I try to define anything in "initialize", the service fails to start. Any idea why? Also, this service runs for a while, then just quits for no reason that I can see. The Event Log merely says, "The Abba service terminated unexpectedly". Any ideas on
2004 Nov 06
3
Calling CreateFile on an instance of File - possible?
Hi all, I''m going over win32-file this weekend. I''m creating instance methods for setting (or unsetting) the various file attributes. So, you can do something like: f = File.open("foo.txt") f.archive = true f.hidden = true f.close This works for the basic attributes, but it requires extra work for others. Specifically, I am having trouble trying to set the
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
RHSrvAny.c was using a mixture of 4 space indentation, and tabs with a width of 4. This commit rationalises the whitespace to use only 4 space indentation, and removes trailing whitespace. --- RHSrvAny/RHSrvAny.c | 537 ++++++++++++++++++++++++++-------------------------- RHSrvAny/RHSrvAny.h | 1 - RHSrvAny/resource.h | 2 +- 3 files changed, 269 insertions(+), 271 deletions(-) diff --git
2023 Mar 19
3
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
This is version 4 of the following sub-series: [libnbd PATCH v3 09/29] lib/utils: introduce async-signal-safe execvpe() [libnbd PATCH v3 10/29] lib/utils: add unit tests for async-signal-safe execvpe() http://mid.mail-archive.com/20230215141158.2426855-10-lersek at redhat.com http://mid.mail-archive.com/20230215141158.2426855-11-lersek at redhat.com The Notes section on each patch records the
2005 Sep 08
11
Stopping services
I''m back to getting stuff to run as a Windows service, and am running in to a problem. My service (a Daemon ruby class) installs and starts fine, but when I try to stop it, I get: C:\workspaces\default\tahoe>ruby script\service stop script/service:77:in `stop'': An exception occurred in the service when handling the control request. (Win32::ServiceError) from
2005 Dec 01
1
service_cli.rb
Hi, I just got done using win32/service to run a very small/hack-ish "Riki" WEBrick service. Very cool stuff. Thanks. So, in the process, I noticed a lot of the "control" start/install/etc. command line parser stuff looked a bit boilerplate, so I pulled it out into a helper function "service_cli" (for lack of a better name). Its simple, but it allows me to do away
2011 Sep 22
2
[LLVMdev] How to const char* Value for function argument
Hi, I'm trying to replace function call with call to wrapper(function_name, num_args, ...), where varargs hold args of original call. Function* launch = Function::Create( TypeBuilder<int(const char*, int, ...), false>::get(context), GlobalValue::ExternalLinkage, "kernelgen_launch_", m2); { CallInst* call = dyn_cast<CallInst>(cast<Value>(I)); if
2005 Nov 22
1
Win32 Service Timeout command
> -----Original Message----- > From: Jamey Cribbs [mailto:cribbsj at oakwood.org] > Sent: Tuesday, November 22, 2005 2:44 PM > To: Berger, Daniel > Subject: Win32 Service Timeout command > > > Hi, Dan. I have a quick question. Is there a way to set a timeout > variable when starting/creating a win32 service using your package? > When I attempt to start a
2006 Jun 18
7
[Fwd: Ruby Win32-Service]
Thoughts? Dan -------------- next part -------------- An embedded message was scrubbed... From: "Patrick Hurley" <phurley at gmail.com> Subject: Ruby Win32-Service Date: Sun, 18 Jun 2006 12:46:01 -0400 Size: 2863 Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060618/cc346796/attachment.eml
2005 Aug 19
3
WEBrick OS X StartupItem?
Is it possible to create a Startup Item for WEBrick? My startup item, named swu, works fine when I run it from the command line, just not when the computer is starting up. I''m wondering if some resources are missing for ruby to load at this point... or something. Here''s output from /var/log/system.log... Any suggestions would be appreciated. Aug 18 21:18:58 localhost
2009 Jul 20
6
[patch 00/54] [Announce] Microsoft Hyper-V drivers for Linux
Hi all, I'm happy to announce, that after many months of discussions, Microsoft has released their Hyper-V Linux drivers under the GPLv2. Following this message, will be the patches that add the drivers to the drivers/staging/ tree, and a whole bunch of cleanups. It's taken a long road to get here, and I'd like to thank the following people who made this possible: - Steve
2009 Jul 20
6
[patch 00/54] [Announce] Microsoft Hyper-V drivers for Linux
Hi all, I'm happy to announce, that after many months of discussions, Microsoft has released their Hyper-V Linux drivers under the GPLv2. Following this message, will be the patches that add the drivers to the drivers/staging/ tree, and a whole bunch of cleanups. It's taken a long road to get here, and I'd like to thank the following people who made this possible: - Steve
2002 Feb 19
1
Shlwapi UNC problems with IE6
Hi, Using SHLWAPI in native mode with IE6 ends like this : $ wine --winver winme IEXPLORE.EXE [....] Unhandled exception: page fault on read access to 0x00000001 in 32-bit code (0x4081749c). In 32-bit mode. Symbol h_errno is invalid 0x4081749c (PathIsUNCServerShareA+0x44 [path.c:1308] in libshlwapi.so): cmpb $0x5c,0x0(%esi) 1308 if (lpszPath[0]=='\\' && lpszPath[1]=='\\')
2005 May 14
4
Problems with custom service and webrick
Hi all, Windows XP Pro Ruby 1.8.2 I''m having a couple of problems with the following service. The first issue is that the code in service_start doesn''t seem to fire off. The second problem is that any attempt to do ''require "webrick"'' within webrick_daemon.rb causes the service to fail on start. Any ideas? # webrickctl.rb