Application: okular (5.18.2 (21.08.2)) (Compiled from sources) Qt Version: 5.15.2 Frameworks Version: 5.87.0 Operating System: Linux 5.14.12-gentoo-dist x86_64 Windowing System: X11 Distribution: Gentoo Linux DrKonqi: 5.23.0 [KCrashBackend] Compiler: Clang 13.0.0 C{,XX}FLAGS: -march=znver2 -O3 -glldb -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -pipe -- Information about the crash: - What I was doing when the application crashed: Running tests. The crash can be reproduced every time. -- Backtrace: Application: calculatetexttest (calculatetexttest), signal: Segmentation fault [KCrash Handler] #4 KJS::JSCell::isObject (this=0x3) at /usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/value.h:319 #5 KJS::JSValue::isObject (this=0x3) at /usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/value.h:377 #6 KJS::JSObject::put (this=0x7f67955e09c0, exec=0x55edf76d1cf0, propertyName=..., value=0x7f67955e0a00, attr=4) at /usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/object.cpp:247 #7 0x00007f6799dc4a98 in KJS::ErrorPrototype::ErrorPrototype (this=0x7f67955e09c0, exec=0x55edf76d1cf0, objectProto=<optimized out>, funcProto=0x7f67955e00c0) at /usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/error_object.cpp:53 #8 0x00007f6799dce0fc in KJS::Interpreter::initGlobalObject (this=0x55edf76d1cd0) at /usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/interpreter.cpp:385 #9 0x00007f679b8395ff in KJSInterpreter::KJSInterpreter (this=0x55edf774d300, global=...) at /usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/api/kjsinterpreter.cpp:111 #10 0x00007f679cd645f9 in Okular::ExecutorKJSPrivate::initTypes (this=this@entry=0x55edf774c3a0) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/script/executor_kjs.cpp:60 #11 0x00007f679cd6494c in Okular::ExecutorKJSPrivate::ExecutorKJSPrivate (this=0x55edf774c3a0, doc=0x55edf76744a0) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/script/executor_kjs.cpp:43 #12 Okular::ExecutorKJS::ExecutorKJS (this=0x55edf774c990, doc=0x55edf76744a0) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/script/executor_kjs.cpp:89 #13 0x00007f679cd2cdeb in Okular::Scripter::execute (this=0x55edf774c870, type=Okular::JavaScript, script=...) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/scripter.cpp:65 #14 0x00007f679ccf8d15 in Okular::Document::processAction (this=0x55edf766cbf0, action=action@entry=0x55edf774b0d0) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/document.cpp:4012 #15 0x00007f679ccf8553 in Okular::DocumentPrivate::recalculateForms (this=0x55edf76744a0) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/document.cpp:1139 #16 0x00007f679cd1e669 in Okular::EditFormTextCommand::redo (this=0x55edf774c2e0) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/documentcommands.cpp:451 #17 0x00007f679cc0b0de in QUndoStack::push(QUndoCommand*) () from /usr/lib64/libQt5Widgets.so.5 #18 0x00007f679cd09c14 in Okular::Document::editFormText (this=<optimized out>, pageNumber=<optimized out>, form=0x55edf772c600, newContents=..., newCursorPos=<optimized out>, prevCursorPos=<optimized out>, prevAnchorPos=<optimized out>) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/document.cpp:3748 #19 0x000055edf6dcdef6 in CalculateTextTest::testSimpleCalculate (this=this@entry=0x7ffcb86c1658) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/autotests/calculatetexttest.cpp:72 #20 0x000055edf6dce9ad in CalculateTextTest::qt_static_metacall (_o=_o@entry=0x7ffcb86c1658, _c=4151123184, _c@entry=QMetaObject::InvokeMetaMethod, _id=-143460120, _id@entry=2, _a=<optimized out>) at autotests/calculatetexttest_autogen/include/calculatetexttest.moc:80 #21 0x00007f679c4d24ff in QMetaMethod::invoke (this=0x55edf7669c30, object=0x7ffcb86c1658, connectionType=<optimized out>, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/corelib/kernel/qmetaobject.cpp:2303 #22 0x00007f679cda2d5d in QMetaMethod::invoke (this=<optimized out>, object=0x55edf76d1cf0, object@entry=0x0, connectionType=Qt::DirectConnection, val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at ../../include/QtCore/../../../qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/corelib/kernel/qmetaobject.h:122 #23 QTest::TestMethods::invokeTestOnData (this=this@entry=0x7ffcb86c1520, index=index@entry=0) at /usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:938 #24 0x00007f679cda37d8 in QTest::TestMethods::invokeTest (this=this@entry=0x7ffcb86c1520, index=index@entry=0, data=data@entry=0x0, watchDog=watchDog@entry=0x55edf766cd10) at /usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1166 #25 0x00007f679cda470a in QTest::TestMethods::invokeTests (this=this@entry=0x7ffcb86c1520, testObject=0x7ffcb86c1658) at /usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1507 #26 0x00007f679cda4d55 in QTest::qRun () at /usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1934 #27 0x00007f679cda4a1e in QTest::qExec (testObject=testObject@entry=0x7ffcb86c1658, argc=<optimized out>, argv=argv@entry=0x7ffcb86c1798) at /usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1842 #28 0x000055edf6dce8c4 in main (argc=-143844112, argv=0x7ffcb86c1798) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/autotests/calculatetexttest.cpp:109 [Inferior 1 (process 2974078) detached]
*** This bug has been marked as a duplicate of bug 444003 ***