Crash on typing matrices; bug in parsing of partial matrices

Bug #238865 reported by Alexander Jones on 2008-06-10
Affects Status Importance Assigned to Milestone
qalculate-gtk (Ubuntu)

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:

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::calculate ()
   from /usr/lib/
#2 0x00007fac3a89cd65 in calculate_proc () from /usr/lib/
#3 0x00007fac3a5b63f7 in start_thread () from /lib/
#4 0x00007fac39b8bb2d in clone () from /lib/
#5 0x0000000000000000 in ?? ()

ProblemType: Bug
Architecture: amd64
Date: Tue Jun 10 14:50:38 2008
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: ath_hal nvidia
Package: qalculate-gtk 0.9.6-2
PackageArchitecture: amd64
SourcePackage: qalculate-gtk
Uname: Linux 2.6.24-19-generic x86_64

Alexander Jones (alex-weej) wrote :

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.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers