2019-12-14 22:07 CET

View Issue Details Jump to Notes ] Related Changesets ]
IDProjectCategoryView StatusLast Update
0005476Spring engineGeneralpublic2017-02-13 23:19
Reporterabma 
Assigned To 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version103.0 +git 
Target Version104.0Fixed in Version 
Summary0005476: failin assert in rts/System/Config/ConfigHandler.cpp:139: virtual ConfigHandlerImpl::~ConfigHandlerImpl(): Assertion `observers.
DescriptionProgram received signal SIGABRT, Aborted.
0x00007ffff2cd2067 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 0x00007ffff2cd2067 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff2cd3448 in __GI_abort () at abort.c:89
#2 0x00007ffff2ccb266 in __assert_fail_base (
    fmt=0x7ffff2e03f18 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0x18dffe0 "observers.empty()",
    file=file@entry=0x18dff20 "rts/System/Config/ConfigHandler.cpp",
    line=line@entry=139,
    function=function@entry=0x18e05c0 <ConfigHandlerImpl::~ConfigHandlerImpl()::__PRETTY_FUNCTION__> "virtual ConfigHandlerImpl::~ConfigHandlerImpl()") at assert.c:92
0000003 0x00007ffff2ccb312 in __GI___assert_fail (assertion=0x18dffe0 "observers.empty()",
    file=0x18dff20 "rts/System/Config/ConfigHandler.cpp", line=139,
    function=0x18e05c0 <ConfigHandlerImpl::~ConfigHandlerImpl()::__PRETTY_FUNCTION__> "virtual ConfigHandlerImpl::~ConfigHandlerImpl()") at assert.c:101
0000004 0x0000000000d9dbda in ConfigHandlerImpl::~ConfigHandlerImpl (this=0x60c000000700,
    __in_chrg=<optimized out>) at rts/System/Config/ConfigHandler.cpp:139
0000005 0x0000000000d9dd9a in ConfigHandlerImpl::~ConfigHandlerImpl (this=0x60c000000700,
    __in_chrg=<optimized out>) at rts/System/Config/ConfigHandler.cpp:143
#6 0x000000000063d274 in SafeDelete<ILoadSaveHandler*> (a=@0x20125a0: 0x0)
    at rts/System/Util.h:295
#7 0x0000000000da0486 in ConfigHandler::Deallocate ()
    at rts/System/Config/ConfigHandler.cpp:388
#8 0x0000000000eaf870 in FileSystemInitializer::Cleanup (deallocConfigHandler=true)
    at rts/System/FileSystem/FileSystemInitializer.cpp:60
#9 0x0000000000eaf800 in FileSystemInitializer::Initialize ()
    at rts/System/FileSystem/FileSystemInitializer.cpp:42
0000010 0x0000000000e11cfa in SpringApp::Initialize (this=0x7fffffffe6b0)
    at rts/System/SpringApp.cpp:251
#11 0x0000000000e17081 in SpringApp::Run (this=0x7fffffffe6b0)
    at rts/System/SpringApp.cpp:879
0000012 0x0000000000de3b76 in Run (argc=1, argv=0x7fffffffe918) at rts/System/Main.cpp:48
0000013 0x0000000000de47f5 in main (argc=1, argv=0x7fffffffe918) at rts/System/Main.cpp:109
Additional Information$ break ConfigHandlerImpl::AddObserver
$ run
Breakpoint 1, ConfigHandlerImpl::AddObserver(std::function<void (std::string const&, std::string const&)>, void*) (this=0x60c000000700, observer=..., holder=0x610000007640)
    at rts/System/Config/ConfigHandler.cpp:345
345 std::lock_guard<spring::mutex> lck(observerMutex);
(gdb) bt
#0 ConfigHandlerImpl::AddObserver(std::function<void (std::string const&, std::string const&)>, void*) (this=0x60c000000700, observer=..., holder=0x610000007640)
    at rts/System/Config/ConfigHandler.cpp:345
#1 0x0000000000c474b9 in ConfigHandler::NotifyOnChange<CGlobalRendering> (this=0x60c000000700, observer=0x610000007640) at rts/System/Config/ConfigHandler.h:53
#2 0x0000000000c414b9 in CGlobalRendering::CGlobalRendering (this=0x610000007640) at rts/Rendering/GlobalRendering.cpp:198
0000003 0x0000000000e11b00 in SpringApp::Initialize (this=0x7fffffffe6b0) at rts/System/SpringApp.cpp:203
0000004 0x0000000000e17081 in SpringApp::Run (this=0x7fffffffe6b0) at rts/System/SpringApp.cpp:879
0000005 0x0000000000de3b76 in Run (argc=1, argv=0x7fffffffe918) at rts/System/Main.cpp:48
#6 0x0000000000de47f5 in main (argc=1, argv=0x7fffffffe918) at rts/System/Main.cpp:109
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0017304

abma (administrator)

happens when spring 103.0.1-625-g98f0de1 is started.

~0017305

abma (administrator)

+
Error: Found a "/usr/local/share/games/spring/base/spring/bitmaps.sdz" already in "/mnt/tmp/home/dev/spring/develop/base/spring/bitmaps.sdz", ignoring.

~0017306

Kloot (developer)

can't reproduce

~0017313

abma (administrator)

to reproduce use a debug build + copy base/springcontent.zip to base/spring/springcontent.zip

~0017314

abma (administrator)

not sure if its worth to fix this as it only happens with broken springdata content.

~0017315

Anonymous (viewer)

Fix 4dab5ed8cfafe4521a6ecfab41bec10d8408834f committed to develop branch: fix 0005476, repo: spring changeset id: 7944
+Notes

+Related Changesets

-Issue History
Date Modified Username Field Change
2017-02-13 18:51 abma New Issue
2017-02-13 18:52 abma Product Version => 103.0 +git
2017-02-13 18:52 abma Target Version => 104.0
2017-02-13 18:53 abma Note Added: 0017304
2017-02-13 18:54 abma Note Added: 0017305
2017-02-13 19:18 Kloot Note Added: 0017306
2017-02-13 22:41 abma Note Added: 0017313
2017-02-13 22:51 abma Note Added: 0017314
2017-02-13 23:19 Changeset attached => spring develop 4dab5ed8
2017-02-13 23:19 Anonymous Note Added: 0017315
2017-02-13 23:19 Anonymous Status new => resolved
2017-02-13 23:19 Anonymous Resolution open => fixed
+Issue History