Bug 277702 - Krita crash when i try to open a image. Sketches.kra
Summary: Krita crash when i try to open a image. Sketches.kra
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-13 15:28 UTC by RamonMiranda
Modified: 2011-07-16 13:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RamonMiranda 2011-07-13 15:28:56 UTC
Application: krita (2.4 Alpha 2)
KDE Platform Version: 4.5.5 (KDE 4.5.5) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-30-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Krita crashed, i re open the program, and look for open image as usual "sketches.kra" ,i select the file ,hit open, then krita crash. :S

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0c61b1b7a0 (LWP 6604))]

Thread 4 (Thread 0x7f0c4d4df700 (LWP 6605)):
#0  0x00007f0c59527203 in poll () from /lib/libc.so.6
#1  0x00007f0c58986009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f0c589867b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f0c4dc163c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f0c589ab7e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f0c5f513953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f0c61094971 in start_thread () from /lib/libpthread.so.0
#7  0x00007f0c5953392d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0c3431d700 (LWP 6615)):
#0  0x00007f0c61098a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0c6131fe3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f0c6131bb0b in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007f0c60037dae in KisTileDataPooler::waitForWork (this=0x9ddb870) at /home/ramon/Descargas/calligra/calligra-src/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007f0c600385c8 in KisTileDataPooler::run (this=0x9ddb870) at /home/ramon/Descargas/calligra/calligra-src/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007f0c6131f27e in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f0c5f513953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007f0c61094971 in start_thread () from /lib/libpthread.so.0
#8  0x00007f0c5953392d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0c34b1e700 (LWP 6616)):
#0  0x00007f0c61098a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0c6131fe3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f0c6131bdab in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007f0c60055a9a in KisTileDataSwapper::run (this=0x9ddb8a8) at /home/ramon/Descargas/calligra/calligra-src/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#4  0x00007f0c6131f27e in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f0c5f513953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f0c61094971 in start_thread () from /lib/libpthread.so.0
#7  0x00007f0c5953392d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0c61b1b7a0 (LWP 6604)):
[KCrash Handler]
#6  0x00007f0c6063439a in KisOpenGLImageTextures::imageCanUseHDRExposureProgram (image=) at /home/ramon/Descargas/calligra/calligra-src/krita/ui/opengl/kis_opengl_image_textures.cpp:455
#7  0x00007f0c606346ca in KisOpenGLImageTextures::updateTextureFormat (this=0x2761b90) at /home/ramon/Descargas/calligra/calligra-src/krita/ui/opengl/kis_opengl_image_textures.cpp:388
#8  0x00007f0c60634f7a in KisOpenGLImageTextures::createImageTextureTiles (this=0x2761b90) at /home/ramon/Descargas/calligra/calligra-src/krita/ui/opengl/kis_opengl_image_textures.cpp:129
#9  0x00007f0c60636190 in KisOpenGLImageTextures::slotImageSizeChanged (this=0x9d60930, w=0, h=215642096) at /home/ramon/Descargas/calligra/calligra-src/krita/ui/opengl/kis_opengl_image_textures.cpp:282
#10 0x00007f0c604c53d6 in KisCanvas2::connectCurrentImage (this=0xb93c140) at /home/ramon/Descargas/calligra/calligra-src/krita/ui/canvas/kis_canvas2.cpp:357
#11 0x00007f0c605e8b6b in KisView2::connectCurrentImage (this=0x9dc1210) at /home/ramon/Descargas/calligra/calligra-src/krita/ui/kis_view2.cpp:728
#12 0x00007f0c605eadbf in KisView2::slotLoadingFinished (this=0x9dc1210) at /home/ramon/Descargas/calligra/calligra-src/krita/ui/kis_view2.cpp:627
#13 0x00007f0c605eb5e4 in KisView2::qt_metacall (this=0x9dc1210, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff32a21080) at /home/ramon/Descargas/calligra/calligra-build/krita/ui/kis_view2.moc:92
#14 0x00007f0c6142ab27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0x00007f0c60554222 in KisDoc2::completeLoading (this=0x7f0c2c2cd0c0, store=0x95238d0) at /home/ramon/Descargas/calligra/calligra-src/krita/ui/kis_doc2.cc:326
#16 0x00007f0c5fccc8d7 in KoDocument::loadNativeFormatFromStoreInternal (this=0x7f0c2c2cd0c0, store=0x95238d0) at /home/ramon/Descargas/calligra/calligra-src/libs/main/KoDocument.cpp:1932
#17 0x00007f0c5fccd802 in KoDocument::loadNativeFormatFromStore (this=0x7f0c2c2cd0c0, file=...) at /home/ramon/Descargas/calligra/calligra-src/libs/main/KoDocument.cpp:1814
#18 0x00007f0c5fccda61 in KoDocument::loadNativeFormat (this=0x7f0c2c2cd0c0, file_=<value optimized out>) at /home/ramon/Descargas/calligra/calligra-src/libs/main/KoDocument.cpp:1794
#19 0x00007f0c5fcc938f in KoDocument::openFile (this=0x7f0c2c2cd0c0) at /home/ramon/Descargas/calligra/calligra-src/libs/main/KoDocument.cpp:1579
#20 0x00007f0c5fa13987 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#21 0x00007f0c5fcc71dc in KoDocument::openUrl (this=0x7f0c2c2cd0c0, _url=...) at /home/ramon/Descargas/calligra/calligra-src/libs/main/KoDocument.cpp:1262
#22 0x00007f0c5fcbf37d in KoDocument::openExistingFile (this=0x9d60930, url=...) at /home/ramon/Descargas/calligra/calligra-src/libs/main/KoDocument.cpp:2604
#23 0x00007f0c605523e1 in KisDoc2::openExistingFile (this=0x7f0c2c2cd0c0, url=...) at /home/ramon/Descargas/calligra/calligra-src/krita/ui/kis_doc2.cc:184
#24 0x00007f0c60557936 in KisDoc2::qt_metacall (this=0x7f0c2c2cd0c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff32a224f0) at /home/ramon/Descargas/calligra/calligra-build/krita/ui/kis_doc2.moc:87
#25 0x00007f0c6142ab27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#26 0x00007f0c5fd37492 in KoOpenPane::openExistingFile (this=0x9d60930, _t1=<value optimized out>) at /home/ramon/Descargas/calligra/calligra-build/libs/main/KoOpenPane.moc:104
#27 0x00007f0c5fd37b80 in KoOpenPane::qt_metacall (this=0x7f0c2c2ee340, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff32a22620) at /home/ramon/Descargas/calligra/calligra-build/libs/main/KoOpenPane.moc:86
#28 0x00007f0c6142ab27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#29 0x00007f0c5fd36d72 in KoExistingDocumentPane::openExistingUrl (this=0x9d60930, _t1=<value optimized out>) at /home/ramon/Descargas/calligra/calligra-build/libs/main/KoExistingDocumentPane.moc:89
#30 0x00007f0c5fd36df9 in KoExistingDocumentPane::onAccepted (this=0x95dc7d0) at /home/ramon/Descargas/calligra/calligra-src/libs/main/KoExistingDocumentPane.cpp:56
#31 0x00007f0c5fd36e81 in KoExistingDocumentPane::qt_metacall (this=0x95dc7d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff32a22730) at /home/ramon/Descargas/calligra/calligra-build/libs/main/KoExistingDocumentPane.moc:77
#32 0x00007f0c6142ab27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#33 0x00007f0c564a84f8 in KFileWidget::slotOk() () from /usr/lib/libkfile.so.4
#34 0x00007f0c5649df76 in ?? () from /usr/lib/libkfile.so.4
#35 0x00007f0c564a1b3e in KFileWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkfile.so.4
#36 0x00007f0c6142ab27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#37 0x00007f0c5647f785 in KDirOperator::fileSelected(KFileItem const&) () from /usr/lib/libkfile.so.4
#38 0x00007f0c5648027c in KDirOperator::Private::_k_slotActivated(QModelIndex const&) () from /usr/lib/libkfile.so.4
#39 0x00007f0c5648bb8d in KDirOperator::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkfile.so.4
#40 0x00007f0c6142ab27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#41 0x00007f0c5b342705 in QAbstractItemView::activated(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#42 0x00007f0c5b345357 in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#43 0x00007f0c5ae4dc92 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#44 0x00007f0c5b2195e6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#45 0x00007f0c5b352a8b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#46 0x00007f0c61412507 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#47 0x00007f0c5adf7fac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#48 0x00007f0c5adfe30e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#49 0x00007f0c5bb4b586 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#50 0x00007f0c61412cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#51 0x00007f0c5adfcdbe in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#52 0x00007f0c5ae80345 in ?? () from /usr/lib/libQtGui.so.4
#53 0x00007f0c5ae7ec5c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#54 0x00007f0c5aeabb6f in ?? () from /usr/lib/libQtGui.so.4
#55 0x00007f0c61411a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#56 0x00007f0c61411dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#57 0x00007f0c61415ebb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#58 0x00007f0c617493a5 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/ramon/Descargas/calligra/calligra-src/krita/main.cc:49
#59 0x00007f0c5946bd8e in __libc_start_main () from /lib/libc.so.6
#60 0x00000000004008b9 in _start ()

