Bug 295169 - Photoshop .psd export crashes Krita every time
Summary: Photoshop .psd export crashes Krita every time
Status: RESOLVED DUPLICATE of bug 292960
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Chakra Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-01 19:28 UTC by Kubuntiac
Modified: 2012-03-01 19:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kubuntiac 2012-03-01 19:28:22 UTC
Application: krita (2.4 Beta 7)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.8.0
Operating System: Linux 3.2-CHAKRA x86_64
Distribution: "Chakra Linux"

-- Information about the crash:
Every time I choose File -> Export -> Photoshop .PSD Krita crashes just after choosing the file name.

I'm doing it with the default custom document.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6680273760 (LWP 21826))]

Thread 6 (Thread 0x7f665b0ff700 (LWP 21831)):
#0  0x00007f667eae2b54 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f667ed7012b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f667ed6bf64 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007f666ad9448e in KisTileDataPooler::waitForWork (this=0x242c9c0) at /home/user/Apps/calligra/calligra-src/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007f666ad94b74 in KisTileDataPooler::run (this=0x242c9c0) at /home/user/Apps/calligra/calligra-src/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007f667ed6fc1b in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f667eadedf0 in start_thread () from /lib/libpthread.so.0
#7  0x00007f667d85839d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f665a8fe700 (LWP 21832)):
#0  0x00007f667eae2b54 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f667ed7012b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f667ed6c3a9 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007f666adb573a in KisTileDataSwapper::run (this=0x242c9f8) at /home/user/Apps/calligra/calligra-src/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#4  0x00007f667ed6fc1b in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f667eadedf0 in start_thread () from /lib/libpthread.so.0
#6  0x00007f667d85839d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6659894700 (LWP 21841)):
#0  0x00007f667d8521d3 in select () from /lib/libc.so.6
#1  0x00007f667ee99e96 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/libQtCore.so.4
#2  0x00007f667ee9f31d in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#3  0x00007f667ee9f803 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f667ee6ce22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f667ee6d077 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f667ed6cbf7 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f667ee4cc9f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f667ed6fc1b in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f667eadedf0 in start_thread () from /lib/libpthread.so.0
#10 0x00007f667d85839d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f664da15700 (LWP 21875)):
#0  0x00007f667eae2b54 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f667ed7012b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f667e4e2bf4 in ?? () from /usr/lib/libQtGui.so.4
#3  0x00007f667ed6fc1b in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f667eadedf0 in start_thread () from /lib/libpthread.so.0
#5  0x00007f667d85839d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f664d214700 (LWP 21876)):
#0  0x00007f667d8521d3 in select () from /lib/libc.so.6
#1  0x00007f667ee99e96 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/libQtCore.so.4
#2  0x00007f667ee9f31d in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#3  0x00007f667ee9f803 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f667ee6ce22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f667ee6d077 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f667ed6cbf7 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f667ee4cc9f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f667ed6fc1b in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f667eadedf0 in start_thread () from /lib/libpthread.so.0
#10 0x00007f667d85839d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6680273760 (LWP 21826)):
[KCrash Handler]
#6  0x00007f6645a043fb in fetchAndAddOrdered (valueToAdd=2, this=0x1) at /usr/include/QtCore/qatomic_x86_64.h:164
#7  load (this=0x7fff03ce9f80, newValue=0x6c79d70) at /home/user/Apps/calligra/calligra-src/krita/image/kis_shared_ptr.h:421
#8  KisWeakSharedPtr (this=0x7fff03ce9f80, o=<optimized out>) at /home/user/Apps/calligra/calligra-src/krita/image/kis_shared_ptr.h:269
#9  psdExport::convert (this=<optimized out>, from=<optimized out>, to=<optimized out>) at /home/user/Apps/calligra/calligra-src/krita/plugins/formats/psd/psd_export.cc:76
#10 0x00007f666aa414e6 in CalligraFilter::ChainLink::invokeFilter (this=0x7f66573d2080, parentChainLink=0x0) at /home/user/Apps/calligra/calligra-src/libs/main/KoFilterChainLink.cpp:90
#11 0x00007f666aa38d79 in KoFilterChain::invokeChain (this=0x7f6656340ed0) at /home/user/Apps/calligra/calligra-src/libs/main/KoFilterChain.cpp:94
#12 0x00007f666aa359b4 in KoFilterManager::exportDocument (this=0x7f66573e26e0, url=<optimized out>, mimeType=...) at /home/user/Apps/calligra/calligra-src/libs/main/KoFilterManager.cpp:243
#13 0x00007f666a9e6b83 in KoDocument::saveFile (this=0x3089a20) at /home/user/Apps/calligra/calligra-src/libs/main/KoDocument.cpp:536
#14 0x00007f6674a4ea60 in KParts::ReadWritePart::save() () from /usr/lib/libkparts.so.4
#15 0x00007f6674a4ddf1 in KParts::ReadWritePart::saveAs(KUrl const&) () from /usr/lib/libkparts.so.4
#16 0x00007f666a9e1987 in KoDocument::exportDocument (this=0x3089a20, _url=...) at /home/user/Apps/calligra/calligra-src/libs/main/KoDocument.cpp:465
#17 0x00007f666aa12e45 in KoMainWindow::saveDocument (this=0x7f66542f13a0, saveas=<optimized out>, silent=false) at /home/user/Apps/calligra/calligra-src/libs/main/KoMainWindow.cpp:981
#18 0x00007f666aa0d1d4 in KoMainWindow::slotFileSaveAs (this=0x7f66542f13a0) at /home/user/Apps/calligra/calligra-src/libs/main/KoMainWindow.cpp:1251
#19 0x00007f666aa0c306 in KoMainWindow::slotExportFile (this=0x7f66542f13a0) at /home/user/Apps/calligra/calligra-src/libs/main/KoMainWindow.cpp:1806
#20 0x00007f666aa11b65 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x7f66542f13a0, _c=<optimized out>) at /home/user/Apps/calligra/calligra-build/libs/main/KoMainWindow.moc:143
#21 KoMainWindow::qt_static_metacall (_o=0x7f66542f13a0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/user/Apps/calligra/calligra-build/libs/main/KoMainWindow.moc:105
#22 0x00007f667ee81dc1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#23 0x00007f667dfd8272 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#24 0x00007f667dfd845f in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#25 0x00007f667e424d09 in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f667e42ae12 in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007f667fd15f70 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#28 0x00007f667e02edd4 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007f667e42c3ab in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x00007f667dfde724 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x00007f667dfe3e73 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x00007f667fc554f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#33 0x00007f667ee6e03c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#34 0x00007f667dfdf6f2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#35 0x00007f667e05be64 in ?? () from /usr/lib/libQtGui.so.4
#36 0x00007f667e05a5da in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#37 0x00007f667e08263a in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007f667ee6ce22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x00007f667ee6d077 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0x00007f667ee71bd5 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#41 0x00007f666b86071d in kdemain (argc=<optimized out>, argv=<optimized out>) at /home/user/Apps/calligra/calligra-src/krita/main.cc:72
#42 0x00000000004087df in _start ()

Possible duplicates by query: bug 251451.

Reported using DrKonqi
Comment 1 Sven Langkamp 2012-03-01 19:40:52 UTC
Not sure how you got the export functionality, but there is no PDF export. Probably some old stuff that is still installed.
Comment 2 Halla Rempt 2012-03-01 19:49:34 UTC
Yes, we used to install the export stub... Now it crashes, it used to do nothing. The lack of export is tracked in bug 292960.

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