http://bugs.winehq.org/show_bug.cgi?id=14789
Summary: Fix signal handler Product: Wine Version: CVS/GIT Platform: All OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Markus.Elfring@web.de
The function "fprintf()" does not belong to the list of async-signal-safe functions. See section "2.4.3 Signal Actions" from the document "2.4 Signal Concepts". http://opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html#tag_0...
I guess that a different program design will be needed for your function "do_sigsegv".
I recommend to change the data type for the variable "watchdog" to "sig_atomic_t".
http://source.winehq.org/git/wine.git?a=blob;f=server/signal.c;h=5e4fe33c6a3...