[okular] [Bug 460759] PDF form crash (PDF was created on Windows)

2022-10-27 Thread rogerp
https://bugs.kde.org/show_bug.cgi?id=460759

--- Comment #3 from rogerp  ---
Created attachment 153234
  --> https://bugs.kde.org/attachment.cgi?id=153234=edit
Stack trace

This is a log produced by gdb, using (gdb) exec /usr/bin/okular

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 460759] PDF form crash (PDF was created on Windows)

2022-10-27 Thread rogerp
https://bugs.kde.org/show_bug.cgi?id=460759

--- Comment #2 from rogerp  ---
(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=sub...@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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 460759] New: PDF form crash (PDF was created on Windows)

2022-10-20 Thread rogerp
https://bugs.kde.org/show_bug.cgi?id=460759

Bug ID: 460759
   Summary: PDF form crash (PDF was created on Windows)
Classification: Applications
   Product: okular
   Version: 22.08.2
  Platform: unspecified
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: rogpow...@gmail.com
  Target Milestone: ---

Application: okular (22.08.2)

Qt Version: 5.15.6
Frameworks Version: 5.99.0
Operating System: Linux 6.0.2-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.26.1 [KCrashBackend]

-- Information about the crash:
Using Endeavouros Linux 6.0.2-arch1-1

Opened a PDF form from this website
https://www.wokinghamu3a.org.uk/wp-content/uploads/2022/01/Application-Form-2022-V1.pdf

When switching to the "forms" mode in Okular to enter data into a PDF form,
Okular crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault

[KCrash Handler]
#4  0x7f6d1ed59e70 in GfxResources::doLookupFont(char const*) const () from
/usr/lib/libpoppler.so.125
#5  0x7f6d1ed59f42 in GfxResources::lookupFont(char const*) () from
/usr/lib/libpoppler.so.125
#6  0x7f6d1ed5537e in Form::ensureFontsForAllCharacters(GooString const*,
std::__cxx11::basic_string, std::allocator >
const&, GfxResources*) () from /usr/lib/libpoppler.so.125
#7  0x7f6d1ed4a34c in ?? () from /usr/lib/libpoppler.so.125
#8  0x7f6d245bb55d in Poppler::FormFieldText::setText(QString const&) ()
from /usr/lib/libpoppler-qt5.so.1
#9  0x7f6d2ff8277d in ?? () from /usr/lib/libOkular5Core.so.10
#10 0x7f6d46502f3a in QUndoStack::push(QUndoCommand*) () from
/usr/lib/libQt5Widgets.so.5
#11 0x7f6d2712659a in ?? () from /usr/lib/qt/plugins/okularpart.so
#12 0x7f6d454bd381 in ?? () from /usr/lib/libQt5Core.so.5
#13 0x7f6d2712b573 in ?? () from /usr/lib/qt/plugins/okularpart.so
#14 0x7f6d454bd381 in ?? () from /usr/lib/libQt5Core.so.5
#15 0x7f6d462b316a in QLineEdit::textEdited(QString const&) () from
/usr/lib/libQt5Widgets.so.5
#16 0x7f6d462b03e9 in ?? () from /usr/lib/libQt5Widgets.so.5
#17 0x7f6d454bd530 in ?? () from /usr/lib/libQt5Core.so.5
#18 0x7f6d462be85a in QWidgetLineControl::textEdited(QString const&) ()
from /usr/lib/libQt5Widgets.so.5
#19 0x7f6d462b7c94 in QWidgetLineControl::finishChange(int, bool, bool) ()
from /usr/lib/libQt5Widgets.so.5
#20 0x7f6d462c2e4e in QWidgetLineControl::processKeyEvent(QKeyEvent*) ()
from /usr/lib/libQt5Widgets.so.5
#21 0x7f6d462b56f4 in QLineEdit::keyPressEvent(QKeyEvent*) () from
/usr/lib/libQt5Widgets.so.5
#22 0x7f6d461af5d1 in QWidget::event(QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#23 0x7f6d46178b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#24 0x7f6d4617ddf8 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#25 0x7f6d4548cb88 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#26 0x7f6d461cf18b in ?? () from /usr/lib/libQt5Widgets.so.5
#27 0x7f6d46178b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#28 0x7f6d4548cb88 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#29 0x7f6d4593fb50 in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
() from /usr/lib/libQt5Gui.so.5
#30 0x7f6d45928985 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags)
() from /usr/lib/libQt5Gui.so.5
#31 0x7f6d4072f6c0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#32 0x7f6d43e7081b in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#33 0x7f6d43ec6ec9 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x7f6d43e6f0d2 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#35 0x7f6d454d750c in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib/libQt5Core.so.5
#36 0x7f6d4548532c in
QEventLoop::exec(QFlags) () from
/usr/lib/libQt5Core.so.5
#37 0x7f6d4548fe59 in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#38 0x55aa01e49882 in ?? ()
#39 0x7f6d44c3c290 in ?? () from /usr/lib/libc.so.6
#40 0x7f6d44c3c34a in __libc_start_main () from /usr/lib/libc.so.6
#41 0x55aa01e4a445 in ?? ()
[Inferior 1 (process 15103) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.