#137 crash on heroic opportunities

Closed
opened 3 years ago by image · 1 comments
image commented 3 years ago
10:14:31 E HO        : caster: 35345
10:14:31 E HO        : target: 36613
10:14:31 E HO        : target = 36613
10:14:31 E HO        : 35345
10:14:33 E HO        : target = 36613
10:14:33 E HO        :
munmap_chunk(): invalid pointer

Thread 2923 "eq2world" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe4ff9700 (LWP 24496)]
__memmove_avx_unaligned_erms ()
    at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:498
498     ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
(gdb) ?
Undefined command: "".  Try "help".
(gdb) bt full
#0  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:498
No locals.
#1  0x000055555589e8d9 in HeroicOP::UpdateHeroicOP(unsigned short) ()
No symbol table info available.
#2  0x00005555556eb916 in SpellProcess::CastProcessedSpell(LuaSpell*, bool) ()
No symbol table info available.
#3  0x00005555556f03fb in SpellProcess::Process() ()
No symbol table info available.
#4  0x00005555556c0261 in ZoneServer::Process() ()
No symbol table info available.
#5  0x00005555556c4500 in ZoneLoop(void*) ()
No symbol table info available.
#6  0x00007ffff7d83fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737035343616, -8133324203609747568, 140737488335694, 140737488335695, 140737035343616, 140736219629664, 8133335200236113808,
                8133306360152657808}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#7  0x00007ffff76e84cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
``` 10:14:31 E HO : caster: 35345 10:14:31 E HO : target: 36613 10:14:31 E HO : target = 36613 10:14:31 E HO : 35345 10:14:33 E HO : target = 36613 10:14:33 E HO : munmap_chunk(): invalid pointer Thread 2923 "eq2world" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe4ff9700 (LWP 24496)] __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:498 498 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory. (gdb) ? Undefined command: "". Try "help". (gdb) bt full #0 __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:498 No locals. #1 0x000055555589e8d9 in HeroicOP::UpdateHeroicOP(unsigned short) () No symbol table info available. #2 0x00005555556eb916 in SpellProcess::CastProcessedSpell(LuaSpell*, bool) () No symbol table info available. #3 0x00005555556f03fb in SpellProcess::Process() () No symbol table info available. #4 0x00005555556c0261 in ZoneServer::Process() () No symbol table info available. #5 0x00005555556c4500 in ZoneLoop(void*) () No symbol table info available. #6 0x00007ffff7d83fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486 ret = <optimized out> pd = <optimized out> now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737035343616, -8133324203609747568, 140737488335694, 140737488335695, 140737035343616, 140736219629664, 8133335200236113808, 8133306360152657808}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #7 0x00007ffff76e84cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 ```
image commented 3 years ago
Collaborator

m_currentStage needs protections as it can overflow the array it is used in

m_currentStage needs protections as it can overflow the array it is used in
image referenced this issue from a commit 3 years ago
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.