[okular] [Bug 415261] New: Okular crash when trying to open certain djvu file

Alex Dănilă bugzilla_noreply at kde.org
Mon Dec 16 21:17:46 GMT 2019


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

            Bug ID: 415261
           Summary: Okular crash when trying to open certain djvu file
           Product: okular
           Version: 1.4.0
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: nuorama at gmail.com
  Target Milestone: ---

Application: okular (1.4.0)

Qt Version: 5.12.5
Frameworks Version: 5.62.0
Operating System: Linux 5.3.0-2-amd64 x86_64
Distribution: Debian GNU/Linux bullseye/sid

-- Information about the crash:
- What I was doing when the application crashed:
Tried to open a .djvu file. This replicates every time. The file is 90 MiB, but
I can provide it privately. I'm almost sure I was able to open this file
previously, less than a year ago.

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 0x7f676ff96800 (LWP 564425))]

Thread 4 (Thread 0x7f675ffff700 (LWP 564428)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55b4550b8448) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55b4550b83f8,
cond=0x55b4550b8420) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55b4550b8420, mutex=0x55b4550b83f8) at
pthread_cond_wait.c:655
#3  0x00007f67648873eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f6764887007 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f6772fdcfb7 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#6  0x00007f6773a9a2df in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f6767df1700 (LWP 564427)):
#0  0x00007f6773a8fd1f in __GI___poll (fds=0x7f6760004e30, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f677260309e in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f6760004e30, timeout=<optimized out>, context=0x7f6760000bf0)
at ../../../glib/gmain.c:4216
#2  g_main_context_iterate (context=context at entry=0x7f6760000bf0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
../../../glib/gmain.c:3912
#3  0x00007f67726031bf in g_main_context_iteration (context=0x7f6760000bf0,
may_block=may_block at entry=1) at ../../../glib/gmain.c:3978
#4  0x00007f677400d80b in QEventDispatcherGlib::processEvents
(this=0x7f6760000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f6773fb671b in QEventLoop::exec (this=this at entry=0x7f6767df0d70,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f6773df7751 in QThread::exec (this=this at entry=0x7f677430bd80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f677428a4e6 in QDBusConnectionManager::run (this=0x7f677430bd80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007f6773df88d2 in QThreadPrivate::start (arg=0x7f677430bd80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:361
#9  0x00007f6772fdcfb7 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#10 0x00007f6773a9a2df in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f676ef8b700 (LWP 564426)):
#0  0x00007f6773a8fd1f in __GI___poll (fds=fds at entry=0x7f676ef8aca8,
nfds=nfds at entry=1, timeout=timeout at entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6773204cf7 in poll (__timeout=-1, __nfds=1, __fds=0x7f676ef8aca8)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c at entry=0x55b454f16ea0, cond=cond at entry=0x55b454f16ee0,
vector=vector at entry=0x0, count=count at entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007f677320691a in xcb_wait_for_event (c=c at entry=0x55b454f16ea0) at
../../src/xcb_in.c:697
#4  0x00007f676fb87cd0 in QXcbEventQueue::run (this=0x55b454f06610) at
qxcbeventqueue.cpp:228
#5  0x00007f6773df88d2 in QThreadPrivate::start (arg=0x55b454f06610) at
thread/qthread_unix.cpp:361
#6  0x00007f6772fdcfb7 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#7  0x00007f6773a9a2df in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f676ff96800 (LWP 564425)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=<error
reading variable: Cannot access memory at address 0x5>) at
/usr/include/c++/9/bits/atomic_base.h:413
#7  QAtomicOps<int>::load<int> (_q_value=<error reading variable: Cannot access
memory at address 0x5>) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=<error reading variable: Cannot access
memory at address 0x5>) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
#9  QtPrivate::RefCount::deref (this=<error reading variable: Cannot access
memory at address 0x5>) at
../../include/QtCore/../../src/corelib/tools/qrefcount.h:66
#10 QString::operator= (this=0x5, other=...) at tools/qstring.cpp:2417
#11 0x00007f675f761c19 in Okular::Generator::walletDataForFile(QString const&,
QString*, QString*, QString*) const () from
/usr/lib/x86_64-linux-gnu/libOkular5Core.so.8
#12 0x00007f676697747a in Layers::notifySetup (this=0x55b4553df700) at
./ui/layers.cpp:54
#13 0x00007f67665b8a3b in Okular::Document::openDocument(QString const&, QUrl
const&, QMimeType const&, QString const&) () from
/usr/lib/x86_64-linux-gnu/libOkular5Core.so.9
#14 0x00007f67668db08b in Okular::Part::doOpenFile
(this=this at entry=0x55b455025380, mimeA=..., fileNameToOpenA=...,
isCompressedFile=isCompressedFile at entry=0x7ffc59f83ad7) at ./part.cpp:1383
#15 0x00007f67668db6d7 in Okular::Part::openFile (this=0x55b455025380) at
./part.cpp:1515
#16 0x00007f677570d85d in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#17 0x00007f677570e7e6 in KParts::ReadOnlyPart::openUrl(QUrl const&) () from
/usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#18 0x00007f67668ce486 in Okular::Part::openUrl (this=0x55b455025380, _url=...,
swapInsteadOfOpening=<optimized out>) at ./part.cpp:1700
#19 0x000055b4549237ed in Shell::openUrl (this=this at entry=0x55b454f388f0,
url=..., serializedOptions=...) at ./shell/shell.cpp:280
#20 0x000055b454923a12 in Shell::openDocument (this=this at entry=0x55b454f388f0,
url=..., serializedOptions=...) at ./shell/shell.cpp:221
#21 0x000055b454923ab6 in Shell::openDocument (this=this at entry=0x55b454f388f0,
url=..., serializedOptions=...) at ./shell/shell.cpp:208
#22 0x000055b45491d10c in Okular::main (paths=..., serializedOptions=...) at
./shell/okular_main.cpp:170
#23 0x000055b45491c7b5 in main (argc=<optimized out>, argv=<optimized out>) at
./shell/main.cpp:74
[Inferior 1 (process 564425) detached]

Possible duplicates by query: bug 414147, bug 413706, bug 413301, bug 410844,
bug 410345.

Reported using DrKonqi

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


More information about the Okular-devel mailing list