[okular] [Bug 444004] New: formattest segmentation fault

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


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

            Bug ID: 444004
           Summary: formattest 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: formattest (formattest), 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=0x7f8b15b809c0, exec=0x558841946d80,
propertyName=..., value=0x7f8b15b80a00, attr=4) at
/usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/object.cpp:247
#7  0x00007f8b1a35ea98 in KJS::ErrorPrototype::ErrorPrototype
(this=0x7f8b15b809c0, exec=0x558841946d80, objectProto=<optimized out>,
funcProto=0x7f8b15b800c0) at
/usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/error_object.cpp:53
#8  0x00007f8b1a3680fc in KJS::Interpreter::initGlobalObject
(this=0x558841946d60) at
/usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/interpreter.cpp:385
#9  0x00007f8b1bdd35ff in KJSInterpreter::KJSInterpreter (this=0x5588419f4f90,
global=...) at
/usr/src/debug/kde-frameworks/kjs-5.87.0/kjs-5.87.0/src/kjs/api/kjsinterpreter.cpp:111
#10 0x00007f8b1d2fe5f9 in Okular::ExecutorKJSPrivate::initTypes
(this=this at entry=0x5588419f4a40) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/script/executor_kjs.cpp:60
#11 0x00007f8b1d2fe94c in Okular::ExecutorKJSPrivate::ExecutorKJSPrivate
(this=0x5588419f4a40, doc=0x5588418e8f90) 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=0x5588419f48e0, doc=0x5588418e8f90)
at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/script/executor_kjs.cpp:89
#13 0x00007f8b1d2c6deb in Okular::Scripter::execute (this=0x5588419f48a0,
type=Okular::JavaScript, script=...) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/scripter.cpp:65
#14 0x00007f8b1d29bae7 in Okular::DocumentPrivate::executeScriptEvent
(this=0x5588418e8f90, event=warning: RTTI symbol not found for class
'std::_Sp_counted_ptr<Okular::Event*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Okular::Event*,
(__gnu_cxx::_Lock_policy)2>'
std::shared_ptr<Okular::Event> (use count 1, weak count 0) = {...},
linkscript=linkscript at entry=0x5588419eab60) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/document.cpp:2110
#15 0x00007f8b1d2937e2 in Okular::Document::processFormatAction
(this=0x5588418e1dd0, action=0x5588419eab60, fft=0x5588419ea0b0) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/core/document.cpp:4062
#16 0x00005588407b8033 in FormatTest::testTimeFormat
(this=this at entry=0x7ffd9d2a0fa8) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/autotests/formattest.cpp:77
#17 0x00005588407b9f58 in FormatTest::qt_static_metacall
(_o=_o at entry=0x7ffd9d2a0fa8, _c=1100246400,
_c at entry=QMetaObject::InvokeMetaMethod, _id=1100874952, _id at entry=2,
_a=<optimized out>) at autotests/formattest_autogen/include/formattest.moc:104
#18 0x00007f8b1ca6c4ff in QMetaMethod::invoke (this=0x5588418e28b0,
object=0x7ffd9d2a0fa8, 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
#19 0x00007f8b1d33cd5d in QMetaMethod::invoke (this=<optimized out>,
object=0x558841946d80, 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
#20 QTest::TestMethods::invokeTestOnData (this=this at entry=0x7ffd9d2a0e80,
index=index at entry=0) at
/usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:938
#21 0x00007f8b1d33d7d8 in QTest::TestMethods::invokeTest
(this=this at entry=0x7ffd9d2a0e80, index=index at entry=0, data=data at entry=0x0,
watchDog=watchDog at entry=0x5588418e1e80) at
/usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1166
#22 0x00007f8b1d33e70a in QTest::TestMethods::invokeTests
(this=this at entry=0x7ffd9d2a0e80, testObject=0x7ffd9d2a0fa8) at
/usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1507
#23 0x00007f8b1d33ed55 in QTest::qRun () at
/usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1934
#24 0x00007f8b1d33ea1e in QTest::qExec
(testObject=testObject at entry=0x7ffd9d2a0fa8, argc=<optimized out>,
argv=argv at entry=0x7ffd9d2a10f8) at
/usr/src/debug/dev-qt/qttest-5.15.2-r10/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/testlib/qtestcase.cpp:1842
#25 0x00005588407b9e28 in main (argc=1100246400, argv=0x7ffd9d2a10f8) at
/var/tmp/portage/kde-apps/okular-21.08.2/work/okular-21.08.2/autotests/formattest.cpp:183
[Inferior 1 (process 2974077) detached]

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


More information about the Okular-devel mailing list