Bug 262049 - Segmentation fault when opening example worksheet
Summary: Segmentation fault when opening example worksheet
Status: RESOLVED NOT A BUG
Alias: None
Product: cantor
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Rieder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 10:53 UTC by Matteo Agostinelli
Modified: 2011-03-21 17:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.26 KB, text/plain)
2011-03-21 17:34 UTC, Anton Rasmussen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Agostinelli 2011-01-04 10:53:47 UTC
Application: cantor (0.2)
KDE Platform Version: 4.6.40 (4.7 >= 20101222) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-ARCH x86_64

-- Information about the crash:
Cantor crashes when I try to open an example worksheet (Curve sketching with Maxima)

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f28d178b700 (LWP 875)):
#0  0x00007f28e67663d3 in select () from /lib/libc.so.6
#1  0x00007f28e7ad2818 in QProcessManager::run (this=0x7f28e7e8cf80) at /home/agostine/src/kde/src/qt-copy/src/corelib/io/qprocess_unix.cpp:245
#2  0x00007f28e79de32c in QThreadPrivate::start (arg=0x7f28e7e8cf80) at /home/agostine/src/kde/src/qt-copy/src/corelib/thread/qthread_unix.cpp:285
#3  0x00007f28e772bc60 in start_thread () from /lib/libpthread.so.0
#4  0x00007f28e676c7ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f28eb697760 (LWP 756)):
[KCrash Handler]
#4  0x00007f28e8815a60 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x8) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/tools/qscopedpointer.h:135
#5  0x00007f28e8b90018 in qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/global/qglobal.h:2338
#6  0x00007f28e8b9015c in QTextTable::d_func (this=0x0) at /home/agostine/src/kde/src/qt-copy/src/gui/text/qtexttable.h:137
#7  0x00007f28e8b8cce6 in QTextTable::cellAt (this=0x0, row=0, col=0) at /home/agostine/src/kde/src/qt-copy/src/gui/text/qtexttable.cpp:590
#8  0x00007f28d7b180de in CommandEntry::updatePrompt (this=0x28c0580) at /kde/src/kdeedu/cantor/src/commandentry.cpp:818
#9  0x00007f28d7b08e5c in CommandEntry::qt_metacall (this=0x28c0580, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff246cb360) at /kde/build/kdeedu/cantor/src/moc_commandentry.cpp:88
#10 0x00007f28e7b0355f in QMetaObject::metacall (object=0x28c0580, cl=QMetaObject::InvokeMetaMethod, idx=10, argv=0x7fff246cb360) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#11 0x00007f28e7b183b5 in QMetaObject::activate (sender=0x27796d0, m=0x7f28d7d285e0, local_signal_index=3, argv=0x0) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qobject.cpp:3280
#12 0x00007f28d7b116b6 in enableExpressionNumbering (this=0x27796d0) at /kde/src/kdeedu/cantor/src/worksheet.cpp:820
#13 Worksheet::loginToSession (this=0x27796d0) at /kde/src/kdeedu/cantor/src/worksheet.cpp:107
#14 0x00007f28d7b14e1d in Worksheet::qt_metacall (this=0x27796d0, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0x25cdb50) at /kde/build/kdeedu/cantor/src/worksheet.moc:191
#15 0x00007f28e7b0355f in QMetaObject::metacall (object=0x27796d0, cl=QMetaObject::InvokeMetaMethod, idx=171, argv=0x25cdb50) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#16 0x00007f28e7b12a32 in QMetaCallEvent::placeMetaCall (this=0x2bf2360, object=0x27796d0) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qobject.cpp:534
#17 0x00007f28e7b13cd3 in QObject::event (this=0x27796d0, e=0x2bf2360) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qobject.cpp:1219
#18 0x00007f28e888c0b5 in QWidget::event (this=0x27796d0, event=0x2bf2360) at /home/agostine/src/kde/src/qt-copy/src/gui/kernel/qwidget.cpp:8659
#19 0x00007f28e8d43f57 in QFrame::event (this=0x27796d0, e=0x2bf2360) at /home/agostine/src/kde/src/qt-copy/src/gui/widgets/qframe.cpp:557
#20 0x00007f28e8dee451 in QAbstractScrollArea::event (this=0x27796d0, e=0x2bf2360) at /home/agostine/src/kde/src/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:996
#21 0x00007f28e8dd155f in QTextEdit::event (this=0x27796d0, e=0x2bf2360) at /home/agostine/src/kde/src/qt-copy/src/gui/widgets/qtextedit.cpp:1070
#22 0x00007f28d7b10f15 in Worksheet::event (this=0x27796d0, event=0x2bf2360) at /kde/src/kdeedu/cantor/src/worksheet.cpp:148
#23 0x00007f28e882422a in QApplicationPrivate::notify_helper (this=0x246b350, receiver=0x27796d0, e=0x2bf2360) at /home/agostine/src/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:4445
#24 0x00007f28e8823f2a in QApplication::notify (this=0x7fff246cc6c0, receiver=0x27796d0, e=0x2bf2360) at /home/agostine/src/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:4410
#25 0x00007f28eb0a5626 in KApplication::notify (this=0x7fff246cc6c0, receiver=0x27796d0, event=0x2bf2360) at /kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#26 0x00007f28e7afb3eb in QCoreApplication::notifyInternal (this=0x7fff246cc6c0, receiver=0x27796d0, event=0x2bf2360) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:732
#27 0x00007f28e8814d5f in QCoreApplication::sendEvent (receiver=0x27796d0, event=0x2bf2360) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:215
#28 0x00007f28e7afc624 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x241df80) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1373
#29 0x00007f28e7afc245 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1266
#30 0x00007f28e88f0335 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:220
#31 0x00007f28e7b33be4 in postEventSourceDispatch (s=0x246ef90) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#32 0x00007f28e2eddbf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007f28e2ede3d0 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007f28e2ede66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0x00007f28e7b344ad in QEventDispatcherGlib::processEvents (this=0x2429220, flags=...) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#36 0x00007f28e88fc64a in QGuiEventDispatcherGlib::processEvents (this=0x2429220, flags=...) at /home/agostine/src/kde/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f28e7af8f4e in QEventLoop::processEvents (this=0x7fff246cc610, flags=...) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#38 0x00007f28e7af90a2 in QEventLoop::exec (this=0x7fff246cc610, flags=...) at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#39 0x00007f28e7afbade in QCoreApplication::exec () at /home/agostine/src/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1009
#40 0x00007f28e88213c6 in QApplication::exec () at /home/agostine/src/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:3719
#41 0x000000000040ae02 in main (argc=1, argv=0x7fff246cca58) at /kde/src/kdeedu/cantor/src/main.cpp:87

