Bug#584952: gitg: memory error / assertion failed

2010-07-19 Thread Eric Cooper
> Please could you get a backtrace to see where this happens? You will
> have to build gitg from source and run the binary and make sure you
> have the GLib dbg package installed, then simply run gitg in gdb and
> ask for a backtrace when it aborts.

OK, it took a while for it to happen again. I've attached the backtrace.

-- 
Eric Cooper e c c @ c m u . e d u
Program received signal SIGABRT, Aborted.
0x7fd5fefcd175 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x7fd5fefcd175 in raise () from /lib/libc.so.6
#1  0x7fd5fefcff80 in abort () from /lib/libc.so.6
#2  0x7fd5ff57330e in mem_error (
format=0x7fd5ff5a7bd5 "assertion failed: %s")
at /tmp/buildd/glib2.0-2.24.1/glib/gslice.c:1209
#3  0x7fd5ff573703 in slab_allocator_free_chunk (
chunk_size=, mem=0x2684000)
at /tmp/buildd/glib2.0-2.24.1/glib/gslice.c:1091
#4  0x7fd5ff57499b in magazine_cache_trim (ix=,
magazine_chunks=, count=)
at /tmp/buildd/glib2.0-2.24.1/glib/gslice.c:626
#5  magazine_cache_push_magazine (ix=,
magazine_chunks=, count=)
at /tmp/buildd/glib2.0-2.24.1/glib/gslice.c:657
#6  0x7fd5ff575318 in thread_memory_magazine2_unload (
mem_size=, mem_block=0x256beb0)
at /tmp/buildd/glib2.0-2.24.1/glib/gslice.c:756
#7  IA__g_slice_free1 (mem_size=, mem_block=0x256beb0)
at /tmp/buildd/glib2.0-2.24.1/glib/gslice.c:880
#8  0x7fd601e78672 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x7fd601e895d1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x7fd5ff561d5b in g_node_traverse_post_order (node=0x26ec460,
flags=G_TRAVERSE_LEAVES, func=0x7fd601e895c0, data=0x245dd90)
at /tmp/buildd/glib2.0-2.24.1/glib/gnode.c:647
#11 0x7fd5ff5628e1 in IA__g_node_traverse (root=0x26ec460,
order=, flags=G_TRAVERSE_ALL, depth=-1, func=0xa,
data=0x245dd90) at /tmp/buildd/glib2.0-2.24.1/glib/gnode.c:901
#12 0x7fd601e8c83e in gtk_tree_store_remove ()
   from /usr/lib/libgtk-x11-2.0.so.0
#13 0x7fd601e8c97e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x7fd601e8c944 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x7fd601e8c944 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x7fd601e8c9f4 in gtk_tree_store_clear ()
   from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00430150 in gitg_revision_tree_view_reload (tree=0x23d9180)
at gitg-revision-tree-view.c:723
#18 0x7fd600052dd7 in object_set_property (object=0x23d9180,
first_property_name=, var_args=0x7fffe3b65460)
at /tmp/buildd/glib2.0-2.24.1/gobject/gobject.c:973
#19 IA__g_object_set_valist (object=0x23d9180,
first_property_name=, var_args=0x7fffe3b65460)
at /tmp/buildd/glib2.0-2.24.1/gobject/gobject.c:1488
#20 0x7fd6000533b4 in IA__g_object_set (_object=0x23d9180,
first_property_name=0x43e4d5 "repository")
at /tmp/buildd/glib2.0-2.24.1/gobject/gobject.c:1594
#21 0x00430212 in gitg_revision_tree_view_update (tree=0x23d9180,
repository=0x24e68c0, revision=0x26694f0) at gitg-revision-tree-view.c:713
#22 0x0043c0d7 in on_selection_changed (
selection=, window=0x238e040) at gitg-window.c:174
#23 0x7fd60004e47e in IA__g_closure_invoke (closure=0x23e8bd0,
return_value=0x0, n_param_values=1, param_values=0x275b1a0,
invocation_hint=0x7fffe3b656f0)
at /tmp/buildd/glib2.0-2.24.1/gobject/gclosure.c:767
#24 0x7fd6000643f7 in signal_emit_unlocked_R (node=0x23f5c10,
detail=, instance=,
emission_return=,
instance_and_params=)
at /tmp/buildd/glib2.0-2.24.1/gobject/gsignal.c:3248
#25 0x7fd600065a76 in IA__g_signal_emit_valist (instance=0x23f3c40,
signal_id=, detail=0, var_args=0x7fffe3b658e0)
at /tmp/buildd/glib2.0-2.24.1/gobject/gsignal.c:2981
#26 0x7fd600065fc3 in IA__g_signal_emit (instance=0x388a, signal_id=14474,
detail=6) at /tmp/buildd/glib2.0-2.24.1/gobject/gsignal.c:3038
#27 0x7fd601e9d962 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x7fd601ea7830 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x7fd601da3c08 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x7fd60004e47e in IA__g_closure_invoke (closure=0x2381000,
return_value=0x7fffe3b65cb0, n_param_values=2, param_values=0x27ab0f0,
invocation_hint=0x7fffe3b65c70)
at /tmp/buildd/glib2.0-2.24.1/gobject/gclosure.c:767
#31 0x7fd600064040 in signal_emit_unlocked_R (node=0x23813d0,
detail=, instance=,
emission_return=,
instance_and_params=)
at /tmp/buildd/glib2.0-2.24.1/gobject/gsignal.c:3286
#32 0x7fd6000658bd in IA__g_signal_emit_valist (instance=0x23f6010,
signal_id=, detail=0, var_args=0x7fffe3b65e60)
at /tmp/buildd/glib2.0-2.24.1/gobject/gsignal.c:2991
#33 0x7fd600065fc3 in IA__g_signal_emit (instance=0x388a, signal_id=14474,
detail=6) at /tmp/buildd/glib2.0-2.24.1/gobject/gsignal.c:3038
#34 0x7fd601eb9f6f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#35 0x7fd601d9c0f3 in gtk_propagate_event ()
   from /usr/lib/libgtk-x11-2.0.so.0
