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 721664 - Dialog if running against non-threadsafe libgit2
Dialog if running against non-threadsafe libgit2
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gitg
git master
Other Linux
: Normal normal
: ---
Assigned To: gitg-maint
gitg-maint
Depends on:
Blocks:
 
 
Reported: 2014-01-06 22:45 UTC by Dominique Leuenberger
Modified: 2014-01-07 00:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dominique Leuenberger 2014-01-06 22:45:16 UTC
When starting gitg against a non-threadsafe libgit2, the following appears on the console:

** (gitg:4333): ERROR **: gitg-init.vala:27: libgit2 must be built with threading support in order to run gitg
Trace/breakpoint trap (core dumped)

Besides the segfault: it would be great if the fact that libgit2 was not built threadsafe could be shown to the user in a GUI dialog.

Advantages would be that a user launching it through the shell does not 'just see nothing' and is likely to fail seeing the error in any log file, but is given a clear hint of what is going wrong.
Comment 1 jessevdk@gmail.com 2014-01-07 00:08:38 UTC
This has been fixed. It's actually not a SEGFAULT, but a trap. This is useful
for non-recoverable runtime errors because distributions can do fancy things
like filing automatic crash reports.