Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#23131 - [gnuplot] program crash when using wxt terminal and plotting from script
Attached to Project:
Arch Linux
Opened by Roy Zuo (roylez) - Friday, 04 March 2011, 13:09 GMT
Last edited by Allan McRae (Allan) - Saturday, 16 June 2012, 07:26 GMT
Opened by Roy Zuo (roylez) - Friday, 04 March 2011, 13:09 GMT
Last edited by Allan McRae (Allan) - Saturday, 16 June 2012, 07:26 GMT
|
DetailsDescription:
When the output terminal is set to be wxt (the default one), running gnuplot with a plot script makes the program crash and yields the following error message: > gnuplot -p < abc.gpi <unknown>: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0. gnuplot: xcb_io.c:221: poll_for_event: Assertion `(((long) (event_sequence) - (long) (dpy->request)) <= 0)' failed. [1] 5645 abort gnuplot -p < abc.gpi Changing output terminal to be ``x11'' eliminates the issue. Additional info: * package version(s) Name : gnuplot Version : 4.4.2-2 Architecture : i686 * config and/or log files etc. Steps to reproduce: Run command ``gnuplot -p < abc.gpi'' with the attached script. |
This task depends upon
abc.gpi
> gnuplot -p -e 'set term wxt; plot sin(x)'
gnuplot: xcb_io.c:221: poll_for_event: Assertion `(((long) (event_sequence) - (long) (dpy->request)) <= 0)' failed.
^C[1] 3902 terminated gnuplot -p -e 'set term wxt; plot sin(x)'
> gnuplot -p -e 'set term x11; plot sin(x)'
# nothing here, everything goes fine ...
I'll update gnuplot later today, please see if that still gives the same error.
FS#22205). It might be a clue. (Sorry for the confusion)I tried running gnuplot with that "--sync" option, however gnuplot does not seem to recognize it.
> gnuplot --version
gnuplot 4.4 patchlevel 3
> gnuplot -p -e 'set term wxt; plot sin(x)'
gnuplot: xcb_io.c:221: poll_for_event: Assertion `(((long) (event_sequence) - (long) (dpy->request)) <= 0)' failed.
The program '<unknown>' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 967 error_code 3 request_code 2 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
[1] 12037 abort gnuplot -p -e 'set term wxt; plot sin(x)'
Version 4.6 patchlevel 0 last modified 2012-03-04
Build System: Linux x86_64