[okular] [Bug 416637] New: crash when opening pdf

Tiziana Ferro bugzilla_noreply at kde.org
Thu Jan 23 09:41:27 GMT 2020


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

            Bug ID: 416637
           Summary: crash when opening pdf
           Product: okular
           Version: 1.9.1
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: skiverphoenix at gmail.com
  Target Milestone: ---

Application: okular (1.9.1)
 (Compiled from sources)
Qt Version: 5.13.1
Frameworks Version: 5.66.0
Operating System: Linux 4.19.88mamba-x86_64 x86_64
Distribution: openmamba GNU/Linux 4.95.0 for x86_64 (rolling)

-- Information about the crash:
crash when opening encrypted pdf

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
29        return SYSCALL_CANCEL (poll, fds, nfds, timeout);
[Current thread is 1 (Thread 0x7f4781451240 (LWP 5990))]

Thread 8 (Thread 0x7f476a201700 (LWP 5997)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55bd95644f18) at
../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bd95644ec8,
cond=0x55bd95644ef0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bd95644ef0, mutex=0x55bd95644ec8) at
pthread_cond_wait.c:638
#3  0x00007f477525184d in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007f4775251956 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007f47855c94cf in start_thread (arg=<optimized out>) at
pthread_create.c:479
#6  0x00007f4785ecb2a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f476aa02700 (LWP 5996)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55bd95644f18) at
../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bd95644ec8,
cond=0x55bd95644ef0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bd95644ef0, mutex=0x55bd95644ec8) at
pthread_cond_wait.c:638
#3  0x00007f477525184d in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007f4775251956 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007f47855c94cf in start_thread (arg=<optimized out>) at
pthread_create.c:479
#6  0x00007f4785ecb2a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f476b203700 (LWP 5995)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55bd95644f18) at
../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bd95644ec8,
cond=0x55bd95644ef0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bd95644ef0, mutex=0x55bd95644ec8) at
pthread_cond_wait.c:638
#3  0x00007f477525184d in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007f4775251956 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007f47855c94cf in start_thread (arg=<optimized out>) at
pthread_create.c:479
#6  0x00007f4785ecb2a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f476ba04700 (LWP 5994)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55bd95644f18) at
../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bd95644ec8,
cond=0x55bd95644ef0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bd95644ef0, mutex=0x55bd95644ec8) at
pthread_cond_wait.c:638
#3  0x00007f477525184d in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007f4775251956 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007f47855c94cf in start_thread (arg=<optimized out>) at
pthread_create.c:479
#6  0x00007f4785ecb2a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f476c205700 (LWP 5993)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55bd9592fc18) at
../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bd9592fbc8,
cond=0x55bd9592fbf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bd9592fbf0, mutex=0x55bd9592fbc8) at
pthread_cond_wait.c:638
#3  0x00007f477525184d in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007f4775251956 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007f47855c94cf in start_thread (arg=<optimized out>) at
pthread_create.c:479
#6  0x00007f4785ecb2a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f477df6b700 (LWP 5992)):
#0  0x00007fff7d363c23 in clock_gettime ()
#1  0x00007f4785ed853b in __GI___clock_gettime (clock_id=1, tp=0x7f477df6a9b0)
at ../sysdeps/unix/sysv/linux/clock_gettime.c:33
#2  0x00007f47865c2d01 in ?? () from /usr/lib64/libQt5Core.so.5
#3  0x00007f47865c16c9 in QTimerInfoList::updateCurrentTime() () from
/usr/lib64/libQt5Core.so.5
#4  0x00007f47865c1c45 in QTimerInfoList::timerWait(timespec&) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f47865c309e in ?? () from /usr/lib64/libQt5Core.so.5
#6  0x00007f4782346242 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#7  0x00007f4782346b83 in ?? () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f4782346d6f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#9  0x00007f47865c330b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#10 0x00007f478656e89b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#11 0x00007f47863a8d91 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#12 0x00007f47868aa456 in ?? () from /usr/lib64/libQt5DBus.so.5
#13 0x00007f47863a9dd3 in ?? () from /usr/lib64/libQt5Core.so.5
#14 0x00007f47855c94cf in start_thread (arg=<optimized out>) at
pthread_create.c:479
#15 0x00007f4785ecb2a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f47800de700 (LWP 5991)):
#0  0x00007f4785ec09bf in __GI___poll (fds=0x7f47800ddb48, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4784bbacb7 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f4784bbc7aa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f4780835db0 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f47863a9dd3 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f47855c94cf in start_thread (arg=<optimized out>) at
pthread_create.c:479
#6  0x00007f4785ecb2a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f4781451240 (LWP 5990)):
[KCrash Handler]
#6  0x00007f4769847a86 in Catalog::getEmbeddedFileNameTree() () from
/usr/lib64/libpoppler.so.78
#7  0x00007f47741af845 in ?? () from /usr/lib64/libpoppler-qt5.so.1
#8  0x00007f47741afb34 in Poppler::Document::load(QString const&, QByteArray
const&, QByteArray const&) () from /usr/lib64/libpoppler-qt5.so.1
#9  0x00007f4775ae17d0 in PDFGenerator::loadDocumentWithPassword
(this=0x55bd95af5350, filePath=..., pagesVector=..., password=...) at
/var/autodist/RPM/BUILD/okular-19.12.1/generators/poppler/generator_pdf.cpp:631
#10 0x00007f477cab93ac in Okular::DocumentPrivate::openDocumentInternal
(this=0x55bd95608970, offer=..., isstdin=isstdin at entry=false, docFile=...,
filedata=..., password=...) at
/var/autodist/RPM/BUILD/okular-19.12.1/core/document.cpp:945
#11 0x00007f477cab9a3c in Okular::Document::openDocument
(this=this at entry=0x55bd95631100, docFile=..., url=..., _mime=..., password=...)
at /var/autodist/RPM/BUILD/okular-19.12.1/core/document.cpp:2554
#12 0x00007f477cc3d1f5 in Okular::Part::doOpenFile
(this=this at entry=0x55bd955ba8a0, mimeA=..., fileNameToOpenA=...,
isCompressedFile=isCompressedFile at entry=0x7fff7d2e48d7) at
/var/autodist/RPM/BUILD/okular-19.12.1/part.cpp:1437
#13 0x00007f477cc3e5e1 in Okular::Part::openFile (this=0x55bd955ba8a0) at
/var/autodist/RPM/BUILD/okular-19.12.1/part.cpp:1571
#14 0x00007f478818581d in ?? () from /usr/lib64/libKF5Parts.so.5
#15 0x00007f47881867a6 in KParts::ReadOnlyPart::openUrl(QUrl const&) () from
/usr/lib64/libKF5Parts.so.5
#16 0x00007f477cc2e9f6 in Okular::Part::openUrl (this=0x55bd955ba8a0, _url=...,
swapInsteadOfOpening=<optimized out>) at
/var/autodist/RPM/BUILD/okular-19.12.1/part.cpp:1778
#17 0x000055bd93ce992b in Shell::openUrl (this=0x55bd9553eb20, url=...,
serializedOptions=...) at
/var/autodist/RPM/BUILD/okular-19.12.1/shell/shell.cpp:280
#18 0x000055bd93ce9ba7 in Shell::openDocument (this=0x55bd9553eb20, url=...,
serializedOptions=...) at
/var/autodist/RPM/BUILD/okular-19.12.1/shell/shell.cpp:221
#19 0x000055bd93ce2297 in Okular::main (paths=..., serializedOptions=...) at
/var/autodist/RPM/BUILD/okular-19.12.1/shell/okular_main.cpp:176
#20 0x000055bd93ce1983 in main (argc=<optimized out>, argv=<optimized out>) at
/var/autodist/RPM/BUILD/okular-19.12.1/shell/main.cpp:82
[Inferior 1 (process 5990) detached]

Possible duplicates by query: bug 416077, bug 414179, bug 409684, bug 408837,
bug 408576.

Reported using DrKonqi

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


More information about the Okular-devel mailing list