[Okular-devel] [Bug 309528] New: Okular crashes upon opening PS file
Bernd Oliver Sünderhauf
pancho.mz at riseup.net
Sun Nov 4 14:28:31 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=309528
Bug ID: 309528
Severity: crash
Version: 0.15.2
Priority: NOR
Assignee: okular-devel at kde.org
Summary: Okular crashes upon opening PS file
Classification: Unclassified
OS: Linux
Reporter: pancho.mz at riseup.net
Hardware: Chakra
Status: UNCONFIRMED
Component: general
Product: okular
Application: okular (0.15.2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.6-1-CHAKRA x86_64
Distribution: "Chakra"
-- Information about the crash:
- What I was doing when the application crashed:
I opened a simple PS file (created with Scribus) using Okular.
This immediately killed Okular:
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code =
-1
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code =
-1
invalidaccess -7
KCrash: Application 'okular' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/pancho/.kde4/socket-Luka/kdeinit4__0
on Chakra with:
okular: 0:15.2
libspectre 0.2.6.1
ghostscript: 9.05
freetype2: 2.4.7
It is nearly 1:1 reproducible with the following output:
GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code =
-1
GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code =
-1
invalidaccess -7
okular: Fatal IO error: client killed
KCrash: Application 'okular' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/pancho/.kde/socket-anna/kdeinit4__0
on Kubuntu 11.10 with:
okular: 0.15.2
libspectre: 0.2.7
ghostscript: 9.06
libfreetype6: 2.4.10
Whereas the PS file displays nice with: <gs Dokument-1.ps>
This bug is probably related to
https://bugs.freedesktop.org/show_bug.cgi?id=20138 in libspectre, especially as
Evince also fails displaying the file.
However libspectre's failure shouldn't make Okular crash, but should at least
show an error.
Btw, the Freetype patch:
https://savannah.nongnu.org/bugs/?func=detailitem&item_id=35833 /
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=9a55cb7a
and the followup:
https://savannah.nongnu.org/bugs/?func=detailitem&item_id=35847
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=b43e0f44
should have fixed the Font Renderer Plugin issue in 2.4.10, but I'm not sure it
has.
Does someone know whether libspectre comes bundled with an old version of
freetype?
Then I'd know whether to file this against freetype or libspectre.
The crash can be reproduced every time.
-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe7bece1780 (LWP 6564))]
Thread 2 (Thread 0x7fe7b09ea700 (LWP 6565)):
[KCrash Handler]
#6 0x00007fe7b359c558 in GSRendererThread::run (this=0x18c2b40) at
/chakra/desktop-testing/kdegraphics-okular/src/okular-4.9.2/generators/spectre/rendererthread.cpp:74
#7 0x00007fe7c655057c in ?? () from /usr/lib/libQtCore.so.4
#8 0x00007fe7c3e07ede in start_thread () from /lib/libpthread.so.0
#9 0x00007fe7c5c9b60d in clone () from /lib/libc.so.6
Thread 1 (Thread 0x7fe7bece1780 (LWP 6564)):
#0 0x00007fe7c5c8f10d in read () from /lib/libc.so.6
#1 0x00007fe7c2914ecf in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007fe7c28d9cfa in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
#3 0x00007fe7c28da202 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0x00007fe7c28da384 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#5 0x00007fe7c667a916 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#6 0x00007fe7c70d996e in ?? () from /usr/lib/libQtGui.so.4
#7 0x00007fe7c664b5ff in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#8 0x00007fe7c664b888 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#9 0x00007fe7c6650528 in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#10 0x000000000040798e in main (argc=<optimized out>, argv=<optimized out>) at
/chakra/desktop-testing/kdegraphics-okular/src/okular-4.9.2/shell/main.cpp:85
Possible duplicates by query: bug 308160, bug 296587, bug 295504.
Reported using DrKonqi
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list