[okular] [Bug 408851] New: Crash when trying to open *.fb2 file

Vasyl Teliman bugzilla_noreply at kde.org
Mon Jun 17 21:51:43 BST 2019


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

            Bug ID: 408851
           Summary: Crash when trying to open *.fb2 file
           Product: okular
           Version: 1.7.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: vasniktel at gmail.com
  Target Milestone: ---

Application: okular (1.7.2)

Qt Version: 5.12.3
Frameworks Version: 5.59.0
Operating System: Linux 4.15.0-51-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to open *.fb2 file when the app crashed. It worked smoothly before
I updated KDE to 5.16.0

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1d46fb6200 (LWP 2255))]

Thread 4 (Thread 0x7f1d1ad3a700 (LWP 2258)):
#0  0x00007f1d3f9bd9f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e86aa1cab8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e86aa1ca68,
cond=0x55e86aa1ca90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e86aa1ca90, mutex=0x55e86aa1ca68) at
pthread_cond_wait.c:655
#3  0x00007f1d1b9d8dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f1d1b9d8af7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f1d3f9b76db in start_thread (arg=0x7f1d1ad3a700) at
pthread_create.c:463
#6  0x00007f1d42c2188f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f1d2c481700 (LWP 2257)):
#0  0x00007f1d42c14bf9 in __GI___poll (fds=0x7f1d24004db0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1d3d6864c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1d3d6865dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1d43557dcb in QEventDispatcherGlib::processEvents
(this=0x7f1d24000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1d434f903a in QEventLoop::exec (this=this at entry=0x7f1d2c480d70,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f1d433204ca in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#6  0x00007f1d439c6015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f1d43321c72 in QThreadPrivate::start (arg=0x7f1d43c3dd80) at
thread/qthread_unix.cpp:361
#8  0x00007f1d3f9b76db in start_thread (arg=0x7f1d2c481700) at
pthread_create.c:463
#9  0x00007f1d42c2188f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1d351f3700 (LWP 2256)):
#0  0x00007f1d42c14bf9 in __GI___poll (fds=0x7f1d351f2ca8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1d4043a747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f1d4043c36a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f1d37fda578 in QXcbEventQueue::run (this=0x55e86a4ac660) at
qxcbeventqueue.cpp:228
#4  0x00007f1d43321c72 in QThreadPrivate::start (arg=0x55e86a4ac660) at
thread/qthread_unix.cpp:361
#5  0x00007f1d3f9b76db in start_thread (arg=0x7f1d351f3700) at
pthread_create.c:463
#6  0x00007f1d42c2188f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f1d46fb6200 (LWP 2255)):
[KCrash Handler]
#6  0x00007f1d2aa2beef in std::__atomic_base<int>::load
(__m=std::memory_order_relaxed, this=0x888389482a74d1) at
/usr/include/c++/7/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x888389482a74d1) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:103
#9  QtPrivate::RefCount::isShared (this=0x888389482a74d1) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:101
#10 QLinkedList<Okular::ObjectRect*>::detach (this=0x7f1d43593240
<QTextStreamPrivate::getNumber(unsigned long long*)+2224>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:106
#11 QLinkedList<Okular::ObjectRect*>::append (this=this at entry=0x7f1d43593240
<QTextStreamPrivate::getNumber(unsigned long long*)+2224>, t=@0x7fff1710cb30:
0x55e86aba9db0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:394
#12 0x00007f1d2aa32348 in
Okular::TextDocumentGenerator::loadDocumentWithPassword (this=<optimized out>,
fileName=..., pagesVector=..., password=...) at
./core/textdocumentgenerator.cpp:342
#13 0x00007f1d2aa0c05a in Okular::DocumentPrivate::openDocumentInternal
(this=0x55e86a5b7180, offer=..., isstdin=isstdin at entry=false, docFile=...,
filedata=..., password=...) at ./core/document.cpp:875
#14 0x00007f1d2aa0c6fd in Okular::Document::openDocument
(this=this at entry=0x55e86a5ad6c0, docFile=..., url=..., _mime=..., password=...)
at ./core/document.cpp:2443
#15 0x00007f1d2ad396db in Okular::Part::doOpenFile
(this=this at entry=0x55e86a573e70, mimeA=..., fileNameToOpenA=...,
isCompressedFile=isCompressedFile at entry=0x7fff1710d017) at ./part.cpp:1415
#16 0x00007f1d2ad39d27 in Okular::Part::openFile (this=0x55e86a573e70) at
./part.cpp:1549
#17 0x00007f1d46b92a56 in KParts::ReadOnlyPartPrivate::openLocalFile
(this=this at entry=0x55e86a56c440) at ./src/readonlypart.cpp:190
#18 0x00007f1d46b938e1 in KParts::ReadOnlyPart::openUrl
(this=this at entry=0x55e86a573e70, url=...) at ./src/readonlypart.cpp:153
#19 0x00007f1d2ad2be06 in Okular::Part::openUrl (this=0x55e86a573e70, _url=...,
swapInsteadOfOpening=<optimized out>) at ./part.cpp:1755
#20 0x000055e869d92ae2 in Shell::openUrl (this=this at entry=0x55e86a574cd0,
url=..., serializedOptions=...) at ./shell/shell.cpp:280
#21 0x000055e869d92d72 in Shell::openDocument (this=this at entry=0x55e86a574cd0,
url=..., serializedOptions=...) at ./shell/shell.cpp:221
#22 0x000055e869d92e16 in Shell::openDocument (this=this at entry=0x55e86a574cd0,
url=..., serializedOptions=...) at ./shell/shell.cpp:208
#23 0x000055e869d8c306 in Okular::main (paths=..., serializedOptions=...) at
./shell/okular_main.cpp:176
#24 0x000055e869d8b955 in main (argc=<optimized out>, argv=<optimized out>) at
./shell/main.cpp:77

Possible duplicates by query: bug 406738, bug 384419.

Reported using DrKonqi

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


More information about the Okular-devel mailing list