Gnuplot crashes

Bug #239466 reported by Peter McKenna
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnuplot (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I run Ubuntu 8.04 on a Toshiba Satellite M50 using the fglrx driver. I've got 3D desktop effects turned on.
When I run a command like gnuplot -persist someplotfile the plot displays in a new window just fine, but the moment I hover the mouse over one of the toolbar items or try and take a screen-shot the window closes. The following are some of the errors reported in the command terminal.
bitt@bitt-laptop:~/Desktop$ gnuplot -persist plot
bitt@bitt-laptop:~/Desktop$
** (<unknown>:10169): WARNING **: Failed to send buffer
<unknown>: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

bitt@bitt-laptop:~/Desktop$ gnuplot -persist plot
bitt@bitt-laptop:~/Desktop$
** (<unknown>:10397): WARNING **: Failed to send buffer
<unknown>: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
gnuplot -persist plot
bitt@bitt-laptop:~/Desktop$
** (<unknown>:10406): WARNING **: Failed to send buffer
<unknown>: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
gnuplot -persist plot
bitt@bitt-laptop:~/Desktop$
** (<unknown>:10415): WARNING **: Failed to send buffer

(<unknown>:10415): atk-bridge-WARNING **: failure: no device event controller found.

<unknown>: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
gnuplot -persist plot
bitt@bitt-laptop:~/Desktop$
** (<unknown>:10433): WARNING **: Failed to send buffer

(<unknown>:10433): atk-bridge-WARNING **: failure: no device event controller found.

<unknown>: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
gnuplot -persist plot
bitt@bitt-laptop:~/Desktop$
** (<unknown>:10452): WARNING **: Failed to send buffer
<unknown>: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
bitt@bitt-laptop:~/Desktop$

Hope this helps.

Revision history for this message
Peter McKenna (peter-mckenna) wrote :

I've just tried using Gnuplot with a different desktop environment (XFCE) and it works fine. glxgears gives the following output.
bitt@bitt-laptop:~/Desktop$ glxgears
8147 frames in 5.0 seconds = 1629.356 FPS
8103 frames in 5.0 seconds = 1620.455 FPS
8133 frames in 5.0 seconds = 1626.414 FPS
8167 frames in 5.0 seconds = 1633.237 FPS
bitt@bitt-laptop:~/Desktop$

So it appears that 3D display is not the problem. It appears that Desktop effects are not in use with xfce.

Revision history for this message
Peter McKenna (peter-mckenna) wrote :

I can confirm there is no problem operating Gnuplot with the Xfce or Enlightenment desktops on the same machine.
This crash only appears to happen in Gnome. Turning off Visual Effects did not fix it.

Revision history for this message
Timothée Lecomte (timothee-lecomte) wrote :

Hi,

I am a gnuplot developer, and I would be pleased to help you track this issue down.

Could you tell us what is the content of your "plot" script ?
You talk about a toolbar, so I assume you are using the default gnuplot terminal in ubuntu 8.04, called wxt. Can you confirm ?
And finally, does the bug happen if you launch gnuplot without any argument, and then run your script with "load 'plot'", as in the following:

me@mymachine:~$ gnuplot
gnuplot>load 'plot'

Thank you.

Revision history for this message
Aanjhan Ranganathan (aanjhan) wrote :

Apart from what Timothee has asked, it would be great if you can attach the plot which causes this crash too. Will help the developers to crack down on the issue.
Setting the status to Incomplete until further information is available.

Changed in gnuplot:
status: New → Incomplete
Revision history for this message
Gianluca Bertaina (bertaina) wrote :

I have a similar problem. I simply start gnuplot and plot a file

me@mymachine:~$ gnuplot
gnuplot>plot "file.dat" u 1:2

After some time the window with the plot crashes, even if I do nothing else.
The terminal is wxt.

Sorry for giving little information, you can tell me additional commands to get more information.
Thank you

Revision history for this message
bindatype (bindatype) wrote :

Same problem here. Using 8.04, gnuplot Version 4.2 patchlevel 2. Terminal typs is set to wxt...I don't recall seeing this before but now it appears at the start of everysession. I can get a crash simply by doing

Terminal type set to 'wxt'
gnuplot> f(x) = x
gnuplot> plot f(x)
gnuplot> plot f(x)

The graph is displayed but the window id:0 is frozen and doesn't repaint after covering. The terminal will remain active until I send another command to the plotting window but then it freezes as well. To close out of the session I can force quit during which the following message is displayed:

"Gnuplot (window id : 0)" is not responding.

There is nothing logged in /var/log. What happened to the old gnuplot with no buttons in the plot window? I'd be happy to back to that.

Revision history for this message
bindatype (bindatype) wrote :

Follow-up: I did

sudo apt-get purge gnuplot

and then compiled from source (gnuplot-4.2.4.tar.gz) and now it works fine. Probably something specific to the binary rather than my environment.

If you need gnuplot then try doing what I did.

Revision history for this message
bindatype (bindatype) wrote :

OK, this is quite embarrassing but the problem reappeared after I closed and opened gnuplot again...this is after compiling from sources. The first invocation after installing worked perfectly but now the same old problem.

Revision history for this message
fensterplatz (fenster-platz) wrote :

Hello, I had the same bug. I accidentally came across one reason for it. I'm using Intexpid Ibex and today I (instead of working) I wanted to try out Orca the screenreader. I don't exactly know what it does with X but after activating, gnuplot got exactly the same 'wxt'-hang as described above. My workaround was to go to: System -> Preferences -> Accessibility and deactivate the checkbox "activate accessibility" (the name of the checkbox is translated from geman so i'm not 100% sure that it's called like that in ubuntu-english-verison)

Revision history for this message
Gianluca Bertaina (bertaina) wrote :

Thank you fensterplatz! I followed your instructions and solved the problem. I don't know if we should change the status of the bug; there is some incompatibility between the option wxt and Accessibility.

Revision history for this message
orbitcowboy (orbitcowboy) wrote :

Thank you 'fensterplatz' it works as you suggested.

Regards

Orbitcowboy

Revision history for this message
Alessandro (a-cembran) wrote :

Thanks fensterplatz, that worked.

Ubuntu 8.10, HP zt3000 (ATI Mobility 9200, compiz working).

Revision history for this message
Ramūnas Gutkovas (ramunasg) wrote :

fensterplatz fix worked for me as well.

Revision history for this message
cristian (cristiancozzolino) wrote :

I subscribe this bug (Ubuntu Intrepid 8.10)

Revision history for this message
tomzhi (tomzhi-geo) wrote :

I can also confirm this bug and the workaround from fensterplatz. Thanks

Revision history for this message
Geoffrey King (lordgeoffrey) wrote :

Yep worked in 9.10

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.