Bug 263231 - Krita crashed after opening a picture without embedded color profile.
Summary: Krita crashed after opening a picture without embedded color profile.
Status: RESOLVED DUPLICATE of bug 262941
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-15 15:37 UTC by Ico_dY
Modified: 2011-01-19 21:08 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 Ico_dY 2011-01-15 15:37:29 UTC
Application: krita (2.4 Alpha 1)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Linux Mint 10 Julia

-- Information about the crash:
- What I was doing when the application crashed:
1) I've clicked on "open document".
2) I've selected the picture to load.

The crash can be reproduced some of the time.

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

Thread 6 (Thread 0x7f2c0c443700 (LWP 14227)):
#0  0x00007f2c14e96203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2c142f5009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f2c142f57b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f2c0cb7a0f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f2c1431a7e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f2c1cd54971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f2c14ea292d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2be9106700 (LWP 14248)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2c1cfdfe3b in wait (this=<value optimized out>, mutex=0x541db60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x541db60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f2c1cfdbb0b in QSemaphore::acquire (this=0x56ea9e0, n=1) at thread/qsemaphore.cpp:144
#4  0x00007f2c1c4c59fe in KisTileDataPooler::waitForWork (this=0x56ea9d0) at /media/sda7/Build/Koffice/koffice-src/krita/image/tiles3/kis_tile_data_pooler.cc:127
#5  0x00007f2c1c4c5c48 in KisTileDataPooler::run (this=0x56ea9d0) at /media/sda7/Build/Koffice/koffice-src/krita/image/tiles3/kis_tile_data_pooler.cc:156
#6  0x00007f2c1cfdf27e in QThreadPrivate::start (arg=0x56ea9d0) at thread/qthread_unix.cpp:266
#7  0x00007f2c1cd54971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#8  0x00007f2c14ea292d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2be8905700 (LWP 14249)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2c1cfdfe3b in wait (this=<value optimized out>, mutex=0x54fbba0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x54fbba0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f2c1cfdbdab in QSemaphore::tryAcquire (this=0x56ed3b0, n=1, timeout=<value optimized out>) at thread/qsemaphore.cpp:221
#4  0x00007f2c1c4e2a6a in KisTileDataSwapper::run (this=0x56eaa00) at /media/sda7/Build/Koffice/koffice-src/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#5  0x00007f2c1cfdf27e in QThreadPrivate::start (arg=0x56eaa00) at thread/qthread_unix.cpp:266
#6  0x00007f2c1cd54971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f2c14ea292d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2be7102700 (LWP 14262)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x00007f2be5a4cd98 in ?? () from /usr/lib64/dri/fglrx_dri.so
#2  0x00007f2be5a4ccbd in ?? () from /usr/lib64/dri/fglrx_dri.so
#3  0x00007f2c1cd54971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f2c14ea292d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2be7903700 (LWP 14263)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x00007f2be5a4cd98 in ?? () from /usr/lib64/dri/fglrx_dri.so
#2  0x00007f2be5a4ccbd in ?? () from /usr/lib64/dri/fglrx_dri.so
#3  0x00007f2c1cd54971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f2c14ea292d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2c1d6cd780 (LWP 14226)):
[KCrash Handler]
#6  0x00007f2c1d0ea4bf in QObject::disconnect (sender=0x56b1420, signal=<value optimized out>, receiver=0x538dd30, method=<value optimized out>) at kernel/qobject.cpp:2730
#7  0x00007f2c1c9da2e8 in disconnect (this=0x538dd30, image=) at /usr/include/qt4/QtCore/qobject.h:229
#8  KisNodeModel::setImage (this=0x538dd30, image=) at /media/sda7/Build/Koffice/koffice-src/krita/ui/kis_node_model.cpp:70
#9  0x00007f2c1c99b33d in KisDoc2::setCurrentImage (this=0x5359680, image=<value optimized out>) at /media/sda7/Build/Koffice/koffice-src/krita/ui/kis_doc2.cc:551
#10 0x00007f2be910a2e1 in KisPNGImport::convert (this=<value optimized out>, to=<value optimized out>) at /media/sda7/Build/Koffice/koffice-src/krita/plugins/formats/png/kis_png_import.cc:97
#11 0x00007f2c1bcc0522 in KOfficeFilter::ChainLink::invokeFilter (this=0x7725260, parentChainLink=0x0) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoFilterChainLink.cpp:90
#12 0x00007f2c1bcb6a5b in KoFilterChain::invokeChain (this=0x5fc26e0) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoFilterChain.cpp:94
#13 0x00007f2c1bcb49a8 in KoFilterManager::importDocument (this=0x56e9790, url=<value optimized out>, status=<value optimized out>) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoFilterManager.cpp:164
#14 0x00007f2c1bc643a8 in KoDocument::openFile (this=0x5359680) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoDocument.cpp:1339
#15 0x00007f2c1b9b3987 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#16 0x00007f2c1bc63cfc in KoDocument::openUrl (this=0x5359680, _url=...) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoDocument.cpp:1253
#17 0x00007f2c1bc5a9cd in KoDocument::openExistingFile (this=0x56b1420, url=...) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoDocument.cpp:2441
#18 0x00007f2c1c99b041 in KisDoc2::openExistingFile (this=0x5359680, url=...) at /media/sda7/Build/Koffice/koffice-src/krita/ui/kis_doc2.cc:188
#19 0x00007f2c1c99fb16 in KisDoc2::qt_metacall (this=0x5359680, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff73a4cea0) at /media/sda7/Build/Koffice/koffice-build/krita/ui/kis_doc2.moc:87
#20 0x00007f2c1d0eab27 in QMetaObject::activate (sender=0x53f90a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#21 0x00007f2c1bcd0dc2 in KoOpenPane::openExistingFile (this=0x56b1420, _t1=<value optimized out>) at /media/sda7/Build/Koffice/koffice-build/libs/main/KoOpenPane.moc:104
#22 0x00007f2c1bcd14b0 in KoOpenPane::qt_metacall (this=0x53f90a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff73a4cfd0) at /media/sda7/Build/Koffice/koffice-build/libs/main/KoOpenPane.moc:86
#23 0x00007f2c1d0eab27 in QMetaObject::activate (sender=0x5444340, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#24 0x00007f2c1bcd06a2 in KoExistingDocumentPane::openExistingUrl (this=0x56b1420, _t1=<value optimized out>) at /media/sda7/Build/Koffice/koffice-build/libs/main/KoExistingDocumentPane.moc:89
#25 0x00007f2c1bcd0729 in KoExistingDocumentPane::onAccepted (this=0x5444340) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoExistingDocumentPane.cpp:56
#26 0x00007f2c1bcd07b1 in KoExistingDocumentPane::qt_metacall (this=0x5444340, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff73a4d0e0) at /media/sda7/Build/Koffice/koffice-build/libs/main/KoExistingDocumentPane.moc:77
#27 0x00007f2c1d0eab27 in QMetaObject::activate (sender=0x53baa40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#28 0x00007f2c12df84f8 in KFileWidget::slotOk() () from /usr/lib/libkfile.so.4
#29 0x00007f2c12dedf76 in ?? () from /usr/lib/libkfile.so.4
#30 0x00007f2c12df1b3e in KFileWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkfile.so.4
#31 0x00007f2c1d0eab27 in QMetaObject::activate (sender=0x5472480, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#32 0x00007f2c12dcf785 in KDirOperator::fileSelected(KFileItem const&) () from /usr/lib/libkfile.so.4
#33 0x00007f2c12dd027c in KDirOperator::Private::_k_slotActivated(QModelIndex const&) () from /usr/lib/libkfile.so.4
#34 0x00007f2c12ddbb8d in KDirOperator::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkfile.so.4
#35 0x00007f2c1d0eab27 in QMetaObject::activate (sender=0x548e470, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#36 0x00007f2c16cb1705 in QAbstractItemView::activated (this=0x56b1420, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:345
#37 0x00007f2c16cb4357 in QAbstractItemView::mouseDoubleClickEvent (this=0x548e470, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1824
#38 0x00007f2c167bcc92 in QWidget::event (this=0x548e470, event=0x7fff73a4e680) at kernel/qwidget.cpp:8191
#39 0x00007f2c16b885e6 in QFrame::event (this=0x548e470, e=0x7fff73a4e680) at widgets/qframe.cpp:557
#40 0x00007f2c16cc1a8b in QAbstractItemView::viewportEvent (this=0x548e470, event=0x7fff73a4e680) at itemviews/qabstractitemview.cpp:1619
#41 0x00007f2c1d0d2507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x51848e0, event=0x7fff73a4e680) at kernel/qcoreapplication.cpp:847
#42 0x00007f2c16766fac in QApplicationPrivate::notify_helper (this=0x15b7560, receiver=0x51848e0, e=0x7fff73a4e680) at kernel/qapplication.cpp:4392
#43 0x00007f2c1676d30e in QApplication::notify (this=0x7fff73a4f180, receiver=0x51848e0, e=0x7fff73a4e680) at kernel/qapplication.cpp:3959
#44 0x00007f2c174ba586 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#45 0x00007f2c1d0d2cdc in QCoreApplication::notifyInternal (this=0x7fff73a4f180, receiver=0x51848e0, event=0x7fff73a4e680) at kernel/qcoreapplication.cpp:732
#46 0x00007f2c1676bdbe in sendEvent (receiver=0x51848e0, event=0x7fff73a4e680, alienWidget=0x51848e0, nativeWidget=0x188ba20, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#47 QApplicationPrivate::sendMouseEvent (receiver=0x51848e0, event=0x7fff73a4e680, alienWidget=0x51848e0, nativeWidget=0x188ba20, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#48 0x00007f2c167ef345 in QETWidget::translateMouseEvent (this=0x188ba20, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#49 0x00007f2c167edc5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff73a4efb0) at kernel/qapplication_x11.cpp:3536
#50 0x00007f2c1681ab6f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:132
#51 0x00007f2c1d0d1a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#52 0x00007f2c1d0d1dec in QEventLoop::exec (this=0x7fff73a4f130, flags=) at kernel/qeventloop.cpp:201
#53 0x00007f2c1d0d5ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#54 0x00007f2c1d409325 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /media/sda7/Build/Koffice/koffice-src/krita/main.cc:49
#55 0x00007f2c14ddad8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff73a4f318) at libc-start.c:226
#56 0x00000000004008b9 in _start ()

