Foto crash whenm drag'n drop photos on import screen
Bug #1380185 reported by
Fabio Zaramella
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
lp://staging/~erasmo-marin/foto/fix-import
- Fabio Zaramella: Approve
-
Diff: 437 lines (+220/-78)9 files modifiedCMakeLists.txt (+2/-0)
src/FotoApp.vala (+8/-5)
src/ViewManager.vala (+2/-1)
src/core/ImportJob.vala (+41/-62)
src/core/Threads/Threads.vala (+145/-0)
src/pages/AlbumPage.vala (+1/-1)
src/pages/CollectionPage.vala (+0/-1)
src/pages/LastImportedPage.vala (+19/-6)
src/pages/WelcomePage.vala (+2/-2)
Changed in foto: | |
status: | New → Confirmed |
milestone: | none → foto-1.0 |
importance: | Undecided → High |
Changed in foto: | |
status: | Confirmed → In Progress |
Changed in foto: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Relevant debug info:
Import finished xcb_io. c:274: poll_for_event: La declaración `!xcb_xlib_ threads_ sequence_ lost' no se cumple.
[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/
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.