[okular] [Bug 398334] Okular crashes while un/re highlighting PDF file

2018-09-07 Thread T . Zack Crawford
https://bugs.kde.org/show_bug.cgi?id=398334

--- Comment #2 from T. Zack Crawford  ---
(In reply to T. Zack Crawford from comment #1)
> I reinstalled okular and glibc in debug mode such that I could get the full
> backtrace and now the bug is not reproducible...

The crash started happening again. Managed to extract a trace using the gnu
debugger per the instructions at
https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

Trace 
Starting program: /usr/bin/okular --verbose
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffed767700 (LWP 8371)]
[Thread 0x7034b800 (LWP 8367) exited]
[Inferior 1 (process 8367) exited with code 01]
Starting program: /usr/bin/okular --verbose
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffed767700 (LWP 8374)]
[Thread 0x7034b800 (LWP 8372) exited]
[Inferior 1 (process 8372) exited with code 01]
Starting program: /usr/bin/okular 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffed767700 (LWP 8387)]
[New Thread 0x7fffe6aa1700 (LWP 8390)]
[New Thread 0x7fffdb198700 (LWP 8391)]
[New Thread 0x7fffda856700 (LWP 8392)]
[New Thread 0x7fffda055700 (LWP 8393)]
[New Thread 0x7fffd9854700 (LWP 8394)]
[New Thread 0x7fffd9053700 (LWP 8395)]
[New Thread 0x7fffd8852700 (LWP 8396)]
[New Thread 0x7fffc3fff700 (LWP 8397)]
[New Thread 0x7fffc2cda700 (LWP 8400)]
[Thread 0x7fffc2cda700 (LWP 8400) exited]
[New Thread 0x7fffc2cda700 (LWP 8412)]
[New Thread 0x7fffb7fff700 (LWP 8413)]
[Thread 0x7fffc2cda700 (LWP 8412) exited]
[Thread 0x7fffb7fff700 (LWP 8413) exited]
[New Thread 0x7fffb7fff700 (LWP 8414)]
[New Thread 0x7fffc2cda700 (LWP 8415)]
[Thread 0x7fffb7fff700 (LWP 8414) exited]
[New Thread 0x7fffb7fff700 (LWP 8416)]
[Thread 0x7fffc2cda700 (LWP 8415) exited]
[New Thread 0x7fffb7fff700 (LWP 8417)]
[Thread 0x7fffb7fff700 (LWP 8416) exited]
[Thread 0x7fffb7fff700 (LWP 8417) exited]
[New Thread 0x7fffb7fff700 (LWP 8418)]
[New Thread 0x7fffc2cda700 (LWP 8419)]
[Thread 0x7fffb7fff700 (LWP 8418) exited]
[New Thread 0x7fffb7fff700 (LWP 8420)]
[Thread 0x7fffc2cda700 (LWP 8419) exited]
[New Thread 0x7fffc2cda700 (LWP 8421)]
[Thread 0x7fffb7fff700 (LWP 8420) exited]
[New Thread 0x7fffb7fff700 (LWP 8422)]
[Thread 0x7fffc2cda700 (LWP 8421) exited]
[New Thread 0x7fffc2cda700 (LWP 8423)]
[New Thread 0x7fffb77fe700 (LWP 8424)]
[Thread 0x7fffb7fff700 (LWP 8422) exited]
[Thread 0x7fffc2cda700 (LWP 8423) exited]
[New Thread 0x7fffb77fe700 (LWP 8425)]
[Thread 0x7fffb77fe700 (LWP 8424) exited]
[New Thread 0x7fffc2cda700 (LWP 8426)]
[Thread 0x7fffb77fe700 (LWP 8425) exited]
[Thread 0x7fffc2cda700 (LWP 8426) exited]
[New Thread 0x7fffc2cda700 (LWP 8427)]
[Thread 0x7fffc2cda700 (LWP 8427) exited]
[New Thread 0x7fffc2cda700 (LWP 8428)]
[Thread 0x7fffc2cda700 (LWP 8428) exited]
[New Thread 0x7fffc2cda700 (LWP 8429)]
[Thread 0x7fffc2cda700 (LWP 8429) exited]
[New Thread 0x7fffc2cda700 (LWP 8430)]
[New Thread 0x7fffb77fe700 (LWP 8431)]
[Thread 0x7fffc2cda700 (LWP 8430) exited]
[Thread 0x7fffb77fe700 (LWP 8431) exited]
[New Thread 0x7fffb77fe700 (LWP 8432)]
[Thread 0x7fffb77fe700 (LWP 8432) exited]
[New Thread 0x7fffb77fe700 (LWP 8433)]
[New Thread 0x7fffc2cda700 (LWP 8434)]
[Thread 0x7fffb77fe700 (LWP 8433) exited]
[Thread 0x7fffc2cda700 (LWP 8434) exited]
[New Thread 0x7fffc2cda700 (LWP 8435)]
[New Thread 0x7fffb77fe700 (LWP 8436)]
[New Thread 0x7fffc2cda700 (LWP 8437)]
[Thread 0x7fffc2cda700 (LWP 8435) exited]
[Thread 0x7fffb77fe700 (LWP 8436) exited]
[New Thread 0x7fffb77fe700 (LWP 8438)]
[Thread 0x7fffc2cda700 (LWP 8437) exited]
[Thread 0x7fffb77fe700 (LWP 8438) exited]
[New Thread 0x7fffb77fe700 (LWP 8439)]
[Thread 0x7fffb77fe700 (LWP 8439) exited]
[New Thread 0x7fffb77fe700 (LWP 8440)]
[Thread 0x7fffb77fe700 (LWP 8440) exited]
[New Thread 0x7fffb77fe700 (LWP 8441)]
[New Thread 0x7fffb77fe700 (LWP 8442)]
[Thread 0x7fffb77fe700 (LWP 8441) exited]
[Thread 0x7fffb77fe700 (LWP 8442) exited]
[New Thread 0x7fffb77fe700 (LWP 8443)]
[New Thread 0x7fffb77fe700 (LWP 8444)]
[Thread 0x7fffb77fe700 (LWP 8443) exited]
[Thread 0x7fffb77fe700 (LWP 8444) exited]
[New Thread 0x7fffb77fe700 (LWP 8446)]
[Thread 0x7fffb77fe700 (LWP 8446) exited]
[New Thread 0x7fffb77fe700 (LWP 8447)]

