Hi Erik,

On Wed, 30 Sep 2015 17:53:56 -0700, Erik wrote:
> Looks like the error is file line number 27 in ../../src/xcb_out.c:160

Thanks for generating the stacktrace. Can you please try the attached patch?

You can apply it to installed package using:

  # patch /usr/share/retext/ReText/xsettings.py < 800487.patch

After that start ReText and test if the crash is still present.

Unfortunately I cannot reproduce this crash on Xfce, so I cannot test it
myself.

> FYI: Many python libraries were suddenly upgraded after the last day it
> worked.

Yes, because there was a rebuild to add Python 3.5 as supported version.
It should not change anything with regards to this bug.

Thanks in advance,

--
Dmitry Shachnev
diff --git a/ReText/xsettings.py b/ReText/xsettings.py
index 0f0ac2c..9cb2550 100644
--- a/ReText/xsettings.py
+++ b/ReText/xsettings.py
@@ -78,7 +78,7 @@ def get_raw_xsettings(display=0):
 	# open the connection
 	connection = xcb.xcb_connect(None, None)
 	error = xcb.xcb_connection_has_error(connection)
-	if error:
+	if error or not connection:
 		raise XSettingsError(_xcb_error_messages[error])
 
 	# get selection atom cookie

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to