#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. [Current thread is 1 (Thread 0x7f14e17d2700 (LWP 34536))] (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f14e2b2d859 in __GI_abort () at abort.c:79 #2 0x00007f14e2b2d729 in __assert_fail_base (fmt=0x7f14e2cc3588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x558e49f7e148 "size_bytes == env->me_dxb_mmap.current", file=0x558e49f8b718 "mdbx", line=6203, function=) at assert.c:92 #3 0x00007f14e2b3efd6 in __GI___assert_fail (assertion=0x558e49f7e148 "size_bytes == env->me_dxb_mmap.current", file=0x558e49f8b718 "mdbx", line=6203, function=0x558e49f8a730 <__func__.172> "map_resize") at assert.c:101 #4 0x0000558e49e26649 in mdbx_assert_fail (env=0x558e4a8deb50, msg=0x558e49f7e148 "size_bytes == env->me_dxb_mmap.current", func=0x558e49f8a730 <__func__.172> "map_resize", line=6203) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/osal.c:254 #5 0x0000558e49da7fe0 in map_resize (env=0x558e4a8deb50, used_pgno=7, size_pgno=9, limit_pgno=6553600, implicit=true) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/core.c:6203 #6 0x0000558e49da8333 in map_resize_implicit (env=0x558e4a8deb50, used_pgno=7, size_pgno=9, limit_pgno=6553600) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/core.c:6263 #7 0x0000558e49dadfd1 in page_alloc_slowpath (mc=0x7f14e17d0350, num=1, flags=0 '\000') at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/core.c:7652 #8 0x0000558e49daea61 in page_alloc (mc=0x7f14e17d0350) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/core.c:7754 #9 0x0000558e49dafa64 in page_touch (mc=0x7f14e17d0350) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/core.c:7920 #10 0x0000558e49dea808 in cursor_touch (mc=0x7f14e17d0350, key=0x7f14e17d07a0, data=0x7f14e17d07b0) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/core.c:17091 #11 0x0000558e49deb59a in cursor_put_nochecklen (mc=0x7f14e17d0350, key=0x7f14e17d07a0, data=0x7f14e17d07b0, flags=0) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/core.c:17250 #12 0x0000558e49defb16 in cursor_put_checklen (mc=0x7f14e17d0350, key=0x7f14e17d07a0, data=0x7f14e17d07b0, flags=0) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/core.c:17830 #13 0x0000558e49e0e3e5 in mdbx_put (txn=0x558e4a8e5230, dbi=2, key=0x7f14e17d07a0, data=0x7f14e17d07b0, flags=0) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/core.c:21001 #14 0x0000558e49c7eac1 in mdbx::txn::put (this=0x7f14e17d09d8, map=..., key=..., value=0x7f14e17d07b0, flags=MDBX_UPSERT) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/mdbx.h++:5437 #15 0x0000558e49c7eb00 in mdbx::txn::put (this=0x7f14e17d09d8, map=..., key=..., value=..., mode=mdbx::upsert) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/mdbx.h++:5442 #16 0x0000558e49c7e5e7 in nup::db::writer::put (this=0x7f14e17d0840, key=" \000\000\000\000\000\000\000\365\355\016ָ\024\006/\277\024p\031ʹ|kU+\232\215\021\214\325\332TG\375e(\211v\263", value=" \000\000\000\000\000\000\000d9\f\224\316q\305*\334=n\343`\323-\003\060&\200zw\207\333\373n\205\030\362X\314s\236\001\251d\250\300\237u\000\004\001\000\000\000\001\001\001", mode=nup::db::putmode::upsert) at /home/aalisher/CLionProjects/nupay/libs/database/writer.cpp:26 #17 0x0000558e49aaf9ae in nup::db::writer::upsert (this=0x7f14e17d0840, key=" \000\000\000\000\000\000\000\365\355\016ָ\024\006/\277\024p\031ʹ|kU+\232\215\021\214\325\332TG\375e(\211v\263", value=" \000\000\000\000\000\000\000d9\f\224\316q\305*\334=n\343`\323-\003\060&\200zw\207\333\373n\205\030\362X\314s\236\001\251d\250\300\237u\000\004\001\000\000\000\001\001\001") at /home/aalisher/CLionProjects/nupay/libs/database/writer.hpp:31 #18 0x0000558e49aa5997 in nup::p2p::peers::upsert (this=0x558e4a8de1a0, wf=..., peer=...) at /home/aalisher/CLionProjects/nupay/libs/p2p/kademlia/peers.cpp:222 --Type for more, q to quit, c to continue without paging--q Quit (gdb) frame 5 #5 0x0000558e49da7fe0 in map_resize (env=0x558e4a8deb50, used_pgno=7, size_pgno=9, limit_pgno=6553600, implicit=true) at /home/aalisher/CLionProjects/nupay/3rd/libmdbx/src/core.c:6203 6203 eASSERT(env, size_bytes == env->me_dxb_mmap.current); (gdb) info locals limit_bytes = 26843545600 size_bytes = 36864 prev_size = 28672 prev_limit = 26843545600 prev_map = 0x7f085c000000 __func__ = "map_resize" mresize_flags = 524288 rc = 0 lck = 0x7f14e30c5000 aligned_munlock_pgno = 9 err = 0 (gdb) p *env $1 = {me_signature = {weak = 2592708161, c11a = 2592708161}, me_flags = 839385088, me_dxb_mmap = {{base = 0x7f085c000000, lck = 0x7f085c000000}, fd = 7, limit = 26843545600, current = 28672, filesize = 36864}, me_dsync_fd = 9, me_fd4meta = 9, me_lck_mmap = {{base = 0x7f14e30c5000, lck = 0x7f14e30c5000}, fd = 8, limit = 4096, current = 4096, filesize = 4096}, me_lck = 0x7f14e30c5000, me_psize = 4096, me_leaf_nodemax = 2036, me_branch_nodemax = 2030, me_mlocked_pgno = {weak = 0, c11a = 0}, me_psize2log = 12 '\f', me_stuck_meta = -1 '\377', me_merge_threshold = 3057, me_merge_threshold_gc = 3057, me_os_psize = 4096, me_maxreaders = 114, me_maxdbs = 102, me_pid = 34533, me_txkey = 2, me_pathname = 0x558e4a8def50 "/home/aalisher/CLionProjects/nupay/_debug/bin/.db28/peers", me_pbuf = 0x558e4a8e2000, me_txn0 = 0x558e4a8e5230, me_dbxs = 0x558e4a8df680, me_dbflags = 0x558e4a8defa0, me_dbiseqs = 0x558e4a8df080, me_maxgc_ov1page = 1018, me_maxgc_per_branch = 226, me_live_reader = 34533, me_userctx = 0x0, me_hsr_callback = 0x0, me_madv_threshold = 1, me_options = {dp_reserve_limit = 1018, rp_augment_limit = 1020, dp_limit = 115614, dp_initial = 1018, dp_loose_limit = 64 '@', spill_max_denominator = 8 '\b', spill_min_denominator = 8 '\b', spill_parent4child_denominator = 0 '\000', merge_threshold_16dot16_percent = 16384, writethrough_threshold = 2, prefault_write = true, flags = {all = 0, non_auto = { dp_limit = 0, rp_augment_limit = 0, prefault_write = 0}}}, me_dbgeo = {lower = 12288, upper = 26843545600, now = 28672, grow = 4096, shrink = 4096}, me_incore = false, me_lcklist_next = 0x558e4a8cd060, me_txn = 0x558e4a8e5230, me_dbi_lock = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' , __align = 0}, me_numdbs = 3, me_prefault_write = false, me_dp_reserve = 0x0, me_dp_reserve_len = 0, me_retired_pages = 0x0, me_ioring = {slots_left = 0, allocated = 0, last_bytes = 0, last = 0x0, pool = 0x0, boundary = 0x0}, me_remap_guard = {__data = {__lock = 1, __count = 0, __owner = 34536, __nusers = 1, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = "\001\000\000\000\000\000\000\000\350\206\000\000\001", '\000' , __align = 1}, me_assert_func = 0x0, x_lckless_stub = {{weak = 0, c11a = 0} }} (gdb) info proc mappings Mapped address spaces: Start Addr End Addr Size Offset objfile 0x558e48759000 0x558e496d5000 0xf7c000 0x0 /home/aalisher/CLionProjects/nupay/_debug/bin/nupay 0x558e496d5000 0x558e49ebc000 0x7e7000 0xf7c000 /home/aalisher/CLionProjects/nupay/_debug/bin/nupay 0x558e49ebc000 0x558e4a334000 0x478000 0x1763000 /home/aalisher/CLionProjects/nupay/_debug/bin/nupay 0x558e4a334000 0x558e4a363000 0x2f000 0x1bda000 /home/aalisher/CLionProjects/nupay/_debug/bin/nupay 0x558e4a363000 0x558e4a369000 0x6000 0x1c09000 /home/aalisher/CLionProjects/nupay/_debug/bin/nupay 0x7f085c000000 0x7f0e9c000000 0x640000000 0x0 /home/aalisher/CLionProjects/nupay/_debug/bin/.db28/peers/mdbx.dat 0x7f0e9c000000 0x7f14dc000000 0x640000000 0x0 /home/aalisher/CLionProjects/nupay/_debug/bin/.db28/db/mdbx.dat 0x7f14e2b0b000 0x7f14e2b2d000 0x22000 0x0 /usr/lib/x86_64-linux-gnu/libc-2.31.so 0x7f14e2b2d000 0x7f14e2ca5000 0x178000 0x22000 /usr/lib/x86_64-linux-gnu/libc-2.31.so 0x7f14e2ca5000 0x7f14e2cf3000 0x4e000 0x19a000 /usr/lib/x86_64-linux-gnu/libc-2.31.so 0x7f14e2cf3000 0x7f14e2cf7000 0x4000 0x1e7000 /usr/lib/x86_64-linux-gnu/libc-2.31.so 0x7f14e2cf7000 0x7f14e2cf9000 0x2000 0x1eb000 /usr/lib/x86_64-linux-gnu/libc-2.31.so 0x7f14e2cfd000 0x7f14e2d03000 0x6000 0x0 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 0x7f14e2d03000 0x7f14e2d14000 0x11000 0x6000 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 0x7f14e2d14000 0x7f14e2d1a000 0x6000 0x17000 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 0x7f14e2d1a000 0x7f14e2d1b000 0x1000 0x1c000 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 0x7f14e2d1b000 0x7f14e2d1c000 0x1000 0x1d000 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 0x7f14e2d20000 0x7f14e2d23000 0x3000 0x0 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 0x7f14e2d23000 0x7f14e2d35000 0x12000 0x3000 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 0x7f14e2d35000 0x7f14e2d38000 0x3000 0x15000 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 0x7f14e2d38000 0x7f14e2d39000 0x1000 0x18000 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 0x7f14e2d39000 0x7f14e2d3a000 0x1000 0x18000 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 0x7f14e2d3a000 0x7f14e2d3b000 0x1000 0x19000 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 0x7f14e2d3b000 0x7f14e2d48000 0xd000 0x0 /usr/lib/x86_64-linux-gnu/libm-2.31.so 0x7f14e2d48000 0x7f14e2def000 0xa7000 0xd000 /usr/lib/x86_64-linux-gnu/libm-2.31.so 0x7f14e2def000 0x7f14e2e88000 0x99000 0xb4000 /usr/lib/x86_64-linux-gnu/libm-2.31.so 0x7f14e2e88000 0x7f14e2e89000 0x1000 0x14c000 /usr/lib/x86_64-linux-gnu/libm-2.31.so 0x7f14e2e89000 0x7f14e2e8a000 0x1000 0x14d000 /usr/lib/x86_64-linux-gnu/libm-2.31.so 0x7f14e2e8a000 0x7f14e2f23000 0x99000 0x0 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.29 0x7f14e2f23000 0x7f14e3027000 0x104000 0x99000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.29 0x7f14e3027000 0x7f14e3093000 0x6c000 0x19d000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.29 0x7f14e3093000 0x7f14e309e000 0xb000 0x208000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.29 0x7f14e309e000 0x7f14e30a1000 0x3000 0x213000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.29 0x7f14e30a4000 0x7f14e30a5000 0x1000 0x0 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 0x7f14e30a5000 0x7f14e30a7000 0x2000 0x1000 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 0x7f14e30a7000 0x7f14e30a8000 0x1000 0x3000 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 0x7f14e30a8000 0x7f14e30a9000 0x1000 0x3000 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 0x7f14e30a9000 0x7f14e30aa000 0x1000 0x4000 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 0x7f14e30c5000 0x7f14e30c6000 0x1000 0x0 /home/aalisher/CLionProjects/nupay/_debug/bin/.db28/peers/mdbx.lck 0x7f14e30c6000 0x7f14e30c7000 0x1000 0x0 /usr/lib/x86_64-linux-gnu/ld-2.31.so 0x7f14e30c7000 0x7f14e30ea000 0x23000 0x1000 /usr/lib/x86_64-linux-gnu/ld-2.31.so 0x7f14e30ea000 0x7f14e30f2000 0x8000 0x24000 /usr/lib/x86_64-linux-gnu/ld-2.31.so 0x7f14e30f2000 0x7f14e30f3000 0x1000 0x0 /home/aalisher/CLionProjects/nupay/_debug/bin/.db28/db/mdbx.lck 0x7f14e30f3000 0x7f14e30f4000 0x1000 0x2c000 /usr/lib/x86_64-linux-gnu/ld-2.31.so 0x7f14e30f4000 0x7f14e30f5000 0x1000 0x2d000 /usr/lib/x86_64-linux-gnu/ld-2.31.so (gdb)