Created attachment 103192 [details] A backtrace (some symbols missing) Generally rotation of PDF files works fine, however I came across a file that doesn't cause Okular to crash if you open it and just scroll a bit, but does when you rotate it and you scroll for a bit. Maybe it's just an issue with the file being invalid PDF, however I thought I would report the issue anyway since it might be a more fundamental issue which shouldn't cause Okular to crash. Specfically it happened with this PDF file: https://web.archive.org/web/20050521074830/http://informatik.unibas.ch:80/lehre/ss03/algorechnen/online/folien/lekt5.pdf I attached a backtrace, worth noting is that I got the following message initially when running the release version but not anymore when I tried creating the backtrace with a debug mode: org.kde.okular.generators.pdf: [Poppler] "Error: Bad bounding box in Type 3 glyph"
I cannot reproduce this with the current git master on a current Debian testing system (with poppler 0.48.0). This may well be because my okular is not built with optimization ("release mode"). I do see the error message about the bad bounding box. How do you rotate? How do you scroll? By mouse wheel? Arrow keys? Touch pad? How long is "scroll for a bit"? Unfortunately, your back-trace does not help much, because the debug symbols are missing.
Sorry for my late reply. I tried reproducing the issue on another machine and I wasn't able to do so, even though they were both running the most recent update of Arch Linux at the time of testing. I suspect it might be an issue with the graphics stack. The system where it fails has a MCP7A GeForce 9400 and is running nouveau. I will later try the proprietary nvidia drivers to see if it is by any chance an issue with nouveau and not somewhere else in the stack. (I will probably try reproducing the issue on Debian testing first since there I could create a better backtrace more easily I guess.)
> Specfically it happened with this PDF file: > https://web.archive.org/web/20050521074830/http://informatik.unibas.ch:80/ > lehre/ss03/algorechnen/online/folien/lekt5.pdf Same for me with openSUSE Tumbleweed. Hardware (AMD/ATI RS780, Radeon HD 3200) is run by radeon driver. Software versions: Okular 1.0.3 (KDE Applications 16.12.3) KDE Frameworks 5.31.0 Qt 5.7.1 Poppler 0.52.0 Linux kernel 4.10.3
Created attachment 108120 [details] journald log of okular crashing I've also experienced Okular crashing while rotating some pdf files, but it's hard to reproduce - not that it's particularly rare but I don't know what triggers it, it seems random. I can open some file and click the rotate button and it will crash immediately and then open the same file again and rotate multiple times without okular crashing. This is what I see in dmesg: [602308.448068] Queue(0x55fab8e[32636]: segfault at 7f6c80e06a50 ip 00007f6c80e06a50 sp 00007f6c4ec47d98 error 15 in libQt5Gui.so.5.9.1[7f6c80dfe000+11000] [602379.844094] Queue(0x55e4077[32683]: segfault at 7fb0a119aa50 ip 00007fb0a119aa50 sp 00007fb06e7fbd98 error 15 in libQt5Gui.so.5.9.1[7fb0a1192000+11000] [602421.140441] Queue(0x55ef002[374]: segfault at 7f3786826a50 ip 00007f3786826a50 sp 00007f37597c1d98 error 15 in libQt5Gui.so.5.9.1[7f378681e000+11000] [602434.107134] Queue(0x5632d6e[715]: segfault at 7fb6813eda50 ip 00007fb6813eda50 sp 00007fb6427fbd98 error 15 in libQt5Gui.so.5.9.1[7fb6813e5000+11000] [602461.503357] okular[734]: segfault at 0 ip (null) sp 00007ffdbe2448e8 error 14 in okular[5646f282c000+20000] [602965.542151] Queue(0x5618bd6[1075]: segfault at 7f94da75ba50 ip 00007f94da75ba50 sp 00007f94ad714d98 error 15 in libQt5Gui.so.5.9.1[7f94da753000+11000] [603058.734477] Queue(0x5596fa8[1539]: segfault at 20 ip 00007feb27384b5c sp 00007feb1aa75d98 error 4 in libOkular5Core.so.7.0.0[7feb272f8000+f1000] [603078.711396] Queue(0x55ffae2[1577]: segfault at 7f719655ea50 ip 00007f719655ea50 sp 00007f7168ca9d98 error 15 in libQt5Gui.so.5.9.1[7f7196556000+11000] I've also included some traces from journald, I don't know how useful they are. Archlinux package: Name : okular Version : 17.08.1-1
Same problem here. Okular crashes when I rotate a PDF. OS : OpenSUSE 42.3 Qt : 5.6.2 Okular : 1.1.2
Here is a link containing the PDF that crashes Okular and his coredump : https://drive.google.com/open?id=0ByieQLjC9ih7RHgyTGNHalhvR3M
Fixed in 17.08.3. Confirmed by testing lekt5.pdf and Parcours.pdf with 17.08.2 (crash) and 17.11.80 (no crash). Backtrace matches too. *** This bug has been marked as a duplicate of bug 382725 ***