[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684953: cantor: Crash when trying to get latex rendered output in Cantor



Package: cantor
Version: 4:4.8.4-2
Severity: normal

I did a fresh install of cantor and cantor-backend-[maxima,kalgebra] today.

In trying to display a LaTeX rendered formula in Cantor I did the following
steps:

1. Type 'expand((x+y)^2);' and evaluate it. This will return the latex code
   that need to be rendered: \begin{eqnarray*}y^2+2\,x\,y+x^2\end{eqnarray*}

2. Insert a new text entry, write $$ (latex from above) $$ and evaluate it.
   This makes this text (in the text entry) disappear, just the empty box
   frame is left.

3. Trying to click into it leads to a crash (and Dr. Konqi).

The packages recommended by cantor, texlive-latex-base and texlive-binaries,
are installed. (In fact, Lyx is installed with a pretty complete set of 
Texlive packages.)

After installing the debug packages (for cantor and qt) I got a couple (not 
so good) backtraces:

Application: Cantor (cantor), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[KCrash Handler]
#6  QTextFrame::firstPosition (this=this@entry=0xa3ed6a0) at text/qtextobject.cpp:489
#7  0xb68b8b6d in QTextFrame::firstCursorPosition (this=0xa3ed6a0) at text/qtextobject.cpp:467
#8  0xb2626f35 in WorksheetEntry::firstPosition (this=0xa3142a0) at ../../src/worksheetentry.cpp:86
#9  0xbfbc014c in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Application: Cantor (cantor), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[KCrash Handler]
#6  0xb6865afa in fragment (index=16777488, this=0xa4) at ../../include/QtGui/private/../../../src/gui/text/qfragmentmap_p.h:107
#7  position (this=0xa4, field=0, node=16777488) at ../../include/QtGui/private/../../../src/gui/text/qfragmentmap_p.h:120
#8  position (field=0, node=16777488, this=0xa4) at ../../include/QtGui/private/../../../src/gui/text/qfragmentmap_p.h:860
#9  QTextFrame::firstPosition (this=this@entry=0x89e7dc0) at text/qtextobject.cpp:491
#10 0xb6865b6d in QTextFrame::firstCursorPosition (this=0x89e7dc0) at text/qtextobject.cpp:467
#11 0xb25d3f35 in WorksheetEntry::firstPosition (this=0x8b8e5a8) at ../../src/worksheetentry.cpp:86
#12 0xbf9b3adc in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cantor depends on:
ii  kde-runtime         4:4.8.4-1
ii  libc6               2.13-33
ii  libkdecore5         4:4.8.4-3
ii  libkdeui5           4:4.8.4-3
ii  libkio5             4:4.8.4-3
ii  libknewstuff3-4     4:4.8.4-3
ii  libkparts4          4:4.8.4-3
ii  libktexteditor4     4:4.8.4-3
ii  libqt4-xml          4:4.8.2-2+b1
ii  libqt4-xmlpatterns  4:4.8.2-2+b1
ii  libqtcore4          4:4.8.2-2+b1
ii  libqtgui4           4:4.8.2-2+b1
ii  libspectre1         0.2.6-2
ii  libstdc++6          4.7.1-2

Versions of packages cantor recommends:
ii  cantor-backend-kalgebra  4:4.8.4-2
ii  texlive-binaries         2012.20120628-2
ii  texlive-latex-base       2012.20120611-3

Versions of packages cantor suggests:
ii  cantor-backend-maxima     4:4.8.4-2
pn  cantor-backend-octave     <none>
pn  cantor-backend-qalculate  <none>
pn  cantor-backend-r          <none>
pn  cantor-backend-sage       <none>
pn  cantor-backend-scilab     <none>

-- no debconf information


Reply to: