Bug 272551 - Cantor crashes when opening file
Summary: Cantor crashes when opening file
Status: RESOLVED DUPLICATE of bug 258286
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-05-05 18:12 UTC by Gary Glaze
Modified: 2011-05-15 12:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.25 KB, text/plain)
2011-05-07 16:27 UTC, Gary Glaze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Glaze 2011-05-05 18:12:56 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-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Cantor already open with Sage backend
Attempted to open existing file
File loads and displays briefly
Cantor then crashes generating a segmentation fault

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fe34db20700 (LWP 2182)):
#0  0x00007fe35679bf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe353422104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe3534229f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe34e47fc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fe3534493e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe3538edd8c in start_thread (arg=0x7fe34db20700) at pthread_create.c:304
#6  0x00007fe3567a904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe345ee0700 (LWP 2230)):
#0  pthread_mutex_lock (mutex=0x1b75c98) at forward.c:182
#1  0x00007fe353420669 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe353421f21 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe353422639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe356ee3446 in QEventDispatcherGlib::processEvents (this=0x1b759e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fe356eb7882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe356eb7abc in QEventLoop::exec (this=0x7fe345edfdd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fe356dce924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007fe356e99c2f in QInotifyFileSystemWatcherEngine::run (this=0x1b73bd0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fe356dd1175 in QThreadPrivate::start (arg=0x1b73bd0) at thread/qthread_unix.cpp:320
#10 0x00007fe3538edd8c in start_thread (arg=0x7fe345ee0700) at pthread_create.c:304
#11 0x00007fe3567a904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe359956780 (LWP 2179)):
[KCrash Handler]
#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  0x00007fe339682c3a in CommandEntry::updatePrompt (this=0x19679f0) at ../../../cantor/src/commandentry.cpp:818
#9  0x00007fe3396738ac in CommandEntry::qt_metacall (this=0x19679f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff88b5aa10) at moc_commandentry.cpp:88
#10 0x00007fe356ecd5f8 in QMetaObject::activate (sender=0x19d0d80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#11 0x00007fe33967c2b6 in enableExpressionNumbering (this=0x19d0d80) at ../../../cantor/src/worksheet.cpp:820
#12 Worksheet::loginToSession (this=0x19d0d80) at ../../../cantor/src/worksheet.cpp:107
#13 0x00007fe33967fa0d in Worksheet::qt_metacall (this=0x19d0d80, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0x1ae7ff0) at ./worksheet.moc:191
#14 0x00007fe356ecc49a in QObject::event (this=0x19d0d80, e=<value optimized out>) at kernel/qobject.cpp:1226
#15 0x00007fe3578c866d in QWidget::event (this=0x19d0d80, event=0x1a4c0d0) at kernel/qwidget.cpp:8718
#16 0x00007fe357c78a66 in QFrame::event (this=0x19d0d80, e=0x1a4c0d0) at widgets/qframe.cpp:557
#17 0x00007fe357cfa1fb in QAbstractScrollArea::event (this=0x19d0d80, e=0x1a4c0d0) at widgets/qabstractscrollarea.cpp:996
#18 0x00007fe357ce6a50 in QTextEdit::event (this=0x19d0d80, e=0x1a4c0d0) at widgets/qtextedit.cpp:1070
#19 0x00007fe33967bb30 in Worksheet::event (this=0x19d0d80, event=0x1a4c0d0) at ../../../cantor/src/worksheet.cpp:148
#20 0x00007fe3578779e4 in QApplicationPrivate::notify_helper (this=0x15c5710, receiver=0x19d0d80, e=0x1a4c0d0) at kernel/qapplication.cpp:4462
#21 0x00007fe35787c3aa in QApplication::notify (this=<value optimized out>, receiver=0x19d0d80, e=0x1a4c0d0) at kernel/qapplication.cpp:4341
#22 0x00007fe359344866 in KApplication::notify (this=0x7fff88b5b8b0, receiver=0x19d0d80, event=0x1a4c0d0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007fe356eb849c in QCoreApplication::notifyInternal (this=0x7fff88b5b8b0, receiver=0x19d0d80, event=0x1a4c0d0) at kernel/qcoreapplication.cpp:731
#24 0x00007fe356ebbc25 in sendEvent (receiver=0x0, event_type=0, data=0x157bb60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x157bb60) at kernel/qcoreapplication.cpp:1372
#26 0x00007fe356ee3253 in sendPostedEvents (s=0x15c8d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#27 postEventSourceDispatch (s=0x15c8d60) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007fe353421bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fe3534223a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fe353422639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fe356ee33ef in QEventDispatcherGlib::processEvents (this=0x157b340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#32 0x00007fe35791edfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fe356eb7882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fe356eb7abc in QEventLoop::exec (this=0x7fff88b5b840, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007fe356ebbecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#36 0x000000000040a1ff in main (argc=5, argv=<value optimized out>) at ../../../cantor/src/main.cpp:87

This bug may be a duplicate of or related to bug 258286.

Possible duplicates by query: bug 271158, bug 262049, bug 259868, bug 258286.

Reported using DrKonqi
Comment 1 Gary Glaze 2011-05-07 16:27:57 UTC
Created attachment 59732 [details]
New crash information added by DrKonqi

cantor (0.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
opened a Sage worksheet.
Cantor normally opens with a blank worksheet. Problem occurs only when open existing worksheet without first either closing the blank sheet or making at least one entry on that blank sheet.

-- 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  0x00007f9538b7ac3a in CommandEntry::updatePrompt (this=0x406ddd0) at ../../../cantor/src/commandentry.cpp:818
#9  0x00007f9538b6b8ac in CommandEntry::qt_metacall (this=0x406ddd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff862a7740) at moc_commandentry.cpp:88
[...]
#11 0x00007f9538b742b6 in enableExpressionNumbering (this=0x2e4e050) at ../../../cantor/src/worksheet.cpp:820
Comment 2 Christoph Feck 2011-05-15 12:07:14 UTC

*** This bug has been marked as a duplicate of bug 258286 ***