gamix crashes with memory corruption when opening config

Bug #805080 reported by Reinis Zumbergs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gamix (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1) Ubuntu 11.04 amd64
2) gamix: 1.99.p14.debian1-6
3) expected to see some kind of configuration dialog
4) gamix crashed
terminal output:

roodis@rootnis:~$ gamix
*** glibc detected *** gamix: malloc(): memory corruption: 0x0000000000de1e10 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x79d7a)[0x7f9733eb4d7a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_calloc+0xc4)[0x7f9733eb87b4]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_malloc0+0x2a)[0x7f9734218aba]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2bdea)[0x7f97344e9dea]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_register_static+0x1dd)[0x7f97344ef2bd]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_register_static_simple+0x58)[0x7f97344ef358]
/usr/lib/libgtk-x11-2.0.so.0(gtk_pixmap_get_type+0x77)[0x7f9734ebfd97]
/usr/lib/libgtk-x11-2.0.so.0(gtk_pixmap_new+0x23)[0x7f9734ec02f3]
gamix[0x40c3af]
gamix[0x40d571]
gamix[0x406036]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x15c)[0x7f97344cc81c]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x20019)[0x7f97344de019]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x858)[0x7f97344e7258]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x7f)[0x7f97344e741f]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_activate+0x6e)[0x7f9734e5f6ce]
/usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_activate_item+0xfd)[0x7f9734d5894d]
/usr/lib/libgtk-x11-2.0.so.0(+0x14cce5)[0x7f9734d58ce5]
/usr/lib/libgtk-x11-2.0.so.0(+0x138578)[0x7f9734d44578]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x15c)[0x7f97344cc81c]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1fe1f)[0x7f97344dde1f]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x5a9)[0x7f97344e6fa9]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x7f)[0x7f97344e741f]
/usr/lib/libgtk-x11-2.0.so.0(+0x2544d1)[0x7f9734e604d1]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc3)[0x7f9734d42763]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x21b)[0x7f9734d42a5b]
/usr/lib/libgdk-x11-2.0.so.0(+0x5c5cc)[0x7f97349b55cc]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x1dd)[0x7f9734211bcd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x433a8)[0x7f97342123a8]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x172)[0x7f97342129f2]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f9734d41af7]
gamix[0x4063fa]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f9733e59eff]
gamix[0x405699]
======= Memory map: ========
00400000-00411000 r-xp 00000000 08:01 27774 /usr/bin/gamix
00610000-00611000 r--p 00010000 08:01 27774 /usr/bin/gamix
00611000-00612000 rw-p 00011000 08:01 27774 /usr/bin/gamix
00c71000-00dfd000 rw-p 00000000 00:00 0 [heap]
7f9724000000-7f9724021000 rw-p 00000000 00:00 0
7f9724021000-7f9728000000 ---p 00000000 00:00 0
7f97290b1000-7f97290c6000 r-xp 00000000 08:01 395927 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f97290c6000-7f97292c5000 ---p 00015000 08:01 395927 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f97292c5000-7f97292c6000 r--p 00014000 08:01 395927 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f97292c6000-7f97292c7000 rw-p 00015000 08:01 395927 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f97292c7000-7f97292c9000 r-xp 00000000 08:01 8868 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f97292c9000-7f97294c8000 ---p 00002000 08:01 8868 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f97294c8000-7f97294c9000 r--p 00001000 08:01 8868 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f97294c9000-7f97294ca000 rw-p 00002000 08:01 8868 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f97294ca000-7f97294d3000 r-xp 00000000 08:01 3759 /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
7f97294d3000-7f97296d3000 ---p 00009000 08:01 3759 /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
7f97296d3000-7f97296d4000 r--p 00009000 08:01 3759 /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
7f97296d4000-7f97296d5000 rw-p 0000a000 08:01 3759 /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
7f97296d5000-7f97296f2000 r-xp 00000000 08:01 1659 /usr/lib/gtk-2.0/2.10.0/engines/libequinox.so
7f97296f2000-7f97298f1000 ---p 0001d000 08:01 1659 /usr/lib/gtk-2.0/2.10.0/engines/libequinox.so
7f97298f1000-7f97298f2000 r--p 0001c000 08:01 1659 /usr/lib/gtk-2.0/2.10.0/engines/libequinox.so
7f97298f2000-7f97298f3000 rw-p 0001d000 08:01 1659 /usr/lib/gtk-2.0/2.10.0/engines/libequinox.so
7f97298f3000-7f97298ff000 r-xp 00000000 08:01 395945 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f97298ff000-7f9729afe000 ---p 0000c000 08:01 395945 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f9729afe000-7f9729aff000 r--p 0000b000 08:01 395945 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f9729aff000-7f9729b00000 rw-p 0000c000 08:01 395945 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f9729b00000-7f9729b0b000 r-xp 00000000 08:01 395949 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f9729b0b000-7f9729d0a000 ---p 0000b000 08:01 395949 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f9729d0a000-7f9729d0b000 r--p 0000a000 08:01 395949 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f9729d0b000-7f9729d0c000 rw-p 0000b000 08:01 395949 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f9729d0c000-7f9729d23000 r-xp 00000000 08:01 395939 /lib/x86_64-linux-gnu/libnsl-2.13.so
7f9729d23000-7f9729f22000 ---p 00017000 08:01 395939 /lib/x86_64-linux-gnu/libnsl-2.13.so
7f9729f22000-7f9729f23000 r--p 00016000 08:01 395939 /lib/x86_64-linux-gnu/libnsl-2.13.so
7f9729f23000-7f9729f24000 rw-p 00017000 08:01 395939 /lib/x86_64-linux-gnu/libnsl-2.13.so
7f9729f24000-7f9729f26000 rw-p 00000000 00:00 0
7f9729f26000-7f9729f2e000 r-xp 00000000 08:01 395941 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f9729f2e000-7f972a12d000 ---p 00008000 08:01 395941 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f972a12d000-7f972a12e000 r--p 00007000 08:01 395941 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f972a12e000-7f972a12f000 rw-p 00008000 08:01 395941 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f972a12f000-7f972f166000 r--p 00000000 08:01 4040 /usr/lib/locale/locale-archiveAborted

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gamix 1.99.p14.debian1-6
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
Architecture: amd64
Date: Sun Jul 3 15:01:43 2011
InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gamix
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Reinis Zumbergs (reinis-zumbergs) wrote :
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :
Download full text (15.8 KiB)

