Open ylobankov opened 1 year ago
SIGSEGV
is in:
[0] from 0x0000555556622b9d in sighandler_dispatcher
[1] from 0x00007ffff5b30140 in __restore_rt
[2] from 0x0000555555e12397 in __sanitizer::internal_munmap(void*, unsigned long)
[3] from 0x0000555555e13b4c in __sanitizer::UnmapOrDie(void*, unsigned long)
[4] from 0x0000555555e1b23c in __sanitizer::Die()
[5] from 0x0000555555e2ada8 in __lsan::CheckForLeaks()
[6] from 0x0000555555e2a4db in __lsan::DoLeakCheck()
[7] from 0x00007ffff563fac6 in __cxa_finalize
[8] from 0x0000555555d60a03 in __do_global_dtors_aux
[9] from 0x00007fffffffd930
Something goes wrong in the sanitizer during symbolification at exit (errno == 12
means "Out of memory"):
[...]
2023-08-24 18:20:59.544 [984122] main/119/lua txn.c:1504 W> Transaction has been aborted by a fiber yield
2023-08-24 18:21:08.122 [984122] main/118/console/unix/: memtx_tx.c:699 W> Transaction committing DDL (id=33048) has aborted another TX (id=33047)
2023-08-24 18:21:08.135 [984122] main/118/console/unix/: memtx_tx.c:699 W> Transaction committing DDL (id=33056) has aborted another TX (id=33055)
2023-08-24 18:21:08.155 [984122] main C> got signal 15 - Terminated
2023-08-24 18:21:08.155 [984122] main/10143/iproto.shutdown I> tx_binary: stopped
==984122==WARNING: failed to fork (errno 12)
==984122==WARNING: failed to fork (errno 12)
==984122==WARNING: failed to fork (errno 12)
==984122==WARNING: failed to fork (errno 12)
==984122==WARNING: failed to fork (errno 12)
==984122==WARNING: Failed to use and restart external symbolizer!
=================================================================
==984122==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 63168 byte(s) in 329 object(s) allocated from:
#0 0x5630937964be (build/src/tarantool+0x8a54be) (BuildId: 7ecc0d812e071c6b3f9d2a5fdf48d54009edfb1a)
#1 0x56309444dd03 (build/src/tarantool+0x155cd03) (BuildId: 7ecc0d812e071c6b3f9d2a5fdf48d54009edfb1a)
#2 0x563093e7c47b (build/src/tarantool+0xf8b47b) (BuildId: 7ecc0d812e071c6b3f9d2a5fdf48d54009edfb1a)
#3 0x563093e42c73 (build/src/tarantool+0xf51c73) (BuildId: 7ecc0d812e071c6b3f9d2a5fdf48d54009edfb1a)
[...]
SUMMARY: AddressSanitizer: 196630 byte(s) leaked in 569 allocation(s).
BTW, If I change ASAN_OPTIONS=unmap_shadow_on_exit=1
to 0
, there are still "failed to fork" errors and unresolved symbols, but the process exits with return code 1
rather than got killed with SIGSEGV
.
Tarantool
Steps to reproduce
Expected result: Test passed.
Actual result: