Workaround for kFreeBSD crash in reportbug
This patch lets me start reportbug's text ui. It sidesteps the
python-gtk2 problem with readline and threads by requesting that the
readline hook be uninstalled.
However, I still believe that the problem is either in python-gtk2 or
python-gtk2's FAQ advice on how to use gtk.gdk.threads_init().
diff -Nru reportbug-6.4.3/debian/changelog reportbug-6.4.3+nmu1/debian/changelog
--- reportbug-6.4.3/debian/changelog 2012-08-18 15:50:08.000000000 -0500
+++ reportbug-6.4.3+nmu1/debian/changelog 2012-12-22 10:38:40.000000000 -0600
@@ -1,3 +1,11 @@
+reportbug (6.4.3+nmu1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Avoid a kFreeBSD crash by telling python-gtk not to hook readline
+ Closes: #671785
+
+ -- Jeff Epler <jepler@localhost> Sat, 22 Dec 2012 10:35:25 -0600
+
reportbug (6.4.3) unstable; urgency=low
* reportbug/debbugs.py
diff -Nru reportbug-6.4.3/reportbug/ui/gtk2_ui.py reportbug-6.4.3+nmu1/reportbug/ui/gtk2_ui.py
--- reportbug-6.4.3/reportbug/ui/gtk2_ui.py 2012-08-18 15:50:08.000000000 -0500
+++ reportbug-6.4.3+nmu1/reportbug/ui/gtk2_ui.py 2012-12-22 10:35:19.000000000 -0600
@@ -35,6 +35,7 @@
except:
has_spell = False
+gtk.set_interactive (0)
gtk.gdk.threads_init ()
import sys
Reply to: