|
From: TheFGFSEagle <the...@gm...> - 2023-07-10 14:31:52
|
Got the following stack trace with up-to-date git next:
#0 ___pthread_rwlock_wrlock (rwlock=0x10) at
./nptl/pthread_rwlock_wrlock.c:26
result = <optimized out>
#1 0x0000555556523ae8 in std::__glibcxx_rwlock_wrlock (__rwlock=0x10) at
/usr/include/c++/11/shared_mutex:80
__ret = <optimized out>
#2 std::__shared_mutex_pthread::lock() (this=0x10) at
/usr/include/c++/11/shared_mutex:193
__ret = <optimized out>
#3 std::shared_mutex::lock() (this=0x10) at
/usr/include/c++/11/shared_mutex:420
#4 SGPropertyLock::acquire_internal(SGPropertyNode const&, bool)
(this=this@entry=0x7fffffffc920, node=..., shared=shared@entry=false)
at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/props/props.cxx:330
#5 0x0000555556523dfe in SGPropertyLockExclusive::acquire()
(this=0x7fffffffc920) at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/props/props.cxx:416
#6 SGPropertyLockExclusive::assign(SGPropertyNode const&) (node=...,
this=0x7fffffffc920)
at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/props/props.cxx:409
#7 SGPropertyLockExclusive::SGPropertyLockExclusive(SGPropertyNode const&)
(this=0x7fffffffc920, node=...)
at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/props/props.cxx:402
#8 0x000055555651750c in SGPropertyNode::fireValueChanged() (this=0x0) at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/props/props.cxx:3805
exclusive = {<SGPropertyLock> = {_vptr.SGPropertyLock =
0x555556ed8d88 <vtable for SGPropertyLockExclusive+16>, m_node = 0x0, m_own
= false}, <No data fields>}
#9 0x000055555617d3ce in SGRawValueMethods<FGProperties,
bool>::setValue(bool) (this=<optimized out>, value=<optimized out>)
at /media/frederic/TOSHIBA
EXT/.fg/.local/include/simgear/props/props.hxx:615
#10 0x0000555556524782 in
SGPropertyNodeImpl::set_bool(SGPropertyLockExclusive&, SGPropertyNode&,
bool) (exclusive=..., node=..., val=val@entry=true)
at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/props/props.cxx:1006
changed = false
#11 0x000055555651d202 in
SGPropertyNodeImpl::setBoolValue(SGPropertyLockExclusive&, SGPropertyNode&,
bool) (value=true, node=..., exclusive=...)
at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/props/props.cxx:1601
result = false
#12 SGPropertyNode::setValue<bool>(SGPropertyLockExclusive&, bool const&,
std::enable_if<simgear::props::PropertyTraits<bool>::Internal, void>::type*)
(this=0x555558565720, exclusive=..., val=<optimized out>,
dummy=<optimized out>)
at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/props/props.cxx:4297
#13 0x000055555652857d in SGPropertyNode::tie<bool>(SGRawValue<bool>
const&, bool) (this=this@entry=0x555558565720, rawValue=...,
useDefault=<optimized out>,
useDefault@entry=true) at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/props/props.cxx:4217
save_attributes = 3075
exclusive = {<SGPropertyLock> = {_vptr.SGPropertyLock =
0x555556ed8d88 <vtable for SGPropertyLockExclusive+16>, m_node =
0x555558565720, m_own = false}, <No data f--Type <RET> for more, q to quit,
c to continue without paging--
ields>}
old_val = true
#14 0x000055555617b0aa in
simgear::TiedPropertyList::Tie<bool>(SGSharedPtr<SGPropertyNode>,
SGRawValue<bool> const&, bool)
(useDefault=true, rawValue=..., node=..., this=0x5555593d3350) at
/media/frederic/TOSHIBA
EXT/.fg/.local/include/simgear/props/tiedpropertylist.hxx:52
success = <optimized out>
#15 simgear::TiedPropertyList::Tie<FGProperties, bool>(char const*,
FGProperties*, bool (FGProperties::*)() const, void
(FGProperties::*)(bool), bool)
(useDefault=true, setter=<optimized out>, getter=<optimized out>,
obj=0x5555593d3260, relative_path=0x555556a393f7 "/sim/freeze/master",
this=0x5555593d3350)
at /media/frederic/TOSHIBA
EXT/.fg/.local/include/simgear/props/tiedpropertylist.hxx:106
#16 FGProperties::bind() (this=0x5555593d3260) at /media/frederic/TOSHIBA
EXT/.fg/fgsource/flightgear/src/Main/fg_props.cxx:421
#17 0x000055555656e0e7 in operator() (s=0x5555593d3260,
__closure=<optimized out>)
at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/structure/subsystem_mgr.cxx:387
#18 std::__invoke_impl<void,
SGSubsystemGroup::bind()::<lambda(SGSubsystem*)>&, SGSubsystem*>
(__f=<optimized out>) at /usr/include/c++/11/bits/invoke.h:61
#19 std::__invoke_r<void,
SGSubsystemGroup::bind()::<lambda(SGSubsystem*)>&, SGSubsystem*>
(__fn=<optimized out>) at /usr/include/c++/11/bits/invoke.h:111
#20 std::_Function_handler<void(SGSubsystem*),
SGSubsystemGroup::bind()::<lambda(SGSubsystem*)> >::_M_invoke(const
std::_Any_data &, SGSubsystem *&&)
(__functor=..., __args#0=<optimized out>) at
/usr/include/c++/11/bits/std_function.h:290
#21 0x000055555656c87f in std::function<void
(SGSubsystem*)>::operator()(SGSubsystem*) const (__args#0=<optimized out>,
this=0x7fffffffcdb0)
at /usr/include/c++/11/bits/std_function.h:590
m = <optimized out>
Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address
0x22
__for_range = #22 SGSubsystemGroup::forEach(std::function<void
(SGSubsystem*)>) (this=this@entry=0x555558402910, f=...)
at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/structure/subsystem_mgr.cxx:331
m = <optimized out>
__for_range = std::vector of length 18, capacity 32 =
{0x5555588b8e90, 0x7fffd0141290, 0x555559492cb0, 0x55555928cb20,
0x55555928cc00, 0x55555928cd30, 0x555559694a40, 0x5555596e97e0,
0x555559f588b0, 0x55555a0fe1c0, 0x55555a0c02a0, 0x555559361750,
0x555570181ec0, 0x555559f91be0, 0x555559309cd0, 0x555559673270,
0x55555a202460, 0x55555958a0d0}
#23 0x000055555656cccb in SGSubsystemGroup::bind() (this=0x555558402910)
at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/structure/subsystem_mgr.cxx:384
i = 1
#24 SGSubsystemMgr::bind() (this=0x555558402660) at
/media/frederic/TOSHIBA_EXT/.fg/fgsource/simgear/simgear/structure/subsystem_mgr.cxx:1020
i = 1
#25 0x000055555619880a in fgIdleFunction() () at /media/frederic/TOSHIBA
EXT/.fg/fgsource/flightgear/src/Main/main.cxx:394
st = {_nsec = 715691233, _sec = 21680}
mgr = 0x555558402660
--Type <RET> for more, q to quit, c to continue without paging--c
__FUNCTION__ = "fgIdleFunction"
#26 0x00005555560ddaf5 in fgOSMainLoop() () at /media/frederic/TOSHIBA
EXT/.fg/fgsource/flightgear/src/Viewer/fg_os_osgviewer.cxx:464
idleFunc = 0x555556197d90 <fgIdleFunction()>
affinity_control = Python Exception <class 'AttributeError'>:
'NoneType' object has no attribute 'pointer'
{<SGPropertyChangeListener> = {_vptr.SGPropertyChangeListener =
0x555556ec2688 <vtable for AffinityControl+16>, _properties = std::vector
of length 1, capacity 1 = {0x5555594b1db0}}, m_node = {_ptr =
0x5555594b1db0}, m_state = "", m_thread_masks = std::map with 0 elements}
viewer_base = 0x5555584c5f00
__FUNCTION__ = "fgOSMainLoop"
#27 0x000055555619c676 in fgMainInit(int, char**) (argc=<optimized out>,
argv=0x7fffffffdcf8) at /media/frederic/TOSHIBA
EXT/.fg/fgsource/flightgear/src/Main/main.cxx:780
initHomeResult = <optimized out>
showLauncher = <optimized out>
__FUNCTION__ = "fgMainInit"
readOnlyFGHome = <optimized out>
version = "2020.4.0"
col = <optimized out>
configResult = <optimized out>
didUseLauncher = <optimized out>
errorManager = {_ptr = 0x5555593ddf80}
resMgr = <optimized out>
locale = "en_US"
presets = {_ptr = 0x555559563480}
result = <optimized out>
requestLauncherRestart = <optimized out>
#28 0x00005555558b4f91 in main(int, char**) (argc=2, argv=0x7fffffffdcf8)
at /media/frederic/TOSHIBA
EXT/.fg/fgsource/flightgear/src/Main/bootstrap.cxx:371
headless = <optimized out>
_hostname =
"ZEHN\000U\000\000\000\000\000\000\000\000\000\000\262\356\066XUU\000\000\b0\364VUU\000\000\000\000\000\000\000\300r@
\000\000\000\000\000\000i@\000\000\000\000\000\300b\300", '\000' <repeats
15 times>, "\200\000\000\000\000\000\000\000\000U\272\265VUU", '\000'
<repeats 22 times>,
"~\204.AЦ\217\363\377\177\000\000Ц\217\363\377\177\000\000\060\376\231\363\377\177\000\000\000\000\000\000\000\000\000\000\060U\232\363\377\177\000\000\060U\232\363\377\177\000\000\060\376\231\363\377\177\000\000\060\376\231\363\377\177\000\000\220\376\231\363\377\177\000\000\000\000\000\000\000\000\000\000@h
\232\363\377\177\000\000@h"...
fgviewer = false
exitStatus = 1
The problem was introduced between SG commits bd7c1c6a and da517f13 or FG
commits e11a6bb02 and 5cf6e4c26.
|