Comment 7 for bug 90383

Revision history for this message
Bill Hand (fxwgbill-gmail) wrote : Re: [Bug 90383] Re: [apport] gnome-panel crashed with SIGSEGV in _int_malloc()

OK... this is what I get when I first start valgrind... I see errors
but not sure if it's what you need. I assume you want me to leave it
running for a while and see what all happens when the panel crashes...
It's already at when I click on the 'frame' of the 'windows' to move a
window to a diff desktop, it cycles and won't let me do it. Only way I
can move things is minimize them down to the taskbar and then I can
right click and move the item to a diff desktop. I think I am explaining
that right....

do you want me to turn on any of the swithces?

Here is from the first 5 mins of running valgrind:

crazyeccentric@CrazyEccentric:~$ sudo gnome-session-remove gnome-panel
Password:
Removing 'gnome-panel' from the session
crazyeccentric@CrazyEccentric:~$ sudo valgrind gnome-panel
==11417== Memcheck, a memory error detector.
==11417== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==11417== Using LibVEX rev 1658, a library for dynamic binary translation.
==11417== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==11417== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation
framework.
==11417== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==11417== For more details, rerun with: -v
==11417==
==11417== Syscall param writev(vector[...]) points to uninitialised byte(s)
==11417== at 0x4AAEBED: do_writev (writev.c:46)
==11417== by 0x4F2D302: (within /usr/lib/libxcb.so.1.0.0)
==11417== by 0x4F2D89A: (within /usr/lib/libxcb.so.1.0.0)
==11417== by 0x4F2D9CC: (within /usr/lib/libxcb.so.1.0.0)
==11417== by 0x4F2DB1E: xcb_flush (in /usr/lib/libxcb.so.1.0.0)
==11417== by 0x4911DDD: _XSend (in /usr/lib/libX11.so.6.2.0)
==11417== by 0x48FF92A: XQueryExtension (in /usr/lib/libX11.so.6.2.0)
==11417== by 0x48F46BA: XInitExtension (in /usr/lib/libX11.so.6.2.0)
==11417== by 0x4B89DFF: XFixesFindDisplay (in
/usr/lib/libXfixes.so.3.1.0)
==11417== by 0x4B8A09C: XFixesQueryExtension (in
/usr/lib/libXfixes.so.3.1.0)
==11417== by 0x461B374: gdk_display_open (in
/usr/lib/libgdk-x11-2.0.so.0.1000.9)
==11417== by 0x45F8CBE: gdk_display_open_default_libgtk_only (in
/usr/lib/libgdk-x11-2.0.so.0.1000.9)
==11417== Address 0x51567FC is 4,684 bytes inside a block of size 8,556
alloc'd
==11417== at 0x402095F: calloc (vg_replace_malloc.c:279)
==11417== by 0x4F2D510: xcb_connect_to_fd (in /usr/lib/libxcb.so.1.0.0)
==11417== by 0x4F2FBF8: xcb_connect (in /usr/lib/libxcb.so.1.0.0)
==11417== by 0x4910E9F: _XConnectXCB (in /usr/lib/libX11.so.6.2.0)
==11417== by 0x48F9A28: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==11417== by 0x461B1C1: gdk_display_open (in
/usr/lib/libgdk-x11-2.0.so.0.1000.9)
==11417== by 0x45F8CBE: gdk_display_open_default_libgtk_only (in
/usr/lib/libgdk-x11-2.0.so.0.1000.9)
==11417== by 0x43C97A4: (within /usr/lib/libgtk-x11-2.0.so.0.1000.9)
==11417== by 0x4870F73: g_option_context_parse (in
/usr/lib/libglib-2.0.so.0.1200.11)
==11417== by 0x4188E88: gnome_program_parse_args (in
/usr/lib/libgnome-2.so.0.1786.6)
==11417== by 0x418A1DC: (within /usr/lib/libgnome-2.so.0.1786.6)
==11417== by 0x418A510: gnome_program_init (in
/usr/lib/libgnome-2.so.0.1786.6)
==11421==
==11421== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 169 from 2)
==11421== malloc/free: in use at exit: 259,780 bytes in 4,196 blocks.
==11421== malloc/free: 8,595 allocs, 4,399 frees, 785,630 bytes allocated.
==11421== For counts of detected errors, rerun with: -v
==11421== searching for pointers to 4,196 not-freed blocks.
==11421== checked 1,000,476 bytes.
==11421==
==11421== LEAK SUMMARY:
==11421== definitely lost: 156 bytes in 11 blocks.
==11421== possibly lost: 40,300 bytes in 89 blocks.
==11421== still reachable: 219,324 bytes in 4,096 blocks.
==11421== suppressed: 0 bytes in 0 blocks.
==11421== Use --leak-check=full to see details of leaked memory.
==11430==
==11430== ERROR SUMMARY: 4 errors from 1 contexts (suppressed: 185 from 2)
==11430== malloc/free: in use at exit: 1,935,874 bytes in 20,753 blocks.
==11430== malloc/free: 123,297 allocs, 102,544 frees, 21,385,675 bytes
allocated.
==11430== For counts of detected errors, rerun with: -v
==11430== searching for pointers to 20,753 not-freed blocks.
==11430== checked 2,562,500 bytes.
==11430==
==11430== LEAK SUMMARY:
==11430== definitely lost: 39,456 bytes in 1,403 blocks.
==11430== possibly lost: 101,508 bytes in 136 blocks.
==11430== still reachable: 1,794,910 bytes in 19,214 blocks.
==11430== suppressed: 0 bytes in 0 blocks.
==11430== Use --leak-check=full to see details of leaked memory.

(gnome-panel:11417): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
to allocate widget with width -15 and height 25

(gnome-panel:11417): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
to allocate widget with width -15 and height 25

Sebastien Bacher wrote:
> thank you for the work on that. the valgrind log is not useful. You can
> use "gnome-session-remove gnome-panel" then run valgrind
>
>