Reported using DrKonqi
Comment 1 Halla Rempt 2011-01-15 15:39:32 UTC
Thanks for your report! Is it possible to make the file you tried to load available to us? 

(btw -- We've managed to make the memory consumption of Krita with big images more reasonable in 2.3.1, which will be tagged later tonight).
Comment 2 Ico_dY 2011-01-15 16:15:41 UTC
> From: boud@valdyas.org
> To: enrico_guarnieri@hotmail.com
> Subject: [Bug 263231] Krita crashed after opening a picture without embedded color profile.
> Date: Sat, 15 Jan 2011 15:41:09 +0100
> 
> https://bugs.kde.org/show_bug.cgi?id=263231
> 
> --- Comment #1 from  <boud valdyas org>  2011-01-15 15:39:32 ---
> Thanks for your report! Is it possible to make the file you tried to load
> available to us? > 
> (btw -- We've managed to make the memory consumption of Krita with big images
> more reasonable in 2.3.1, which will be tagged later tonight).
> 
The file is in attachment... ( you can download it from here too: http://www.mediafire.com/?a24wafcvpantp77 )But it has a small resolution, so I don't think it's a memory related problem. ^^
Comment 3 Sven Langkamp 2011-01-15 16:33:43 UTC
Doesn't crash here.
Comment 4 Ico_dY 2011-01-15 17:24:39 UTC
Here's a similar report:
https://bugs.kde.org/show_bug.cgi?id=262941
Comment 5 Halla Rempt 2011-01-19 21:08:20 UTC
yes, you are right. This is the same problem. I'm on the case, thanks for helping investigating.

*** This bug has been marked as a duplicate of bug 262941 ***