changeset 2292:22fc7df28840 trunk

[svn] - log crashes in .audacious/log
author nenolod
date Sun, 07 Jan 2007 00:51:04 -0800
parents 9841545632e9
children 10e07bc9a8c9
files ChangeLog audacious/signals.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 07 00:49:42 2007 -0800
+++ b/ChangeLog	Sun Jan 07 00:51:04 2007 -0800
@@ -1,3 +1,11 @@
+2007-01-07 08:49:42 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [3590]
+  - reverse the nature of the crash handler
+  
+  trunk/audacious/signals.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-01-07 08:47:47 +0000  William Pitcock <nenolod@nenolod.net>
   revision [3588]
   - add memory_pool_add(): adds a pre-allocated element to a memory pool
--- a/audacious/signals.c	Sun Jan 07 00:49:42 2007 -0800
+++ b/audacious/signals.c	Sun Jan 07 00:51:04 2007 -0800
@@ -90,7 +90,9 @@
     g_printerr(_("\nReceived SIGSEGV\n\n"
                  "This could be a bug in Audacious. If you don't know why this happened, "
                  "file a bug at http://bugs-meta.atheme.org/\n\n"));
+    g_critical("Received SIGSEGV");
 
+    /* TO DO: log stack trace and possibly dump config file. */
     exit (EXIT_FAILURE);
 #else
     abort ();