#411977 wmaker: exitscript is not called when an signal 11 occur

Package:
wmaker
Source:
wmaker
Description:
NeXTSTEP-like window manager for X
Submitter:
Herbert P Fortes Neto
Date:
2013-12-07 10:45:04 UTC
Severity:
normal
#411977#5
Date:
2007-02-22 17:29:06 UTC
From:
To:
 Hi,

 Wmaker was crashing due a signal 11 caused by changes
i had made in src/switchmenu.c. This made me note one
thing.

 The wmaker has two scripts (autostart and exitscript),
located in '~/GNUstep/Library/WindowMaker/' to launch
and finish programs. When an 'signal 11' occur, the
wmaker is restarted and everything goes fine. But the
exitscript is not called and a program called desklaunch
that was started before called by autostart script, now
has two running processes.(understood?)

 To solve this situation i added these lines in src/monitor.c
(patch attached).



 []

#411977#10
Date:
2013-12-07 10:43:07 UTC
From:
To:
Hi,

Your are right, if signal 11 occur, the script is not used.

But, signal 11 is an error, it must not happen. We should control the error cases? Is possible handle all error cases?

The current wmaker version doesn't have signals 11, it is fine, and IMO this patch should not included.

What do you think?
Cheers,
kix