Thread 1 "okular" received signal SIGSEGV, Segmentation fault.
0x7fffec69df6b in Okular::ObjectRect::distanceSqr
(this=this@entry=0x55c6a2a0, 
x=x@entry=0.52796803652968038, y=y@entry=0.717892903787549,
xScale=xScale@entry=1752, 
yScale=yScale@entry=2297) at
/usr/src/debug/okular-18.08.1/core/annotations.h:693
693 /usr/src/debug/okular-18.08.1/core/annotations.h: No such file or
directory.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 398334] Okular crashes while un/re highlighting PDF file

2018-09-07 Thread T . Zack Crawford
https://bugs.kde.org/show_bug.cgi?id=398334

--- Comment #1 from T. Zack Crawford  ---
I reinstalled okular and glibc in debug mode such that I could get the full
backtrace and now the bug is not reproducible...

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 398334] Okular crashes while un/re highlighting PDF file

2018-09-06 Thread T . Zack Crawford
https://bugs.kde.org/show_bug.cgi?id=398334

T. Zack Crawford  changed:

   What|Removed |Added

Summary|Okular crashes while|Okular crashes while un/re
   |highlighting PDF file   |highlighting PDF file

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 398334] New: Okular crashes while highlighting PDF file

2018-09-06 Thread T . Zack Crawford
https://bugs.kde.org/show_bug.cgi?id=398334

Bug ID: 398334
   Summary: Okular crashes while highlighting PDF file
   Product: okular
   Version: unspecified
  Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: okular-de...@kde.org
  Reporter: t.z.crawf...@hotmail.com
  Target Milestone: ---

--Software Versions

Application: okular (1.5.1)
KDE Frameworks 5.49.0
Qt 5.11.1 (built against 5.11.1)
Operating System: 4.18.5-arch1-1-ARCH (Linux kernel 4.18.5)
Distribution: Arch Linux
Window manager: i3 (if that matters)
PDF Backend 0.6.5

