[okular] [Bug 415340] Crash when closing print preview dialog on Linux

jimbo1qaz bugzilla_noreply at kde.org
Thu Dec 19 04:39:31 GMT 2019


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

--- Comment #1 from jimbo1qaz <jimbo1qaz at protonmail.com> ---
Okular 78cf6bd910aa2dfeb55ea110a1d0423fc54f58a5 via AUR okular-git.

Running with valgrind causes okular to crash as soon as I open a document. Is
this a false positive?

I managed to build Okular with `-fsanitize=address,undefined
-fno-sanitize=vptr`. (Omitting -fno-sanitize results in a nondescript linking
error like `undefined reference to `typeinfo for MyObject'`. I eventually found
https://stackoverflow.com/a/48322000 which mentions that the vptr sanitizer is
incompatible with RTTI off.)

The resulting asan Okular does not crash as soon as I open a document, nor when
I open print preview. It prints the following message when I close print
preview:

/home/nyanpasu64/aur/okular-git/src/okular/ui/pageview.cpp:1595:49: runtime
error: member access within null pointer of type 'struct KToggleAction'
/home/nyanpasu64/aur/okular-git/src/okular/ui/pageview.cpp:1595:49: runtime
error: member call on null pointer of type 'struct QAction'

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


More information about the Okular-devel mailing list