Hi,

this patch is supposed to fix that issue. Please try it and report if it
works. Also, feel free to include that patch into your current tarball
to fix this until there is a new release.

http://github.com/herzi/mango-lassi/commit/0357046972ebc6596ff26348c91f3de1662c3e77

Regards,
  Sven


>From 0357046972ebc6596ff26348c91f3de1662c3e77 Mon Sep 17 00:00:00 2001
From: Sven Herzberg <he...@gnome-de.org>
Date: Sat, 19 Jun 2010 14:21:59 +0200
Subject: [PATCH] disable GNOME's crash dialog

Fixes: http://github.com/herzi/mango-lassi/issues/#issue/1

* src/lassi-server.c: disable GNOME's crash dialog in order to avoid it
  calling our logging handler with invalid arguments
---
 src/lassi-server.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/lassi-server.c b/src/lassi-server.c
index 43082df..f669d9c 100644
--- a/src/lassi-server.c
+++ b/src/lassi-server.c
@@ -1560,6 +1560,12 @@ int main(int argc, char *argv[]) {
     LassiServer ls;
     GError     *error = NULL;
 
+    /* workaround bug-buddy using our logging handler in an unsave way
+     * http://github.com/herzi/mango-lassi/issues/#issue/1
+     * and
+     * http://bugs.gnome.org/622068 */
+    g_setenv ("GNOME_DISABLE_CRASH_DIALOG", "1", TRUE);
+
     /* Initialize the i18n stuff */
     bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
     bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
-- 
1.6.6.1

Reply via email to