Created attachment 771804 [details]
mozjs52-spec_ppc64.patch
Able to retrieve backtrace with gdb, as detailed below.
This is pointing to a SEGV in libmozjs52.
I did a trial with a mozjs52.spec change; after build and install I was able to
start with no error the polkitd.
===
gdb /usr/lib/polkit-1/polkitd
...
Thread 1 "polkitd" received signal SIGSEGV, Segmentation fault.
js::detail::MutexImpl::lock (this=0x188) at
/usr/src/debug/mozjs52-52.6.0-3.1.ppc64/js/src/threading/posix/MutexImpl.cpp:70
70 TRY_CALL_PTHREADS(pthread_mutex_lock(&platformData()->ptMutex),
(gdb) bt
#0 js::detail::MutexImpl::lock (this=0x188) at
/usr/src/debug/mozjs52-52.6.0-3.1.ppc64/js/src/threading/posix/MutexImpl.cpp:70
#1 0x00007ffff66c719c in js::LockGuard<js::Mutex>::LockGuard (aLock=...,
this=<synthetic pointer>) at
/usr/src/debug/mozjs52-52.6.0-3.1.ppc64/js/src/threading/LockGuard.h:25
#2 js::AutoLockHelperThreadState::AutoLockHelperThreadState (this=<synthetic
pointer>) at
/usr/src/debug/mozjs52-52.6.0-3.1.ppc64/js/src/vm/HelperThreads.h:511
#3 js::GlobalHelperThreadState::ensureInitialized (this=0x0) at
/usr/src/debug/mozjs52-52.6.0-3.1.ppc64/js/src/vm/HelperThreads.cpp:704
#4 0x00007ffff6722774 in JSRuntime::init (this=0x1000c9ec0,
maxbytes=<optimized out>, maxNurseryBytes=<optimized out>)
at /usr/src/debug/mozjs52-52.6.0-3.1.ppc64/js/src/vm/Runtime.cpp:292
#5 0x00007ffff65339c0 in JSContext::init (maxNurseryBytes=16777216,
maxBytes=8388608, this=0x1000c9cc0) at
/usr/src/debug/mozjs52-52.6.0-3.1.ppc64/js/src/jscntxt.cpp:96
#6 js::NewContext (parentRuntime=0x0, maxNurseryBytes=16777216,
maxBytes=8388608) at
/usr/src/debug/mozjs52-52.6.0-3.1.ppc64/js/src/jscntxt.cpp:112
#7 JS_NewContext (maxbytes=<optimized out>, maxNurseryBytes=<optimized out>,
parentContext=<optimized out>) at
/usr/src/debug/mozjs52-52.6.0-3.1.ppc64/js/src/jsapi.cpp:476
#8 0x0000000100012ebc in polkit_backend_js_authority_constructed
(object=0x100087900) at polkitbackendjsauthority.cpp:453
#9 0x00007ffff7c06b10 in ?? () from /usr/lib64/libgobject-2.0.so.0
#10 0x00007ffff7c08a10 in .g_object_new_with_properties () from
/usr/lib64/libgobject-2.0.so.0
#11 0x00007ffff7c0952c in .g_object_new () from /usr/lib64/libgobject-2.0.so.0
#12 0x0000000100010348 in polkit_backend_authority_get () at
polkitbackendauthority.c:1434
#13 0x000000010000e0b8 in main (argc=<optimized out>, argv=<optimized out>) at
polkitd.c:219
===