Crash on typing matrices; bug in parsing of partial matrices

Bug #238865 reported by Alexander Jones
4
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/libqalculate.so.4
(gdb) bt
#0 0x00007fac3a893f32 in Calculator::parse () from /usr/lib/libqalculate.so.4
#1 0x00007fac3a89bcbd in Calculator::calculate ()
   from /usr/lib/libqalculate.so.4
#2 0x00007fac3a89cd65 in calculate_proc () from /usr/lib/libqalculate.so.4
#3 0x00007fac3a5b63f7 in start_thread () from /lib/libpthread.so.0
#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
NonfreeKernelModules: ath_hal nvidia
Package: qalculate-gtk 0.9.6-2
PackageArchitecture: amd64
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: qalculate-gtk
Uname: Linux 2.6.24-19-generic x86_64

Tags: apport-bug
Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

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.

Revision history for this message
Alexander Jones (alex-weej) wrote : Re: [Bug 238865] Re: Crash on typing matrices; bug in parsing of partial matrices

Still affecting Intrepid.

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.