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 EF2981A2AD40; Tue, 10 Mar 2026 17:17:40 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org EF2981A2AD40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1773152261; bh=6kkNqstgU6pd2V+0aTcqvhgKYjPB9e0dhDa5g7/LBMQ=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=zuntGEZ/hM5SUeIUM7BK9i6CminxaxtJCf1CehnPTD8GUho8Rd8IDrHR1RcN/Vtju NydcffcL9iWwk3iGJEHn30dbolqhbuTriW1PibFbHzIPAIBP8ox367/weIVgqdWI3Y EbjwYJshqnegWicTmNr0qqFzgOEW3/BdslyQN/HE= Received: from send83.i.mail.ru (send83.i.mail.ru [89.221.237.178]) (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 6BAAD39804F for ; Tue, 10 Mar 2026 17:17:39 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 6BAAD39804F Received: by exim-smtp-695fc89d9f-6t5qm with esmtpa (envelope-from ) id 1vzxty-00000000Gu7-1Vap; Tue, 10 Mar 2026 17:17:38 +0300 Content-Type: multipart/alternative; boundary="------------4gOAubvYupitFsEefC7Da4uu" Message-ID: Date: Tue, 10 Mar 2026 17:17:37 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org References: <20260225115740.13924-1-skaplun@tarantool.org> In-Reply-To: X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD91ABAE9865AC7DC88FC8E858B59FB0AE6643494CB4AC6A528182A05F53808504009157B03B5D79D293DE06ABAFEAF67051594D8870315AD3D23EB4DE9956549DD45849E6DFAE0F427 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE73B2A9F8A35432468EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637AC83A81C8FD4AD23D82A6BABE6F325AC2E85FA5F3EDFCBAA7353EFBB553375665A08EF23E7B416AB30A7C69CBEF28D51AE16143E71F8AB97A6333CB2C0DE09CD389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C0D9442B0B5983000E8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B6D52CD31C43BF465FCC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB86D1867E19FE14079C09775C1D3CA48CF3D321E7403792E342EB15956EA79C166A417C69337E82CC275ECD9A6C639B01B78DA827A17800CE76D0F27F7E6A6C418731C566533BA786AA5CC5B56E945C8DA X-C1DE0DAB: 0D63561A33F958A5B2CBAE60B7E512485002B1117B3ED696D26B60C3D2DA0BC88D59E407A97E9958823CB91A9FED034534781492E4B8EEAD27E9584FBD6BDD31BDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0AD73CAD6646DEDE1918E10F71CB4DF9F96AB70F9BE574AE9C625B6776AC983F447FC0B9F89525902EE6F57B2FD27647F25E66C117BDB76D659E80B6F20BC6DAA808607B5491B22B872D7EBCEBCE4762603BB036B9D68DE02BC2E76EDA695307205B8341EE9D5BE9A0A39345C040723C05BB71D324B3457754915042B80B6B856908CD93680B12512CF4C41F94D744909CE2512F26BEC029E55448553D2254B8D95CD72808BE417F3B9E0E7457915DAA85F X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu53w8ahmwBjZKM/YPHZyZHvz5uv+WouB9+ObcCpyrx6l7KImUglyhkEat/+ysWwi0gdhEs0JGjl6ggRWTy1haxBpVdbIX1nthFXMZebaIdHP2ghjoIc/363UZI6Kf1ptIMVdbVVJCphTR/mVDrsIlEXjo= X-DA7885C5: 8A2BDEE53C8D5C0BF255D290C0D534F9D4353EB3AB14E159C9B7E99E01CE7A8CF02C209D68B90B205B1A4C17EAA7BC4BEF2421ABFA55128DAF83EF9164C44C7E X-Mailru-Sender: 689FA8AB762F7393DDD5FD59B456EAD2857B83154B788073508FD06236181D3207D0CB23CDAA47EEEF86D5F70DA33880E41E8EF7A07863ECB274557F927329BE2DDF8182D28ACDB545BD1C3CC395C826B4A721A3011E896F X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit] FFI: Avoid dangling cts->L. 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" This is a multi-part message in MIME format. --------------4gOAubvYupitFsEefC7Da4uu Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Sergey! with enabled ASAN it is reproduced, thanks! LGTM On 3/3/26 14:59, Sergey Kaplun wrote: > Hi, Sergey! > Thanks for the review! > > On 03.03.26, Sergey Bronnikov wrote: >> Hi, Sergey, >> >> thanks for the patch! >> >> The bug is not reproduced without patch. >> >> CMake configuration: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug > Hi, Sergey! > I suppose you need to build LuaJIT with enabled ASAN check to catch > dangling pointer. > >> Sergey >> > > --------------4gOAubvYupitFsEefC7Da4uu Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi, Sergey!

with enabled ASAN it is reproduced, thanks! LGTM

On 3/3/26 14:59, Sergey Kaplun wrote:
Hi, Sergey!
Thanks for the review!

On 03.03.26, Sergey Bronnikov wrote:
Hi, Sergey,

thanks for the patch!

The bug is not reproduced without patch.

CMake configuration: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
Hi, Sergey!
I suppose you need to build LuaJIT with enabled ASAN check to catch
dangling pointer.

Sergey

<snipped>

--------------4gOAubvYupitFsEefC7Da4uu--