crashes with segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ploticus (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ploticus
$ ploticus 2007-12_
// proc getdata has read & parsed these data:
// (no field names defined)
0.523|0.662|0.740|
6.307|6.098|6.693|
0.648|0.760|0.881|
6.369|6.000|6.809|
1.523|1.574|1.716|
9.429|11.
0.744|0.654|0.844|
6.325|6.448|6.237|
6.307|6.369|9.429|
6.098|6.000|11.766|
0.523|6.693|0.648|
0.662|6.289|0.760|
0.740|6.367|0.881|
// end of data set
Segmentation fault
The data files are attached.
A backtrace is inconclusive:
(gdb) run
Starting program: /usr/bin/ploticus 2007-12_
// proc getdata has read & parsed these data:
// (no field names defined)
0.523|0.662|0.740|
6.307|6.098|6.693|
0.648|0.760|0.881|
6.369|6.000|6.809|
1.523|1.574|1.716|
9.429|11.
0.744|0.654|0.844|
6.325|6.448|6.237|
6.307|6.369|9.429|
6.098|6.000|11.766|
0.523|6.693|0.648|
0.662|6.289|0.760|
0.740|6.367|0.881|
// end of data set
Program received signal SIGSEGV, Segmentation fault.
0x000000000043abf3 in ?? ()
(gdb) bt
#0 0x000000000043abf3 in ?? ()
#1 0x0000000000407da5 in ?? ()
#2 0x000000000043a2be in ?? ()
#3 0x0000000000439954 in ?? ()
#4 0x00000000004393a2 in ?? ()
#5 0x0000000000403fe7 in ?? ()
#6 0x00007ffff698fd8e in __libc_start_main () from /lib/libc.so.6
#7 0x00000000004033b9 in ?? ()
#8 0x00007fffffffe808 in ?? ()
#9 0x000000000000001c in ?? ()
#10 0x0000000000000002 in ?? ()
#11 0x00007fffffffeac1 in ?? ()
#12 0x00007fffffffead3 in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb) q
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: ploticus 2.41-3
ProcVersionSign
Uname: Linux 2.6.35-24-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon Dec 20 15:08:20 2010
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ploticus
I rebuilt the binary using "-Wall -g" and disabled stripping:
Program received signal SIGSEGV, Segmentation fault. fd560 " #proc annotate") at execline.c:154 0x7fffffffe4b0 "2007-12_ Korsolex- 10.pl") at execscriptfile. c:102 e818) at pl.c:278
0x000000000043a6c3 in PL_getmultiline (firstline=0x6e743a "A.dest", mode=0x4703fe "get") at execline.c:462
462 for( i = 0, emptyline = 1; line[i] != '\0'; i++ ) if( !isspace( (int) line[i] )) { emptyline = 0; break; }
(gdb) bt
#0 0x000000000043a6c3 in PL_getmultiline (firstline=0x6e743a "A.dest", mode=0x4703fe "get") at execline.c:462
#1 0x0000000000407919 in PLP_annotate () at proc_annotate.c:59
#2 0x0000000000439d92 in proc_call (procname=0x68d1e0 "annotate") at execline.c:316
#3 0x0000000000439428 in PL_execline (line=0x7ffffff
#4 0x0000000000438e76 in PL_exec_scriptfile (scriptfile=
#5 0x0000000000403b74 in main (argc=2, argv=0x7fffffff
(gdb)