From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id B86AFA5ECE2; Thu, 1 Feb 2024 17:11:56 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org B86AFA5ECE2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1706796716; bh=HYkDIeKn0nlApe5mTpOadHeOj85cbfvXMMOO2aktURg=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=IcOjrBx40RByjtZtyFNW4SY2QZVyNzUM8InBHoxDpEH5OOMTjj3Ex+u0XBwUbxvce Eoe3LFltElVK0BuRvOl8nIu34M2Q/1x8fe3SGJv4Y1rjg1lg+IzSfub5dJSi/4RicO DDjEtZtAucUudA8APYOFM5xpgHEmtpJ2n3qLaZGg= Received: from smtp3.i.mail.ru (smtp3.i.mail.ru [95.163.41.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 8805F7346C0 for ; Thu, 1 Feb 2024 17:11:55 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 8805F7346C0 Received: by smtp3.i.mail.ru with esmtpa (envelope-from ) id 1rVXnG-00000001MmE-3XK2; Thu, 01 Feb 2024 17:11:55 +0300 Message-ID: <1cfc7b20-d304-4409-8525-54ea3d5fd25e@tarantool.org> Date: Thu, 1 Feb 2024 17:11:54 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Maxim Kokryashkin , tarantool-patches@dev.tarantool.org, skaplun@tarantool.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9010253A383FA2A75ECC4B2554A31FE8EB5297114064901CE182A05F53808504035B6B50A4C5E26489487ABAC94A94B5452D51A7AB46D0D0791885696795A56D5F92BFEA5F0ACBE40 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE742D9BD90C58D50E0EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063795AFAF91F541EBCE8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D84490AB89D08238D2A1DCC17E8DB21393C4545BFEA8512E86CC7F00164DA146DAFE8445B8C89999728AA50765F7900637F924B32C592EA89F389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC81D471462564A2E19F6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA73AA81AA40904B5D9A18204E546F3947C13BDA61BF53F5E1DC0837EA9F3D197644AD6D5ED66289B523666184CF4C3C14F6136E347CC761E07725E5C173C3A84C3BDAC7C1A22EEE9F4BA3038C0950A5D36B5C8C57E37DE458B330BD67F2E7D9AF16D1867E19FE14079C09775C1D3CA48CFE478A468B35FE7671DD303D21008E298D5E8D9A59859A8B64854413538E1713F75ECD9A6C639B01B78DA827A17800CE7A9D141641BA1E09E731C566533BA786AA5CC5B56E945C8DA X-C1DE0DAB: 0D63561A33F958A55DB4C738F154B50D5002B1117B3ED69640EAF32564FCFB09E99897350C7C491E823CB91A9FED034534781492E4B8EEAD11471C67CF6D96D5BDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CFFD36A6896D116B4F2E31F1A479BC2DD0BD55E64EE4DCA58C21F6E8057294D10BE547CA128C9EF438BAF4CF3B87E910B1C5659279B874DFB7E05B8ED44FDBCC5710C940771DE2C8C0C226CC413062362A913E6812662D5F2AB9AF64DB4688768036DF5FE9C0001AF333F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojqJaWtPsRtyk2zJ9Id4F9zg== X-Mailru-Sender: C4F68CFF4024C8867DFDF7C7F258845824F0D8345F29BCFE91CF6C6A8F7D6EF6E25F652EB5B365B7DB81D13DB85F586C645D15D82EE4B272BD6E4642A116CA93524AA66B5ACBE6721EF430B9A63E2A504198E0F3ECE9B5443453F38A29522196 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit v4 0/3] Improve error reporting on stack overflow X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hi, Max LGTM patch series, thanks! On 2/1/24 14:24, Maxim Kokryashkin wrote: > Changes in v4: > - Added skipcond for nounwind builds. > > Issues: https://github.com/luajit/luajit/issues/962 > https://github.com/tarantool/tarantool/issues/9145 > > PR: https://github.com/tarantool/tarantool/pull/9380 > Branch: https://github.com/tarantool/luajit/tree/fckxorg/lj-962-error-reporting-on-stack-overflow > > Mike Pall (3): > Improve error reporting on stack overflow. > Cleanup stack overflow handling. > Follow-up fix for stack overflow handling cleanup. > > src/lj_state.c | 15 ++- > .../lj-962-premature-stack-overflow.test.c | 95 +++++++++++++++++++ > .../lj-603-err-snap-restore.test.lua | 1 + > .../lj-962-stack-overflow-report.test.lua | 10 ++ > .../lj-962-stack-overflow-report/script.lua | 3 + > test/tarantool-tests/utils/exec.lua | 15 ++- > 6 files changed, 132 insertions(+), 7 deletions(-) > create mode 100644 test/tarantool-c-tests/lj-962-premature-stack-overflow.test.c > create mode 100644 test/tarantool-tests/lj-962-stack-overflow-report.test.lua > create mode 100644 test/tarantool-tests/lj-962-stack-overflow-report/script.lua > > -- > 2.43.0 >