https://bugs.kde.org/show_bug.cgi?id=390357
--- Comment #3 from Fahad Al-Saidi ---
sorry, the problem is not from cmake. When I debug it, okular crash when open
the doc, here it the debug:
Thread 3 (Thread 0x7fffdbd71700 (LWP 376)):
#0 0x75af474d in poll () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x70ef438c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x70ef449c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x7641b6af in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#4 0x763c3e2a in
QEventLoop::exec(QFlags) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5 0x761ec8f4 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#6 0x7fffefbf5315 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
No symbol table info available.
#7 0x761f1709 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#8 0x757e36ba in start_thread (arg=0x7fffdbd71700) at
pthread_create.c:333
__res =
pd = 0x7fffdbd71700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736881694464,
4209299068300874597, 0, 140737488347247, 140736881695168, 140737488347432,
-4209220105802558619, -4209311152409226395}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =
__PRETTY_FUNCTION__ = "start_thread"
#9 0x75b0041d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Thread 2 (Thread 0x7fffe3764700 (LWP 375)):
#0 0x75af474d in poll () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x7fffec9fec62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#2 0x7fffeca008d7 in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#3 0x7fffe5cbb1f9 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
No symbol table info available.
#4 0x761f1709 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5 0x757e36ba in start_thread (arg=0x7fffe3764700) at
pthread_create.c:333
__res =
pd = 0x7fffe3764700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737009567488,
4209299068300874597, 0, 140737488346191, 140737009568192, 140737488346376,
-4209271500991835291, -4209311152409226395}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =
__PRETTY_FUNCTION__ = "start_thread"
#6 0x75b0041d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Thread 1 (Thread 0x77f138c0 (LWP 367)):
#0 0x75a2e428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
resultvar = 0
pid = 367
selftid = 367
#1 0x75a3002a in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0},
sa_mask = {__val = {140737323982638, 7608672, 140737329489568, 140737351871088,
3, 7167536, 0, 140737325494784, 140737353169072, 4294967295, 140737353171408,
140737351870832, 70, 0, 3454050420342969856, 280375465082880}}, sa_flags =
327790, sa_restorer = 0x5006e}
sigs = {__val = {32, 0 }}
#2 0x761d9c71 in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#3 0x77ba9bab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Test.so.5
No symbol table info available.
#4
No locals.
#5 0x00841f0f in ?? ()
No symbol table info available.
#6 0x76bac84a in QPagedPaintDevice::pageLayout() const () from
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#7 0x74310fa1 in QPrinter::orientation() const () from
/usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5
No symbol table info available.
#8 0x7fffdb361c97 in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_poppler.so
No symbol table info available.
#9 0x778a2f6a in Okular::Document::openDocument (this=0x7fffd8b0,
docFile=..., url=..., _mime=..., password=...) at
/home/ita/kde/src/kde/kdegraphics/okular/core/document.cpp:2488
db = {d = 0x76883570}
mime = {d = {d = 0x6a85c0}}
filedata = {d = 0x764af200 }
isstdin = false
triedMimeFromFileContent = false
offer = {m_metaData = {d = 0x6e39e0, o = 0x6d310c}, m_fileName =
{st