[okular] [Bug 444003] New: kjsfunctionstest segmentation fault

James Beddek bugzilla_noreply at kde.org
Tue Oct 19 00:39:45 BST 2021


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

            Bug ID: 444003
           Summary: kjsfunctionstest segmentation fault
           Product: okular
           Version: 21.08.2
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: telans at posteo.de
  Target Milestone: ---

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: kjsfunctionstest (kjsfunctionstest), 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=0x7f41e68d09c0, exec=0x559956d1fe20,
propertyName=..., value=0x7f41e68d0a00, attr=4) at
/usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/object.cpp:247
#7  0x00007f41eb0b2a98 in KJS::ErrorPrototype::ErrorPrototype
(this=0x7f41e68d09c0, exec=0x559956d1fe20, objectProto=<optimized out>,
funcProto=0x7f41e68d00c0) at
/usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/error_object.cpp:53
#8  0x00007f41eb0bc0fc in KJS::Interpreter::initGlobalObject
(this=0x559956d1fe00) at
/usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/interpreter.cpp:385
#9  0x00007f41ecb275ff in KJSInterpreter::KJSInterpreter (this=0x559956d1fde0,
global=...) at
/usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/api/kjsinterpreter.cpp:111
#10 0x00007f41ee0525f9 in Okular::ExecutorKJSPrivate::initTypes
(this=this at entry=0x559956d1f910) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/script/executor_kjs.cpp:60
#11 0x00007f41ee05294c in Okular::ExecutorKJSPrivate::ExecutorKJSPrivate
(this=0x559956d1f910, doc=0x559956c36060) 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=0x559956d1f7c0, doc=0x559956c36060)
at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/script/executor_kjs.cpp:89
#13 0x00007f41ee01adeb in Okular::Scripter::execute (this=0x559956d1f780,
type=Okular::JavaScript, script=...) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/scripter.cpp:65
#14 0x00007f41edfe6d15 in Okular::Document::processAction (this=0x559956c2e730,
action=0x559956d1e680) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/document.cpp:4012
#15 0x00005599569b4bdb in KJSFunctionsTest::testNthFieldName
(this=0x7ffea87a03a0) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/autotests/kjsfunctionstest.cpp:124
#16 0x00007f41ed7c04ff in QMetaMethod::invoke (this=0x559956c2ec80,
object=0x7ffea87a03a0, 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 0x00007f41ee090d5d in QMetaMethod::invoke (this=<optimized out>,
object=0x559956d1fe20, object at 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 at entry=0x7ffea87a0280,
index=index at entry=0) at
/usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:938
#19 0x00007f41ee0917d8 in QTest::TestMethods::invokeTest
(this=this at entry=0x7ffea87a0280, index=index at entry=0, data=data at entry=0x0,
watchDog=watchDog at entry=0x559956c2e750) at
/usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1166
#20 0x00007f41ee09270a in QTest::TestMethods::invokeTests
(this=this at entry=0x7ffea87a0280, testObject=0x7ffea87a03a0) at
/usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1507
#21 0x00007f41ee092d55 in QTest::qRun () at
/usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1934
#22 0x00007f41ee092a1e in QTest::qExec
(testObject=testObject at entry=0x7ffea87a03a0, argc=<optimized out>,
argv=argv at entry=0x7ffea87a04e8) at
/usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1842
#23 0x00005599569b73f9 in main (argc=1456602656, argv=0x7ffea87a04e8) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/autotests/kjsfunctionstest.cpp:355
[Inferior 1 (process 2974076) detached]

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


More information about the Okular-devel mailing list