I've got an app that seems to be crashing during shutdown. (Tribes Vengeance dedicated server) I'm running it detached inside a screen session, and I don't want the debugger to automatically launch when the app crashes. I just want the thing to die when I send it a "quit" command. Currently I've hacked the registry setting and changed the debugger name to "true". Is there a cleaner way to accomplish this?
Hi,
On Sun, Nov 07, 2004 at 09:13:36PM -0800, Kenneth Porter wrote:
I've got an app that seems to be crashing during shutdown. (Tribes Vengeance dedicated server) I'm running it detached inside a screen session, and I don't want the debugger to automatically launch when the app crashes. I just want the thing to die when I send it a "quit" command. Currently I've hacked the registry setting and changed the debugger name to "true". Is there a cleaner way to accomplish this?
Yes, there is: fix the crash! :-)
Anyway, I guess that Wine WILL do the debugger invocation once there's an exception, so your approach should be fine.
Andreas Mohr
--On Monday, November 08, 2004 10:38 AM +0100 Andreas Mohr andi@rhlx01.fht-esslingen.de wrote:
Yes, there is: fix the crash! :-)
Yeah, I know, it's just that it's not my code and I'm not certain that the authors will be releasing an update. There's a rumor of one but no certainty, as the company (a game publisher) refuses to make any announcements about what it's working on.
Yeah, I know, it's just that it's not my code and I'm not certain that the authors will be releasing an update. There's a rumor of one but no certainty, as the company (a game publisher) refuses to make any announcements about what it's working on.
Does the crash happen on a real windows box? If it doesnt happen on a real windows box, its probobly a WINE bug and should be fixed by the WINE people. If it happens on real windows then yeah, its probobly something for the developer of the engine to fix.
Andreas Mohr wrote:
Hi,
On Sun, Nov 07, 2004 at 09:13:36PM -0800, Kenneth Porter wrote:
I've got an app that seems to be crashing during shutdown. (Tribes Vengeance dedicated server) I'm running it detached inside a screen session, and I don't want the debugger to automatically launch when the app crashes. I just want the thing to die when I send it a "quit" command. Currently I've hacked the registry setting and changed the debugger name to "true". Is there a cleaner way to accomplish this?
Anyway, I guess that Wine WILL do the debugger invocation once there's an exception, so your approach should be fine.
I had a similar problem. My solution was to simply redirect stdin to /dev/null. The app crashes, the debugger starts and read EOF from stdin. It terminates, problem solved :-)
Cheers, Izak