2019-08-24 09:54 CEST

View Issue Details Jump to Notes ] Related Changesets ]
IDProjectCategoryView StatusLast Update
0005428Spring engineGeneralpublic2017-01-14 18:57
Reporterabma 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionreopened 
Product Version103.0 +git 
Target Version104.0Fixed in Version 
Summary0005428: failed assert in rts/System/Threading/ThreadPool.h:110
DescriptionSpring 103.0.1-499-g3ca1f70 develop (Debug)


spring: rts/System/Threading/ThreadPool.h:110: spring_time ITaskGroup::ExecuteLoop(): Assertion `inTaskQueue.load() == 1' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffdaf0d700 (LWP 26249)]
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=0x191f6a0 "inTaskQueue.load() == 1",
    file=file@entry=0x191f580 "rts/System/Threading/ThreadPool.h", line=line@entry=110,
    function=function@entry=0x1921560 <ITaskGroup::ExecuteLoop()::__PRETTY_FUNCTION__> "spring_time ITaskGroup::ExecuteLoop()") at assert.c:92
0000003 0x00007ffff2ccb312 in __GI___assert_fail (assertion=0x191f6a0 "inTaskQueue.load() == 1", file=0x191f580 "rts/System/Threading/ThreadPool.h", line=110,
    function=0x1921560 <ITaskGroup::ExecuteLoop()::__PRETTY_FUNCTION__> "spring_time ITaskGroup::ExecuteLoop()") at assert.c:101
0000004 0x0000000000e511d8 in ITaskGroup::ExecuteLoop (this=0x60700014ceb0) at rts/System/Threading/ThreadPool.h:110
0000005 0x0000000000e4a495 in ThreadPool::DoTask (tid=7) at rts/System/Threading/ThreadPool.cpp:123
#6 0x0000000000e4ac51 in ThreadPool::WorkerLoop (tid=7) at rts/System/Threading/ThreadPool.cpp:171
#7 0x0000000000e575cd in std::_Bind<void (*(int))(int)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x6060000216a8,
    __args=<unknown type in /mnt/tmp/home/dev/spring/develop/spring, CU 0x2718132, DIE 0x27512a5>) at /usr/include/c++/4.9/functional:1264
#8 0x0000000000e55de2 in std::_Bind<void (*(int))(int)>::operator()<, void>() (this=0x6060000216a8) at /usr/include/c++/4.9/functional:1323
#9 0x0000000000e5c74e in std::_Bind_simple<std::_Bind<void (*(int))(int)> ()>::_M_invoke<>(std::_Index_tuple<>) (this=0x6060000216a8) at /usr/include/c++/4.9/functional:1700
0000010 0x0000000000e5c4a5 in std::_Bind_simple<std::_Bind<void (*(int))(int)> ()>::operator()() (this=0x6060000216a8) at /usr/include/c++/4.9/functional:1688
#11 0x0000000000e5c128 in std::thread::_Impl<std::_Bind_simple<std::_Bind<void (*(int))(int)> ()> >::_M_run() (this=0x606000021690) at /usr/include/c++/4.9/thread:115
0000012 0x00007ffff3615970 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0000013 0x00007ffff69ec064 in start_thread (arg=0x7fffdaf0d700) at pthread_create.c:309
0000014 0x00007ffff2d8562d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
TagsNo tags attached.
Checked infolog.txt for lua Errors
Attached Files

-Relationships
+Relationships

-Notes

~0017042

Anonymous (viewer)

Fix 5a97ea9cef3e3aa629e1acd1e38e3bfe8371e315 committed to develop branch: fix 0005428, repo: spring changeset id: 7804

~0017043

abma (administrator)

now the assert seems to fail when i select the commander after game start:

[f=-000001] Player UnnamedPlayer finished loading and is now ingame
[f=0000177] [Shader] Warning: [GLSL-PO::Validate] program-object name: grassDistAdvShaderGLSL, unset uniform: shadowMatrix
[f=0000177] [Shader] Warning: [GLSL-PO::Validate] program-object name: grassDistAdvShaderGLSL, unset uniform: shadowParams
[f=0000177] [Shader] Warning: [GLSL-PO::Validate] program-object name: grassDistAdvShaderGLSL, unset uniform: groundShadowDensity
spring: rts/System/Threading/ThreadPool.h:111: spring_time ITaskGroup::ExecuteLoop(bool): Assertion `inTaskQueue.load() == 1' failed.
spring: rts/System/Threading/ThreadPool.h:111: spring_time ITaskGroup::ExecuteLoop(bool): Assertion `inTaskQueue.load() == 1' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffdba14700 (LWP 28089)]
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=0x191f6e0 "inTaskQueue.load() == 1", file=file@entry=0x191f5c0 "rts/System/Threading/ThreadPool.h",
    line=line@entry=111,
    function=function@entry=0x19215a0 <ITaskGroup::ExecuteLoop(bool)::__PRETTY_FUNCTION__> "spring_time ITaskGroup::ExecuteLoop(bool)") at assert.c:92
0000003 0x00007ffff2ccb312 in __GI___assert_fail (assertion=0x191f6e0 "inTaskQueue.load() == 1", file=0x191f5c0 "rts/System/Threading/ThreadPool.h",
    line=111, function=0x19215a0 <ITaskGroup::ExecuteLoop(bool)::__PRETTY_FUNCTION__> "spring_time ITaskGroup::ExecuteLoop(bool)") at assert.c:101
0000004 0x0000000000e51206 in ITaskGroup::ExecuteLoop (this=0x6070001ce950, wffCall=false) at rts/System/Threading/ThreadPool.h:111
0000005 0x0000000000e4a49a in ThreadPool::DoTask (tid=6) at rts/System/Threading/ThreadPool.cpp:123
#6 0x0000000000e4ac5b in ThreadPool::WorkerLoop (tid=6) at rts/System/Threading/ThreadPool.cpp:171
#7 0x0000000000e575fb in std::_Bind<void (*(int))(int)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x606000022068,
    __args=<unknown type in /mnt/tmp/home/dev/spring/develop/spring, CU 0x2718169, DIE 0x27512f1>) at /usr/include/c++/4.9/functional:1264
#8 0x0000000000e55e10 in std::_Bind<void (*(int))(int)>::operator()<, void>() (this=0x606000022068) at /usr/include/c++/4.9/functional:1323
#9 0x0000000000e5c77c in std::_Bind_simple<std::_Bind<void (*(int))(int)> ()>::_M_invoke<>(std::_Index_tuple<>) (this=0x606000022068)
    at /usr/include/c++/4.9/functional:1700
0000010 0x0000000000e5c4d3 in std::_Bind_simple<std::_Bind<void (*(int))(int)> ()>::operator()() (this=0x606000022068)
    at /usr/include/c++/4.9/functional:1688
#11 0x0000000000e5c156 in std::thread::_Impl<std::_Bind_simple<std::_Bind<void (*(int))(int)> ()> >::_M_run() (this=0x606000022050)
    at /usr/include/c++/4.9/thread:115
0000012 0x00007ffff3615970 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0000013 0x00007ffff69ec064 in start_thread (arg=0x7fffdba14700) at pthread_create.c:309
0000014 0x00007ffff2d8562d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) up
#1 0x00007ffff2cd3448 in __GI_abort () at abort.c:89
89 abort.c: Datei oder Verzeichnis nicht gefunden.
(gdb)
#2 0x00007ffff2ccb266 in __assert_fail_base (fmt=0x7ffff2e03f18 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0x191f6e0 "inTaskQueue.load() == 1", file=file@entry=0x191f5c0 "rts/System/Threading/ThreadPool.h",
    line=line@entry=111,
    function=function@entry=0x19215a0 <ITaskGroup::ExecuteLoop(bool)::__PRETTY_FUNCTION__> "spring_time ITaskGroup::ExecuteLoop(bool)") at assert.c:92
92 assert.c: Datei oder Verzeichnis nicht gefunden.
(gdb)
0000003 0x00007ffff2ccb312 in __GI___assert_fail (assertion=0x191f6e0 "inTaskQueue.load() == 1", file=0x191f5c0 "rts/System/Threading/ThreadPool.h",
    line=111, function=0x19215a0 <ITaskGroup::ExecuteLoop(bool)::__PRETTY_FUNCTION__> "spring_time ITaskGroup::ExecuteLoop(bool)") at assert.c:101
101 in assert.c
(gdb)
0000004 0x0000000000e51206 in ITaskGroup::ExecuteLoop (this=0x6070001ce950, wffCall=false) at rts/System/Threading/ThreadPool.h:111
111 assert(inTaskQueue.load() == 1);
(gdb) print inTaskQueue
warning: RTTI symbol not found for class 'ForTaskGroup<CLosHandler::Update()::{lambda(int)#1}&>'
warning: RTTI symbol not found for class 'ForTaskGroup<CLosHandler::Update()::{lambda(int)#1}&>'
warning: RTTI symbol not found for class 'ForTaskGroup<CLosHandler::Update()::{lambda(int)#1}&>'
$1 = {
  _M_i = 0
}
(gdb)

~0017044

Anonymous (viewer)

Fix 681fe52e02679ca4ecae43afb75e1dc1dc16f65d committed to develop branch: fix 0005428 redux, repo: spring changeset id: 7805
+Notes

+Related Changesets

-Issue History
Date Modified Username Field Change
2017-01-14 17:26 abma New Issue
2017-01-14 17:50 Kloot Assigned To => Kloot
2017-01-14 17:50 Kloot Status new => assigned
2017-01-14 18:03 Changeset attached => spring develop 5a97ea9c
2017-01-14 18:03 Anonymous Note Added: 0017042
2017-01-14 18:03 Anonymous Status assigned => resolved
2017-01-14 18:03 Anonymous Resolution open => fixed
2017-01-14 18:20 abma Status resolved => new
2017-01-14 18:20 abma Resolution fixed => reopened
2017-01-14 18:20 abma Note Added: 0017043
2017-01-14 18:57 Changeset attached => spring develop 681fe52e
2017-01-14 18:57 Anonymous Note Added: 0017044
2017-01-14 18:57 Anonymous Status new => resolved
+Issue History