gitg crashes on start

Bug #1173428 reported by Joe Barnett
72
This bug affects 16 people
Affects Status Importance Assigned to Milestone
gitg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

upon upgrading to raring ringtail, gitg always crashes on startup, in gtk_action_group_set_sensitive

$ gdb gitg
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gitg...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/gitg
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffec150700 (LWP 25472)]
[New Thread 0x7fffeb338700 (LWP 25473)]
[New Thread 0x7fffea4d5700 (LWP 25474)]

(gitg:25468): Gtk-CRITICAL **: gtk_action_group_get_action: assertion `GTK_IS_ACTION_GROUP (action_group)' failed

(gitg:25468): Gtk-CRITICAL **: gtk_action_set_sensitive: assertion `GTK_IS_ACTION (action)' failed

(gitg:25468): Gtk-CRITICAL **: gtk_action_group_get_action: assertion `GTK_IS_ACTION_GROUP (action_group)' failed

(gitg:25468): Gtk-CRITICAL **: gtk_action_set_sensitive: assertion `GTK_IS_ACTION (action)' failed

(gitg:25468): Gtk-CRITICAL **: gtk_action_group_get_action: assertion `GTK_IS_ACTION_GROUP (action_group)' failed

(gitg:25468): Gtk-CRITICAL **: gtk_action_set_sensitive: assertion `GTK_IS_ACTION (action)' failed
[New Thread 0x7fffe9452700 (LWP 25476)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7335c6d in gtk_action_group_set_sensitive (
    action_group=0x555555a77c00, sensitive=1)
    at /build/buildd/gtk+3.0-3.8.0/./gtk/gtkactiongroup.c:725
725 /build/buildd/gtk+3.0-3.8.0/./gtk/gtkactiongroup.c: No such file or directory.
(gdb) bt
#0 0x00007ffff7335c6d in gtk_action_group_set_sensitive (
    action_group=0x555555a77c00, sensitive=1)
    at /build/buildd/gtk+3.0-3.8.0/./gtk/gtkactiongroup.c:725
#1 0x0000555555587afd in ?? ()
#2 0x00005555555884c1 in gitg_window_load_repository_for_command_line ()
#3 0x000055555556897d in main ()
(gdb) t a a bt

Thread 5 (Thread 0x7fffe9452700 (LWP 25476)):
#0 0x00007ffff53bd3cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff5e271dc in g_main_context_poll (n_fds=1, fds=0x7fffcc0008c0,
    timeout=-1, context=0x555555bb5a00, priority=<optimized out>)
    at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
#2 g_main_context_iterate (context=context@entry=0x555555bb5a00,
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
#3 0x00007ffff5e27304 in g_main_context_iteration (context=0x555555bb5a00,
    may_block=may_block@entry=1)
    at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#4 0x00007ffff5e27361 in glib_worker_main (data=<optimized out>)
    at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:5427
#5 0x00007ffff5e4aeb5 in g_thread_proxy (data=0x5555559b2850)
    at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#6 0x00007ffff569ff8e in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007ffff53c9e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7fffea4d5700 (LWP 25474)):
#0 0x00007ffff56a405e in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#1 0x00007ffff5e66935 in g_cond_wait_until (cond=cond@entry=0x555555918f08,
    mutex=mutex@entry=0x555555918f00, end_time=end_time@entry=10589334707)
    at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:865
#2 0x00007ffff5dfcb81 in g_async_queue_pop_intern_unlocked (
    queue=0x555555918f00, wait=wait@entry=1, end_time=10589334707)
    at /build/buildd/glib2.0-2.36.0/./glib/gasyncqueue.c:424
#3 0x00007ffff5dfd228 in g_async_queue_timeout_pop_unlocked (
    queue=<optimized out>, timeout=timeout@entry=500000)
    at /build/buildd/glib2.0-2.36.0/./glib/gasyncqueue.c:572
