Summary: | Cantor (with maxima backend) crashed after asking for a graph | ||
---|---|---|---|
Product: | [Applications] cantor | Reporter: | Matteo Italia <kde> |
Component: | maxima-backend | Assignee: | Alexander Rieder <alexanderrieder> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | alexander.semke, alexanderrieder, filipe |
Priority: | NOR | ||
Version First Reported In: | 0.4 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Image obtained after retrying twice in a new cantor instance |
Description
Matteo Italia
2013-06-17 17:34:58 UTC
Created attachment 80589 [details]
Image obtained after retrying twice in a new cantor instance
If that's of any usefulness: the function was sin(1/x) over a range (-10, 10); retrying it in a newly opened Cantor instance gave first just "Waiting for image... plot2d: expression evaluates to non-numeric value somewhere in plotting range."; evaluating it again gives the same message plus a messed-up image.
After a third evaluation, it crashed again with this stacktrace: Application: Cantor (cantor), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f4fa14387c0 (LWP 4102))] Thread 2 (Thread 0x7f4f7fb71700 (LWP 4125)): #0 0x00007f4f9e25f3cd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f4f9ac261dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f4f9ac26304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f4f9e9e4036 in QEventDispatcherGlib::processEvents (this=0x7f4f780008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f4f9e9b438f in QEventLoop::processEvents (this=this@entry=0x7f4f7fb70cd0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f4f9e9b4618 in QEventLoop::exec (this=this@entry=0x7f4f7fb70cd0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f4f9e8b6410 in QThread::exec (this=this@entry=0xbf6c40) at thread/qthread.cpp:542 #7 0x00007f4f9e995edf in QInotifyFileSystemWatcherEngine::run (this=0xbf6c40) at io/qfilesystemwatcher_inotify.cpp:256 #8 0x00007f4f9e8b8bec in QThreadPrivate::start (arg=0xbf6c40) at thread/qthread_unix.cpp:338 #9 0x00007f4f8ddfc764 in ?? () from /usr/lib/nvidia-304-updates/libGL.so.1 #10 0x00007f4f9b0f8f8e in start_thread (arg=0x7f4f7fb71700) at pthread_create.c:311 #11 0x00007f4f9e26be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 1 (Thread 0x7f4fa14387c0 (LWP 4102)): [KCrash Handler] #6 mask_alpha_converter (dest=0x7fffcde14ebc, src=0x17c68c0) at image/qimage.cpp:2659 #7 0x00007f4f9f45daf2 in QImage::convertToFormat (this=this@entry=0x7fffcde0b680, format=format@entry=QImage::Format_ARGB32, flags=...) at image/qimage.cpp:3902 #8 0x00007f4f8b2cbc89 in EpsRenderer::renderToImage (this=0x10ed7b0, url=..., size=size@entry=0x16e6f18) at ../../src/epsrenderer.cpp:133 #9 0x00007f4f8b2b5650 in WorksheetImageItem::setEps (this=this@entry=0x16e6ee0, url=...) at ../../src/worksheetimageitem.cpp:126 #10 0x00007f4f8b2c9edd in ImageResultItem::updateFromResult (this=0x16e6ee0, result=0x16eb1e0) at ../../src/imageresultitem.cpp:63 #11 0x00007f4f8b2b7dbd in CommandEntry::updateEntry (this=0x11fc890) at ../../src/commandentry.cpp:360 #12 0x00007f4f9e9ca0ef in QMetaObject::activate (sender=sender@entry=0x2126650, m=m@entry=0x7f4fa0754880 <Cantor::Expression::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3539 #13 0x00007f4fa053b5c3 in Cantor::Expression::gotResult (this=this@entry=0x2126650) at ./expression.moc:117 #14 0x00007f4fa053bbc2 in Cantor::Expression::setResult (this=this@entry=0x2126650, result=result@entry=0x16eb1e0) at ../../../src/lib/expression.cpp:134 #15 0x00007f4f8f296a95 in MaximaExpression::imageChanged (this=0x2126650) at ../../../../src/backends/maxima/maximaexpression.cpp:634 #16 0x00007f4f9e9ca0ef in QMetaObject::activate (sender=sender@entry=0x2116690, m=m@entry=0x7f4f9ed0dd80 <QSingleShotTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539 #17 0x00007f4f9e9d2e70 in QSingleShotTimer::timeout (this=this@entry=0x2116690) at .moc/release-shared/qtimer.moc:97 #18 0x00007f4f9e9d2e8f in QSingleShotTimer::timerEvent (this=0x2116690) at kernel/qtimer.cpp:317 #19 0x00007f4f9e9cf3ec in QObject::event (this=0x2116690, e=<optimized out>) at kernel/qobject.cpp:1156 #20 0x00007f4f9f39e8ec in QApplicationPrivate::notify_helper (this=this@entry=0xbf9640, receiver=receiver@entry=0x2116690, e=e@entry=0x7fffcde0c1a0) at kernel/qapplication.cpp:4567 #21 0x00007f4f9f3a125b in QApplication::notify (this=this@entry=0x7fffcde0c550, receiver=receiver@entry=0x2116690, e=e@entry=0x7fffcde0c1a0) at kernel/qapplication.cpp:4428 #22 0x00007f4fa0e48af6 in KApplication::notify (this=0x7fffcde0c550, receiver=0x2116690, event=0x7fffcde0c1a0) at ../../kdeui/kernel/kapplication.cpp:311 #23 0x00007f4f9e9b563e in QCoreApplication::notifyInternal (this=0x7fffcde0c550, receiver=0x2116690, event=event@entry=0x7fffcde0c1a0) at kernel/qcoreapplication.cpp:946 #24 0x00007f4f9e9e6b72 in sendEvent (event=0x7fffcde0c1a0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #25 QTimerInfoList::activateTimers (this=0xc02870) at kernel/qeventdispatcher_unix.cpp:622 #26 0x00007f4f9e9e39a4 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186 #27 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180 #28 0x00007f4f9ac25f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #29 0x00007f4f9ac26248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #30 0x00007f4f9ac26304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #31 0x00007f4f9e9e4016 in QEventDispatcherGlib::processEvents (this=0xbbeb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #32 0x00007f4f9f4441ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #33 0x00007f4f9e9b438f in QEventLoop::processEvents (this=this@entry=0x7fffcde0c410, flags=...) at kernel/qeventloop.cpp:149 #34 0x00007f4f9e9b4618 in QEventLoop::exec (this=this@entry=0x7fffcde0c410, flags=...) at kernel/qeventloop.cpp:204 #35 0x00007f4f9e9b9cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218 #36 0x00007f4f9f39cffc in QApplication::exec () at kernel/qapplication.cpp:3828 #37 0x000000000040a247 in main (argc=1, argv=0x7fffcde0c688) at ../../src/main.cpp:89 This issue seems to be resolved already. I cannot reproduce it anymore with the current version of Cantor. For the broken image there were other bug-reports. But this is all fixed already, too. Please check it again with the current version and re-open this ticket if you still have problems. |