Crash on typing matrices; bug in parsing of partial matrices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qalculate-gtk (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: qalculate-gtk
With the GTK frontend, trying to type a Matrix is impossible. The simplest test case I can come up with is to type:
[[1
then type ]
Without even pressing enter, the program crashes.
This also affects the console version, though you do have to press enter to invoke the parser.
alex@fizz:~$ qalc
> [[1]
Segmentation fault
The GUI version parses the expression after every change, and the partial entry of a matrix causes the parsing routine to explode.
Here's a craptrace from the console version:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x414e0950 (LWP 30262)]
0x00007fac3a893f32 in Calculator::parse () from /usr/lib/
(gdb) bt
#0 0x00007fac3a893f32 in Calculator::parse () from /usr/lib/
#1 0x00007fac3a89bcbd in Calculator:
from /usr/lib/
#2 0x00007fac3a89cd65 in calculate_proc () from /usr/lib/
#3 0x00007fac3a5b63f7 in start_thread () from /lib/libpthread
#4 0x00007fac39b8bb2d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()
ProblemType: Bug
Architecture: amd64
Date: Tue Jun 10 14:50:38 2008
DistroRelease: Ubuntu 8.04
NonfreeKernelMo
Package: qalculate-gtk 0.9.6-2
PackageArchitec
ProcEnviron:
PATH=/
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: qalculate-gtk
Uname: Linux 2.6.24-19-generic x86_64
Hi,
I can't confirm this issue on my system:
$ qalc
> [[1]
[[1]] = [[1]]
>
But I am using the i386 version, the bug seems therefore amd64 specific.