[okular] [Bug 472356] New: Okular crashes when configuring certificates with SafeNet Client

Ovidiu D. NiĊ£an bugzilla_noreply at kde.org
Tue Jul 18 13:54:06 BST 2023


https://bugs.kde.org/show_bug.cgi?id=472356

            Bug ID: 472356
           Summary: Okular crashes when configuring certificates with
                    SafeNet Client
    Classification: Applications
           Product: okular
           Version: 23.04.3
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: nitanovidiu at gmail.com
  Target Milestone: ---

Created attachment 160358
  --> https://bugs.kde.org/attachment.cgi?id=160358&action=edit
gdb trace

I have a hardware token from SafeNet which I'm using to sign PDF documents. I'd
like to use this with Okular, too, and I got some progress to the point I can
sign PDF documents with LibreOffice or pdfsig. When I try do to this with
Okular, it crashes on configuring the PDF backend.


STEPS TO REPRODUCE
1. With your SafeNet token attached, go to Settings -> Configure Backends...
2. Select PDF from sidebar
3. A popup asking you to insert the password for the token will appear.

OBSERVED RESULT
Inserting a correct password or even pressing Cancel will crash the app with
the following error:

Thread 1 "okular" received signal SIGSEGV, Segmentation fault.
0x00007ffff71a434f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&,
QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*,
QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5

EXPECTED RESULT
The app should not crash

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION

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


More information about the Okular-devel mailing list