Foto crash whenm drag'n drop photos on import screen

Bug #1380185 reported by Fabio Zaramella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Foto
Fix Committed
High
Erasmo Marín

Bug Description

as in the title, pics are imported bnut foto crashes

Related branches

Changed in foto:
status: New → Confirmed
milestone: none → foto-1.0
importance: Undecided → High
Revision history for this message
Erasmo Marín (erasmo-marin) wrote :

Relevant debug info:

Import finished
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
foto: ../../src/xcb_io.c:274: poll_for_event: La declaración `!xcb_xlib_threads_sequence_lost' no se cumple.
Abortado (`core' generado)

Relevant bug in noise with the same problem:

https://bugs.launchpad.net/noise/+bug/1376367

After some research, I discovered that calling X.init_threads(); before Gtk.init solves the problem.

Solution still needs more testing and code inspection, because of that, I will make a merge proposal instead a commit.

Changed in foto:
assignee: nobody → Erasmo Marín (erasmo-marin)
Changed in foto:
status: Confirmed → In Progress
Changed in foto:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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