Reported using DrKonqi
Comment 1 Halla Rempt 2011-07-13 15:55:02 UTC
Hm....

#6  0x00007f0c6063439a in KisOpenGLImageTextures::imageCanUseHDRExposureProgram

Something weird going on, but I guess that if you disable the opengl canvas, you can load the image again. Can you let me have the image so I can test myself?
Comment 2 RamonMiranda 2011-07-13 17:34:15 UTC
here goes the image.

What does open gl canvas then?

2011/7/13 <boud@valdyas.org>

> https://bugs.kde.org/show_bug.cgi?id=277702
>
>
> boud@valdyas.org changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |boud@valdyas.org
>
>
>
>
> --- Comment #1 from  <boud valdyas org>  2011-07-13 15:55:02 ---
> Hm....
>
> #6  0x00007f0c6063439a in
> KisOpenGLImageTextures::imageCanUseHDRExposureProgram
>
> Something weird going on, but I guess that if you disable the opengl
> canvas,
> you can load the image again. Can you let me have the image so I can test
> myself?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Halla Rempt 2011-07-13 18:10:27 UTC
Well, the opengl canvas uses opengl to draw the image. This is tricky, especially because graphics drivers on linux are a very mixed bag. It can also, depending on the driver be slow. Or it can be fast -- and if you've got a really nice monitor, one that can do 12 bits/channel or more, krita can use opengl to make use of all that depth. It's the only free software graphics app that can, actually, to my knowledge.
Comment 4 Halla Rempt 2011-07-16 13:55:51 UTC
I'm closing this bug -- it's a problem in the opengl drivers on Linux...