Bug 315109 - Crashed For Loop
Summary: Crashed For Loop
Status: RESOLVED NOT A BUG
Alias: None
Product: cantor
Classification: Applications
Component: octave-backend (other bugs)
Version First Reported In: 0.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Rieder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-14 03:29 UTC by vaguelight
Modified: 2016-11-06 08:34 UTC (History)
4 users (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 vaguelight 2013-02-14 03:29:54 UTC
Application: cantor (0.3)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic x86_64
Distribution: Peppermint Three

-- Information about the crash:
- What I was doing when the application crashed:
Trying to use a for loop that involved use of a vector; this crashed the program

-- Backtrace:
Application: Cantor (cantor), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x0000000500000004 in ?? ()
#7  0x00007f57ed164a78 in QObject::connect (sender=0x2beb890, signal=0x7f57d21813d8 "2statusChanged(Cantor::Expression::Status)", receiver=0x237dab0, method=0x7f57d2181398 "1currentExpressionStatusChanged(Cantor::Expression::Status)", type=Qt::AutoConnection) at kernel/qobject.cpp:2551
#8  0x00007f57d2179db6 in OctaveSession::runExpression (this=0x237dab0, expression=0x2beb890) at ../../../../src/backends/octave/octavesession.cpp:154
#9  0x00007f57d217a021 in OctaveSession::currentExpressionStatusChanged (this=0x237dab0, status=<optimized out>) at ../../../../src/backends/octave/octavesession.cpp:257
#10 0x00007f57ed163281 in QMetaObject::activate (sender=0x24b64a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff337306c0) at kernel/qobject.cpp:3547
#11 0x00007f57eed221b1 in Cantor::Expression::statusChanged (this=<optimized out>, _t1=Cantor::Expression::Done) at ./expression.moc:124
#12 0x00007f57eed221df in Cantor::Expression::setStatus (this=0x24b64a0, status=Cantor::Expression::Done) at ../../../src/lib/expression.cpp:149
#13 0x00007f57d217c035 in OctaveExpression::finalize (this=0x24b64a0) at ../../../../src/backends/octave/octaveexpression.cpp:177
#14 0x00007f57d217a16d in OctaveSession::readOutput (this=0x237dab0) at ../../../../src/backends/octave/octavesession.cpp:216
#15 0x00007f57ed163281 in QMetaObject::activate (sender=0x2379170, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#16 0x00007f57ed0eaffb in QProcessPrivate::_q_canReadStandardOutput (this=0x27842e0) at io/qprocess.cpp:915
#17 0x00007f57ed0ebe5e in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qprocess.cpp:84
#18 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qprocess.cpp:69
#19 0x00007f57ed163281 in QMetaObject::activate (sender=0x2358620, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff33730ce0) at kernel/qobject.cpp:3547
#20 0x00007f57ed1b02fe in QSocketNotifier::activated (this=<optimized out>, _t1=14) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#21 0x00007f57ed16c60b in QSocketNotifier::event (this=0x2358620, e=0x7fff33731350) at kernel/qsocketnotifier.cpp:317
#22 0x00007f57edb48894 in notify_helper (e=0x7fff33731350, receiver=0x2358620, this=0x1f80ea0) at kernel/qapplication.cpp:4559
#23 QApplicationPrivate::notify_helper (this=0x1f80ea0, receiver=0x2358620, e=0x7fff33731350) at kernel/qapplication.cpp:4531
#24 0x00007f57edb4d713 in QApplication::notify (this=0x7fff337315d0, receiver=0x2358620, e=0x7fff33731350) at kernel/qapplication.cpp:4420
#25 0x00007f57ef63e3f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x00007f57ed14ee9c in QCoreApplication::notifyInternal (this=0x7fff337315d0, receiver=0x2358620, event=0x7fff33731350) at kernel/qcoreapplication.cpp:876
#27 0x00007f57ed17da97 in sendEvent (event=0x7fff33731350, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 socketNotifierSourceDispatch (source=0x1f7f040) at kernel/qeventdispatcher_glib.cpp:110
#29 0x00007f57e9586d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f57e95870a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f57e9587164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f57ed17e3bf in QEventDispatcherGlib::processEvents (this=0x1f58b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f57edbf0d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f57ed14dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f57ed14ded7 in QEventLoop::exec (this=0x7fff33731560, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f57ed152f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#37 0x000000000040a28f in main (argc=2, argv=0x7fff337319a8) at ../../src/main.cpp:88

Reported using DrKonqi
Comment 1 Tuukka Verho 2013-02-16 19:50:54 UTC
Can you post a minimal code example that causes a crash?
Comment 2 Alexander Semke 2016-11-06 08:33:33 UTC
Tested with several loops. Couldn't reproduce the error with Cantor v. 16.11.70.