I think they might be related so I only made one ticket for all 3 crashes.
To get the crashes I had this
while true ; do ; make check ; done >& make_check.log
running for around 8 hours, there were 11 crashes found in total (many dublicates).
These were the 3 different types of crashes I found:
xvfb-run -a ./src/freedroidRPG -nb mapgen || exit 5
Hello, this is FreedroidRPG, version 0.15-763-g2c85c17.
Video system type: x11.
Using screen resolution 640 x 480.
INFO: AddressSanitizer ignores mlock/mlockall/munlock/munlockall
ASAN:SIGSEGV
=================================================================
==16944== ERROR: AddressSanitizer: SEGV on unknown address 0x6078000e2f00 (pc
0x000000542923 sp 0x7fff6bd7ce50 bp 0x7fff6bd7d260 T0)
AddressSanitizer can not provide additional info.
#0 0x542922 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x542922)
#1 0x546447 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x546447)
#2 0x4eee3e (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x4eee3e)
#3 0x4ef950 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x4ef950)
#4 0x4176a5 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x4176a5)
#5 0x7fd1e8ae1bc4 (/usr/lib/libc-2.18.so+0x21bc4)
#6 0x417f1c (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x417f1c)
==16944== ABORTING
addr2line -e ./src/freedroidRPG 0x542922 0x546447 0x4eee3e 0x4ef950 0x4176a5
0x417f1c
/home/matthias/vcs/git/freedroid/src/mapgen/mapgen.c:367
/home/matthias/vcs/git/freedroid/src/mapgen/mapgen.c:1015
/home/matthias/vcs/git/freedroid/src/benchmark.c:195
/home/matthias/vcs/git/freedroid/src/benchmark.c:247
/home/matthias/vcs/git/freedroid/src/main.c:153
??:?
xvfb-run -a ./src/freedroidRPG -nb dialog || exit 2
Hello, this is FreedroidRPG, version 0.15-763-g2c85c17.
Video system type: x11.
Using screen resolution 640 x 480.
INFO: AddressSanitizer ignores mlock/mlockall/munlock/munlockall
ASAN:SIGSEGV
=================================================================
==19326== ERROR: AddressSanitizer: SEGV on unknown address 0x60471d641000 (pc
0x000000542923 sp 0x7fff90431950 bp 0x7fff90431d70 T0)
AddressSanitizer can not provide additional info.
#0 0x542922 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x542922)
#1 0x546447 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x546447)
#2 0x460919 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x460919)
#3 0x4d5c10 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x4d5c10)
#4 0x4ef268 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x4ef268)
#5 0x4ef950 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x4ef950)
#6 0x4176a5 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x4176a5)
#7 0x7f23696f6bc4 (/usr/lib/libc-2.18.so+0x21bc4)
#8 0x417f1c (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x417f1c)
==19326== ABORTING
addr2line -e ./src/freedroidRPG 0x542922 0x546447 0x460919 0x4d5c10 0x4ef268
0x4ef950 0x4176a5 0x417f1c
/home/matthias/vcs/git/freedroid/src/mapgen/mapgen.c:367
/home/matthias/vcs/git/freedroid/src/mapgen/mapgen.c:1015
/home/matthias/vcs/git/freedroid/src/map.c:1076
/home/matthias/vcs/git/freedroid/src/chat.c:941
/home/matthias/vcs/git/freedroid/src/benchmark.c:76
/home/matthias/vcs/git/freedroid/src/benchmark.c:247
/home/matthias/vcs/git/freedroid/src/main.c:153
??:?
xvfb-run -a ./src/freedroidRPG -nb loadship || exit 3
Hello, this is FreedroidRPG, version 0.15-763-g2c85c17.
Video system type: x11.
Using screen resolution 640 x 480.
INFO: AddressSanitizer ignores mlock/mlockall/munlock/munlockall
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ASAN:SIGSEGV
=================================================================
==27185== ERROR: AddressSanitizer: SEGV on unknown address 0x608844d1cf00 (pc
0x000000542923 sp 0x7fff252f8de0 bp 0x7fff252f9200 T0)
AddressSanitizer can not provide additional info.
#0 0x542922 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x542922)
#1 0x546447 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x546447)
#2 0x460919 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x460919)
#3 0x4eebed (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x4eebed)
#4 0x4ef950 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x4ef950)
#5 0x4176a5 (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x4176a5)
#6 0x7ff60339dbc4 (/usr/lib/libc-2.18.so+0x21bc4)
#7 0x417f1c (/home/matthias/vcs/git/freedroid/src/freedroidRPG+0x417f1c)
==27185== ABORTING
addr2line -e ./src/freedroidRPG 0x542922 0x546447 0x460919 0x4eebed 0x4ef950
0x4176a5 0x417f1c
/home/matthias/vcs/git/freedroid/src/mapgen/mapgen.c:367
/home/matthias/vcs/git/freedroid/src/mapgen/mapgen.c:1015
/home/matthias/vcs/git/freedroid/src/map.c:1076
/home/matthias/vcs/git/freedroid/src/benchmark.c:94
/home/matthias/vcs/git/freedroid/src/benchmark.c:247
/home/matthias/vcs/git/freedroid/src/main.c:153
??:?
Maybe it's all because of the same code, I don't know.
@ 2c85c170344c830068f626e635e05502db37382a
|