Bug#834396: gnuplot-x11: assertion failure rotating splot with mouse

Nick Lewycky nicholas at mxc.ca
Mon Aug 15 07:50:11 UTC 2016


Package: gnuplot-x11
Version: 5.0.4+dfsg1-3
Severity: normal

Crash manipulating a 3d plot produced by the 'splot' command by rotating it with
the mouse. Usually takes less than 2 seconds of spinning to crash. This
particular sample crashed nearly immediately upon clicking the graph.

Here's a transcript of gnuplot under GDB:

        G N U P L O T
        Version 5.0 patchlevel 4    last modified 2016-07-21 

        Copyright (C) 1986-1993, 1998, 2004, 2007-2016
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

Terminal type set to 'wxt'
gnuplot> set parametric

        dummy variable is t for curves, u/v for surfaces
gnuplot> splot [t=0:6*pi] t,sin(t),cos(t)
gnuplot> **
Gdk:ERROR:/build/gtk+2.0-q14kSJ/gtk+2.0-2.24.30/gdk/gdkregion-generic.c:564:miIntersectO: assertion failed: (pReg->numRects <= pReg->size)

Thread 2 "gnuplot" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffed554700 (LWP 25102)]
0x00007ffff49961c8 in __GI_raise (sig=sig at entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:54
54      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff49961c8 in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff499764a in __GI_abort () at abort.c:89
#2  0x00007ffff6087d75 in g_assertion_message (domain=domain at entry=0x7ffff2a09793 "Gdk", file=file at entry=0x7ffff2a0e790 "/build/gtk+2.0-q14kSJ/gtk+2.0-2.24.30/gdk/gdkregion-generic.c", line=line at entry=564, func=func at entry=0x7ffff2a0e968 "miIntersectO", message=message at entry=0x7fffe80c9110 "assertion failed: (pReg->numRects <= pReg->size)") at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gtestutils.c:2429
#3  0x00007ffff6087e0a in g_assertion_message_expr (domain=0x7ffff2a09793 "Gdk", file=0x7ffff2a0e790 "/build/gtk+2.0-q14kSJ/gtk+2.0-2.24.30/gdk/gdkregion-generic.c", line=564, func=0x7ffff2a0e968 "miIntersectO", expr=<optimized out>) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gtestutils.c:2452
#4  0x00007ffff29c6176 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#5  0x00007ffff29c761a in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#6  0x00007ffff29c7c0f in gdk_region_intersect () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#7  0x00007ffff29d3407 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#8  0x00007ffff29d3fb8 in gdk_window_process_all_updates () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#9  0x00007ffff29d4019 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#10 0x00007ffff29b2d67 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#11 0x00007ffff606205a in g_main_context_dispatch (context=0x8dfab0) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3154
#12 0x00007ffff606205a in g_main_context_dispatch (context=context at entry=0x8dfab0) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3769
#13 0x00007ffff6062400 in g_main_context_iterate (context=0x8dfab0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3840
#14 0x00007ffff6062722 in g_main_loop_run (loop=0x7fffe8001050) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:4034
#15 0x00007ffff2d7a567 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#16 0x00007ffff70f39c5 in wxGUIEventLoop::DoRun() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#17 0x00007ffff6a836f3 in wxEventLoopBase::Run() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#18 0x00007ffff6a48a06 in wxAppConsoleBase::MainLoop() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#19 0x000000000050cdaf in  ()
#20 0x00007ffff6b95862 in wxThread::CallEntry() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#21 0x00007ffff6b9c253 in  () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#22 0x00007ffff4d0b464 in start_thread (arg=0x7fffed554700) at pthread_create.c:333
#23 0x00007ffff4a4a30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) info threads
  Id   Target Id         Frame 
  1    Thread 0x7ffff7f91a00 (LWP 25096) "gnuplot" 0x00007ffff4a42f73 in select () at ../sysdeps/unix/syscall-template.S:84
* 2    Thread 0x7fffed554700 (LWP 25102) "gnuplot" 0x00007ffff49961c8 in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54

Link to screenshot at the moment of crash: http://ctrlv.in/823571

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages gnuplot-x11 depends on:
ii  gnuplot-data         5.0.4+dfsg1-3
ii  libc6                2.23-4
ii  libcairo2            1.14.6-1+b1
ii  libedit2             3.1-20150325-1+b1
ii  libgcc1              1:6.1.1-11
ii  libgd3               2.2.3-3+b1
ii  libglib2.0-0         2.48.1-2
ii  liblua5.1-0          5.1.5-8.1
ii  libpango-1.0-0       1.40.1-1
ii  libpangocairo-1.0-0  1.40.1-1
ii  libstdc++6           6.1.1-11
ii  libwxbase3.0-0v5     3.0.2+dfsg-2
ii  libwxgtk3.0-0v5      3.0.2+dfsg-2
ii  libx11-6             2:1.6.3-1

gnuplot-x11 recommends no packages.

Versions of packages gnuplot-x11 suggests:
ii  gnuplot-doc  5.0.4+dfsg1-3

-- debconf-show failed



More information about the debian-science-maintainers mailing list