VBGui.error() causes python assert fail if called from outside the main thread

Bug #737271 reported by Pierre-Louis Bonicoli
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Virtualbricks
Fix Released
High
Pierre-Louis Bonicoli

Bug Description

When VBGui.error method is called, an assert failed:
python: ../../src/xcb_io.c:140: dequeue_pending_request: Assertion `req == dpy->xcb->pending_requests' failed.

Revision history for this message
Pierre-Louis Bonicoli (pierre-louis-bonicoli) wrote :

This occurs when VBGui.error is not called in the main thread.

Changed in virtualbrick:
importance: Undecided → High
milestone: none → 0.4
status: New → Confirmed
summary: - python: ../../src/xcb_io.c:140: dequeue_pending_request: Assertion `req
- == dpy->xcb->pending_requests' failed.
+ VBGui.error() causes python assert fail if called from outside the main
+ thread
Revision history for this message
Pierre-Louis Bonicoli (pierre-louis-bonicoli) wrote :

We should not modify gui in outside the gtk mainloop. Maybe one solution: using gio.asyncresult.

Revision history for this message
Daniele Lacamera (o-root-danielinux-net) wrote :

fixed in r211

Changed in virtualbrick:
assignee: nobody → Pierre-Louis Bonicoli (pierre-louis-bonicoli)
milestone: 0.4 → 0.3
status: Confirmed → Fix Committed
Changed in virtualbrick:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.