-- Information about the crash:
- What I was doing when the application crashed:

An arbitrary highlightable pdf file was opened with okular (have tried opening
from both Okular>File>Open as well as from thunar and launching from zotero) 
The F6 button was pressed to open the review tool with the highlighter option
At least two separate sections of text were highlighted with the default yellow
highlighter. Doing this after highlighting only one section does not produce a
crash (at least not consistently).
CTRL+Z was pressed to undo the last highlighted text
Another section of text was then highlighted
Okular immediately crashes

- Custom settings of the application:

I have added a few extra colored highlighters to the review tool, but I can
make the crash occur using the default yellow highlighter only. Seems not
relevant to the bug.

-- Backtrace:

Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7efbf7a52800 (LWP 12111))]

Thread 9 (Thread 0x7efbdaffd700 (LWP 12123)):
#0  0x7efbfca8aafc in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7efbe77c9404 in ?? () from /usr/lib/dri/radeonsi_dri.so
#2  0x7efbe77c90f8 in ?? () from /usr/lib/dri/radeonsi_dri.so
#3  0x7efbfca84a9d in start_thread () from /usr/lib/libpthread.so.0
#4  0x7efbfdb1fa43 in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7efbdb7fe700 (LWP 12122)):
#0  0x7efbfca8aafc in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7efbe77c9404 in ?? () from /usr/lib/dri/radeonsi_dri.so
#2  0x7efbe77c90f8 in ?? () from /usr/lib/dri/radeonsi_dri.so
#3  0x7efbfca84a9d in start_thread () from /usr/lib/libpthread.so.0
#4  0x7efbfdb1fa43 in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7efbdbfff700 (LWP 12121)):
#0  0x7efbfca8aafc in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7efbe77c9404 in ?? () from /usr/lib/dri/radeonsi_dri.so
#2  0x7efbe77c90f8 in ?? () from /usr/lib/dri/radeonsi_dri.so
#3  0x7efbfca84a9d in start_thread () from /usr/lib/libpthread.so.0
#4  0x7efbfdb1fa43 in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7efbe0f53700 (LWP 12120)):
#0  0x7efbfca8aafc in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7efbe77c9404 in ?? () from /usr/lib/dri/radeonsi_dri.so
#2  0x7efbe77c90f8 in ?? () from /usr/lib/dri/radeonsi_dri.so
#3  0x7efbfca84a9d in start_thread () from /usr/lib/libpthread.so.0
#4  0x7efbfdb1fa43 in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7efbe1754700 (LWP 12119)):
#0  0x7efbfca8aafc in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7efbe77c9404 in ?? () from /usr/lib/dri/radeonsi_dri.so
#2  0x7efbe77c90f8 in ?? () from /usr/lib/dri/radeonsi_dri.so
#3  0x7efbfca84a9d in start_thread () from /usr/lib/libpthread.so.0
#4  0x7efbfdb1fa43 in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7efbe1f55700 (LWP 12118)):
#0  0x7efbfca8aafc in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7efbe77c9404 in ?? () from /usr/lib/dri/radeonsi_dri.so
#2  0x7efbe77c90f8 in ?? () from /usr/lib/dri/radeonsi_dri.so
#3  0x7efbfca84a9d in start_thread () from /usr/lib/libpthread.so.0
#4  0x7efbfdb1fa43 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7efbe2897700 (LWP 12117)):
#0  0x7efbfca8aafc in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7efbe77c9404 in ?? () from /usr/lib/dri/radeonsi_dri.so
#2  0x7efbe77c90f8 in ?? () from /usr/lib/dri/radeonsi_dri.so
#3  0x7efbfca84a9d in start_thread () from /usr/lib/libpthread.so.0
#4  0x7efbfdb1fa43 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7efbefde4700 (LWP 12116)):
#0  0x7efbfdb14bb1 in poll () from /usr/lib/libc.so.6
#1  0x7efbfb67dec0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x7efbfb67dfee in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x7efbfe03e4a9 in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib/libQt5Core.so.5
#4  0x7efbfdfe9dac in
QEventLoop::exec(QFlags) () from