Bug 357480 - Krita Crash after Fullscreen switch
Summary: Krita Crash after Fullscreen switch
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.9.10
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-03 17:54 UTC by simon
Modified: 2016-01-23 08:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2016-01-03 17:54:49 UTC
Application: krita (2.9.10)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-74-generic x86_64
Distribution: Ubuntu 14.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Switch to the fullscreen mode via double clicking and back to windowed mode, before the crash.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2db2f097c0 (LWP 5887))]

Thread 5 (Thread 0x7f2d7bfff700 (LWP 5899)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2db0ab8816 in wait (time=18446744073709551615, this=0x2e0b9c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x2e0b970, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2db0ab495b in QSemaphore::acquire (this=this@entry=0x2e0b690, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f2daec7b6a0 in waitForWork (this=0x2e0b680) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/krita/image/tiles3/kis_tile_data_pooler.cc:165
#5  KisTileDataPooler::run (this=0x2e0b680) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/krita/image/tiles3/kis_tile_data_pooler.cc:187
#6  0x00007f2db0ab832f in QThreadPrivate::start (arg=0x2e0b680) at thread/qthread_unix.cpp:349
#7  0x00007f2daab46182 in start_thread (arg=0x7f2d7bfff700) at pthread_create.c:312
#8  0x00007f2db025847d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f2d7b7fe700 (LWP 5900)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2db0ab8816 in wait (time=18446744073709551615, this=0x2e0be50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x2e0be00, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2db0ab4d63 in QSemaphore::tryAcquire (this=0x2e0ba30, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007f2daeca4453 in KisTileDataSwapper::waitForWork (this=this@entry=0x2e0b6c0) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f2daeca468a in KisTileDataSwapper::run (this=0x2e0b6c0) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f2db0ab832f in QThreadPrivate::start (arg=0x2e0b6c0) at thread/qthread_unix.cpp:349
#7  0x00007f2daab46182 in start_thread (arg=0x7f2d7b7fe700) at pthread_create.c:312
#8  0x00007f2db025847d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f2d8b87d700 (LWP 5901)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2db0ab8816 in wait (time=18446744073709551615, this=0x30840e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x3083c48, mutex=mutex@entry=0x3083c40, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2db1a89e16 in QFileInfoGatherer::run (this=0x3083c30) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f2db0ab832f in QThreadPrivate::start (arg=0x3083c30) at thread/qthread_unix.cpp:349
#5  0x00007f2daab46182 in start_thread (arg=0x7f2d8b87d700) at pthread_create.c:312
#6  0x00007f2db025847d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f2d7a7fc700 (LWP 5902)):
#0  0x00007f2db024b12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2daa666fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2daa6670ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2db0be77be in QEventDispatcherGlib::processEvents (this=0x7f2d64008bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f2db0bb90af in QEventLoop::processEvents (this=this@entry=0x7f2d7a7fbde0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2db0bb93a5 in QEventLoop::exec (this=this@entry=0x7f2d7a7fbde0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2db0ab5c5f in QThread::exec (this=this@entry=0x30841e0) at thread/qthread.cpp:537
#7  0x00007f2db0b9a823 in QInotifyFileSystemWatcherEngine::run (this=0x30841e0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f2db0ab832f in QThreadPrivate::start (arg=0x30841e0) at thread/qthread_unix.cpp:349
#9  0x00007f2daab46182 in start_thread (arg=0x7f2d7a7fc700) at pthread_create.c:312
#10 0x00007f2db025847d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f2db2f097c0 (LWP 5887)):
[KCrash Handler]
#5  QString (other=<error reading variable: Cannot access memory at address 0x8>, this=this@entry=0x7ffed9843f00) at ../../include/QtCore/../../src/corelib/tools/qstring.h:725
#6  QObject::objectName (this=0x0) at kernel/qobject.cpp:1064
#7  0x00007f2dae6daaca in KoToolDocker::Private::recreateLayout (this=0x2eed2f0, optionWidgetList=...) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/libs/widgets/KoToolDocker.cpp:139
#8  0x00007f2db0bce87a in QMetaObject::activate (sender=sender@entry=0x2eb92f0, m=m@entry=0x7f2db2063540 <QDockWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffed9844080) at kernel/qobject.cpp:3539
#9  0x00007f2db198b431 in QDockWidget::dockLocationChanged (this=this@entry=0x2eb92f0, _t1=Qt::RightDockWidgetArea) at .moc/release-shared/moc_qdockwidget.cpp:209
#10 0x00007f2db19985c6 in QDockAreaLayoutInfo::restoreState (this=0xbf00350, stream=..., widgets=..., testing=testing@entry=false) at widgets/qdockarealayout.cpp:1988
#11 0x00007f2db1997f85 in QDockAreaLayoutInfo::restoreState (this=0x2b0f498, stream=..., widgets=..., testing=testing@entry=false) at widgets/qdockarealayout.cpp:2011
#12 0x00007f2db1998910 in QDockAreaLayout::restoreState (this=this@entry=0x2b0f408, stream=..., _dockwidgets=..., testing=testing@entry=false) at widgets/qdockarealayout.cpp:2329
#13 0x00007f2db19bddef in QMainWindowLayoutState::restoreState (this=this@entry=0x2b0f330, _stream=..., oldState=...) at widgets/qmainwindowlayout.cpp:698
#14 0x00007f2db19be33f in QMainWindowLayout::restoreState (this=0x2b0f310, stream=...) at widgets/qmainwindowlayout.cpp:1948
#15 0x00007f2db19b6902 in QMainWindow::restoreState (this=this@entry=0x2b43540, state=..., version=version@entry=0) at widgets/qmainwindow.cpp:1267
#16 0x00007f2db278d6ba in KisMainWindow::toggleDockersVisibility (this=this@entry=0x2b43540, visible=<optimized out>) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/krita/ui/KisMainWindow.cpp:1809
#17 0x00007f2db27a21e5 in KisMainWindow::qt_static_metacall (_o=0x2b43540, _c=<optimized out>, _id=<optimized out>, _a=0x7ffed9844820) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/obj-x86_64-linux-gnu/krita/ui/KisMainWindow.moc:200
#18 0x00007f2db0bce87a in QMetaObject::activate (sender=sender@entry=0x34aace0, m=m@entry=0x7f2db2056de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffed9844820) at kernel/qobject.cpp:3539
#19 0x00007f2db15a6ac2 in QAction::toggled (this=this@entry=0x34aace0, _t1=_t1@entry=true) at .moc/release-shared/moc_qaction.cpp:289
#20 0x00007f2db15a837f in QAction::setChecked (this=this@entry=0x34aace0, b=<optimized out>) at kernel/qaction.cpp:1073
#21 0x00007f2db27d701b in KisViewManager::showJustTheCanvas (this=this@entry=0x2ba9070, toggled=false) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/krita/ui/KisViewManager.cpp:1191
#22 0x00007f2db27de708 in KisViewManager::qt_static_metacall (_o=0x2ba9070, _c=<optimized out>, _id=1, _a=0x7ffed9844c20) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/obj-x86_64-linux-gnu/krita/ui/KisViewManager.moc:85
#23 0x00007f2db0bce87a in QMetaObject::activate (sender=sender@entry=0x2b6d2f0, m=m@entry=0x7f2db2056de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffed9844c20) at kernel/qobject.cpp:3539
#24 0x00007f2db15a6ac2 in QAction::toggled (this=this@entry=0x2b6d2f0, _t1=_t1@entry=false) at .moc/release-shared/moc_qaction.cpp:289
#25 0x00007f2db15a837f in QAction::setChecked (this=this@entry=0x2b6d2f0, b=<optimized out>) at kernel/qaction.cpp:1073
#26 0x00007f2db15a8494 in QAction::activate (this=0x2b6d2f0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1254
#27 0x00007f2db15a858c in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#28 0x00007f2dab3e9e9f in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007f2db15ace2c in QApplicationPrivate::notify_helper (this=this@entry=0x1ef42d0, receiver=receiver@entry=0x2b6d2f0, e=e@entry=0x7ffed9845010) at kernel/qapplication.cpp:4567
#30 0x00007f2db15b34a0 in QApplication::notify (this=0x7ffed9846070, receiver=receiver@entry=0x2b6d2f0, e=e@entry=0x7ffed9845010) at kernel/qapplication.cpp:4353
#31 0x00007f2db274e997 in KisApplication::notify (this=<optimized out>, receiver=0x2b6d2f0, event=0x7ffed9845010) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/krita/ui/KisApplication.cpp:543
#32 0x00007f2db0bba4dd in QCoreApplication::notifyInternal (this=0x7ffed9846070, receiver=0x2b6d2f0, event=event@entry=0x7ffed9845010) at kernel/qcoreapplication.cpp:953
#33 0x00007f2db15de2a6 in sendEvent (event=0x7ffed9845010, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QShortcutMap::dispatchEvent (this=this@entry=0x1ef43f8, e=e@entry=0x7ffed9845360) at kernel/qshortcutmap.cpp:887
#35 0x00007f2db15de3dc in QShortcutMap::tryShortcutEvent (this=0x1ef43f8, o=o@entry=0x3a61e40, e=e@entry=0x7ffed9845360) at kernel/qshortcutmap.cpp:367
#36 0x00007f2db15b4773 in QApplication::notify (this=0x7ffed9846070, receiver=receiver@entry=0x3a61e40, e=e@entry=0x7ffed9845360) at kernel/qapplication.cpp:3991
#37 0x00007f2db274e997 in KisApplication::notify (this=<optimized out>, receiver=0x3a61e40, event=0x7ffed9845360) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/krita/ui/KisApplication.cpp:543
#38 0x00007f2db0bba4dd in QCoreApplication::notifyInternal (this=0x7ffed9846070, receiver=receiver@entry=0x3a61e40, event=event@entry=0x7ffed9845360) at kernel/qcoreapplication.cpp:953
#39 0x00007f2db15ab556 in sendSpontaneousEvent (event=event@entry=0x7ffed9845360, receiver=receiver@entry=0x3a61e40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#40 qt_sendSpontaneousEvent (receiver=receiver@entry=0x3a61e40, event=event@entry=0x7ffed9845360) at kernel/qapplication.cpp:5565
#41 0x00007f2db164c027 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x3a61e40, grab=grab@entry=false, type=QEvent::KeyPress, code=16777217, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=23, nativeVirtualKey=65289, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#42 0x00007f2db164c3c9 in QKeyMapperPrivate::translateKeyEvent (this=0x1f3a9e0, keyWidget=keyWidget@entry=0x3a61e40, event=event@entry=0x7ffed98458f0, grab=grab@entry=false) at kernel/qkeymapper_x11.cpp:1836
#43 0x00007f2db1626417 in QApplication::x11ProcessEvent (this=0x7ffed9846070, event=event@entry=0x7ffed98458f0) at kernel/qapplication_x11.cpp:3642
#44 0x00007f2db164eb32 in x11EventSourceDispatch (s=0x1ef5ba0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007f2daa666e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f2daa667048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f2daa6670ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f2db0be77a1 in QEventDispatcherGlib::processEvents (this=0x1ef4290, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#49 0x00007f2db164ebe6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f2db0bb90af in QEventLoop::processEvents (this=this@entry=0x7ffed9845cc0, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f2db0bb93a5 in QEventLoop::exec (this=this@entry=0x7ffed9845cc0, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007f2db0bbeb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#53 0x00007f2db15ab37c in QApplication::exec () at kernel/qapplication.cpp:3828
#54 0x0000000000402820 in main (argc=<optimized out>, argv=<optimized out>) at /build/krita-2.9-xLOBNf/krita-2.9-2+git20151209+r43/krita/main.cc:204

Report to https://bugs.kde.org/
Comment 1 Halla Rempt 2016-01-10 11:18:01 UTC
Hi,

Thanks for your report. Can you consistently reproduce this crash? I must be doing something different from you because I'm not managing to reproduce it.
Comment 2 simon 2016-01-11 22:55:15 UTC
thank you for the response.
I tried but couldn't reproduce the bug either. It also didn't reappear during normal usage of the program. I keep my eyes open and report if it reappears.
Comment 3 Halla Rempt 2016-01-23 08:26:07 UTC
Thanks!