Bug 262899 - Cantor crash with sage backend
Summary: Cantor crash with sage backend
Status: RESOLVED NOT A BUG
Alias: None
Product: cantor
Classification: Applications
Component: sage-backend (show other bugs)
Version: 0.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Rieder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 22:22 UTC by Mark Andrew Gerads
Modified: 2017-04-30 21:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Andrew Gerads 2011-01-11 22:22:41 UTC
Application: cantor (0.2)
KDE Platform Version: 4.5.95 (4.6 RC2)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-12-generic x86_64
Distribution: Ubuntu natty (development branch)

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

After restarting the backend a few times, the 'Evaluate worksheet' button became irresponsive. After clicking it a few times, it crashed, and said 'segfault'.

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

Thread 4 (Thread 0x7f4c9fcf4700 (LWP 3364)):
#0  0x00007f4ca8cc84b3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4ca5988260 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4ca5988b3a in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f4ca065cb44 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f4ca59af684 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f4ca5e4fd8c in start_thread (arg=0x7f4c9fcf4700) at pthread_create.c:304
#6  0x00007f4ca8cd561d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4c8c3e8700 (LWP 3378)):
#0  0x00007f4ca5e5240e in __pthread_mutex_lock (mutex=0x17bc8d8) at pthread_mutex_lock.c:62
#1  0x00007f4ca5988226 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4ca5988789 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4ca9402a26 in QEventDispatcherGlib::processEvents (this=0x17b8600, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f4ca93d6ed2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ca93d710c in QEventLoop::exec (this=0x7f4c8c3e7dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4ca92ee214 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f4ca93b93df in QInotifyFileSystemWatcherEngine::run (this=0x17b95a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4ca92f09ce in QThreadPrivate::start (arg=0x17b95a0) at thread/qthread_unix.cpp:285
#9  0x00007f4ca5e4fd8c in start_thread (arg=0x7f4c8c3e8700) at pthread_create.c:304
#10 0x00007f4ca8cd561d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4c8bbe7700 (LWP 3379)):
#0  0x00007f4ca5e52404 in __pthread_mutex_lock (mutex=0x7f4c98002288) at pthread_mutex_lock.c:61
#1  0x00007f4ca59882c7 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4ca5988789 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4ca9402a26 in QEventDispatcherGlib::processEvents (this=0x7f4c98001df0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f4ca93d6ed2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ca93d710c in QEventLoop::exec (this=0x7f4c8bbe6de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4ca92ee214 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f4ca2be213c in Herqq::Upnp::HControlPointThread::run() () from /usr/lib/libHUpnp.so.0
#8  0x00007f4ca92f09ce in QThreadPrivate::start (arg=0x17434a0) at thread/qthread_unix.cpp:285
#9  0x00007f4ca5e4fd8c in start_thread (arg=0x7f4c8bbe7700) at pthread_create.c:304
#10 0x00007f4ca8cd561d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4cabe71780 (LWP 3363)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f4c8d441e85 in SageSession::interrupt (this=0x193c790) at ../../../../../cantor/src/backends/sage/sagesession.cpp:242
#8  0x00007f4c8d441ac9 in SageSession::logout (this=0x193c790) at ../../../../../cantor/src/backends/sage/sagesession.cpp:82
#9  0x00007f4c891c18d6 in CantorPart::restartBackend (this=0x1911080) at ../../../cantor/src/cantor_part.cpp:354
#10 0x00007f4c891c7df3 in CantorPart::qt_metacall (this=0x1911080, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0d755af0) at ./cantor_part.moc:119
#11 0x00007f4ca93ecbb8 in QMetaObject::activate (sender=0x1989700, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff0d755af0) at kernel/qobject.cpp:3280
#12 0x00007f4ca9d90512 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#13 0x00007f4ca9d906ff in QAction::activate (this=0x1989700, event=<value optimized out>) at kernel/qaction.cpp:1257
#14 0x00007f4caa15624a in QAbstractButtonPrivate::click (this=0x19d7320) at widgets/qabstractbutton.cpp:528
#15 0x00007f4caa1564fc in QAbstractButton::mouseReleaseEvent (this=0x1a45eb0, e=0x7fff0d756440) at widgets/qabstractbutton.cpp:1121
#16 0x00007f4caa2121ba in QToolButton::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qtoolbutton.cpp:721
#17 0x00007f4ca9de7adc in QWidget::event (this=0x1a45eb0, event=0x7fff0d756440) at kernel/qwidget.cpp:8200
#18 0x00007f4ca9d96b24 in QApplicationPrivate::notify_helper (this=0x134bce0, receiver=0x1a45eb0, e=0x7fff0d756440) at kernel/qapplication.cpp:4445
#19 0x00007f4ca9d9be66 in QApplication::notify (this=<value optimized out>, receiver=0x1a45eb0, e=0x7fff0d756440) at kernel/qapplication.cpp:4006
#20 0x00007f4cab86c6d6 in KApplication::notify (this=0x7fff0d757100, receiver=0x1a45eb0, event=0x7fff0d756440) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f4ca93d7aec in QCoreApplication::notifyInternal (this=0x7fff0d757100, receiver=0x1a45eb0, event=0x7fff0d756440) at kernel/qcoreapplication.cpp:732
#22 0x00007f4ca9d97b4d in sendEvent (receiver=0x1a45eb0, event=0x7fff0d756440, alienWidget=0x1a45eb0, nativeWidget=0x15c9ac0, buttonDown=0x7f4caa888398, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QApplicationPrivate::sendMouseEvent (receiver=0x1a45eb0, event=0x7fff0d756440, alienWidget=0x1a45eb0, nativeWidget=0x15c9ac0, buttonDown=0x7f4caa888398, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105
#24 0x00007f4ca9e16180 in QETWidget::translateMouseEvent (this=0x15c9ac0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438
#25 0x00007f4ca9e14921 in QApplication::x11ProcessEvent (this=0x7fff0d757100, event=0x7fff0d756d90) at kernel/qapplication_x11.cpp:3564
#26 0x00007f4ca9e3ce02 in x11EventSourceDispatch (s=0x134faf0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x00007f4ca5987d0d in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007f4ca59884f8 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007f4ca5988789 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007f4ca94029cf in QEventDispatcherGlib::processEvents (this=0x134bca0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#31 0x00007f4ca9e3ca9e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f4ca93d6ed2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f4ca93d710c in QEventLoop::exec (this=0x7fff0d757090, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007f4ca93db51b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#35 0x000000000040a1ff in main (argc=5, argv=<value optimized out>) at ../../../cantor/src/main.cpp:87

Reported using DrKonqi
Comment 1 Dario Andres 2011-01-31 01:10:12 UTC
[Comment from a bug triager]
This issue could be related to bug 243422. Regards
Comment 2 Filipe Saraiva 2017-04-30 21:22:30 UTC
This version is very old and no more supported.