http://bugs.gpodder.org/show_bug.cgi?id=150
Summary: Random segfaults when syncing
Product: gPodder
Version: unspecified
Platform: PC
OS/Version: Linux
Status: ASSIGNED
Severity: major
Priority: medium
Component: Application
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
Estimated Hours: 0.0
Created an attachment (id=116)
--> (http://bugs.gpodder.org/attachment.cgi?id=116)
gPodder-r765-fix-sync-segfault.patch
gPodder randomly crashes when syncing and with the following error:
python: xcb_lock.c:33: _XCBUnlockDisplay: Assertion
`xcb_get_request_sent(dpy->xcb->connection) == dpy->request' failed.
Locking assertion failure. Backtrace:
#0 /usr/lib64/libxcb-xlib.so.0 [0x359b80097c]
#1 /usr/lib64/libxcb-xlib.so.0(xcb_xlib_lock+0x17) [0x359b800af7]
#2 /usr/lib64/libX11.so.6 [0x359cc4c610]
#3 /usr/lib64/libX11.so.6(XUngrabPointer+0x1a) [0x359cc4291a]
#4 /usr/lib64/libgdk-x11-2.0.so.0(gdk_display_pointer_ungrab+0xae)
[0x327aa4636e]
#5 /usr/lib64/libgdk-x11-2.0.so.0(gdk_pointer_ungrab+0x1b) [0x327aa1bc79]
#6 /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so [0x1ef769b]
#7 /lib64/libpthread.so.0 [0x359a40ed30]
#8 /lib64/libc.so.6(gsignal+0x35) [0x3599432215]
#9 /lib64/libc.so.6(abort+0x183) [0x3599433d83]
#10 /lib64/libc.so.6(__assert_fail+0xe9) [0x359942b039]
#11 /usr/lib64/libX11.so.6 [0x359cc4c5b7]
#12 /usr/lib64/libX11.so.6(XChangeProperty+0xd3) [0x359cc1f043]
#13 /usr/lib64/libgdk-x11-2.0.so.0(gdk_window_set_icon_list+0x4fd)
[0x327aa74837]
#14 /usr/lib64/libgtk-x11-2.0.so.0 [0x327a103295]
#15 /usr/lib64/libgtk-x11-2.0.so.0 [0x327a10576a]
#16 /lib64/libgobject-2.0.so.0(g_closure_invoke+0x16d) [0x3278e0b6dd]
#17 /lib64/libgobject-2.0.so.0 [0x3278e1efd6]
#18 /lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x7dc) [0x3278e20b9c]
#19 /lib64/libgobject-2.0.so.0(g_signal_emit+0x83) [0x3278e210e3]
python: xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) -
(dpy->request)) >= 0)' failed.
Multiple segmentation faults occurred; can't display error dialog
After some debugging with Justin, we concluded that it was happening because
gPodderSync is called from outside the main thread.
The attached patch *hopefully* fixes this nasty bug.
--
Configure bugmail: http://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs