Bug 279877 - Cantor crashes while trying plot3d
Summary: Cantor crashes while trying plot3d
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: general (show other bugs)
Version: 0.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Rieder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 12:05 UTC by Mihail Konstantinov
Modified: 2016-10-30 18:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihail Konstantinov 2011-08-11 12:05:00 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-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

Backend: Maxima
Type:
plot3d(log(x)+log(y),[x,0.1,100],[y,0.1,100]);
evaluate worksheet.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fe8841c9700 (LWP 5380)):
#0  0x00007fe895222f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe891ea9104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe891ea9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe89596a446 in QEventDispatcherGlib::processEvents (this=0x1660090, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fe89593e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe89593eabc in QEventLoop::exec (this=0x7fe8841c8dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fe895855924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fe895920c2f in QInotifyFileSystemWatcherEngine::run (this=0x172cbd0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe895858175 in QThreadPrivate::start (arg=0x172cbd0) at thread/qthread_unix.cpp:320
#9  0x00007fe892374d8c in start_thread (arg=0x7fe8841c9700) at pthread_create.c:304
#10 0x00007fe89523004d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe8983c9780 (LWP 5379)):
[KCrash Handler]
#6  operator!= (this=0x18ec980, str=...) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:75
#7  QString::append (this=0x18ec980, str=...) at tools/qstring.cpp:1533
#8  0x00007fe886cdbf42 in operator+= (this=0x1f4fb10, text=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:281
#9  MaximaExpression::parseNormalOutput (this=0x1f4fb10, text=<value optimized out>) at ../../../../../cantor/src/backends/maxima/maximaexpression.cpp:264
#10 0x00007fe886cd620a in MaximaSession::letExpressionParseOutput (this=0x1aa9b90) at ../../../../../cantor/src/backends/maxima/maximasession.cpp:299
#11 0x00007fe886cd6ba2 in MaximaSession::readStdOut (this=0x1aa9b90) at ../../../../../cantor/src/backends/maxima/maximasession.cpp:283
#12 0x00007fe886cd88f4 in MaximaSession::qt_metacall (this=0x1aa9b90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff25375f90) at ./maximasession.moc:94
#13 0x00007fe8959545f8 in QMetaObject::activate (sender=0x1877de0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#14 0x00007fe894288baf in QAbstractSocketPrivate::canReadNotification (this=0x20cf630) at socket/qabstractsocket.cpp:639
#15 0x00007fe894276581 in QReadNotifier::event (this=<value optimized out>, e=<value optimized out>) at socket/qnativesocketengine.cpp:1103
#16 0x00007fe8962fe9f4 in QApplicationPrivate::notify_helper (this=0x15efc60, receiver=0x20c9650, e=0x7fff25376510) at kernel/qapplication.cpp:4462
#17 0x00007fe8963033ba in QApplication::notify (this=<value optimized out>, receiver=0x20c9650, e=0x7fff25376510) at kernel/qapplication.cpp:4341
#18 0x00007fe897dcf866 in KApplication::notify (this=0x7fff253767b0, receiver=0x20c9650, event=0x7fff25376510) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007fe89593f49c in QCoreApplication::notifyInternal (this=0x7fff253767b0, receiver=0x20c9650, event=0x7fff25376510) at kernel/qcoreapplication.cpp:731
#20 0x00007fe895969da9 in sendEvent (source=0x15f6a80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 socketNotifierSourceDispatch (source=0x15f6a80) at kernel/qeventdispatcher_glib.cpp:110
#22 0x00007fe891ea8bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fe891ea93a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fe891ea9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fe89596a3ef in QEventDispatcherGlib::processEvents (this=0x15a5340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#26 0x00007fe8963a84de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007fe89593e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007fe89593eabc in QEventLoop::exec (this=0x7fff25376740, flags=...) at kernel/qeventloop.cpp:201
#29 0x00007fe895942ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#30 0x000000000040a1ff in main (argc=5, argv=<value optimized out>) at ../../../cantor/src/main.cpp:87

Possible duplicates by query: bug 266041, bug 266040.

Reported using DrKonqi
Comment 1 Alexander Semke 2016-10-30 18:09:02 UTC
The problem doesn't exist anymore in the current code. Cantor works fine with this plot3D call. Must have been fixed in the past when the maxima backend was reworked.