overte-org / overte

Overte open source virtual worlds platform.
https://overte.org/
Other
130 stars 47 forks source link

Weak pointer script loading crash #876

Open JulianGro opened 3 months ago

JulianGro commented 3 months ago

No idea what is going on here. 74 just asked me to create an issue.

#0 __pthread_kill_implementation() at nptl/nptl/pthread_kill.c:44
#1 __pthread_kill_internal() at nptl/nptl/pthread_kill.c:78
#2 __GI_raise() at sysdeps/posix/raise.c:26
#3 __GI_abort() at stdlib/stdlib/abort.c:79
#4 ??() at /lib/x86_64-linux-gnu/libstdc++.so.6
#5 ??() at /lib/x86_64-linux-gnu/libstdc++.so.6
#6 std::terminate()() at /lib/x86_64-linux-gnu/libstdc++.so.6
#7 __cxa_throw() at /lib/x86_64-linux-gnu/libstdc++.so.6
#8 std::__throw_bad_weak_ptr() at /usr/include/c++/13/bits/shared_ptr_base.h:96
#9 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count() at /usr/include/c++/13/bits/shared_ptr_base.h:1.245
#10 std::__shared_ptr<ScriptManager, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<ScriptManager, void>() at /usr/include/c++/13/bits/shared_ptr_base.h:1.548
#11 std::shared_ptr<ScriptManager>::shared_ptr<ScriptManager, void>() at /usr/include/c++/13/bits/shared_ptr.h:381
#12 operator()() at /home/juliangro/git/overte/libraries/script-engine/src/ScriptManager.cpp:2.035
#13 std::__invoke_impl<void, ScriptManager::loadEntityScript(const EntityItemID&, const QString&, bool)::<lambda(const QString&, const QString&, bool, bool, const QString&)>&, const QString&, const QString&, bool, bool, const QString&>() at /usr/include/c++/13/bits/invoke.h:61
#14 std::__invoke_r<void, ScriptManager::loadEntityScript(const EntityItemID&, const QString&, bool)::<lambda(const QString&, const QString&, bool, bool, const QString&)>&, const QString&, const QString&, bool, bool, const QString&>() at /usr/include/c++/13/bits/invoke.h:150
#15 std::_Function_handler<void(const QString&, const QString&, bool, bool, const QString&), ScriptManager::loadEntityScript(const EntityItemID&, const QString&, bool)::<lambda(const QString&, const QString&, bool, bool, const QString&)> >::_M_invoke(const std::_Any_data &, const QString &, const QString &, bool &&, bool &&, const QString &)() at /usr/include/c++/13/bits/std_function.h:290
#16 std::function<void (QString const&, QString const&, bool, bool, QString const&)>::operator()(QString const&, QString const&, bool, bool, QString const&) const() at /usr/include/c++/13/bits/std_function.h:591
#17 ScriptCache::scriptContentAvailable() at /home/juliangro/git/overte/libraries/script-engine/src/ScriptCache.cpp:215
#18 QObject::event() at src/corelib/kernel/qobject.cpp:1.347
#19 QApplicationPrivate::notify_helper() at src/widgets/kernel/qapplication.cpp:3.640
#20 QCoreApplication::notifyInternal2() at src/corelib/kernel/qcoreapplication.cpp:1.064