Reproduced here; the steps are:
  1) Open gamix
  2) Click on the 'prog' menu
  3) Click on the 'config' option in that menu
  4) It crashes.

bt full:

(gdb) bt full
#0 0x00007ffff64f2d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = 0
        pid = <value optimised out>
        selftid = 14765
#1 0x00007ffff64f6ab6 in abort () at abort.c:92
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x1300000022, sa_sigaction = 0x1300000022}, sa_mask = {__val = {140737488340496,
              140737488348155, 14, 140737326951300, 3, 140737488340490, 6, 140737326951304, 2, 140737488340478, 2, 140737326942293, 1,
              140737326951300, 3, 140737488340484}}, sa_flags = 12, sa_restorer = 0x7ffff6612b88}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007ffff652bd7b in __libc_message (do_abort=2, fmt=0x7ffff6614400 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
        ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffcf80, reg_save_area = 0x7fffffffce90}}
        ap_copy = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffcf80, reg_save_area = 0x7fffffffce90}}
        fd = 19
        on_2 = <value optimised out>
        list = <value optimised out>
        nlist = <value optimised out>
        cp = <value optimised out>
        written = <value optimised out>
#3 0x00007ffff6538d7a in malloc_printerr (av=0x7ffff684e1c0, bytes=<value optimised out>) at malloc.c:6283
        buf = "00000000008cfdb0"
        cp = <value optimised out>
#4 _int_malloc (av=0x7ffff684e1c0, bytes=<value optimised out>) at malloc.c:4396
        iters = <value optimised out>
        nb = 144
---Type <return> to continue, or q <return> to quit---
        idx = <value optimised out>
        bin = <value optimised out>
        victim = 0x8cfda0
        size = <value optimised out>
        victim_index = <value optimised out>
        remainder = <value optimised out>
        remainder_size = <value optimised out>
        block = <value optimised out>
        bit = <value optimised out>
        map = <value optimised out>
        fwd = <value optimised out>
        bck = 0x0
        errstr = 0x0
        __func__ = "_int_malloc"
#5 0x00007ffff653c7b4 in __libc_calloc (n=<value optimised out>, elem_size=<value optimised out>) at malloc.c:4065
        av = 0x7ffff684e1c0
        oldtop = 0x8d0370
        p = <value optimised out>
        bytes = 128
        sz = 128
        csz = <value optimised out>
        oldtopsize = 113808
        mem = <value optimised out>
        clearsize = <value optimised out>
        nclears = <value optimised out>
        d = <value optimised out>
---Type <return> to continue, or q <return> to quit---
        hook = <value optimised out>
        __func__ = "__libc_calloc"
#6 0x00007ffff689caba in g_malloc0 (n_bytes=128) at /build/buildd/glib2.0-2.28.6/./g...

Changed in gamix (Ubuntu):
status: New → Confirmed
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.