From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 5 Oct 2018 18:09:08 +0300 From: Vladimir Davydov Subject: Re: [tarantool-patches] [PATCH 2/3] Proper unwind for currently executing fiber Message-ID: <20181005150908.pqoya52r22o6muef@esperanza> References: <7b844650e2e0799813e82b32ea2d637982bc3395.1537535602.git.georgy@tarantool.org> <20180925233402.GJ3137@chai> <14423179.bJO8PXla9P@home.lan> <20180926173625.GO30528@chai> <3bf7292e6ae0c5b7b892c204457c630c73bd8108.1538638419.git.georgy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3bf7292e6ae0c5b7b892c204457c630c73bd8108.1538638419.git.georgy@tarantool.org> To: Georgy Kirichenko Cc: tarantool-patches@freelists.org List-ID: The patch looks good, but unfortunately it leads to box/access.test.lua crash when tarantool is built in release mode. I've no idea why this could happen. Please investigate. https://travis-ci.org/tarantool/tarantool/jobs/436995648 box/admin.test.lua [Instance "box" killed by signal: 6 (SIGABRT)] Segmentation fault code: SEGV_MAPERR addr: 0xffffffffffff8750 context: 0x7fffe94ef7c0 siginfo: 0x7fffe94ef8f0 rax 0x4fd4a0 5231776 rbx 0x7fffe94ff610 140737107719696 rcx 0x7fffe9400d70 140737106677104 rdx 0x40153748 1075132232 rsi 0x7fffe94ff610 140737107719696 rdi 0xffffffffffff8708 -30968 rsp 0x7fffe94efd70 140737107656048 rbp 0x7fffe94efd88 140737107656072 r8 0x400003b8 1073742776 r9 0x98 152 r10 0x7fffe94ef7e0 140737107654624 r11 0x7ffff4238a3b 140737289357883 r12 0x1d 29 r13 0xf 15 r14 0x40001000 1073745920 r15 0x4ea7d0 5154768 rip 0x7ffff4238a3b 140737289357883 eflags 0x10212 66066 cs 0x33 51 gs 0x0 0 fs 0x0 0 cr2 0xffffffffffff8750 -30896 err 0x7 7 oldmask 0x0 0 trapno 0xe 14 Current time: 1538752048 Please file a bug at http://github.com/tarantool/tarantool/issues Attempting backtrace... Note: since the server has already crashed, this may fail as well #0 0x4fe559 in print_backtrace+9 #1 0x412d0d in _ZL12sig_fatal_cbiP9siginfo_tPv+bd #2 0x7ffff48936d0 in _L_unlock_13+34 #3 0x7ffff4238a3b in _Ux86_64_getcontext+0 #4 0x4fd4b1 in _ZL16unw_getcontext_fP8ucontextPv+11 #5 0x4fe3b6 in backtrace_foreach+66 #6 0x5077f0 in coio_wait+80 #7 0x4ea86f in lbox_socket_iowait+9f #8 0x518767 in lj_BC_FUNCC+34 #9 0x529662 in lua_pcall+32 #10 0x4e9fa3 in luaT_call+13 #11 0x4e4976 in lua_fiber_run_f+56 #12 0x41270c in _ZL16fiber_cxx_invokePFiP13__va_list_tagES0_+c #13 0x4fb210 in fiber_loop+30 #14 0x63ae7f in coro_init+3f