Bug 334290 - Using the new splash screen to open a recent file crashes Krita like clockwork.
Summary: Using the new splash screen to open a recent file crashes Krita like clockwork.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 2.9 Beta
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
: 335042 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-03 17:03 UTC by wolthera
Modified: 2014-06-20 13:24 UTC (History)
1 user (show)

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


Attachments
Crash without openGL enabled (375 bytes, text/plain)
2014-05-03 18:26 UTC, wolthera
Details
PNG files are not proper calligra files, apparantly. (386.60 KB, image/png)
2014-05-03 18:30 UTC, wolthera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wolthera 2014-05-03 17:03:26 UTC
Application: krita (2.9 Pre-Alpha (git 83f9cf7))
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-19-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
After having the program load up to the point that the splash screen has a tiny 'close' button, click any of the links in the recent file list to crash Krita.

The crash can be reproduced every time.

-- 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 0x7f3293fee7c0 (LWP 30602))]

Thread 5 (Thread 0x7f32720d2700 (LWP 30607)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f32918f1406 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f32918ed5eb in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f329053cd3e in KisTileDataPooler::waitForWork (this=this@entry=0x2518f60) at /home/wolthera/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007f329053d10d in KisTileDataPooler::run (this=0x2518f60) at /home/wolthera/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007f32918f0f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f328c0d1f6e in start_thread (arg=0x7f32720d2700) at pthread_create.c:311
#7  0x00007f32938f19cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f32718d1700 (LWP 30608)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f32918f1406 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f32918ed9f3 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f3290558e33 in KisTileDataSwapper::waitForWork (this=<optimized out>) at /home/wolthera/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007f32905590ba in KisTileDataSwapper::run (this=0x2518f98) at /home/wolthera/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f32918f0f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f328c0d1f6e in start_thread (arg=0x7f32718d1700) at pthread_create.c:311
#7  0x00007f32938f19cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f326b7fe700 (LWP 30630)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f32918f1406 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f32928be086 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3  0x00007f32918f0f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f328c0d1f6e in start_thread (arg=0x7f326b7fe700) at pthread_create.c:311
#5  0x00007f32938f19cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f3258ad2700 (LWP 30631)):
#0  0x00007f328bc390ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f328bc39399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f328bbf968a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f328bbf97ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3291a1da76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f32919ef5ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f32919ef8e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f32918ee88f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f32919d0d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f32918f0f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f328c0d1f6e in start_thread (arg=0x7f3258ad2700) at pthread_create.c:311
#11 0x00007f32938f19cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f3293fee7c0 (LWP 30602)):
[KCrash Handler]
#5  0x00007f32905d8cc4 in KisImage::colorSpace (this=0x27ed660) at /home/wolthera/kde4/src/calligra/krita/image/kis_image.cc:757
#6  0x00007f3293483659 in KisOpenGLImageTextures::updateTextureFormat (this=this@entry=0x372f1e0) at /home/wolthera/kde4/src/calligra/krita/ui/opengl/kis_opengl_image_textures.cpp:394
#7  0x00007f3293484069 in KisOpenGLImageTextures::createImageTextureTiles (this=0x372f1e0) at /home/wolthera/kde4/src/calligra/krita/ui/opengl/kis_opengl_image_textures.cpp:150
#8  0x00007f3293337229 in KisCanvas2::qt_static_metacall (_o=0x32090d0, _c=QMetaObject::ReadProperty, _id=-1816426600, _a=0x7f3293bb8750 <main_arena+16>) at /home/wolthera/kde4/build/krita/ui/kis_canvas2.moc:99
#9  0x00007f3291a04a58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f3293333f1f in KisCanvas2::sigContinueResizeImage (this=this@entry=0x32090d0, _t1=_t1@entry=595, _t2=_t2@entry=842) at /home/wolthera/kde4/build/krita/ui/kis_canvas2.moc:177
#11 0x00007f3293334afe in KisCanvas2::startResizingImage (this=this@entry=0x32090d0) at /home/wolthera/kde4/src/calligra/krita/ui/canvas/kis_canvas2.cpp:538
#12 0x00007f3293334da2 in KisCanvas2::connectCurrentCanvas (this=this@entry=0x32090d0) at /home/wolthera/kde4/src/calligra/krita/ui/canvas/kis_canvas2.cpp:418
#13 0x00007f3293334f9d in KisCanvas2::initializeImage (this=0x32090d0) at /home/wolthera/kde4/src/calligra/krita/ui/canvas/kis_canvas2.cpp:406
#14 0x00007f329342d358 in KisView2::slotLoadingFinished (this=0x2723470) at /home/wolthera/kde4/src/calligra/krita/ui/kis_view2.cpp:902
#15 0x00007f329342dded in KisView2::qt_static_metacall (_o=0x27ed660, _c=QMetaObject::ReadProperty, _id=-1816426600, _a=0x7f3293bb8750 <main_arena+16>) at /home/wolthera/kde4/build/krita/ui/kis_view2.moc:88
#16 0x00007f3291a04a58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f32933a84f0 in KisDoc2::sigLoadingFinished (this=<optimized out>) at /home/wolthera/kde4/build/krita/ui/kis_doc2.moc:107
#18 0x00007f32933a921f in KisDoc2::completeLoading (this=0x25f5710, store=<optimized out>) at /home/wolthera/kde4/src/calligra/krita/ui/kis_doc2.cc:397
#19 0x00007f3292f389d3 in KoDocument::loadNativeFormatFromStoreInternal (this=this@entry=0x25f5710, store=store@entry=0x6e883a0) at /home/wolthera/kde4/src/calligra/libs/main/KoDocument.cpp:1927
#20 0x00007f3292f39925 in KoDocument::loadNativeFormatFromStore (this=this@entry=0x25f5710, file=...) at /home/wolthera/kde4/src/calligra/libs/main/KoDocument.cpp:1809
#21 0x00007f3292f39ee6 in KoDocument::loadNativeFormat (this=0x25f5710, file_=...) at /home/wolthera/kde4/src/calligra/libs/main/KoDocument.cpp:1789
#22 0x00007f3292f349f8 in KoDocument::openFile (this=0x25f5710) at /home/wolthera/kde4/src/calligra/libs/main/KoDocument.cpp:1588
#23 0x00007f3292f3ac13 in openFile (this=0x2366800) at /home/wolthera/kde4/src/calligra/libs/main/KoDocument.cpp:276
#24 openLocalFile (this=0x2366800) at /home/wolthera/kde4/src/calligra/libs/main/KoDocument.cpp:298
#25 KoDocument::openUrlInternal (this=this@entry=0x25f5710, url=...) at /home/wolthera/kde4/src/calligra/libs/main/KoDocument.cpp:2698
#26 0x00007f3292f3afd8 in KoDocument::openUrl (this=0x25f5710, _url=...) at /home/wolthera/kde4/src/calligra/libs/main/KoDocument.cpp:1261
#27 0x00007f3292fc9f8f in KoPart::openExistingFile (this=this@entry=0x22f6120, url=...) at /home/wolthera/kde4/src/calligra/libs/main/KoPart.cpp:251
#28 0x00007f3293bcb71a in KisSplashScreen::linkClicked (this=0x223a4b0, link=...) at /home/wolthera/kde4/src/calligra/krita/kis_splash_screen.cpp:138
#29 0x00007f3291a04a58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007f32927d66c2 in QLabel::linkActivated(QString const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f3291a04a58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007f329261fec5 in QTextControl::linkActivated(QString const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007f3292623af9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007f3292626dc0 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007f3292627937 in QTextControl::processEvent(QEvent*, QMatrix const&, QWidget*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007f329261d15b in QTextControl::processEvent(QEvent*, QPointF const&, QWidget*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007f32927d6358 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007f329243131e in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007f32927d25be in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#40 0x00007f32923e1dfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007f32923e85ad in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007f3292f2a7b7 in KoApplication::notify (this=<optimized out>, receiver=0x21b0110, event=0x7fffd0f39de0) at /home/wolthera/kde4/src/calligra/libs/main/KoApplication.cpp:622
#43 0x00007f32919f08bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x00007f32923e7d63 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#45 0x00007f329245c7db in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#46 0x00007f329245c079 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007f3292483922 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#48 0x00007f328bbf93b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f328bbf9708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f328bbf97ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f3291a1da55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#52 0x00007f32924839d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#53 0x00007f32919ef5ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#54 0x00007f32919ef8e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#55 0x00007f32919f4e5b in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#56 0x00007f3293bcb334 in kdemain (argc=<optimized out>, argv=<optimized out>) at /home/wolthera/kde4/src/calligra/krita/main.cc:107
#57 0x00007f3293818de5 in __libc_start_main (main=0x4006b0 <main(int, char**)>, argc=1, ubp_av=0x7fffd0f3a7a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd0f3a798) at libc-start.c:260
#58 0x00000000004006de in _start ()

Reported using DrKonqi
Comment 1 Halla Rempt 2014-05-03 17:55:43 UTC
Hm, does that also happen if you disable opengl?
Comment 2 wolthera 2014-05-03 18:26:19 UTC
Created attachment 86432 [details]
Crash without openGL enabled

Ayup. Added in crash-report.

BTW 1: The splash screen doesn't show properly before Krita is loaded if you start up with openGL disabled.(it rendersas a blank window, coloured with theme-settings) After Krita is loaded it looks normal.
Comment 3 wolthera 2014-05-03 18:30:08 UTC
Created attachment 86433 [details]
PNG files are not proper calligra files, apparantly.

BTW 2: Trying to open PNGs nets a 'this is not a proper calligra file'. Remember that I'm on a system where the Krita file-browser doesn't work, and is replaced by a default QT one.

(Also, that about the splash not rendering properly is also with OpenGL on, it must be a recent regression)
Comment 4 Halla Rempt 2014-05-08 12:53:43 UTC
Bah... I cannot reproduce any of these issues!
Comment 5 wolthera 2014-05-19 20:00:23 UTC
Related to https://bugs.kde.org/show_bug.cgi?id=335042

Removing Kritarc 'fixed' the crash.
Comment 6 Halla Rempt 2014-05-20 11:32:59 UTC
*** Bug 335042 has been marked as a duplicate of this bug. ***
Comment 7 Halla Rempt 2014-06-20 13:18:42 UTC
I've tried with several paths with a ) and a space, and I still cannot reproduce...
Comment 8 Halla Rempt 2014-06-20 13:24:41 UTC
Hm, actually, I think we did fix this crash -- I've seen the same backtrace in another context.