Reported using DrKonqi
Comment 1 Nicolas L. 2011-01-05 12:32:41 UTC
where is this example worksheet ? 
can you attach it here ?
Comment 2 Matteo Agostinelli 2011-01-05 13:05:16 UTC
Nevermind, deleting the cantorrc file solved the problem (it was crashing on every file open attempt, by the way). Closing.
Comment 3 Anton Rasmussen 2011-03-21 17:34:28 UTC
Created attachment 58215 [details]
New crash information added by DrKonqi

cantor (0.2) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed: Opening example sheet downloadet through Cantor "Curve sketching-0.1.cws". Then error message concerning maxima, then crash.

-- Backtrace (Reduced):
#6  d_func (this=0x0, row=0, col=0) at text/qtexttable.h:137
#7  QTextTable::cellAt (this=0x0, row=0, col=0) at text/qtexttable.cpp:590
#8  0x00007f9bf0e9b00e in CommandEntry::updatePrompt (this=0x1af0250) at /usr/src/debug/kdeedu-4.6.0/cantor/src/commandentry.cpp:818
#9  0x00007f9bf0e8bd7c in CommandEntry::qt_metacall (this=0x1af0250, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8e501500) at /usr/src/debug/kdeedu-4.6.0/build/cantor/src/moc_commandentry.cpp:88
[...]
#11 0x00007f9bf0e94696 in enableExpressionNumbering (this=0x808360) at /usr/src/debug/kdeedu-4.6.0/cantor/src/worksheet.cpp:820