Bug 358643

Summary: Krita crash on creating new image
Product: [Applications] krita Reporter: Chris Hills <chaz>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: halla
Priority: NOR Keywords: drkonqi
Version First Reported In: 2.9.10   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Chris Hills 2016-01-27 15:43:04 UTC
Application: krita (2.9.10)
KDE Platform Version: 4.14.15
Qt Version: 4.8.7
Operating System: Linux 4.4.0-1-default x86_64
Distribution: "openSUSE Tumbleweed (20160121) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I opened Krita after updating on Opensuse Tumbleweed for the first time and tried to create a new image without changing any of the default settings. On subsequent attempts Krita did not crash.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Krita (krita), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc43a29a900 (LWP 1949))]

Thread 5 (Thread 0x7fc40f0cb700 (LWP 1957)):
#0  0x00007fc43266907f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc437fb5754 in wait (time=18446744073709551615, this=0x42e71e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x42e7190, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc437fb15f3 in QSemaphore::acquire (this=this@entry=0x42e6eb0, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007fc434e518be in KisTileDataPooler::waitForWork (this=0x42e6ea0) at /usr/src/debug/calligra-2.9.10/krita/image/tiles3/kis_tile_data_pooler.cc:165
#5  0x00007fc434e51c88 in KisTileDataPooler::run (this=0x42e6ea0) at /usr/src/debug/calligra-2.9.10/krita/image/tiles3/kis_tile_data_pooler.cc:187
#6  0x00007fc437fb523c in QThreadPrivate::start (arg=0x42e6ea0) at thread/qthread_unix.cpp:352
#7  0x00007fc4326634a4 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fc4376debdd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fc40e8ca700 (LWP 1958)):
#0  0x00007fc43266907f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc437fb5754 in wait (time=18446744073709551615, this=0x42e7590) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x42e7540, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc437fb19e3 in QSemaphore::tryAcquire (this=0x42e7250, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007fc434e6d073 in KisTileDataSwapper::waitForWork (this=this@entry=0x42e6ee0) at /usr/src/debug/calligra-2.9.10/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007fc434e6d2fa in KisTileDataSwapper::run (this=0x42e6ee0) at /usr/src/debug/calligra-2.9.10/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007fc437fb523c in QThreadPrivate::start (arg=0x42e6ee0) at thread/qthread_unix.cpp:352
#7  0x00007fc4326634a4 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fc4376debdd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fc40f8cc700 (LWP 1960)):
#0  0x00007fc43266907f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc437fb5754 in wait (time=18446744073709551615, this=0x4aaaa80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x4aaa5e8, mutex=mutex@entry=0x4aaa5e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc438fc13ec in QFileInfoGatherer::run (this=0x4aaa5d0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007fc437fb523c in QThreadPrivate::start (arg=0x4aaa5d0) at thread/qthread_unix.cpp:352
#5  0x00007fc4326634a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fc4376debdd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc419dcd700 (LWP 1961)):
#0  0x00007fc4380cdb8c in QMetaObject::activate (sender=sender@entry=0x7fc4140008f0, m=m@entry=0x7fc43841e460 <QAbstractEventDispatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3653
#1  0x00007fc43811bd33 in QAbstractEventDispatcher::awake (this=this@entry=0x7fc4140008f0) at .moc/release-shared/moc_qabstracteventdispatcher.cpp:106
#2  0x00007fc4380ec602 in QEventDispatcherUNIX::processEvents (this=0x7fc4140008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:922
#3  0x00007fc4380b9411 in QEventLoop::processEvents (this=this@entry=0x7fc419dccca0, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007fc4380b9725 in QEventLoop::exec (this=this@entry=0x7fc419dccca0, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007fc437fb2a59 in QThread::exec (this=this@entry=0x4aaab80) at thread/qthread.cpp:538
#6  0x00007fc43809a4f3 in QInotifyFileSystemWatcherEngine::run (this=0x4aaab80) at io/qfilesystemwatcher_inotify.cpp:265
#7  0x00007fc437fb523c in QThreadPrivate::start (arg=0x4aaab80) at thread/qthread_unix.cpp:352
#8  0x00007fc4326634a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fc4376debdd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc43a29a900 (LWP 1949)):
[KCrash Handler]
#6  0x00007fc437629d38 in raise () from /lib64/libc.so.6
#7  0x00007fc43762b18a in abort () from /lib64/libc.so.6
#8  0x00007fc3f281ad0f in vmw_ioctl_command (vws=0x546fc60, cid=<optimized out>, throttle_us=throttle_us@entry=0, commands=commands@entry=0x54a5b80, size=<optimized out>, pfence=pfence@entry=0x7ffec4840588) at vmw_screen_ioctl.c:461
#9  0x00007fc3f2818cb9 in vmw_swc_flush (swc=0x54a5ae0, pfence=0x7ffec48405d8) at vmw_context.c:213
#10 0x00007fc3f28200d0 in svga_context_flush (svga=svga@entry=0x55500f0, pfence=pfence@entry=0x0) at svga_context.c:313
#11 0x00007fc3f2829b0d in svga_transfer_dma_band (svga=svga@entry=0x55500f0, st=st@entry=0x5631420, transfer=transfer@entry=SVGA3D_WRITE_HOST_VRAM, y=<optimized out>, h=<optimized out>, flags=flags@entry=..., srcy=0) at svga_resource_texture.c:90
#12 0x00007fc3f2829d7d in svga_transfer_dma (svga=svga@entry=0x55500f0, st=st@entry=0x5631420, transfer=transfer@entry=SVGA3D_WRITE_HOST_VRAM, flags=...) at svga_resource_texture.c:121
#13 0x00007fc3f282a990 in svga_texture_transfer_unmap (pipe=0x55500f0, transfer=0x5631420) at svga_resource_texture.c:641
#14 0x00007fc3f2460f62 in pipe_transfer_unmap (transfer=<optimized out>, context=<optimized out>) at ../../src/gallium/auxiliary/util/u_inlines.h:491
#15 st_texture_image_unmap (st=<optimized out>, stImage=<optimized out>, slice=<optimized out>) at state_tracker/st_texture.c:309
#16 0x00007fc3f23cfa27 in store_texsubimage (ctx=ctx@entry=0x54e1c00, texImage=texImage@entry=0x56b28e0, xoffset=xoffset@entry=0, yoffset=yoffset@entry=102, zoffset=<optimized out>, width=48, height=1, depth=1, format=32993, type=5123, pixels=0x5a3d850, packing=0x54fcf40, caller=0x7fc3f28f1975 "glTexSubImage") at main/texstore.c:1085
#17 0x00007fc3f23cfcdb in _mesa_store_texsubimage (ctx=ctx@entry=0x54e1c00, dims=<optimized out>, texImage=texImage@entry=0x56b28e0, xoffset=xoffset@entry=0, yoffset=yoffset@entry=102, zoffset=<optimized out>, width=<optimized out>, height=<optimized out>, depth=<optimized out>, format=<optimized out>, type=<optimized out>, pixels=<optimized out>, packing=<optimized out>) at main/texstore.c:1142
#18 0x00007fc3f2429e83 in st_TexSubImage (ctx=0x54e1c00, dims=<optimized out>, texImage=0x56b28e0, xoffset=0, yoffset=102, zoffset=<optimized out>, width=48, height=1, depth=1, format=32993, type=5123, pixels=0x5a3d850, unpack=0x54fcf40) at state_tracker/st_cb_texture.c:856
#19 0x00007fc3f23c0f9b in _mesa_texture_sub_image (ctx=0x54e1c00, dims=2, texObj=0x56b2050, texImage=0x56b28e0, target=3553, level=0, xoffset=0, yoffset=102, zoffset=0, width=48, height=1, depth=1, format=32993, type=5123, pixels=0x5a3d850, dsa=false) at main/teximage.c:3139
#20 0x00007fc3f23c11e2 in texsubimage (ctx=0x54e1c00, dims=2, target=3553, level=0, xoffset=0, yoffset=102, zoffset=0, width=48, height=1, depth=1, format=32993, type=5123, pixels=0x5a3d850, callerName=0x7fc3f28f0691 "glTexSubImage2D") at main/teximage.c:3197
#21 0x00007fc3f23c1608 in _mesa_TexSubImage2D (target=<optimized out>, level=<optimized out>, xoffset=<optimized out>, yoffset=<optimized out>, width=<optimized out>, height=<optimized out>, format=32993, type=5123, pixels=0x5a3d850) at main/teximage.c:3338
#22 0x00007fc439a650cc in KisTextureTile::update (this=<optimized out>, updateInfo=...) at /usr/src/debug/calligra-2.9.10/krita/ui/opengl/kis_texture_tile.cpp:246
#23 0x00007fc439a5bc83 in KisOpenGLImageTextures::recalculateCache (this=this@entry=0x5515130, info=...) at /usr/src/debug/calligra-2.9.10/krita/ui/opengl/kis_opengl_image_textures.cpp:294
#24 0x00007fc439a62cc2 in KisOpenGLImageTextures::KisOpenGLImageTextures (this=0x5515130, image=..., monitorProfile=0x2e9f700, renderingIntent=KoColorConversionTransformation::IntentPerceptual, conversionFlags=...) at /usr/src/debug/calligra-2.9.10/krita/ui/opengl/kis_opengl_image_textures.cpp:94
#25 0x00007fc439a638ae in KisOpenGLImageTextures::getImageTextures (image=..., monitorProfile=monitorProfile@entry=0x2e9f700, renderingIntent=renderingIntent@entry=KoColorConversionTransformation::IntentPerceptual, conversionFlags=...) at /usr/src/debug/calligra-2.9.10/krita/ui/opengl/kis_opengl_image_textures.cpp:142
#26 0x00007fc4398723ac in KisCanvas2::createOpenGLCanvas (this=this@entry=0x5422290) at /usr/src/debug/calligra-2.9.10/krita/ui/canvas/kis_canvas2.cpp:391
#27 0x00007fc439876506 in KisCanvas2::createCanvas (this=this@entry=0x5422290, useOpenGL=<optimized out>) at /usr/src/debug/calligra-2.9.10/krita/ui/canvas/kis_canvas2.cpp:419
#28 0x00007fc439876937 in KisCanvas2::KisCanvas2 (this=0x5422290, coordConverter=<optimized out>, resourceManager=0x402ab20, view=..., sc=0x52f98d8) at /usr/src/debug/calligra-2.9.10/krita/ui/canvas/kis_canvas2.cpp:138
#29 0x00007fc439bdaab2 in KisView::KisView (this=0x5416b20, document=<optimized out>, resourceManager=0x402ab20, actionCollection=<optimized out>, parent=<optimized out>) at /usr/src/debug/calligra-2.9.10/krita/ui/KisView.cpp:275
#30 0x00007fc439bbdc4e in KisPart::createView (this=this@entry=0x4019230, document=document@entry=0x530d550, resourceManager=0x402ab20, actionCollection=actionCollection@entry=0x3fd9a30, parent=parent@entry=0x2ac6460) at /usr/src/debug/calligra-2.9.10/krita/ui/KisPart.cpp:269
#31 0x00007fc439bbe328 in KisPart::startCustomDocument (this=0x4019230, doc=0x530d550) at /usr/src/debug/calligra-2.9.10/krita/ui/KisPart.cpp:626
#32 0x00007fc4380cdf90 in QMetaObject::activate (sender=sender@entry=0x2ac84f0, m=m@entry=0x7fc43a030a20 <KisCustomImageWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffec48412b0) at kernel/qobject.cpp:3576
#33 0x00007fc439ac197e in documentSelected (_t1=0x530d550, this=0x2ac84f0) at /usr/src/debug/calligra-2.9.10/build/krita/ui/kis_custom_image_widget.moc:199
#34 KisCustomImageWidget::createImage (this=0x2ac84f0) at /usr/src/debug/calligra-2.9.10/krita/ui/widgets/kis_custom_image_widget.cc:225
#35 0x00007fc439ac2b15 in KisCustomImageWidget::qt_static_metacall (_o=0x2ac84f0, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/calligra-2.9.10/build/krita/ui/kis_custom_image_widget.moc:149
#36 0x00007fc4380cdf90 in QMetaObject::activate (sender=sender@entry=0x527c1c0, m=m@entry=0x7fc4395b0ea0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffec4841400) at kernel/qobject.cpp:3576
#37 0x00007fc4391359c2 in QAbstractButton::clicked (this=this@entry=0x527c1c0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#38 0x00007fc438e8d8d3 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x527c1f0) at widgets/qabstractbutton.cpp:548
#39 0x00007fc438e8eac4 in QAbstractButtonPrivate::click (this=this@entry=0x527c1f0) at widgets/qabstractbutton.cpp:541
#40 0x00007fc438e8ebb4 in QAbstractButton::mouseReleaseEvent (this=0x527c1c0, e=0x7ffec4841910) at widgets/qabstractbutton.cpp:1123
#41 0x00007fc438b25f00 in QWidget::event (this=0x527c1c0, event=0x7ffec4841910) at kernel/qwidget.cpp:8775
#42 0x00007fc438ad2f1c in QApplicationPrivate::notify_helper (this=this@entry=0x27d02a0, receiver=receiver@entry=0x527c1c0, e=e@entry=0x7ffec4841910) at kernel/qapplication.cpp:4565
#43 0x00007fc438ad9b53 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x527c1c0, e=e@entry=0x7ffec4841910) at kernel/qapplication.cpp:4108
#44 0x00007fc439b65545 in KisApplication::notify (this=<optimized out>, receiver=0x527c1c0, event=0x7ffec4841910) at /usr/src/debug/calligra-2.9.10/krita/ui/KisApplication.cpp:543
#45 0x00007fc4380baa4d in QCoreApplication::notifyInternal (this=0x7ffec4843280, receiver=receiver@entry=0x527c1c0, event=event@entry=0x7ffec4841910) at kernel/qcoreapplication.cpp:955
#46 0x00007fc438ad91ed in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#47 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x527c1c0, event=event@entry=0x7ffec4841910, alienWidget=alienWidget@entry=0x527c1c0, nativeWidget=nativeWidget@entry=0x4df5f80, buttonDown=buttonDown@entry=0x7fc4395c2308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#48 0x00007fc438b4f942 in QETWidget::translateMouseEvent (this=this@entry=0x4df5f80, event=event@entry=0x7ffec4841c80) at kernel/qapplication_x11.cpp:4536
#49 0x00007fc438b4e30d in QApplication::x11ProcessEvent (this=0x7ffec4843280, event=event@entry=0x7ffec4841c80) at kernel/qapplication_x11.cpp:3653
#50 0x00007fc438b771d7 in QEventDispatcherX11::processEvents (this=0x269b7f0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#51 0x00007fc4380b9411 in QEventLoop::processEvents (this=this@entry=0x7ffec4841ef0, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007fc4380b9725 in QEventLoop::exec (this=this@entry=0x7ffec4841ef0, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007fc438f883fc in QDialog::exec (this=0x4df5f80) at dialogs/qdialog.cpp:562
#54 0x00007fc439bc442f in KisPart::showStartUpWidget (this=0x4019230, mainWindow=0x2ac6460, alwaysShow=alwaysShow@entry=true) at /usr/src/debug/calligra-2.9.10/krita/ui/KisPart.cpp:564
#55 0x00007fc439b9fe4a in KisMainWindow::slotFileNew (this=<optimized out>) at /usr/src/debug/calligra-2.9.10/krita/ui/KisMainWindow.cpp:1157
#56 0x00007fc439bb7e9d in KisMainWindow::qt_static_metacall (_o=0x2ac6460, _c=<optimized out>, _id=<optimized out>, _a=0x7ffec4842280) at /usr/src/debug/calligra-2.9.10/build/krita/ui/KisMainWindow.moc:153
#57 0x00007fc4380cdf90 in QMetaObject::activate (sender=sender@entry=0x4e53b80, m=m@entry=0x7fc43958cd20 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffec4842280) at kernel/qobject.cpp:3576
#58 0x00007fc438acd392 in QAction::triggered (this=this@entry=0x4e53b80, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#59 0x00007fc438ace537 in QAction::activate (this=this@entry=0x4e53b80, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#60 0x00007fc438f090f9 in QMenuPrivate::activateCausedStack (this=this@entry=0x4f8e6c0, causedStack=..., action=action@entry=0x4e53b80, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037
#61 0x00007fc438f0d2b9 in QMenuPrivate::activateAction (this=0x4f8e6c0, action=0x4e53b80, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1129
#62 0x00007fc438f10e67 in QMenu::mouseReleaseEvent (this=this@entry=0x2ac2e90, e=e@entry=0x7ffec4842930) at widgets/qmenu.cpp:2371
#63 0x00007fc432b77172 in KMenu::mouseReleaseEvent (this=0x2ac2e90, e=0x7ffec4842930) at /usr/src/debug/kdelibs-4.14.15/kdeui/widgets/kmenu.cpp:464
#64 0x00007fc438b25f00 in QWidget::event (this=this@entry=0x2ac2e90, event=event@entry=0x7ffec4842930) at kernel/qwidget.cpp:8775
#65 0x00007fc438f112e3 in QMenu::event (this=0x2ac2e90, e=0x7ffec4842930) at widgets/qmenu.cpp:2480
#66 0x00007fc438ad2f1c in QApplicationPrivate::notify_helper (this=this@entry=0x27d02a0, receiver=receiver@entry=0x2ac2e90, e=e@entry=0x7ffec4842930) at kernel/qapplication.cpp:4565
#67 0x00007fc438ad9b53 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x2ac2e90, e=e@entry=0x7ffec4842930) at kernel/qapplication.cpp:4108
#68 0x00007fc439b65545 in KisApplication::notify (this=<optimized out>, receiver=0x2ac2e90, event=0x7ffec4842930) at /usr/src/debug/calligra-2.9.10/krita/ui/KisApplication.cpp:543
#69 0x00007fc4380baa4d in QCoreApplication::notifyInternal (this=0x7ffec4843280, receiver=receiver@entry=0x2ac2e90, event=event@entry=0x7ffec4842930) at kernel/qcoreapplication.cpp:955
#70 0x00007fc438ad91ed in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#71 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2ac2e90, event=event@entry=0x7ffec4842930, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x2ac2e90, buttonDown=buttonDown@entry=0x7fc4395c2308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#72 0x00007fc438b502dc in QETWidget::translateMouseEvent (this=this@entry=0x2ac2e90, event=event@entry=0x7ffec4842c70) at kernel/qapplication_x11.cpp:4470
#73 0x00007fc438b4e30d in QApplication::x11ProcessEvent (this=0x7ffec4843280, event=event@entry=0x7ffec4842c70) at kernel/qapplication_x11.cpp:3653
#74 0x00007fc438b771d7 in QEventDispatcherX11::processEvents (this=0x269b7f0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#75 0x00007fc4380b9411 in QEventLoop::processEvents (this=this@entry=0x7ffec4842ed0, flags=...) at kernel/qeventloop.cpp:149
#76 0x00007fc4380b9725 in QEventLoop::exec (this=this@entry=0x7ffec4842ed0, flags=...) at kernel/qeventloop.cpp:204
#77 0x00007fc4380bef29 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#78 0x00007fc438ad17dc in QApplication::exec () at kernel/qapplication.cpp:3823
#79 0x0000000000402b3c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/calligra-2.9.10/krita/main.cc:204

Reported using DrKonqi
Comment 1 Halla Rempt 2016-01-27 19:33:42 UTC
Hi!

From the backtrace, this is a crash in your opengl driver, after which Krita automatically disables opengl. Please report a bug with the provider of your driver...