Bug 281622 - Cantor crashing when plotting using octave backend
Summary: Cantor crashing when plotting using octave backend
Status: RESOLVED DUPLICATE of bug 262656
Alias: None
Product: cantor
Classification: Applications
Component: general (other bugs)
Version First Reported In: 0.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Rieder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 13:50 UTC by Michele Gastaldo
Modified: 2011-09-08 19:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Gastaldo 2011-09-08 13:50:11 UTC
Application: cantor (0.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I used the following commands:
t=0:0.1:1
y=sin(2*pi*t)
plot(t,y)

Twice, Cantor first didn't show any graph, but crashed after using plot(t,y) a second time.
In another try, it just crashed when inputting the plot command.

No special settings applied, first time I was trying Octave with Cantor.

The crash can be reproduced every time.

-- Backtrace:
Application: Cantor (cantor), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f301f32a780 (LWP 28864))]

Thread 2 (Thread 0x7f300b41f700 (LWP 28865)):
#0  0x00007f301c17ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3018e05104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3018e05639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f301c8c6446 in QEventDispatcherGlib::processEvents (this=0x1a21690, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f301c89a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f301c89aabc in QEventLoop::exec (this=0x7f300b41edd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f301c7b1924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f301c87cc2f in QInotifyFileSystemWatcherEngine::run (this=0x1ada200) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f301c7b4175 in QThreadPrivate::start (arg=0x1ada200) at thread/qthread_unix.cpp:320
#9  0x00007f30192d0d8c in start_thread (arg=0x7f300b41f700) at pthread_create.c:304
#10 0x00007f301c18c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f301f32a780 (LWP 28864)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f301d34d24c in QX11PixmapData::fromImage (this=0x23fc590, img=..., flags=...) at /usr/include/bits/string3.h:52
#8  0x00007f301d33673f in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:2059
#9  0x00007f301d292836 in convert (d=0x7fffc895d3f0, t=QVariant::Pixmap, result=0x7fffc895d320, ok=0x0) at kernel/qguivariant.cpp:462
#10 0x00007f301d50f115 in qvariant_cast_helper (doc=0x1e75730, format=...) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:452
#11 qvariant_cast<QPixmap> (doc=0x1e75730, format=...) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:584
#12 getPixmap (doc=0x1e75730, format=...) at text/qtextimagehandler.cpp:69
#13 0x00007f301d50f953 in getPixmapSize (this=<value optimized out>, doc=0x1e75730, posInDocument=<value optimized out>, format=<value optimized out>) at text/qtextimagehandler.cpp:128
#14 QTextImageHandler::intrinsicSize (this=<value optimized out>, doc=0x1e75730, posInDocument=<value optimized out>, format=<value optimized out>) at text/qtextimagehandler.cpp:217
#15 0x00007f300aa121fb in ?? () from /usr/lib/kde4/libcantorpart.so
#16 0x00007f301d4ec729 in QTextDocumentLayout::resizeInlineObject (this=<value optimized out>, item=..., posInDocument=198, format=...) at text/qtextdocumentlayout.cpp:2960
#17 0x00007f301d4abed1 in QTextEngine::shape (this=0x2249430, item=0) at text/qtextengine.cpp:1372
#18 0x00007f301d4b61dc in QTextLine::layout_helper (this=<value optimized out>, maxGlyphs=<value optimized out>) at text/qtextlayout.cpp:1836
#19 0x00007f301d4f3a9b in QTextDocumentLayoutPrivate::layoutBlock (this=0x1e77cc0, bl=<value optimized out>, blockPosition=<value optimized out>, blockFormat=..., layoutStruct=0x7fffc895e6a0, layoutFrom=0, layoutTo=199, previousBlockFormat=0x0) at text/qtextdocumentlayout.cpp:2600
#20 0x00007f301d4fb79f in QTextDocumentLayoutPrivate::layoutFlow (this=0x1e77cc0, it=..., layoutStruct=0x7fffc895e6a0, layoutFrom=198, layoutTo=199, width=<value optimized out>) at text/qtextdocumentlayout.cpp:2404
#21 0x00007f301d4f6a00 in QTextDocumentLayoutPrivate::layoutCell (this=0x1e77cc0, t=0x1cd42b0, cell=..., width=..., layoutFrom=198, layoutTo=199, td=0x2255290, absoluteTableY=..., withPageBreaks=false) at text/qtextdocumentlayout.cpp:1534
#22 0x00007f301d4f77e7 in QTextDocumentLayoutPrivate::layoutTable (this=0x1e77cc0, table=0x1cd42b0, layoutFrom=198, layoutTo=199, parentY=...) at text/qtextdocumentlayout.cpp:1644
#23 0x00007f301d4f9b53 in QTextDocumentLayoutPrivate::layoutFrame (this=0x1e77cc0, f=0x1cd42b0, layoutFrom=198, layoutTo=199, frameWidth=<value optimized out>, frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2109
#24 0x00007f301d4fa783 in QTextDocumentLayoutPrivate::layoutFrame (this=0x1e77cc0, f=0x1cd42b0, layoutFrom=198, layoutTo=199, parentY=...) at text/qtextdocumentlayout.cpp:2051
#25 0x00007f301d4fbdd8 in QTextDocumentLayoutPrivate::layoutFlow (this=0x1e77cc0, it=..., layoutStruct=0x7fffc895f5c0, layoutFrom=198, layoutTo=199, width=<value optimized out>) at text/qtextdocumentlayout.cpp:2313
#26 0x00007f301d4f9f80 in QTextDocumentLayoutPrivate::layoutFrame (this=0x1e77cc0, f=0x2252460, layoutFrom=198, layoutTo=199, frameWidth=<value optimized out>, frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2145
#27 0x00007f301d4fa783 in QTextDocumentLayoutPrivate::layoutFrame (this=0x1e77cc0, f=0x2252460, layoutFrom=198, layoutTo=199, parentY=...) at text/qtextdocumentlayout.cpp:2051
#28 0x00007f301d4fbdd8 in QTextDocumentLayoutPrivate::layoutFlow (this=0x1e77cc0, it=..., layoutStruct=0x7fffc895fd10, layoutFrom=198, layoutTo=199, width=<value optimized out>) at text/qtextdocumentlayout.cpp:2313
#29 0x00007f301d4f9f80 in QTextDocumentLayoutPrivate::layoutFrame (this=0x1e77cc0, f=0x1e782e0, layoutFrom=198, layoutTo=199, frameWidth=<value optimized out>, frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2145
#30 0x00007f301d4fa783 in QTextDocumentLayoutPrivate::layoutFrame (this=0x1e77cc0, f=0x1e782e0, layoutFrom=198, layoutTo=199, parentY=...) at text/qtextdocumentlayout.cpp:2051
#31 0x00007f301d4fd62a in QTextDocumentLayout::doLayout (this=0x1e6eba0, from=198, oldLength=<value optimized out>, length=1) at text/qtextdocumentlayout.cpp:2914
#32 0x00007f301d4fed25 in QTextDocumentLayout::documentChanged (this=0x1e6eba0, from=198, oldLength=0, length=1) at text/qtextdocumentlayout.cpp:2877
#33 0x00007f301d4d8ec6 in QTextDocumentPrivate::finishEdit (this=0x1e760a0) at text/qtextdocument_p.cpp:1218
#34 0x00007f301d4dbb40 in QTextDocumentPrivate::insert (this=0x1e760a0, pos=198, strPos=235, strLength=1, format=37) at text/qtextdocument_p.cpp:472
#35 0x00007f301d505cca in QTextCursor::insertText (this=0x7fffc89604a0, text=..., _format=<value optimized out>) at text/qtextcursor.cpp:1453
#36 0x00007f300aa10d1d in ?? () from /usr/lib/kde4/libcantorpart.so
#37 0x00007f300aa0d8a5 in ?? () from /usr/lib/kde4/libcantorpart.so
#38 0x00007f300a9fc899 in ?? () from /usr/lib/kde4/libcantorpart.so
#39 0x00007f301c8b05f8 in QMetaObject::activate (sender=0x2262580, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#40 0x00007f301e40e2ed in Cantor::Expression::setResult(Cantor::Result*) () from /usr/lib/libcantorlibs.so.1
#41 0x00007f300dfa28fe in ?? () from /usr/lib/kde4/cantor_octavebackend.so
#42 0x00007f300dfa13e2 in ?? () from /usr/lib/kde4/cantor_octavebackend.so
#43 0x00007f300df9f454 in ?? () from /usr/lib/kde4/cantor_octavebackend.so
#44 0x00007f301c8b05f8 in QMetaObject::activate (sender=0x7f3004000f20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffc89607a0) at kernel/qobject.cpp:3287
#45 0x00007f301cce6895 in KDirWatch::created (this=<value optimized out>, _t1=<value optimized out>) at ./kdirwatch.moc:106
#46 0x00007f301cce68d6 in KDirWatch::setCreated (this=0x7f3004000f20, _file=...) at ../../kdecore/io/kdirwatch.cpp:1859
#47 0x00007f301cce6b11 in KDirWatch::qt_metacall (this=0x7f3004000f20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2262800) at ./kdirwatch.moc:85
#48 0x00007f301c8af49a in QObject::event (this=0x7f3004000f20, e=<value optimized out>) at kernel/qobject.cpp:1226
#49 0x00007f301d25a9f4 in QApplicationPrivate::notify_helper (this=0x19a4500, receiver=0x7f3004000f20, e=0x2260d30) at kernel/qapplication.cpp:4462
#50 0x00007f301d25f3ba in QApplication::notify (this=<value optimized out>, receiver=0x7f3004000f20, e=0x2260d30) at kernel/qapplication.cpp:4341
#51 0x00007f301ed2b866 in KApplication::notify (this=0x7fffc89611f0, receiver=0x7f3004000f20, event=0x2260d30) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f301c89b49c in QCoreApplication::notifyInternal (this=0x7fffc89611f0, receiver=0x7f3004000f20, event=0x2260d30) at kernel/qcoreapplication.cpp:731
#53 0x00007f301c89ec25 in sendEvent (receiver=0x0, event_type=0, data=0x1955b60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1955b60) at kernel/qcoreapplication.cpp:1372
#55 0x00007f301c8c6253 in sendPostedEvents (s=0x19a1d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#56 postEventSourceDispatch (s=0x19a1d60) at kernel/qeventdispatcher_glib.cpp:277
#57 0x00007f3018e04bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f3018e053a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f3018e05639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f301c8c63ef in QEventDispatcherGlib::processEvents (this=0x1955340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#61 0x00007f301d3044de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f301c89a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f301c89aabc in QEventLoop::exec (this=0x7fffc8961180, flags=...) at kernel/qeventloop.cpp:201
#64 0x00007f301c89eecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#65 0x000000000040a1ff in _start ()

Possible duplicates by query: bug 279909, bug 262656.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-09-08 19:28:09 UTC

*** This bug has been marked as a duplicate of bug 262656 ***