Nothing entered.
Assertion Failed at EntityManager.cpp:166: index < size() && entries
index != NULL
Message: double free or memory corruption detected: index=469
Illegal instruction: illegal operand
Instruction address: 0x4f282e
Stack pointer: 0x7ffdb0b93450
Callstack:
arx!0x73bf93
arx!0x73c19f
libpthread-2.23.so!0x7fd2b5993c80
arx!0x4f282e
arx!0x4ef975
arx!0x4f03c0
arx!0x778315
arx!0x4b64ec
arx!0x4b716e
arx!0x4b7412
arx!0x4b7a63
arx!0x4d22d2
arx!0x417841
libc-2.23.so!0x7fd2b3b6b780
arx!0x447839
GDB stack trace:
[New LWP 7781]
[New LWP 7782]
[New LWP 7783]
[New LWP 7784]
[New LWP 7785]
[New LWP 7786]
[New LWP 7787]
[New LWP 7789]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007fd2b599353d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
[Current thread is 1 (Thread 0x7fd2b5d50740 (LWP 7780))]
Id Target Id Frame
* 1 Thread 0x7fd2b5d50740 (LWP 7780) "arx" 0x00007fd2b599353d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
2 Thread 0x7fd2a7542700 (LWP 7781) "amdgpu_cs:0" pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
3 Thread 0x7fd2a6b3a700 (LWP 7782) "si_shader:0" pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
4 Thread 0x7fd2a6339700 (LWP 7783) "si_shader:1" pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
5 Thread 0x7fd2a5b38700 (LWP 7784) "si_shader:2" pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
6 Thread 0x7fd2a5337700 (LWP 7785) "si_shader:3" pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
7 Thread 0x7fd297fff700 (LWP 7786) "arx" 0x00007fd2b3c26f6d in poll () at ../sysdeps/unix/syscall-template.S:84
8 Thread 0x7fd2976e6700 (LWP 7787) "Sound Update" 0x00007fd2b599353d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
9 Thread 0x7fd295c94700 (LWP 7789) "Pathfinder" 0x00007fd2b599353d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
Thread 9 (Thread 0x7fd295c94700 (LWP 7789)):
#0 0x00007fd2b599353d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x000000000072f2a3 in Thread::sleep (milliseconds=milliseconds@entry=10) at /home/dscharrer/pro/arx/src/platform/Thread.cpp:249
t = {tv_sec = 0, tv_nsec = 10000000}
#2 0x000000000044bec9 in PathFinderThread::run (this=0x7176360) at /home/dscharrer/pro/arx/src/ai/PathFinderManager.cpp:324
curpr = <optimized out>
eb = <optimized out>
pathfinder = {radius = 25, height = -56.1761894, heuristic = 0.236000001, map_s = 3480, map_d = 0x78828f0, slight_c = 1200, slight_l = 0xe71580 <g_staticLights>}
#3 0x000000000072ef02 in Thread::entryPoint (param=0x7176360) at /home/dscharrer/pro/arx/src/platform/Thread.cpp:123
thread = @0x7176360: {_vptr.Thread = 0x8c0110 <vtable for PathFinderThread 16>, thread = 140542432855808, priority = 0, started = true, threadName = "Pathfinder"}
#4 0x00007fd2b598a42c in start_thread (arg=0x7fd295c94700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fd295c94700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140542432855808, -4351310791315811773, 0, 140727568344303, 140727568344304, 8388608, 4339256113020801603, 4339326899343200835}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#5 0x00007fd2b3c2fecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Thread 8 (Thread 0x7fd2976e6700 (LWP 7787)):
#0 0x00007fd2b599353d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x000000000072f2a3 in Thread::sleep (milliseconds=milliseconds@entry=100) at /home/dscharrer/pro/arx/src/platform/Thread.cpp:249
t = {tv_sec = 0, tv_nsec = 100000000}
#2 0x000000000076b6ea in SoundUpdateThread::run (this=0x2bf4130) at /home/dscharrer/pro/arx/src/scene/GameSound.cpp:1641
No locals.
#3 0x000000000072ef02 in Thread::entryPoint (param=0x2bf4130) at /home/dscharrer/pro/arx/src/platform/Thread.cpp:123
thread = @0x2bf4130: {_vptr.Thread = 0x8dbf50 <vtable for SoundUpdateThread 16>, thread = 140542460454656, priority = 0, started = true, threadName = "Sound Update"}
#4 0x00007fd2b598a42c in start_thread (arg=0x7fd2976e6700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fd2976e6700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140542460454656, -4351310791315811773, 0, 140727568381807, 140727568384688, 8388608, 4339261392609350211, 4339326899343200835}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#5 0x00007fd2b3c2fecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Thread 7 (Thread 0x7fd297fff700 (LWP 7786)):
#0 0x00007fd2b3c26f6d in poll () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x00007fd2b10064f9 in poll (__timeout=1000, __nfds=1, __fds=0x7fd297ffedc0) at /usr/include/bits/poll2.h:46
No locals.
#2 snd1_pcm_wait_nocheck (pcm=0x2de21a0, timeout=1000) at /var/tmp/portage/media-libs/alsa-lib-1.1.2/work/alsa-lib-1.1.2/src/pcm/pcm.c:2664
pfd = 0x7fd297ffedc0
revents = 0
err = <optimized out>
__FUNCTION__ = "snd1_pcm_wait_nocheck"
#3 0x00007fd2b100673f in snd_pcm_wait (pcm=0x2de21a0, timeout=<optimized out>) at /var/tmp/portage/media-libs/alsa-lib-1.1.2/work/alsa-lib-1.1.2/src/pcm/pcm.c:2611
err = <optimized out>
#4 0x00007fd2b5268c2a in ALCplaybackAlsa_mixerProc (ptr=ptr@entry=0x2bf1840) at /var/tmp/portage/media-libs/openal-1.17.2/work/openal-soft-1.17.2/Alc/backends/alsa.c:485
state = 3
self = 0x2bf1840
device = 0x2bfe090
areas = 0x2c0f760
update_size = 1024
num_updates = <optimized out>
avail = <optimized out>
commitres = <optimized out>
offset = 3072
frames = 1024
WritePtr = <optimized out>
err = <optimized out>
__FUNCTION__ = "ALCplaybackAlsa_mixerProc"
#5 0x00007fd2b526c947 in althrd_starter (arg=<optimized out>) at /var/tmp/portage/media-libs/openal-1.17.2/work/openal-soft-1.17.2/common/threads.c:526
cntr = {func = 0x7fd2b5268ad0 <ALCplaybackAlsa_mixerProc>, arg = 0x2bf1840}
#6 0x00007fd2b598a42c in start_thread (arg=0x7fd297fff700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fd297fff700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140542469994240, -4351310791315811773, 0, 140727568376831, 46078016, 1048576, 4339260144384479811, 4339326899343200835}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#7 0x00007fd2b3c2fecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Thread 6 (Thread 0x7fd2a5337700 (LWP 7785)):
#0 pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1 0x00007fd2af1bf653 in cnd_wait (mtx=0x2821a78, cond=0x2821aa0) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:159
No locals.
#2 util_queue_thread_func (input=input@entry=0x2824ae0) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/util/u_queue.c:76
job = <optimized out>
queue = 0x2821a70
thread_index = 3
#3 0x00007fd2af1bf4c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:87
pack = {func = 0x7fd2af1bf5a8 <util_queue_thread_func>, arg = 0x2824ae0}
#4 0x00007fd2b598a42c in start_thread (arg=0x7fd2a5337700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fd2a5337700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140542691473152, -4351310791315811773, 0, 140727568376927, 3, 8388608, 4339292481193251395, 4339326899343200835}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#5 0x00007fd2b3c2fecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Thread 5 (Thread 0x7fd2a5b38700 (LWP 7784)):
#0 pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1 0x00007fd2af1bf653 in cnd_wait (mtx=0x2821a78, cond=0x2821aa0) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:159
No locals.
#2 util_queue_thread_func (input=input@entry=0x2827220) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/util/u_queue.c:76
job = <optimized out>
queue = 0x2821a70
thread_index = 2
#3 0x00007fd2af1bf4c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:87
pack = {func = 0x7fd2af1bf5a8 <util_queue_thread_func>, arg = 0x2827220}
#4 0x00007fd2b598a42c in start_thread (arg=0x7fd2a5b38700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fd2a5b38700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140542699865856, -4351310791315811773, 0, 140727568376927, 2, 8388608, 4339291381144752707, 4339326899343200835}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#5 0x00007fd2b3c2fecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Thread 4 (Thread 0x7fd2a6339700 (LWP 7783)):
#0 pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1 0x00007fd2af1bf653 in cnd_wait (mtx=0x2821a78, cond=0x2821aa0) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:159
No locals.
#2 util_queue_thread_func (input=input@entry=0x2824ae0) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/util/u_queue.c:76
job = <optimized out>
queue = 0x2821a70
thread_index = 1
#3 0x00007fd2af1bf4c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:87
pack = {func = 0x7fd2af1bf5a8 <util_queue_thread_func>, arg = 0x2824ae0}
#4 0x00007fd2b598a42c in start_thread (arg=0x7fd2a6339700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fd2a6339700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140542708258560, -4351310791315811773, 0, 140727568376927, 1, 8388608, 4339294676995281475, 4339326899343200835}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#5 0x00007fd2b3c2fecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Thread 3 (Thread 0x7fd2a6b3a700 (LWP 7782)):
#0 pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1 0x00007fd2af1bf653 in cnd_wait (mtx=0x2821a78, cond=0x2821aa0) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:159
No locals.
#2 util_queue_thread_func (input=input@entry=0x2827220) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/util/u_queue.c:76
job = <optimized out>
queue = 0x2821a70
thread_index = 0
#3 0x00007fd2af1bf4c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:87
pack = {func = 0x7fd2af1bf5a8 <util_queue_thread_func>, arg = 0x2827220}
#4 0x00007fd2b598a42c in start_thread (arg=0x7fd2a6b3a700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fd2a6b3a700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140542716651264, -4351310791315811773, 0, 140727568376927, 0, 8388608, 4339293576946782787, 4339326899343200835}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#5 0x00007fd2b3c2fecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Thread 2 (Thread 0x7fd2a7542700 (LWP 7781)):
#0 pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1 0x00007fd2af1bf653 in cnd_wait (mtx=0x28207a0, cond=0x28207c8) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:159
No locals.
#2 util_queue_thread_func (input=input@entry=0x2822c90) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/util/u_queue.c:76
job = <optimized out>
queue = 0x2820798
thread_index = 0
#3 0x00007fd2af1bf4c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:87
pack = {func = 0x7fd2af1bf5a8 <util_queue_thread_func>, arg = 0x2822c90}
#4 0x00007fd2b598a42c in start_thread (arg=0x7fd2a7542700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fd2a7542700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140542727169792, -4351310791315811773, 0, 140727568376975, 0, 8388608, 4339296630668530243, 4339326899343200835}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#5 0x00007fd2b3c2fecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Thread 1 (Thread 0x7fd2b5d50740 (LWP 7780)):
#0 0x00007fd2b599353d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x000000000073bff6 in CrashHandlerPOSIX::handleCrash (this=0x277ae40, signal=<optimized out>, info=0x7ffdb0b92ff0, context=0x7ffdb0b92ec0) at /home/dscharrer/pro/arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:498
t = {tv_sec = 0, tv_nsec = 100000}
processor = 7790
argument = '\000' <repeats 255 times>
args = {0x0, 0x0, 0x0}
#2 0x000000000073c19f in signalHandler (signal=<optimized out>, info=<optimized out>, context=<optimized out>) at /home/dscharrer/pro/arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:84
No locals.
#3 <signal handler called>
No locals.
#4 0x00000000004f282e in EntityManager::remove (this=0xd338e0 <entities>, index=469) at /home/dscharrer/pro/arx/src/game/EntityManager.cpp:165
No locals.
#5 0x00000000004ef975 in Entity::~Entity (this=this@entry=0x4966a60, __in_chrg=<optimized out>) at /home/dscharrer/pro/arx/src/game/Entity.cpp:271
No locals.
#6 0x00000000004f03c0 in Entity::destroy (this=0x4966a60) at /home/dscharrer/pro/arx/src/game/Entity.cpp:348
No locals.
#7 0x0000000000778315 in ARX_INTERACTIVE_DestroyIOdelayedExecute () at /home/dscharrer/pro/arx/src/scene/Interactive.cpp:2543
it =
#8 0x00000000004b64ec in ArxGame::updateLevel (this=this@entry=0x277af60) at /home/dscharrer/pro/arx/src/core/ArxGame.cpp:1954
No locals.
#9 0x00000000004b716e in ArxGame::render (this=this@entry=0x277af60) at /home/dscharrer/pro/arx/src/core/ArxGame.cpp:2220
No locals.
#10 0x00000000004b7412 in ArxGame::doFrame (this=this@entry=0x277af60) at /home/dscharrer/pro/arx/src/core/ArxGame.cpp:1330
No locals.
#11 0x00000000004b7a63 in ArxGame::run (this=0x277af60) at /home/dscharrer/pro/arx/src/core/ArxGame.cpp:1252
No locals.
#12 0x00000000004d22d2 in runGame () at /home/dscharrer/pro/arx/src/core/Core.cpp:289
No locals.
#13 0x0000000000417841 in main (argc=3, argv=0x7ffdb0b94298) at /home/dscharrer/pro/arx/src/core/Startup.cpp:203
status = <optimized out>
Really delete this comment?
Really delete this comment?
arxcrash-7780-1111679079
Really delete this comment?
Really delete this comment?
arxcrash-7780-1111679079
Really delete this comment?
arxcrash-7780-1111679079
Really delete this comment?
arxcrash-7780-1111679079
Really delete this comment?
I can reproduce the crash 100% using this save by jumping down the hole into the sewers - the game will crash after loading the next level.
The assert doesn't always fire though; sometimes I get a segfault or double free detected error from glibc.
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?