glom r1545 - in trunk: . glom/libglom
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1545 - in trunk: . glom/libglom
- Date: Thu, 10 Apr 2008 10:07:47 +0100 (BST)
Author: murrayc
Date: Thu Apr 10 10:07:47 2008
New Revision: 1545
URL: http://svn.gnome.org/viewvc/glom?rev=1545&view=rev
Log:
2008-04-10 Murray Cumming <murrayc murrayc com>
* glom/libglom/connectionpool.cc (on_linux_signal): Call the
previously-set SIGSEGV handler, to hopefully make bug-buddy or apport
catch (and report) crashes again.
Modified:
trunk/ChangeLog
trunk/glom/libglom/connectionpool.cc
Modified: trunk/glom/libglom/connectionpool.cc
==============================================================================
--- trunk/glom/libglom/connectionpool.cc (original)
+++ trunk/glom/libglom/connectionpool.cc Thu Apr 10 10:07:47 2008
@@ -807,8 +807,11 @@
//though this is obviously an unusual case.
connection_pool->stop_self_hosting(0 /* parent_window */);
- //TODO: How can we let GNOME's crash handler still handle this?
- exit(1);
+ //Let GNOME/Ubuntu's crash handler still handle this?
+ if(previous_sig_handler)
+ (*previous_sig_handler)(signum);
+ else
+ exit(1);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]