|
From: Ilya S. <il...@sc...> - 2013-05-04 14:37:21
|
Hi there,
I suffer from the crash of gnuplot when using wxt terminal. It looks like this:
[user@thinkie user #2067]$ gnuplot
~
G N U P L O T
Version 4.7 patchlevel 0 last modified 2013-05-03
Copyright (C) 1986-1993, 1998, 2004, 2007-2012
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
mailing list: gnu...@li...
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
Terminal type set to 'wxt'
gnuplot> plot sin(x)
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has
not been called
[xcb] Aborting, sorry about that.
gnuplot: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion
`!xcb_xlib_unknown_req_in_deq' failed.
zsh: abort (core dumped) gnuplot
This crash is unstable, i.e. from time to time I can plot something
with wxt terminal but if I try interacting with this terminal with
mouse, it crashes again. When I use terminal x11, it works fine.
gnuplot is builded from the sources (I tried both latest 4.6 and CVS
versions). I'm using Ubuntu 12.04.
There is gnuplot 4.4 patchlevel 3 installed globally with ubuntu
package, and it works fine with wxt, but I need some features from
4.6.
Related packages has the following status:
[user@thinkie src #2050]$ dpkg-query -l "libcairo*" "libwx*"
"libpango*" ~/soft/src/gnuplot-cvs/gnuplot/src
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=========================-=========================-==================================================================
un libcairo-dev <none> (no
description available)
ii libcairo-gobject2 1.10.2-6.1ubuntu3 The Cairo 2D
vector graphics library (GObject library)
ii libcairo-perl 1.081-1build2 Perl interface
to the Cairo graphics library
ii libcairo-script-interpret 1.10.2-6.1ubuntu3 The Cairo 2D
vector graphics library (script interpreter)
ii libcairo2 1.10.2-6.1ubuntu3 The Cairo 2D
vector graphics library
ii libcairo2-dev 1.10.2-6.1ubuntu3 Development
files for the Cairo 2D graphics library
un libcairo2-doc <none> (no
description available)
un libcairomm-1.0-0 <none> (no
description available)
ii libcairomm-1.0-1 1.10.0-1ubuntu1 C++ wrappers
for Cairo (shared libraries)
ii libpango-perl 1.222-1build1 Perl module to
layout and render international text
ii libpango1.0-0 1.30.0-0ubuntu3.1 Layout and
rendering of internationalized text
ii libpango1.0-dev 1.30.0-0ubuntu3.1 Development
files for the Pango
un libpango1.0-doc <none> (no
description available)
ii libpangomm-1.4-1 2.28.4-1ubuntu1 C++ Wrapper
for pango (shared libraries)
ii libwxbase2.8-0 2.8.12.1-6ubuntu2 wxBase library
(runtime) - non-GUI support classes of wxWidgets to
ii libwxbase2.9-0-unofficial 2.9.4-1~eugenesan~precise wxBase library
(runtime) - non-GUI support classes of wxWidgets to
ii libwxbase2.9-dev 2.9.4-1~eugenesan~precise wxBase library
(development) - non-GUI support classes of wxWidget
un libwxgtk2.4-contrib-dev <none> (no
description available)
un libwxgtk2.6-0-python <none> (no
description available)
ii libwxgtk2.8-0 2.8.12.1-6ubuntu2 wxWidgets
Cross-platform C++ GUI toolkit (GTK+ runtime)
ii libwxgtk2.9-0-unofficial 2.9.4-1~eugenesan~precise wxWidgets
Cross-platform C++ GUI toolkit (GTK+ runtime)
ii libwxgtk2.9-dev 2.9.4-1~eugenesan~precise wxWidgets
Cross-platform C++ GUI toolkit (GTK+ development)
--
With best regards,
Ilya V. Schurov.
|
|
From: Dima K. <gn...@di...> - 2013-05-04 15:11:48
|
Ilya Schurov <il...@sc...> writes: > Hi there, > > I suffer from the crash of gnuplot when using wxt terminal. It looks like this: > > [user@thinkie user #2067]$ gnuplot > ~ > > Terminal type set to 'wxt' > gnuplot> plot sin(x) > [xcb] Unknown request in queue while dequeuing > [xcb] Most likely this is a multi-threaded client and XInitThreads has > not been called > [xcb] Aborting, sorry about that. > gnuplot: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion > `!xcb_xlib_unknown_req_in_deq' failed. > zsh: abort (core dumped) gnuplot > > <snip> > ii libwxgtk2.9-0-unofficial 2.9.4-1~eugenesan~precise wxWidgets > Cross-platform C++ GUI toolkit (GTK+ runtime) > ii libwxgtk2.9-dev 2.9.4-1~eugenesan~precise wxWidgets > Cross-platform C++ GUI toolkit (GTK+ development) > <snip> I suspect the reason the packaged gnuplot crashes and the built one doesn't is your "unofficial" wx 2.9 packages. Can you please run ldd ./gnuplot | grep wx on the gnuplot binaries that you see crashing? I suspect you'll see wx 2.9 on those. If that's the case, it'll be interesting to see you rebuild gnuplot with wx 2.8, and see if that crashes or not. This may still be a bug in gnuplot, but it'd be great if you could run this test so that the cause can be narrowed down. dima |
|
From: Ilya S. <il...@sc...> - 2013-05-04 15:25:22
|
Hi, Dima, Thanks a lot! It seems that uninstalling of wx2.9, installing wx2.8 and rebuilding gnuplot fixed the crashes. On Sat, May 4, 2013 at 7:11 PM, Dima Kogan <gn...@di...> wrote: > Ilya Schurov <il...@sc...> writes: > >> Hi there, >> >> I suffer from the crash of gnuplot when using wxt terminal. It looks like this: >> >> [user@thinkie user #2067]$ gnuplot >> ~ >> >> Terminal type set to 'wxt' >> gnuplot> plot sin(x) >> [xcb] Unknown request in queue while dequeuing >> [xcb] Most likely this is a multi-threaded client and XInitThreads has >> not been called >> [xcb] Aborting, sorry about that. >> gnuplot: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion >> `!xcb_xlib_unknown_req_in_deq' failed. >> zsh: abort (core dumped) gnuplot >> >> <snip> >> ii libwxgtk2.9-0-unofficial 2.9.4-1~eugenesan~precise wxWidgets >> Cross-platform C++ GUI toolkit (GTK+ runtime) >> ii libwxgtk2.9-dev 2.9.4-1~eugenesan~precise wxWidgets >> Cross-platform C++ GUI toolkit (GTK+ development) >> <snip> > > I suspect the reason the packaged gnuplot crashes and the built one > doesn't is your "unofficial" wx 2.9 packages. Can you please run > > ldd ./gnuplot | grep wx > > on the gnuplot binaries that you see crashing? I suspect you'll see wx > 2.9 on those. If that's the case, it'll be interesting to see you > rebuild gnuplot with wx 2.8, and see if that crashes or not. > > This may still be a bug in gnuplot, but it'd be great if you could run > this test so that the cause can be narrowed down. > > dima -- With best regards, Ilya V. Schurov. |