[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#313207: libplot-perl: segfaults when trying to create plot for png, ps or gif



Package: libplot-perl
Version: 2.2.0-7
Severity: important


It fails to create plots when the selected device is ps, png or gif.
It is still able to create plots in an X window.

The following program reproduces the bug:

#!/usr/bin/perl -w
use Graphics::Libplot ':ALL';

$handle=pl_newpl($ARGV[0],\*STDIN,\*STDOUT,\*STDERR);
pl_selectpl($handle);
pl_openpl();

pl_closepl();
pl_selectpl(0);
pl_deletepl($handle);

___END___

Results: X       - an empty window is created
         png,gif - segfault at pl_closepl
         ps      - segfault at pl_deletepl

The bug was introduced when I upgraded from Woody to Sarge.
I suppose this means that the bug appeared in the change from
libplot (2.4.1-7) to libplot2 (2.4.1-11).

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=sv_SE, LC_CTYPE=sv_SE (charmap=ISO-8859-1) (ignored: LC_ALL set to sv_SE)

Versions of packages libplot-perl depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libplot2                    2.4.1-11     The GNU plotutils libraries
ii  perl                        5.8.4-8      Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.4]   5.8.4-8      The Pathologically Eclectic Rubbis

-- no debconf information



Reply to: