regression: gnuplot crashed with SIGSEGV in terminal gif

Bug #1263215 reported by jan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnuplot (Ubuntu)
New
Undecided
Unassigned

Bug Description

This consistently fails if # sign is removed from those the lines.
With the lines commented (as is) gnuplot -p functions correctly.

On gnuplot 4.2, patchlevel 6 as in Ubuntu Lucid 10.04 LTS, it functions correcly, even for the gif.

----
set datafile separator ","
set log cb
    set pm3d map corners2color c4

    set cbrange [.1:500]
# set terminal gif medium size 400,600 font 'LiberationSans-Regular,12'
# set output 'mmp-100E-w-DR2013-3.gif'

    splot 'test.csv' matrix index 0 using ($1):(-2*$2-0):($3/10) notitle

---
contents of test.csv:

2260.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0
2260.2,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,100.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0
2260.4,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0
2260.6,-10.0,-10.0,10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0
2260.8,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0,-10.0

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gnuplot-x11 4.4.3-0ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-57.87-generic 3.2.52
Uname: Linux 3.2.0-57-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
CrashCounter: 1
Date: Fri Dec 20 20:12:20 2013
ExecutablePath: /usr/bin/gnuplot
ExecutableTimestamp: 1330504201
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MarkForUpload: True
ProcCmdline: gnuplot ../NSData/T33R-FLT2-A13G-1-3-mpc.txt
ProcCwd: /mnt/home-jan/jhh/Archief/3Dforec/ConvProg
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SegvAnalysis:
 Segfault happened at: 0x4acf73: mov 0x768de0(,%rax,4),%edx
 PC (0x004acf73) ok
 source "0x768de0(,%rax,4)" (0xfffffffe00768de0) not located in a known VMA region (needed readable region)!
 destination "%edx" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: gnuplot
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Title: gnuplot crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip libvirtd lpadmin plugdev sambashare sudo

Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceSource:
 #0 0x00000000004acf73 in PS_RememberFont (fname=<optimized out>) at ../../../term/post.trm:388
   [Error: ../../../term/post.trm was not found in source tree]
 #1 0x0000000000000000 in ?? ()
StacktraceTop:
 PS_RememberFont (fname=<optimized out>) at ../../../term/post.trm:388
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
tags: added: apport-failed-retrace
tags: removed: need-amd64-retrace
Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

The bug is NOT present when forcing the packages
gnuplot_4.6.0-8_all.deb
libgd2-xpm_2.0.36~rc1~dfsg-6ubuntu3_amd64.deb
gnuplot-nox_4.6.0-8_amd64.deb
libgd2-xpm_2.0.36~rc1~dfsg-6ubuntu3_i386.deb
gnuplot-x11_4.6.0-8_amd64.deb
 from the quantal distribution onto my precise system.

but, in dping so, I had to replace the packages below, and after that gthumb throws lots of warnings.

fontconfig_2.10.1-0ubuntu3_amd64.deb
fontconfig_2.10.1-0ubuntu3_i386.deb
fontconfig-config_2.10.1-0ubuntu3_all.deb
libfontconfig1_2.10.1-0ubuntu3_amd64.deb
libfontconfig1_2.10.1-0ubuntu3_i386.deb

information type: Private → Public
Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

reason found: this version of gnuplot does not handle overflows in cbrange well.
The log scale, then set to .1 to 500, overflows on the -20 values.
This causes the crash.

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.