#4 0x00007ffff5e4b5fa in g_thread_pool_wait_for_new_task (pool=0x555555918ea0)
    at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:264
#5 g_thread_pool_thread_proxy (data=<optimized out>)
    at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:298
#6 0x00007ffff5e4aeb5 in g_thread_proxy (data=0x55555593a140)
    at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#7 0x00007ffff569ff8e in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#8 0x00007ffff53c9e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7fffeb338700 (LWP 25473)):
#0 0x00007ffff53bd3cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff5e271dc in g_main_context_poll (n_fds=1, fds=0x7fffdc0010c0,
    timeout=-1, context=0x555555980a50, priority=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
#2 g_main_context_iterate (context=context@entry=0x555555980a50,
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
#3 0x00007ffff5e27304 in g_main_context_iteration (context=0x555555980a50,
    may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#4 0x00007fffeb33fa1d in ?? ()
   from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#5 0x00007ffff5e4aeb5 in g_thread_proxy (data=0x55555598cc00)
    at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#6 0x00007ffff569ff8e in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007ffff53c9e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7fffec150700 (LWP 25472)):
#0 0x00007ffff53bd3cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff5e271dc in g_main_context_poll (n_fds=3, fds=0x7fffe40010e0,
    timeout=-1, context=0x5555557d9580, priority=<optimized out>)
    at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
#2 g_main_context_iterate (context=0x5555557d9580, block=block@entry=1,
    dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
#3 0x00007ffff5e276ba in g_main_loop_run (loop=0x555555810c10)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3895
#4 0x00007ffff6d754f6 in gdbus_shared_thread_func (user_data=0x555555810c50)
    at /build/buildd/glib2.0-2.36.0/./gio/gdbusprivate.c:278
#5 0x00007ffff5e4aeb5 in g_thread_proxy (data=0x555555818190)
    at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#6 0x00007ffff569ff8e in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007ffff53c9e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7ffff7faf980 (LWP 25468)):
#0 0x00007ffff7335c6d in gtk_action_group_set_sensitive (
    action_group=0x555555a77c00, sensitive=1)
    at /build/buildd/gtk+3.0-3.8.0/./gtk/gtkactiongroup.c:725
#1 0x0000555555587afd in ?? ()
#2 0x00005555555884c1 in gitg_window_load_repository_for_command_line ()
#3 0x000055555556897d in main ()

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: gitg 0.2.5-1~exp0
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Fri Apr 26 16:50:42 2013
InstallationDate: Installed on 2010-04-19 (1103 days ago)
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gitg
UpgradeStatus: Upgraded to raring on 2013-04-26 (0 days ago)

Revision history for this message
Joe Barnett (thejoe) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gitg (Ubuntu):
status: New → Confirmed
Revision history for this message
Vinay Gopinath (weneigh) wrote :

Is there a workaround for this?

Revision history for this message
Domenico Martella (dom0) wrote :

At the moment i'm using saucy version (https://launchpad.net/ubuntu/saucy/amd64/gitg/0.2.7-1build1) on raring amd64, and it works perfectly

Revision history for this message
Tofe (chris-chapuis) wrote :

I just had this exact crash problem. But it looks like one workaround would be to uninstall completely the package, and reinstall it. At least, that worked for me.
Maybe the minimal workaround would be to delete the configuration files, I didn't try.

Revision history for this message
Christian Smith (csmith) wrote :

This happened on the first run after installing it.

I couldn't find anything in ~/ to show where gitg saves the user's config files, but if you can point it out, I can see if removing it fixes this (my home drive has crossed quite a few computers (and ubuntu versions), so I might have an older version of the config if there is one)

Revision history for this message
Justin Solms (justinsolms) wrote :

I have the same problem. I confirm the switch by Domenico to saucy version (https://launchpad.net/ubuntu/saucy/amd64/gitg/0.2.7-1build1) on raring amd64 does work.

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.