Application: krita (2.4.1) KDE Platform Version: 4.8.2 (4.8.2) Qt Version: 4.8.1 Operating System: Linux 3.3.2-1.fc17.x86_64 x86_64 Distribution: "Fedora release 17 (Beefy Miracle)" -- Information about the crash: Tried to open pdf file. One exact (quite small) file. Opened other files without problems and also this file with Okular with no problems. The crash can be reproduced every time. -- Backtrace: Application: Krita (krita), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". 82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [Current thread is 1 (Thread 0x7f2e1abf4880 (LWP 14538))] Thread 3 (Thread 0x7f2e06991700 (LWP 14539)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166 #1 0x00000038eb87ba3b in wait (time=18446744073709551615, this=0x4aa2320) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x4aa22d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00000038eb8779f7 in QSemaphore::acquire (this=0x4aa2020, n=1) at thread/qsemaphore.cpp:144 #4 0x00007f2e1ce1b58e in KisTileDataPooler::waitForWork (this=this@entry=0x4aa2010) at /usr/src/debug/calligra-2.4.1/krita/image/tiles3/kis_tile_data_pooler.cc:162 #5 0x00007f2e1ce1bc6b in KisTileDataPooler::run (this=0x4aa2010) at /usr/src/debug/calligra-2.4.1/krita/image/tiles3/kis_tile_data_pooler.cc:184 #6 0x00000038eb87b53b in QThreadPrivate::start (arg=0x4aa2010) at thread/qthread_unix.cpp:298 #7 0x0000003b52607d14 in start_thread (arg=0x7f2e06991700) at pthread_create.c:309 #8 0x0000003b51af194d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7f2e06190700 (LWP 14540)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166 #1 0x00000038eb87ba3b in wait (time=18446744073709551615, this=0x4aa2ba0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x4aa26a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00000038eb877dc8 in QSemaphore::tryAcquire (this=0x4aa2390, n=1, timeout=<optimized out>) at thread/qsemaphore.cpp:221 #4 0x00007f2e1ce3c8ca in KisTileDataSwapper::run (this=0x4aa2048) at /usr/src/debug/calligra-2.4.1/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #5 0x00000038eb87b53b in QThreadPrivate::start (arg=0x4aa2048) at thread/qthread_unix.cpp:298 #6 0x0000003b52607d14 in start_thread (arg=0x7f2e06190700) at pthread_create.c:309 #7 0x0000003b51af194d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7f2e1abf4880 (LWP 14538)): [KCrash Handler] #6 Poppler::Document::setRenderHint (this=0x0, hint=Poppler::Document::Antialiasing, on=true) at poppler-document.cc:518 #7 0x00007f2df224a71f in KisPDFImport::convert (this=0x4efc190) at /usr/src/debug/calligra-2.4.1/krita/plugins/formats/pdf/kis_pdf_import.cpp:90 #8 0x00007f2e1cacc4f6 in CalligraFilter::ChainLink::invokeFilter (this=0x4c93330, parentChainLink=0x0) at /usr/src/debug/calligra-2.4.1/libs/main/KoFilterChainLink.cpp:90 #9 0x00007f2e1cac47ed in KoFilterChain::invokeChain (this=0x4ea6d80) at /usr/src/debug/calligra-2.4.1/libs/main/KoFilterChain.cpp:94 #10 0x00007f2e1cac2bc6 in KoFilterManager::importDocument (this=0x4db5790, url=..., documentMimeType=..., status=@0x7fff803ace8c: 32767) at /usr/src/debug/calligra-2.4.1/libs/main/KoFilterManager.cpp:170 #11 0x00007f2e1ca7a2df in KoDocument::openFile (this=0x4d1a570) at /usr/src/debug/calligra-2.4.1/libs/main/KoDocument.cpp:1563 #12 0x00000038f2c275a0 in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x4d29d40) at /usr/src/debug/kdelibs-4.8.2/kparts/part.cpp:590 #13 0x00000038f2c27b34 in KParts::ReadOnlyPart::openUrl (this=0x4d1a570, url=...) at /usr/src/debug/kdelibs-4.8.2/kparts/part.cpp:554 #14 0x00007f2e1ca7e3ef in KoDocument::openUrl (this=0x4d1a570, _url=...) at /usr/src/debug/calligra-2.4.1/libs/main/KoDocument.cpp:1321 #15 0x00007f2e1ca96fe7 in KoMainWindow::openDocumentInternal (this=0x4d53120, url=..., newdoc=0x4d1a570) at /usr/src/debug/calligra-2.4.1/libs/main/KoMainWindow.cpp:674 #16 0x00007f2e1ca95e93 in KoMainWindow::openDocument (this=0x4d53120, newdoc=0x4d1a570, url=...) at /usr/src/debug/calligra-2.4.1/libs/main/KoMainWindow.cpp:657 #17 0x00007f2e1ca6e794 in KoApplication::start (this=<optimized out>) at /usr/src/debug/calligra-2.4.1/libs/main/KoApplication.cpp:304 #18 0x00007f2e1d8dcc17 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/calligra-2.4.1/krita/main.cc:63 #19 0x0000003b51a21735 in __libc_start_main (main=0x4008e0 <main(int, char**)>, argc=2, ubp_av=0x7fff803ad738, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff803ad728) at libc-start.c:226 #20 0x0000000000400911 in _start () Reported using DrKonqi
Could you attach the pdf?
Created attachment 70607 [details] File which causes the crash of Krita
Hm... On my opensuse system I can open the pdf without problems. I wonder what's going on here.
Could be just Fedora 17 problem...
Works here too with Kubuntu.
Hm, or a locale issue... Poppler::Document* pdoc = Poppler::Document::load(QFile::encodeName(url.toLocalFile())); Could you tell me the exact path to the document and the locale of your system?
Hi, the path is: /home/gio/Stažené/Hemsideinfo.pdf and my locale is: cs_CZ.UTF-8 When I move it to /home/gio (to avoid the accented letters in path) it opened OK. Actually, it crashed the first time I had tried to open it. Then it opened several times OK.
Right... then the accents in the path are likely the issue.
Git commit a8b71343e09dabeb315cf264031854855e27b087 by Sven Langkamp. Committed on 24/04/2012 at 18:10. Pushed by langkamp into branch 'master'. fix crash on opening pdf with special characters in the path M +1 -1 krita/plugins/formats/pdf/kis_pdf_import.cpp http://commits.kde.org/calligra/a8b71343e09dabeb315cf264031854855e27b087
Ok, thank you very much. This is amazing how the community works. BTW my first bug report and I will continue ;-)
Looking forward to more reports!
Git commit cc0e8a31a1f2d41e3e75250070bdae17aaa7343d by Boudewijn Rempt, on behalf of Sven Langkamp. Committed on 24/04/2012 at 18:10. Pushed by rempt into branch 'calligra/2.4'. fix crash on opening pdf with special characters in the path M +1 -1 krita/plugins/formats/pdf/kis_pdf_import.cpp http://commits.kde.org/calligra/cc0e8a31a1f2d41e3e75250070bdae17aaa7343d
Created attachment 77966 [details] New crash information added by DrKonqi krita (2.4.0) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1 - What I was doing when the application crashed: Opening a file with special characters , in this case german "Umlaut" (ä,ö,ü) Could very well be, the bug is already fixed in a newer version. - Custom settings of the application: none -- Backtrace (Reduced): #7 Poppler::Document::setRenderHint (this=0x0, hint=Poppler::Document::Antialiasing, on=true) at poppler-document.cc:522 #8 0xace3ad01 in KisPDFImport::convert (this=0xd5d0338) at /build/buildd/calligra-2.4.0/krita/plugins/formats/pdf/kis_pdf_import.cpp:90 #9 0xb72e5667 in CalligraFilter::ChainLink::invokeFilter (this=0xd23deb0, parentChainLink=0x0) at /build/buildd/calligra-2.4.0/libs/main/KoFilterChainLink.cpp:90 #10 0xb72dc09a in KoFilterChain::invokeChain (this=0xd4b6b78) at /build/buildd/calligra-2.4.0/libs/main/KoFilterChain.cpp:94 #11 0xb72da1e6 in KoFilterManager::importDocument (this=0xd2e6838, url=..., documentMimeType=..., status=@0xbf97a360: 3214386224) at /build/buildd/calligra-2.4.0/libs/main/KoFilterManager.cpp:170
Yes, the bug was already fixed.