#36 0x7fd601d9d1ab in gtk_main

Bug#584952: gitg: memory error / assertion failed

2010-06-08 Thread Jonny Lamb
Please don't forget to CC the bug (584...@bdo) when replying to my
emails.

On Tue, Jun 08, 07:32:17 -0400, Eric Cooper wrote:
> I have it running under gdb now and will let you know what I find.

Great, thanks!

-- 
Jonny Lamb, UK
jo...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#584952: gitg: memory error / assertion failed

2010-06-08 Thread Jonny Lamb
On Mon, Jun 07, 21:14:30 -0400, Eric Cooper wrote:
> Do you know if there is a simple way to build the debugging version
> with pbuilder?  I prefer to use that so I don't need all the -dev and -dbg
> packages installed in my main system.

I guess if you remove the call to dh_strip in debian/rules and build
that it should build gitg with debugging symbols.

You will still need to have glib (et al.) dbg packages installed
though.

-- 
Jonny Lamb, UK
jo...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#584952: gitg: memory error / assertion failed

2010-06-07 Thread Jonny Lamb
On Mon, Jun 07, 15:13:43 -0400, Eric Cooper wrote:
> I got this crash:
> 
> ***MEMORY-ERROR***: gitg[9783]: GSlice: assertion failed: 
> sinfo->n_allocated > 0
> [1]+  Aborted gitg
> 
> I had been using a gitg window with "view all branches", and had
> recently typed control-R to refresh the view after a commit.  The same
> crash happened in an earlier session, but it doesn't happen every
> time.

Please could you get a backtrace to see where this happens? You will
have to build gitg from source and run the binary and make sure you
have the GLib dbg package installed, then simply run gitg in gdb and
ask for a backtrace when it aborts.

Cheers,

-- 
Jonny Lamb, UK
jo...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#584952: gitg: memory error / assertion failed

2010-06-07 Thread Eric Cooper
Package: gitg
Version: 0.0.6-3
Severity: normal

I got this crash:

***MEMORY-ERROR***: gitg[9783]: GSlice: assertion failed: 
sinfo->n_allocated > 0
[1]+  Aborted gitg

I had been using a gitg window with "view all branches", and had
recently typed control-R to refresh the view after a commit.  The same
crash happened in an earlier session, but it doesn't happen every
time.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gitg depends on:
ii  git [git-core]1:1.7.1-1  fast, scalable, distributed revisi
ii  libatk1.0-0   1.30.0-1   The ATK accessibility toolkit
ii  libc6 2.10.2-9   Embedded GNU C Library: Shared lib
ii  libcairo2 1.8.10-4   The Cairo 2D vector graphics libra
ii  libfontconfig12.8.0-2.1  generic font configuration library
ii  libfreetype6  2.3.11-1   FreeType 2 font engine, shared lib
ii  libgconf2-4   2.28.1-3   GNOME configuration database syste
ii  libglib2.0-0  2.24.1-1   The GLib library of C routines
ii  libgtk2.0-0   2.20.1-1   The GTK+ graphical user interface 
ii  libgtksourceview2.0-0 2.10.1-1   shared libraries for the GTK+ synt
ii  libpango1.0-0 1.28.0-1   Layout and rendering of internatio

gitg recommends no packages.

gitg suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org