To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=106355 Issue #|106355 Summary|Mac OS X: crash reporting does not work in soffice spa |wned after crash Component|porting Version|OOO320m2 Platform|Macintosh URL| OS/Version|Mac OS X Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|sb Reported by|sb
------- Additional comments from s...@openoffice.org Tue Oct 27 15:35:47 +0000 2009 ------- When upon a crash on Mac OS X DoRestart in desktop/source/app/app.cxx forks and execs a new instance of the soffice process, this call is made from within the signal handler, with many signals blocked (InitSignal in sal/osl/unx/signal.c does sigfillset(&sa_mask) and does not include SA_NODEFER in sa_flags). The signal mask is inherited by the new process, so signal handling (and thus crash reporting) will not work in the new process. A fix might be to adjust the signal mask at the end of InitSignal in sal/osl/unx/signal.c: + sigset_t unset; + if (sigemptyset(&unset) < 0 || + pthread_sigmask(SIG_SETMASK, &unset, NULL) < 0) + { + OSL_TRACE("sigemptyset or pthread_sigmask failed"); + } + return sal_True; --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org For additional commands, e-mail: issues-h...@porting.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org