https://bugs.kde.org/show_bug.cgi?id=389671

            Bug ID: 389671
           Summary: crash quitting Calligrasheets with discarded edits
                    when two documents open
           Product: calligrasheets
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: calligra-sheets-bugs-n...@kde.org
          Reporter: skierp...@gmail.com
  Target Milestone: ---

Application: calligrasheets (3.0.1)

Qt Version: 5.9.2
Frameworks Version: 5.42.0
Operating System: Linux 4.14.14-300.fc27.x86_64 x86_64
Distribution: "Fedora release 27 (Twenty Seven)"

-- Information about the crash:
I had never used this before. I started a new document from "Student ID Card"
template and fiddles around a bit, then File > New and created another from
"Blank Worksheet".I clicked the (X) window decoration button on I think the
Student ID Card, confirmed I wanted to discard my work, and crash. The console
output was just
  KCrash: Application 'calligrasheets' crashing...
  KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
  sock_file=/run/user/1000/kdeinit5__0

I immediately repeated similar steps only opening one window, and no crash. I
repeated but again opened a second window with File > New and had unsaved edits
in both, and that crashed as well.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Calligra Sheets (calligrasheets), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0b2556e940 (LWP 5934))]

Thread 3 (Thread 0x7f0afe12d700 (LWP 5936)):
#0  0x00007f0b12739e0e in g_source_iter_next () from /lib64/libglib-2.0.so.0
#1  0x00007f0b1273c33b in g_main_context_prepare () from
/lib64/libglib-2.0.so.0
#2  0x00007f0b1273cdcb in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#3  0x00007f0b1273cfac in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#4  0x00007f0b1c0ff35b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#5  0x00007f0b1c0ad0ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#6  0x00007f0b1befe8ba in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f0b1de46479 in QDBusConnectionManager::run() () from
/lib64/libQt5DBus.so.5
#8  0x00007f0b1bf02b92 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#9  0x00007f0b1922e61b in start_thread () from /lib64/libpthread.so.0
#10 0x00007f0b1b2a098f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0b05288700 (LWP 5935)):
#0  0x00007f0b1b2943db in poll () from /lib64/libc.so.6
#1  0x00007f0b16bd9fe7 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f0b16bdbdda in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f0b06f73a49 in QXcbEventReader::run() () from
/lib64/libQt5XcbQpa.so.5
#4  0x00007f0b1bf02b92 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#5  0x00007f0b1922e61b in start_thread () from /lib64/libpthread.so.0
#6  0x00007f0b1b2a098f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0b2556e940 (LWP 5934)):
[KCrash Handler]
#6  0x00007f0b1cbaca10 in vtable for QPaintDevice () from /lib64/libQt5Gui.so.5
#7  0x00007f0afc80425d in Calligra::Sheets::CanvasBase::updateCanvas(QRectF
const&) () from /lib64/libcalligrasheetscommon.so.15
#8  0x00007f0b242e0fa8 in KoPathTool::repaint(QRectF const&) () from
/lib64/libflake.so.15
#9  0x00007f0b242e6cf9 in KoPathToolSelection::repaint() () from
/lib64/libflake.so.15
#10 0x00007f0b242e6d6e in KoPathToolSelection::clear() () from
/lib64/libflake.so.15
#11 0x00007f0b242e114b in KoPathTool::deactivate() () from
/lib64/libflake.so.15
#12 0x00007f0b2426b9cb in KoToolManager::Private::disconnectActiveTool() ()
from /lib64/libflake.so.15
#13 0x00007f0b2426eefe in KoToolManager::Private::switchCanvasData(CanvasData*)
() from /lib64/libflake.so.15
#14 0x00007f0b24270bbb in
KoToolManager::Private::detachCanvas(KoCanvasController*) () from
/lib64/libflake.so.15
#15 0x00007f0afc82dd36 in Calligra::Sheets::View::~View() () from
/lib64/libcalligrasheetscommon.so.15
#16 0x00007f0afc82e019 in Calligra::Sheets::View::~View() () from
/lib64/libcalligrasheetscommon.so.15
#17 0x00007f0b24f15388 in KoMainWindow::setRootDocument(KoDocument*, KoPart*,
bool) () from /lib64/libkomain.so.15
#18 0x00007f0b24f173e8 in KoMainWindow::closeEvent(QCloseEvent*) () from
/lib64/libkomain.so.15
#19 0x00007f0b1cd55e28 in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#20 0x00007f0b1ce6995b in QMainWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#21 0x00007f0b204de0c7 in KMainWindow::event(QEvent*) () from
/lib64/libKF5XmlGui.so.5
#22 0x00007f0b20522e75 in KXmlGuiWindow::event(QEvent*) () from
/lib64/libKF5XmlGui.so.5
#23 0x00007f0b1cd176ac in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#24 0x00007f0b1cd1eef4 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#25 0x00007f0b24efeff7 in KoApplication::notify(QObject*, QEvent*) () from
/lib64/libkomain.so.15
#26 0x00007f0b1c0ae367 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#27 0x00007f0b1cd51601 in
QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from
/lib64/libQt5Widgets.so.5
#28 0x00007f0b1cd70240 in QWidgetWindow::handleCloseEvent(QCloseEvent*) () from
/lib64/libQt5Widgets.so.5
#29 0x00007f0b1cd73321 in QWidgetWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#30 0x00007f0b1cd176ac in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#31 0x00007f0b1cd1eef4 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#32 0x00007f0b24efeff7 in KoApplication::notify(QObject*, QEvent*) () from
/lib64/libkomain.so.15
#33 0x00007f0b1c0ae367 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#34 0x00007f0b1c5fb882 in
QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*)
() from /lib64/libQt5Gui.so.5
#35 0x00007f0b1c600365 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /lib64/libQt5Gui.so.5
#36 0x00007f0b1c5da1ab in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Gui.so.5
#37 0x00007f0b06fd67d0 in userEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /lib64/libQt5XcbQpa.so.5
#38 0x00007f0b1273cb77 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#39 0x00007f0b1273cf20 in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#40 0x00007f0b1273cfac in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#41 0x00007f0b1c0ff33f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#42 0x00007f0b1c0ad0ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#43 0x00007f0b1c0b5744 in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#44 0x00007f0b251a9273 in kdemain () from /lib64/libkdeinit5_calligrasheets.so
#45 0x00007f0b1b1aa00a in __libc_start_main () from /lib64/libc.so.6
#46 0x0000555dd2cb0efa in _start ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to