While creating a pdf file from the ps image I created, I changed the paper size from default A4 to A3 and triggered the printing. It crashed the okular. Reproducible: Always Steps to Reproduce: 1. Open ps image using okular 2. Print as pdf image, change the page size to A3, and orientation to landscape 3. Press print, it crashes Actual Results: okular crashes Expected Results: creating a pdf file
Created attachment 78415 [details] crash report created by kde
Please attach the ps file that you were using
Created attachment 78416 [details] The ps file that generated the crash attached on request
Provided the info, so moving back
Hmm, can't reproduce, what version of libspectre do you have installed? Also can you reproduce the crash every time? If so could you please run valgrind okular myfile.ps and attach the output you get in the terminal when trying to make it crash?
Created attachment 78721 [details] terminal log of "valgrind okular myfile.ps" Attaching the log as requested
I don't know what you mean by the version of libspectre. I could find the following version of okular from the help menu of the viewer. Let me know if this isn't what you were looking for. Okular Version 0.14.3 Using KDE Development Platform 4.8.5 (4.8.5) And yes, it is reproducible every time! I'm attaching the valgrind output from the terminal as requested.
running 'locate libspectre' I got the following output $ locate libspectre /usr/lib/libspectre.so.1 /usr/lib/libspectre.so.1.1.6 /usr/lib/debug/usr/lib/libspectre.so.1.1.6 /usr/share/doc/libspectre1 /usr/share/doc/libspectre1-dbg /usr/share/doc/libspectre1/NEWS.gz /usr/share/doc/libspectre1/README /usr/share/doc/libspectre1/TODO /usr/share/doc/libspectre1/changelog.Debian.gz /usr/share/doc/libspectre1/copyright /usr/share/doc/libspectre1-dbg/changelog.Debian.gz /usr/share/doc/libspectre1-dbg/copyright /var/cache/apt/archives/libspectre1-dbg_0.2.6-1build1_amd64.deb /var/lib/dpkg/info/libspectre1-dbg.list /var/lib/dpkg/info/libspectre1-dbg.md5sums /var/lib/dpkg/info/libspectre1.list /var/lib/dpkg/info/libspectre1.md5sums /var/lib/dpkg/info/libspectre1.postinst /var/lib/dpkg/info/libspectre1.postrm /var/lib/dpkg/info/libspectre1.shlibs
(In reply to comment #7) > I don't know what you mean by the version of libspectre. I could find the > following version of okular from the help menu of the viewer. Let me know if > this isn't what you were looking for. > > Okular > Version 0.14.3 > Using KDE Development Platform 4.8.5 (4.8.5) > > And yes, it is reproducible every time! I'm attaching the valgrind output > from the terminal as requested. running 'locate libspectre' I got the following output $ locate libspectre /usr/lib/libspectre.so.1 /usr/lib/libspectre.so.1.1.6 /usr/lib/debug/usr/lib/libspectre.so.1.1.6 /usr/share/doc/libspectre1 /usr/share/doc/libspectre1-dbg /usr/share/doc/libspectre1/NEWS.gz /usr/share/doc/libspectre1/README /usr/share/doc/libspectre1/TODO /usr/share/doc/libspectre1/changelog.Debian.gz /usr/share/doc/libspectre1/copyright /usr/share/doc/libspectre1-dbg/changelog.Debian.gz /usr/share/doc/libspectre1-dbg/copyright /var/cache/apt/archives/libspectre1-dbg_0.2.6-1build1_amd64.deb /var/lib/dpkg/info/libspectre1-dbg.list /var/lib/dpkg/info/libspectre1-dbg.md5sums /var/lib/dpkg/info/libspectre1.list /var/lib/dpkg/info/libspectre1.md5sums /var/lib/dpkg/info/libspectre1.postinst /var/lib/dpkg/info/libspectre1.postrm /var/lib/dpkg/info/libspectre1.shlibs
I don't know which distribution you are using but please use it to query the version of the libspectre package you have installed
(In reply to comment #11) > I don't know which distribution you are using but please use it to query the > version of the libspectre package you have installed How to query the version of the libspectre?
As I already said, that depends on the distribution you are using, please ask in some specific distribution forum or use google.
You can use "dpkg -s packagename" to get information about packages.
Thanks Cristoph, here is the information. $ dpkg -s libspectre1 Package: libspectre1 Status: install ok installed Priority: optional Section: libs Installed-Size: 124 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: amd64 Source: libspectre Version: 0.2.6-1build1 Depends: libc6 (>= 2.8), libgs9 (>= 8.61.dfsg.1) Suggests: libspectre1-dbg (= 0.2.6-1build1) Description: Library for rendering PostScript documents libspectre is a small library for rendering PostScript documents. It provides a convenient easy to use API for handling and rendering PostScript documents. Original-Maintainer: Debian Krap Maintainers <debian-qt-kde@lists.debian.org> Homepage: http://libspectre.freedesktop.org
Any chance you can update to libspectre 0.2.7 ? I'm using it and i don't get that crash nor that valgrind trace
No answer in more than 6 months