Bug#884538: gnuplot-qt: corrupted double-linked list

Vincent Lefevre vincent at vinc17.net
Sat Dec 16 13:45:11 UTC 2017


Package: gnuplot-qt
Version: 5.2.2+dfsg1-2
Severity: important

"/usr/bin/gnuplot -persist" crashed after the following warning:

(gnuplot:30420): GLib-WARNING **: corrupted double-linked list detected

I can reproduce neither the crash nor the warning. But since this
seems to be due to memory corruption, this is not very surprising.

In gdb:

Core was generated by `/usr/bin/gnuplot -persist'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  magazine_chain_pop_head (magazine_chunks=<optimized out>)
    at ../../../../glib/gslice.c:539
539     ../../../../glib/gslice.c: No such file or directory.

The backtrace:

Thread 1 (Thread 0x7f8b8fc7fa00 (LWP 30422)):
#0  0x00007f8b8db83ecd in magazine_chain_pop_head (magazine_chunks=<optimized out>) at ../../../../glib/gslice.c:539
        chunk = 0x5f898923
        ix = 1
        chunk_size = 32
        mem = <optimized out>
#1  0x00007f8b8db83ecd in thread_memory_magazine1_alloc (tmem=<optimized out>, ix=1) at ../../../../glib/gslice.c:842
        ix = 1
        chunk_size = 32
        mem = <optimized out>
#2  0x00007f8b8db83ecd in g_slice_alloc (mem_size=mem_size at entry=24) at ../../../../glib/gslice.c:1016
        ix = 1
        chunk_size = 32
        mem = <optimized out>
#3  0x00007f8b8db62f84 in g_list_append (list=0x7f8b7405e100 = {...}, data=0x564318fcf360) at ../../../../glib/glist.c:261
        new_list = <optimized out>
        last = <optimized out>
#4  0x00007f8b890efff8 in IA__gdk_screen_list_visuals (screen=screen at entry=0x564318fc3800 [GdkScreenX11]) at ./gdk/x11/gdkvisual-x11.c:542
        list = <optimized out>
        i = 56
#5  0x00007f8b890bdaad in gdk_rgb_choose_visual (screen=screen at entry=0x564318fc3800 [GdkScreenX11]) at ./gdk/gdkrgb.c:456
        visuals = <optimized out>
        tmp_list = <optimized out>
        score = <optimized out>
        best_score = <optimized out>
        visual = <optimized out>
        best_visual = <optimized out>
#6  0x00007f8b890bf2c0 in IA__gdk_screen_get_rgb_colormap (screen=screen at entry=0x564318fc3800 [GdkScreenX11]) at ./gdk/gdkrgb.c:3717
        image_info = <optimized out>
        cmap = <optimized out>
#7  0x00007f8b89540208 in on_screen_changed (window=0x564318ff81e0 [GtkWindow], previous=previous at entry=0x0, tooltip=tooltip at entry=0x7f8b74014530 [GtkTooltip]) at ./gtk/gtktooltip.c:136
        screen = 0x564318fc3800 [GdkScreenX11]
        cmap = <optimized out>
#8  0x00007f8b89540271 in gtk_tooltip_init (tooltip=0x7f8b74014530 [GtkTooltip]) at ./gtk/gtktooltip.c:167
#9  0x00007f8b8de64745 in g_type_create_instance (type=<optimized out>) at ../../../../gobject/gtype.c:1866
        instance = 0x7f8b74014530 [GtkTooltip]
        class = 0x564319015650
        allocated = <optimized out>
        private_size = <optimized out>
        ivar_size = <optimized out>
        i = <optimized out>
#10 0x00007f8b8de455e8 in g_object_new_internal (class=class at entry=0x564319015650, params=params at entry=0x0, n_params=n_params at entry=0) at ../../../../gobject/gobject.c:1797
        nqueue = 0x0
        object = <optimized out>
        __func__ = "g_object_new_internal"
#11 0x00007f8b8de46d85 in g_object_new_with_properties (object_type=94846182056496, n_properties=0, names=names at entry=0x0, values=values at entry=0x0) at ../../../../gobject/gobject.c:1965
        class = 0x564319015650
        unref_class = 0x564319015650
        object = <optimized out>
        __func__ = "g_object_new_with_properties"
#12 0x00007f8b8de47801 in g_object_new (object_type=<optimized out>, first_property_name=first_property_name at entry=0x0) at ../../../../gobject/gobject.c:1637
        var_args = {{gp_offset = 0, fp_offset = 0, overflow_arg_area = 0x0, reg_save_area = 0x0}}
#13 0x00007f8b895422c0 in _gtk_tooltip_handle_event (event=event at entry=0x564318ff9750) at ./gtk/gtktooltip.c:1619
        x = 14
        y = 4
        return_value = 0
        has_tooltip_widget = 0x7f8b7406a2f0 [GtkImage]
        display = 0x564318fc0000 [GdkDisplayX11]
        current_tooltip = 0x0
#14 0x00007f8b8946c60a in IA__gtk_main_do_event (event=<optimized out>) at ./gtk/gtkmain.c:1738
        grab_widget = 0x564318ff8730 [GtkWindow]
        window_group = <optimized out>
        tmp_list = <optimized out>
        event_widget = <optimized out>
        event = 0x564318ff9750
#15 0x00007f8b890e1f2c in gdk_event_dispatch (source=source at entry=0x564318fd2700, callback=<optimized out>, user_data=<optimized out>) at ./gdk/x11/gdkevents-x11.c:2425
        display = <optimized out>
        event = 0x564318ff9750
#16 0x00007f8b8db66fa7 in g_main_dispatch (context=0x564318fd27f0) at ../../../../glib/gmain.c:3148
        dispatch = 0x7f8b890e1ee0 <gdk_event_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = <optimized out>
        cb_data = 0x0
        need_destroy = <optimized out>
        source = 0x564318fd2700
        current = 0x564319011d00
        i = 0
#17 0x00007f8b8db66fa7 in g_main_context_dispatch (context=context at entry=0x564318fd27f0) at ../../../../glib/gmain.c:3813
#18 0x00007f8b8db671e0 in g_main_context_iterate (context=0x564318fd27f0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3886
        max_priority = 2147483647
        timeout = -1
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 2
        fds = 0x7f8b74001020
#19 0x00007f8b8db674f2 in g_main_loop_run (loop=0x564318fac030) at ../../../../glib/gmain.c:4082
        __func__ = "g_main_loop_run"
#20 0x00007f8b8946b617 in IA__gtk_main () at ./gtk/gtkmain.c:1268
        tmp_list = <optimized out>
        functions = 0x0
        init = <optimized out>
        loop = 0x564318fac030
#21 0x00007f8b8ebf14d5 in wxGUIEventLoop::DoRun() (this=0x564318ff2f50) at ../src/gtk/evtloop.cpp:65
        loopLevel = 0
#22 0x00007f8b8e58ab23 in wxEventLoopBase::Run() (this=0x564318ff2f50) at ../src/common/evtloopcmn.cpp:78
        activate = {m_evtLoopOld = 0x0}
#23 0x00007f8b8e552046 in wxAppConsoleBase::MainLoop() (this=0x564318f92560) at ../src/common/appbase.cpp:334
        mainLoop = {<wxEventLoopBasePtr> = {m_ptr = 0x564318ff2f50}, m_pp = 0x564318f926f8, m_pOld = 0x0}
#24 0x000056431898a146 in  ()
#25 0x000056431892781a in  ()
#26 0x00005643188850fd in  ()
#27 0x00007f8b8b29d561 in __libc_start_main (main=0x564318884b50, argc=2, argv=0x7ffc2c5757f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc2c5757e8) at ../csu/libc-start.c:297
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 4097132159341933797, 94846174388960, 140721052407792, 0, 0, 7756753713253299429, 7731212277253518565}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffc2c575810, 0x7f8b8fcce150}, data = {prev = 0x0, cleanup = 0x0, canceltype = 743921680}}}
        not_first_call = <optimized out>
#28 0x000056431888630a in  ()

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

Kernel: Linux 4.14.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnuplot-qt depends on:
ii  gnuplot-data         5.2.2+dfsg1-2
ii  libc6                2.25-4
ii  libcairo2            1.14.10-1
ii  libedit2             3.1-20170329-1
ii  libgcc1              1:7.2.0-17
ii  libgd3               2.2.5-4
ii  libglib2.0-0         2.54.2-1
ii  liblua5.3-0          5.3.3-1
ii  libpango-1.0-0       1.40.13-2
ii  libpangocairo-1.0-0  1.40.13-2
ii  libqt5core5a         5.9.2+dfsg-6
ii  libqt5gui5           5.9.2+dfsg-6
ii  libqt5network5       5.9.2+dfsg-6
ii  libqt5printsupport5  5.9.2+dfsg-6
ii  libqt5svg5           5.9.2-3
ii  libqt5widgets5       5.9.2+dfsg-6
ii  libstdc++6           7.2.0-17
ii  libwxbase3.0-0v5     3.0.3.1+dfsg2-1
ii  libwxgtk3.0-0v5      3.0.3.1+dfsg2-1
ii  libx11-6             2:1.6.4-3

gnuplot-qt recommends no packages.

Versions of packages gnuplot-qt suggests:
ii  gnuplot-doc  5.2.2+dfsg1-2

-- no debconf information



More information about the debian-science-maintainers mailing list