Bug 444005 - visibilitytest segmentation fault
Summary: visibilitytest segmentation fault
Status: RESOLVED DUPLICATE of bug 444003
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 21.08.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-18 23:39 UTC by James Beddek
Modified: 2021-10-19 20:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Beddek 2021-10-18 23:39:50 UTC
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: visibilitytest (visibilitytest), 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=0x7f9b588509c0, exec=0x559bece21040, propertyName=..., value=0x7f9b58850a00, attr=4) at /usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/object.cpp:247
#7  0x00007f9b5d039a98 in KJS::ErrorPrototype::ErrorPrototype (this=0x7f9b588509c0, exec=0x559bece21040, objectProto=<optimized out>, funcProto=0x7f9b588500c0) at /usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/error_object.cpp:53
#8  0x00007f9b5d0430fc in KJS::Interpreter::initGlobalObject (this=0x559bece21020) at /usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/interpreter.cpp:385
#9  0x00007f9b5eaae5ff in KJSInterpreter::KJSInterpreter (this=0x559bece21000, global=...) at /usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/api/kjsinterpreter.cpp:111
#10 0x00007f9b5ffd95f9 in Okular::ExecutorKJSPrivate::initTypes (this=this@entry=0x559bece20710) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/script/executor_kjs.cpp:60
#11 0x00007f9b5ffd994c in Okular::ExecutorKJSPrivate::ExecutorKJSPrivate (this=0x559bece20710, doc=0x559becd3c400) 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=0x559bece20610, doc=0x559becd3c400) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/script/executor_kjs.cpp:89
#13 0x00007f9b5ffa1deb in Okular::Scripter::execute (this=0x559bece205d0, type=Okular::JavaScript, script=...) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/scripter.cpp:65
#14 0x00007f9b5ff6dd15 in Okular::Document::processAction (this=0x559becd43320, action=0x559bece1e890) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/document.cpp:4012
#15 0x0000559beaf0825f in VisibilityTest::testJavaScriptVisibility (this=0x7ffddb979200) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/autotests/visibilitytest.cpp:92
#16 0x00007f9b5f7474ff in QMetaMethod::invoke (this=0x559becd42ad0, object=0x7ffddb979200, 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
#17 0x00007f9b60017d5d in QMetaMethod::invoke (this=<optimized out>, object=0x559bece21040, 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
#18 QTest::TestMethods::invokeTestOnData (this=this@entry=0x7ffddb9790e0, index=index@entry=0) at /usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:938
#19 0x00007f9b600187d8 in QTest::TestMethods::invokeTest (this=this@entry=0x7ffddb9790e0, index=index@entry=0, data=data@entry=0x0, watchDog=watchDog@entry=0x559becd427d0) at /usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1166
#20 0x00007f9b6001970a in QTest::TestMethods::invokeTests (this=this@entry=0x7ffddb9790e0, testObject=0x7ffddb979200) at /usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1507
#21 0x00007f9b60019d55 in QTest::qRun () at /usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1934
#22 0x00007f9b60019a1e in QTest::qExec (testObject=testObject@entry=0x7ffddb979200, argc=<optimized out>, argv=argv@entry=0x7ffddb979348) at /usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1842
#23 0x0000559beaf08a09 in main (argc=-320729024, argv=0x7ffddb979348) at /var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/autotests/visibilitytest.cpp:163
[Inferior 1 (process 2974075) detached]
Comment 1 Albert Astals Cid 2021-10-19 20:07:59 UTC

*** This bug has been marked as a duplicate of bug 444003 ***