Bug 248846 - random crashes
Summary: random crashes
Status: RESOLVED NOT A BUG
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: 2010-08-23 22:18 UTC by Sönke Hahn
Modified: 2016-10-30 19:39 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (5.57 KB, text/plain)
2012-05-08 14:15 UTC, Jorge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Hahn 2010-08-23 22:18:22 UTC
Application: cantor (0.2)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Cantor is crashing seemingly randomly. I am using the maxima backend.

I am on Kubuntu 10.04 with KDE SC 4.5 from the launchpad ppa (https://bugs.edge.launchpad.net/kubuntu-ppa).

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7ff0dc249710 (LWP 12430)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007ff0dc248a90 in ?? ()
#2  0x00007fffd39ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7ff0f5aa3760 (LWP 11618)):
[KCrash Handler]
#6  QString (this=0x2083e40) at /usr/include/qt4/QtCore/qstring.h:727
#7  Cantor::Expression::command (this=0x2083e40) at ../../../../cantor/src/lib/expression.cpp:94
#8  0x00007ff0e1192473 in MaximaExpression::internalCommand (this=0x2083e40) at ../../../../../cantor/src/backends/maxima/maximaexpression.cpp:133
#9  0x00007ff0e118f0ba in MaximaSession::runNextHelperCommand (this=0x193b3d0) at ../../../../../cantor/src/backends/maxima/maximasession.cpp:457
#10 0x00007ff0e1190cef in MaximaSession::login (this=0x193b3d0) at ../../../../../cantor/src/backends/maxima/maximasession.cpp:96
#11 0x00007ff0e118d435 in MaximaSession::restartMaxima (this=0x193b3d0) at ../../../../../cantor/src/backends/maxima/maximasession.cpp:532
#12 0x00007ff0e118d75b in MaximaSession::interrupt (this=0x193b3d0, expr=0x1b3bf20) at ../../../../../cantor/src/backends/maxima/maximasession.cpp:491
#13 0x00007ff0e119174f in MaximaExpression::interrupt (this=0x1b3bf20) at ../../../../../cantor/src/backends/maxima/maximaexpression.cpp:127
#14 0x00007ff0e118c285 in MaximaSession::interrupt (this=0x193b3d0) at ../../../../../cantor/src/backends/maxima/maximasession.cpp:477
#15 0x00007ff0e512a9f9 in CantorPart::evaluateOrInterrupt (this=0x1840cf0) at ../../../cantor/src/cantor_part.cpp:327
#16 0x00007ff0e512d433 in CantorPart::qt_metacall (this=0x1840cf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd3852c80) at ./cantor_part.moc:115
#17 0x00007ff0f2fd97a7 in QMetaObject::activate (sender=0x189fd30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#18 0x00007ff0f3989622 in QAction::triggered (this=0x7fffd3852570, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#19 0x00007ff0f398ad1b in QAction::activate (this=0x189fd30, event=<value optimized out>) at kernel/qaction.cpp:1256
#20 0x00007ff0f3d6318a in QAbstractButtonPrivate::click (this=0x18eee30) at widgets/qabstractbutton.cpp:528
#21 0x00007ff0f3d6343c in QAbstractButton::mouseReleaseEvent (this=0x18e8d10, e=0x7fffd38535e0) at widgets/qabstractbutton.cpp:1121
#22 0x00007ff0f3e3218a in QToolButton::mouseReleaseEvent (this=0x7fffd3852570, e=0x2083e40) at widgets/qtoolbutton.cpp:721
#23 0x00007ff0f39e669e in QWidget::event (this=0x18e8d10, event=0x7fffd38535e0) at kernel/qwidget.cpp:8157
#24 0x00007ff0f3990cdc in QApplicationPrivate::notify_helper (this=0x1566950, receiver=0x18e8d10, e=0x7fffd38535e0) at kernel/qapplication.cpp:4389
#25 0x00007ff0f3996fee in QApplication::notify (this=0x7fffd38542e0, receiver=0x18e8d10, e=0x7fffd38535e0) at kernel/qapplication.cpp:3952
#26 0x00007ff0f54aaeb6 in KApplication::notify (this=0x7fffd38542e0, receiver=0x18e8d10, event=0x7fffd38535e0) at ../../kdeui/kernel/kapplication.cpp:310
#27 0x00007ff0f2fc1a8c in QCoreApplication::notifyInternal (this=0x7fffd38542e0, receiver=0x18e8d10, event=0x7fffd38535e0) at kernel/qcoreapplication.cpp:732
#28 0x00007ff0f3995a9e in QCoreApplication::sendEvent (receiver=0x18e8d10, event=0x7fffd38535e0, alienWidget=0x18e8d10, nativeWidget=0x16f8f30, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QApplicationPrivate::sendMouseEvent (receiver=0x18e8d10, event=0x7fffd38535e0, alienWidget=0x18e8d10, nativeWidget=0x16f8f30, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3051
#30 0x00007ff0f3a18335 in QETWidget::translateMouseEvent (this=0x16f8f30, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#31 0x00007ff0f3a16c6c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd3853f00) at kernel/qapplication_x11.cpp:3536
#32 0x00007ff0f3a42e82 in x11EventSourceDispatch (s=0x156a810, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007ff0ee2788c2 in g_main_dispatch (context=0x1569520) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#34 IA__g_main_context_dispatch (context=0x1569520) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#35 0x00007ff0ee27c748 in g_main_context_iterate (context=0x1569520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#36 0x00007ff0ee27c8fc in IA__g_main_context_iteration (context=0x1569520, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#37 0x00007ff0f2fedb83 in QEventDispatcherGlib::processEvents (this=0x154e560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#38 0x00007ff0f3a427ee in QGuiEventDispatcherGlib::processEvents (this=0x7fffd3852570, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007ff0f2fc07b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#40 0x00007ff0f2fc0b9c in QEventLoop::exec (this=0x7fffd3854230, flags=) at kernel/qeventloop.cpp:201
#41 0x00007ff0f2fc4c4b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#42 0x000000000040a5cd in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../cantor/src/main.cpp:86

Reported using DrKonqi
Comment 1 Jorge 2012-05-08 14:15:25 UTC
Created attachment 70954 [details]
New crash information added by DrKonqi

cantor (0.3) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:

I was restarting the Maxima Backend with Cantor.

-- Backtrace (Reduced):
#7  0x001703bb in QString (other=..., this=0xbfff4cf8) at /usr/include/qt4/QtCore/qstring.h:725
#8  Cantor::Expression::command (this=0x9b576d8) at ../../../src/lib/expression.cpp:93
#9  0x01e209d9 in MaximaExpression::internalCommand (this=0x9b576d8) at ../../../../src/backends/maxima/maximaexpression.cpp:133
#10 0x01e1d2a0 in MaximaSession::runNextHelperCommand (this=0x9767f18) at ../../../../src/backends/maxima/maximasession.cpp:457
#11 0x01e1f586 in MaximaSession::readHelperOut (this=0x9767f18) at ../../../../src/backends/maxima/maximasession.cpp:331
Comment 2 Martin 2012-09-23 22:59:18 UTC
Could you try to reproduce these crashes with the current (git) version of Cantor? I can't reproduce them, and I'm quite sure they are fixed. But it would be great if you could confirm that the new code works better for you as well.
Comment 3 Alexander Semke 2016-10-30 19:39:42 UTC
Maxima backend was improved in the past. No sporadic crashes are observed in the current code. I'm closing the ticket now.