After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688658 - symbol-db: Keep a reference to the SymbolDBQuery when running it in a thread.
symbol-db: Keep a reference to the SymbolDBQuery when running it in a thread.
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: symbol-db
unspecified
Other All
: Normal normal
: ---
Assigned To: Massimo Cora'
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-19 16:58 UTC by Carl-Anton Ingmarsson
Modified: 2012-11-21 22:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
symbol-db: Keep a reference to the SymbolDBQuery when running it in a thread. (1.40 KB, patch)
2012-11-19 16:58 UTC, Carl-Anton Ingmarsson
none Details | Review

Description Carl-Anton Ingmarsson 2012-11-19 16:58:12 UTC
See attached patch.
Comment 1 Carl-Anton Ingmarsson 2012-11-19 16:58:13 UTC
Created attachment 229386 [details] [review]
symbol-db: Keep a reference to the SymbolDBQuery when running it in a thread.

This fixes a crasher where the SymbolDBQuery was finalized before all the started threads had
finished. It also caused the warning in symbol-db-query.c:826 to be printed.
Comment 2 Massimo Cora' 2012-11-21 22:58:24 UTC
the patch is fine for me. Thanks for fixing that.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.