* exceptions.cc (signal_exit): Add a FIXME comment.
This commit is contained in:
parent
3a4dab46c3
commit
fb6cf945f9
|
@ -1,3 +1,7 @@
|
||||||
|
2013-07-19 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||||
|
|
||||||
|
* exceptions.cc (signal_exit): Add a FIXME comment.
|
||||||
|
|
||||||
2013-07-19 Christopher Faylor <me.cygwin2013@cgf.cx>
|
2013-07-19 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||||
|
|
||||||
* exceptions.cc (signal_exit): Only dump core when it's a "kernel"
|
* exceptions.cc (signal_exit): Only dump core when it's a "kernel"
|
||||||
|
|
|
@ -1219,6 +1219,8 @@ signal_exit (int sig, siginfo_t *si)
|
||||||
sig |= 0x80; /* Flag that we've "dumped core" */
|
sig |= 0x80; /* Flag that we've "dumped core" */
|
||||||
if (try_to_debug ())
|
if (try_to_debug ())
|
||||||
break;
|
break;
|
||||||
|
/* FIXME: We're still dumping core even if !(sig & 0x80). Need to
|
||||||
|
investigate if the else clause can just be nuked. */
|
||||||
if (si->si_code != SI_USER && si->si_cyg)
|
if (si->si_code != SI_USER && si->si_cyg)
|
||||||
((cygwin_exception *) si->si_cyg)->dumpstack ();
|
((cygwin_exception *) si->si_cyg)->dumpstack ();
|
||||||
else
|
else
|
||||||
|
|
|
@ -31,3 +31,7 @@ Bug fixes:
|
||||||
|
|
||||||
- Fix a timer handle leak in sleep family of functions.
|
- Fix a timer handle leak in sleep family of functions.
|
||||||
Fixes: http://cygwin.com/ml/cygwin/2013-07/msg00379.html
|
Fixes: http://cygwin.com/ml/cygwin/2013-07/msg00379.html
|
||||||
|
|
||||||
|
- Fix issue with raise() not causing the process to exit with a signal
|
||||||
|
status. Also only set "dumped core" flag when it's a "kernel" signal.
|
||||||
|
See: http://cygwin.com/ml/cygwin-apps/2013-07/msg00251.html
|
||||||
|
|
Loading…
Reference in New Issue