Summary: | PDF form crash (PDF was created on Windows) | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | rogerp <rogpowell> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | VERIFIED FIXED | ||
Severity: | crash | CC: | aacid, devmotion, kde |
Priority: | NOR | Keywords: | drkonqi |
Version: | 22.08.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Stack trace
New crash information added by DrKonqi |
Description
rogerp
2022-10-20 12:41:54 UTC
Do you get any output if you run okular from the command line and open the file? Can you install debug symbols to get us a backtrace with line information? Do you have adobe-base-14-fonts installed by any chance? (In reply to Albert Astals Cid from comment #1) > Do you get any output if you run okular from the command line and open the > file? $ okular 20 -- exe=/usr/bin/okular 13 -- platform=xcb 11 -- display=:0 15 -- appname=okular 17 -- apppath=/usr/bin 10 -- signal=11 9 -- pid=8779 19 -- appversion=22.08.2 19 -- programname=Okular 31 -- bugaddress=submit@bugs.kde.org 12 -- startupid=0 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = okular path = /usr/bin pid = 8779 KCrash: Arguments: /usr/bin/okular KCrash: Attempting to start /usr/lib/drkonqi r [1]+ Stopped okular $ QSocketNotifier: Invalid socket 5 and type 'Read', disabling... QSocketNotifier: Invalid socket 13 and type 'Read', disabling... Unable to start Dr. Konqi Re-raising signal for core dump handling. [1]+ Segmentation fault (core dumped) okular > > Can you install debug symbols to get us a backtrace with line information? > see attached but obviously it says it can't find the symbol table. I couldn't find the symbol table for okular. > Do you have adobe-base-14-fonts installed by any chance? No. I use TeXlive but when I checked ``cat fonts.dir | grep adobe-base-14`` it returned nothing Created attachment 153234 [details]
Stack trace
This is a log produced by gdb, using (gdb) exec /usr/bin/okular
Can you please follow https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Arch_Linux so we get line numbers in the crash making it much more useful? Created attachment 157956 [details]
New crash information added by DrKonqi
okular (22.12.3) using Qt 5.15.8
Activating "Show forms". The starting to type in a form.
-- Backtrace (Reduced):
#4 0x00007fb72655a760 in GfxResources::doLookupFont(char const*) const () from /usr/lib/libpoppler.so.126
#5 0x00007fb72655a832 in GfxResources::lookupFont(char const*) () from /usr/lib/libpoppler.so.126
#6 0x00007fb726555b9e in Form::ensureFontsForAllCharacters(GooString const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, GfxResources*) () from /usr/lib/libpoppler.so.126
[...]
#8 0x00007fb72c2f357d in Poppler::FormFieldText::setText(QString const&) () from /usr/lib/libpoppler-qt5.so.1
[...]
#10 0x00007fb73d3034fa in QUndoStack::push(QUndoCommand*) () from /usr/lib/libQt5Widgets.so.5
(In reply to kde from comment #5) > Created attachment 157956 [details] > New crash information added by DrKonqi > > okular (22.12.3) using Qt 5.15.8 > > Activating "Show forms". The starting to type in a form. > > -- Backtrace (Reduced): > #4 0x00007fb72655a760 in GfxResources::doLookupFont(char const*) const () > from /usr/lib/libpoppler.so.126 > #5 0x00007fb72655a832 in GfxResources::lookupFont(char const*) () from > /usr/lib/libpoppler.so.126 > #6 0x00007fb726555b9e in Form::ensureFontsForAllCharacters(GooString > const*, std::__cxx11::basic_string<char, std::char_traits<char>, > std::allocator<char> > const&, GfxResources*) () from > /usr/lib/libpoppler.so.126 > [...] > #8 0x00007fb72c2f357d in Poppler::FormFieldText::setText(QString const&) () > from /usr/lib/libpoppler-qt5.so.1 > [...] > #10 0x00007fb73d3034fa in QUndoStack::push(QUndoCommand*) () from > /usr/lib/libQt5Widgets.so.5 Which PDF file does that happen with? Sent it to you via mail. Thanks for the fast response. This is fixed in poppler 23.05 Can confirm, that this works now. |