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

            Bug ID: 414596
           Summary: Kolourpaint crashed if we delete the image we're
                    working on
           Product: kolourpaint
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kolourpaint-supp...@lists.sourceforge.net
          Reporter: paulo.fidalgo...@gmail.com
  Target Milestone: ---

Application: kolourpaint (19.04.3)

Qt Version: 5.12.5
Frameworks Version: 5.61.0
Operating System: Linux 5.3.12-300.fc31.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I have created a new image, but through the file manager I've deleted the image
on disk and it crashed.
This is not normal, but at least a safeguard to not let this happen would be
nice.

-- Backtrace:
Application: KolourPaint (kolourpaint), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8f19ceb840 (LWP 3926))]

Thread 5 (Thread 0x7f8efc95f700 (LWP 3936)):
#0  0x00007f8f1d8aca6f in poll () from /lib64/libc.so.6
#1  0x00007f8efd129196 in poll_func () from /lib64/libpulse.so.0
#2  0x00007f8efd11a801 in pa_mainloop_poll () from /lib64/libpulse.so.0
#3  0x00007f8efd11ae83 in pa_mainloop_iterate () from /lib64/libpulse.so.0
#4  0x00007f8efd11af30 in pa_mainloop_run () from /lib64/libpulse.so.0
#5  0x00007f8efd1290dd in thread () from /lib64/libpulse.so.0
#6  0x00007f8efd0c4b9c in internal_thread_func () from
/usr/lib64/pulseaudio/libpulsecommon-13.0.so
#7  0x00007f8f1cace4e2 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8f1d8b7693 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f8efffff700 (LWP 3929)):
#0  0x00007f8f1cad4d45 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f8f04f5a14b in util_queue_thread_func () from
/usr/lib64/dri/i965_dri.so
#2  0x00007f8f04f59d5b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f8f1cace4e2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f8f1d8b7693 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f8f07443700 (LWP 3928)):
#0  0x00007f8f1d8a844c in read () from /lib64/libc.so.6
#1  0x00007f8f1c1574cf in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f8f1c10f2e7 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f8f1c10f742 in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#4  0x00007f8f1c10f8d3 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#5  0x00007f8f1df7acd3 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#6  0x00007f8f1df24ceb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#7  0x00007f8f1dd7d395 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f8f1ce10f4a in QDBusConnectionManager::run() () from
/lib64/libQt5DBus.so.5
#9  0x00007f8f1dd7e4e6 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#10 0x00007f8f1cace4e2 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f8f1d8b7693 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8f0c9f4700 (LWP 3927)):
#0  0x00007f8f1d8aca6f in poll () from /lib64/libc.so.6
#1  0x00007f8f1bfd938a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f8f1bfdafea in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f8f0cbccac8 in QXcbEventQueue::run() () from
/lib64/libQt5XcbQpa.so.5
#4  0x00007f8f1dd7e4e6 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#5  0x00007f8f1cace4e2 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8f1d8b7693 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8f19ceb840 (LWP 3926)):
[KCrash Handler]
#6  0x00007f8f1de8f3b3 in
QUrlPrivate::toLocalFile(QUrlTwoFlags<QUrl::UrlFormattingOption,
QUrl::ComponentFormattingOption>) const () from /lib64/libQt5Core.so.5
#7  0x00007f8f1de956b8 in QUrl::toLocalFile() const () from
/lib64/libQt5Core.so.5
#8  0x00007f8f1f1ca53a in KRecentFilesAction::addUrl(QUrl const&, QString
const&) () from /lib64/libKF5ConfigWidgets.so.5
#9  0x000055b653a0d779 in kpMainWindow::addRecentURL(QUrl const&) ()
#10 0x000055b653a116ff in kpMainWindow::open(QUrl const&, bool) ()
#11 0x000055b653a11932 in kpMainWindow::slotOpenRecent(QUrl const&) ()
#12 0x00007f8f1df4ff40 in QMetaObject::activate(QObject*, int, int, void**) ()
from /lib64/libQt5Core.so.5
#13 0x00007f8f1f1c8bb6 in KRecentFilesAction::urlSelected(QUrl const&) () from
/lib64/libKF5ConfigWidgets.so.5
#14 0x00007f8f1f1c951d in KRecentFilesActionPrivate::_k_urlSelected(QAction*)
() from /lib64/libKF5ConfigWidgets.so.5
#15 0x00007f8f1f1c99a5 in KRecentFilesAction::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () from /lib64/libKF5ConfigWidgets.so.5
#16 0x00007f8f1df4fdfb in QMetaObject::activate(QObject*, int, int, void**) ()
from /lib64/libQt5Core.so.5
#17 0x00007f8f1f0c2033 in KSelectAction::triggered(QAction*) () from
/lib64/libKF5WidgetsAddons.so.5
#18 0x00007f8f1f0c3803 in KSelectAction::actionTriggered(QAction*) () from
/lib64/libKF5WidgetsAddons.so.5
#19 0x00007f8f1df4ff40 in QMetaObject::activate(QObject*, int, int, void**) ()
from /lib64/libQt5Core.so.5
#20 0x00007f8f1eacad33 in QActionGroup::triggered(QAction*) () from
/lib64/libQt5Widgets.so.5
#21 0x00007f8f1eacb843 in QActionGroup::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () from /lib64/libQt5Widgets.so.5
#22 0x00007f8f1df4fdfb in QMetaObject::activate(QObject*, int, int, void**) ()
from /lib64/libQt5Core.so.5
#23 0x00007f8f1eac7456 in QAction::triggered(bool) () from
/lib64/libQt5Widgets.so.5
#24 0x00007f8f1eac9b12 in QAction::activate(QAction::ActionEvent) () from
/lib64/libQt5Widgets.so.5
#25 0x00007f8f1ec4fa92 in
QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*,
QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#26 0x00007f8f1ec5722e in QMenuPrivate::activateAction(QAction*,
QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#27 0x00007f8f1ec58252 in QMenu::mouseReleaseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#28 0x00007f8f1eb1034e in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#29 0x00007f8f1ec5a84b in QMenu::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#30 0x00007f8f1eacdad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#31 0x00007f8f1ead73a3 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#32 0x00007f8f1df25de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#33 0x00007f8f1ead64b7 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
from /lib64/libQt5Widgets.so.5
#34 0x00007f8f1eb2ca64 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#35 0x00007f8f1eb2ef6c in QWidgetWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#36 0x00007f8f1eacdad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#37 0x00007f8f1ead7150 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#38 0x00007f8f1df25de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#39 0x00007f8f1e2f7723 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /lib64/libQt5Gui.so.5
#40 0x00007f8f1e2f8f4b in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /lib64/libQt5Gui.so.5
#41 0x00007f8f1e2d554b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Gui.so.5
#42 0x00007f8f0cbcdb5e in xcbSourceDispatch(_GSource*, int (*)(void*), void*)
() from /lib64/libQt5XcbQpa.so.5
#43 0x00007f8f1c10f4a0 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#44 0x00007f8f1c10f830 in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#45 0x00007f8f1c10f8d3 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#46 0x00007f8f1df7acb5 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#47 0x00007f8f1df24ceb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#48 0x00007f8f1df2ca16 in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#49 0x000055b6539bb6e7 in main ()
[Inferior 1 (process 3926) detached]

Reported using DrKonqi

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

Reply via email to