I've been testing features for years with a custom build on Manjaro and now the game gets stuck when clicking on any menu option.
The console seems normal, only shows "[23:48:39.182 I] Playing music/special/morrowind title.mp3", and I have to alt-tab and kill the process.
In my build I build Bullet with `USE_DOUBLE_PRECISION=ON` and then build openmw linking to it with these options
>>> pacman -Qi openmw
Name : openmw
Version : 0.47.0-4
Description : Open-source engine reimplementation for the role-playing game Morrowind
Architecture : x86_64
URL : http://www.openmw.org
Licenses : GPL3 MIT custom
Groups : None
Provides : None
Depends On : openal openscenegraph mygui qt5-base ffmpeg4.4 sdl2 unshield libxt boost-libs
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 27,60 MiB
Packager : Sven-Hendrik Haase <[email protected]>
Build Date : dom 20 feb 2022 04:51:41
Install Date : dom 01 may 2022 21:24:24
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
I saw your comment https://gitlab.com/OpenMW/openmw/-/issu ... _847982189 but did not understand hwo to apply it. No build() function I could see outside of cpp and header files. and exporting the variable before the build did not work,
I assume you are using a custom shellscript to build openmw trunk ?
I can see 2 possible reasons why the export didn't work :
your script has multiple cmake invocations and you didn't put the export at the right spot .
The snippet you posted in #1 f.e. looks like it deals with the cmake for building openscenegraph , the one for building openmw should be the last cmake invocation in the script.
manjaro ffmpeg4.4 package installs the ffmpeg4.4 pkgconfig files in another location then archlinux .
Easiest way to verify the location is to execute $ pacman -Ql ffmpeg4.4 | grep pkgconf .
Thanks! At least I can check that script and compare.
LoneWolf wrote: ↑02 May 2022, 12:16
I assume you are using a custom shellscript to build openmw trunk ?
I can see 2 possible reasons why the export didn't work :
your script has multiple cmake invocations and you didn't put the export at the right spot .
The snippet you posted in #1 f.e. looks like it deals with the cmake for building openscenegraph , the one for building openmw should be the last cmake invocation in the script.
manjaro ffmpeg4.4 package installs the ffmpeg4.4 pkgconfig files in another location then archlinux .
Easiest way to verify the location is to execute $ pacman -Ql ffmpeg4.4 | grep pkgconf .
Yes, custom, but the cmake section is for openmw. The cmake I did not include is for Bullet (for the required double precission), OSG is managed by the openmw script itself, it downloads and compiles as part of the build.
Comparing with the AUR script and output of the `pacman` command, it all seems fine. It does something, just that it crashes when loading the menu (no click required) and dumps the 600 lines file.
Status Word: 0x0000
TOP: 0
Control Word: 0x037f IM DM ZM OM UM PM
PC: Extended Precision (64-bits)
RC: Round to nearest
Tag Word: 0xffff
Instruction Pointer: 0x00:0x00000000
Operand Pointer: 0x00:0x00000000
Opcode: 0x0000
Thread 33 (Thread 0x7f156d7fa640 (LWP 45682) "openmw"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381df32 in pthread_cond_clockwait@GLIBC_2.30 () at /usr/lib/libc.so.6
#2 0x000056075d1e9748 in DetourNavigator::AsyncNavMeshUpdater::getNextJob() ()
#3 0x000056075d1f9f1c in DetourNavigator::AsyncNavMeshUpdater::process() ()
#4 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x56076af23840) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#5 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#6 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 32 (Thread 0x7f156dffb640 (LWP 45681) "openmw"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381df32 in pthread_cond_clockwait@GLIBC_2.30 () at /usr/lib/libc.so.6
#2 0x000056075d1e8ad5 in DetourNavigator::DbJobQueue::pop(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#3 0x000056075d1f5d80 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<DetourNavigator::DbWorker::DbWorker(DetourNavigator::AsyncNavMeshUpdater&, std::unique_ptr<DetourNavigator::NavMeshDb, std::default_delete<DetourNavigator::NavMeshDb> >&&, Misc::StrongTypedef<long, DetourNavigator::TileVersionTag>, DetourNavigator::RecastSettings const&, bool)::{lambda()#1}> > >::_M_run() ()
#4 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x56076ae802a0) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#5 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#6 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 31 (Thread 0x7f156e7fc640 (LWP 45680) "openmw"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f1603b6ec51 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
__e = <optimized out>
#3 std::__condvar::wait(std::mutex&) (__m=<optimized out>, this=<optimized out>) at /usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:155
__e = <optimized out>
#4 std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=<optimized out>) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/condition_variable.cc:41
#5 0x000056075ceab570 in MWPhysics::PhysicsTaskScheduler::worker() ()
#6 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x5607692c4a20) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#8 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 30 (Thread 0x7f156effd640 (LWP 45679) "openmw"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f1603b6ec51 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
__e = <optimized out>
#3 std::__condvar::wait(std::mutex&) (__m=<optimized out>, this=<optimized out>) at /usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:155
__e = <optimized out>
#4 std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=<optimized out>) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/condition_variable.cc:41
#5 0x000056075ceab570 in MWPhysics::PhysicsTaskScheduler::worker() ()
#6 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x560769170870) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#8 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 29 (Thread 0x7f156f7fe640 (LWP 45678) "openmw"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f1603b6ec51 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
__e = <optimized out>
#3 std::__condvar::wait(std::mutex&) (__m=<optimized out>, this=<optimized out>) at /usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:155
__e = <optimized out>
#4 std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=<optimized out>) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/condition_variable.cc:41
#5 0x000056075ceab570 in MWPhysics::PhysicsTaskScheduler::worker() ()
#6 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x5607691d3de0) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#8 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 28 (Thread 0x7f156ffff640 (LWP 45677) "openmw"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f1603b6ec51 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
__e = <optimized out>
#3 std::__condvar::wait(std::mutex&) (__m=<optimized out>, this=<optimized out>) at /usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:155
__e = <optimized out>
#4 std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=<optimized out>) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/condition_variable.cc:41
#5 0x000056075ceab570 in MWPhysics::PhysicsTaskScheduler::worker() ()
#6 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x56076916e430) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#8 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 27 (Thread 0x7f15917fa640 (LWP 45676) "openmw"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f1603826518 in __new_sem_wait_slow64.constprop.0 () at /usr/lib/libc.so.6
#2 0x00007f1606634f19 in () at /usr/lib/libopenal.so.1
#3 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x560760df3e80) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 26 (Thread 0x7f1591ffb640 (LWP 45675) "openmw"):
#0 0x00007f16038972af in poll () at /usr/lib/libc.so.6
#1 0x00007f160668553b in () at /usr/lib/libopenal.so.1
#2 0x00007f15c8740751 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3 0x00007f15c874aafd in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4 0x00007f15c874abb1 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5 0x00007f160668581b in () at /usr/lib/libopenal.so.1
#6 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x560760df4170) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#8 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 25 (Thread 0x7f15927fc640 (LWP 45674) "openmw"):
#0 0x00007f16038972af in poll () at /usr/lib/libc.so.6
#1 0x00007f160668553b in () at /usr/lib/libopenal.so.1
#2 0x00007f15c8740751 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3 0x00007f15c874aafd in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4 0x00007f15c874abb1 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5 0x00007f160668581b in () at /usr/lib/libopenal.so.1
#6 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x56075fe844c0) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#8 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 24 (Thread 0x7f1592ffd640 (LWP 45672) "openmw"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381df32 in pthread_cond_clockwait@GLIBC_2.30 () at /usr/lib/libc.so.6
#2 0x000056075cd9d3ad in std::thread::_State_impl<std::thread::_Invoker<std::tuple<MWSound::OpenAL_Output::StreamThread::StreamThread()::{lambda()#1}> > >::_M_run() ()
#3 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x56075fe82d30) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 23 (Thread 0x7f15937fe640 (LWP 45671) "openmw"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f1603b6ec51 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
__e = <optimized out>
#3 std::__condvar::wait(std::mutex&) (__m=<optimized out>, this=<optimized out>) at /usr/src/debug/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:155
__e = <optimized out>
#4 std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=<optimized out>) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/condition_variable.cc:41
#5 0x000056075d06c36f in SceneUtil::WorkQueue::removeWorkItem() ()
#6 0x000056075d06c5fc in SceneUtil::WorkThread::run() ()
#7 0x00007f1603b754d4 in std::execute_native_thread_routine(void*) (__p=0x560760c46640) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#8 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#9 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 22 (Thread 0x7f1593fff640 (LWP 45670) "openmw"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x000056075d4f26ff in OpenThreads::Condition::wait(OpenThreads::Mutex*) ()
#3 0x000056075d3b8dbb in osgViewer::Renderer::draw() ()
#4 0x000056075d57f459 in osg::GraphicsContext::runOperations() ()
#5 0x000056075d60a695 in osg::OperationThread::run() ()
#6 0x000056075d580baa in non-virtual thunk to osg::GraphicsThread::run() ()
#7 0x000056075d4f20ac in OpenThreads::ThreadPrivateActions::StartThread(void*) ()
#8 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#9 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 21 (Thread 0x7f15c8ff9640 (LWP 45669) "openmw:gdrv0"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 20 (Thread 0x7f15c97fa640 (LWP 45665) "openmw:shlo4"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 19 (Thread 0x7f15c9ffb640 (LWP 45664) "openmw:shlo3"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 18 (Thread 0x7f15ca7fc640 (LWP 45663) "openmw:shlo2"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 17 (Thread 0x7f15caffd640 (LWP 45662) "openmw:shlo1"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 16 (Thread 0x7f15cb7fe640 (LWP 45661) "openmw:shlo0"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 15 (Thread 0x7f15d0ff9640 (LWP 45660) "openmw:sh11"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 14 (Thread 0x7f15d17fa640 (LWP 45659) "openmw:sh10"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 13 (Thread 0x7f15d1ffb640 (LWP 45658) "openmw:sh9"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 12 (Thread 0x7f15d27fc640 (LWP 45657) "openmw:sh8"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 11 (Thread 0x7f15d2ffd640 (LWP 45656) "openmw:sh7"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 10 (Thread 0x7f15cbfff640 (LWP 45655) "openmw:sh6"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 9 (Thread 0x7f15d37fe640 (LWP 45654) "openmw:sh5"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 8 (Thread 0x7f15d3fff640 (LWP 45653) "openmw:sh4"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 7 (Thread 0x7f15e8af5640 (LWP 45652) "openmw:sh3"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 6 (Thread 0x7f15e92f6640 (LWP 45651) "openmw:sh2"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 5 (Thread 0x7f15e9af7640 (LWP 45650) "openmw:sh1"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 4 (Thread 0x7f15ea2f8640 (LWP 45649) "openmw:sh0"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 3 (Thread 0x7f15eaaf9640 (LWP 45648) "openmw:disk$0"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 2 (Thread 0x7f15eb43b640 (LWP 45647) "openmw:cs0"):
#0 0x00007f160381b15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1 0x00007f160381d960 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2 0x00007f15f20a953c in () at /usr/lib/dri/radeonsi_dri.so
#3 0x00007f15f20a258c in () at /usr/lib/dri/radeonsi_dri.so
#4 0x00007f160381e5c2 in start_thread () at /usr/lib/libc.so.6
#5 0x00007f16038a3584 in clone () at /usr/lib/libc.so.6
Thread 1 (Thread 0x7f15f4575040 (LWP 45646) "openmw"):
#0 0x00007f160386e4cf in wait4 () at /usr/lib/libc.so.6
#1 0x000056075d19125c in crash_catcher(int, siginfo_t*, void*) ()
#2 0x00007f16037d3560 in <signal handler called> () at /usr/lib/libc.so.6
#3 0x00007f1604d79970 in av_buffer_unref () at /usr/lib/libavutil.so.57
#4 0x00007f1605371eb8 in av_packet_unref () at /usr/lib/libavcodec.so.59
#5 0x000056075cda1bb5 in MWSound::FFmpeg_Decoder::close() ()
#6 0x000056075cd95607 in MWSound::OpenAL_SoundStream::~OpenAL_SoundStream() ()
#7 0x000056075cd9cba8 in MWSound::OpenAL_Output::streamSound(std::shared_ptr<MWSound::Sound_Decoder>, MWSound::Stream*, bool) ()
#8 0x000056075cd9f12d in MWSound::SoundManager::streamMusicFull(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#9 0x000056075cd9f4b0 in MWSound::SoundManager::startRandomTitle() ()
#10 0x000056075cf57a31 in OMW::Engine::go() ()
#11 0x000056075cf58550 in runApplication(int, char**) ()
#12 0x000056075d121cbd in wrapApplication(int (*)(int, char**), int, char**, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()
#13 0x000056075c842937 in main ()
[Inferior 1 (process 45646) detached]
Just saw that during build the following appears, I wonder if it's still picking up ffmpeg 5...
- Found FFmpeg_AVCODEC 58.134.100
-- Found FFmpeg_AVFORMAT 58.76.100
-- Found FFmpeg_AVUTIL 56.70.100
-- Found FFmpeg_SWSCALE 5.9.100
-- Found FFmpeg_SWRESAMPLE 3.9.100
-- Found FFmpeg: /usr/lib/libavcodec.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so;/usr/lib/libswresample.so found components: AVCODEC AVFORMAT AVUTIL SWSCALE SWRESAMPLE
-- Found FFmpeg_AVCODEC 58.134.100
-- Found FFmpeg_AVFORMAT 58.76.100
-- Found FFmpeg_AVUTIL 56.70.100
-- Found FFmpeg_SWSCALE 5.9.100
-- Found FFmpeg_SWRESAMPLE 3.9.100
-- Found FFmpeg: /usr/lib/ffmpeg4.4/libavcodec.so;/usr/lib/ffmpeg4.4/libavformat.so;/usr/lib/ffmpeg4.4/libavutil.so;/usr/lib/ffmpeg4.4/libswscale.so;/usr/lib/ffmpeg4.4/libswresample.so found components: AVCODEC AVFORMAT AVUTIL SWSCALE SWRESAMPLE
LoneWolf wrote: ↑03 May 2022, 22:26
maybe there's some stuff leftover from an earlier build.
Have you tried building in a fresh empty folder ?
I precisely maintain this scripts to avoid leftovers. I run the game directly from the build dir, and I totally delete and regenerate cmake on every build.
On the brigth side ... at least the crash versions are consistent with `ldd` ouput but that doesn't help much. Seems to me it's still linking to the newer ones in runtime, I wonder if there's a way to link those statically.
I doubt linking ffmpeg libs statically is a good idea.
Something on your system leads to cmake preferring ffmpeg 5 if both 4.4 and 5 are present.
The something could be manjaro-specific or unique to your setup.
I don't know much about manjaro specific settings and can't help with that.
There's however one approach that will work : build in a separate environment that only has necessary stuff (specifically no ffmpeg 5) .
Whether a Virtual Machine, a clean chroot, a container (like docker or nspawn ) etc is used is a personal choice and doesn't really matter.