#705896 gnuplot-x11: gnuplot -persist core-dump without X11 DISPLAY

Package:
gnuplot-x11
Source:
gnuplot
Description:
Command-line driven interactive plotting program. X-package
Submitter:
Basile Starynkevitch
Date:
2014-10-05 20:33:15 UTC
Severity:
important
#705896#5
Date:
2013-04-21 19:58:18 UTC
From:
To:
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

    running the following in some X terminal:

        unset DISPLAY
        echo 'plot sin(x); exit' | gnuplot -persist

   this was triggered by the http://stackoverflow.com/a/16130236/841108 answer

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

        Type the two commands:

           unset DISPLAY
           echo 'plot sin(x); exit' | gnuplot -persist

        in some X11 terminal under XFCE or Gnome session

   * What was the outcome of this action?

       A core dump with SIGSEGV from gnuplot

   * What outcome did you expect instead?

       At least a fatal error message, and preferably a recoverable error message.

#705896#10
Date:
2013-04-21 21:33:12 UTC
From:
To:
Basile Starynkevitch <basile@starynkevitch.net> writes:

Just to be certain, can you duplicate this on a version of the package
that is in the Debian archive?

thanks,

d

#705896#15
Date:
2013-10-12 18:31:31 UTC
From:
To:
tags 705896 +unreproducible +moreinfo
thanks

Hi,

I am not able to reproduce it on Debian Jessie.

Thanks,

Anton

#705896#22
Date:
2013-10-12 18:31:31 UTC
From:
To:
tags 705896 +unreproducible +moreinfo
thanks

Hi,

I am not able to reproduce it on Debian Jessie.

Thanks,

Anton

#705896#27
Date:
2014-10-05 18:43:07 UTC
From:
To:
Hi,

I can reproduce this bug on Wheezy (gnuplot 4.6.0-8):

$ unset DISPLAY; echo 'plot sin(x); exit' | gnuplot -persist
Failed to initialize wxWidgets.
Segmentation fault

#705896#32
Date:
2014-10-05 19:06:47 UTC
From:
To:
Hi,

can you please try the gnuplot version, which is
available in wheezy-backports? 4.6.4-1~bpo70+1 at
the moment

Thanks

Anton


2014-10-05 20:43 GMT+02:00  <q1werty@i.com.ua>:

#705896#37
Date:
2014-10-05 20:31:52 UTC
From:
To:
With gnuplot 4.6.4-1~bpo70+1 the segfault goes away,
it just says "Failed to initialize wxWidgets" and exits,
so I think it's OK.


Anton Gladky <gladk@debian.org> написал
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers