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 2E408E4FB6E; Wed, 11 Dec 2024 16:22:07 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 2E408E4FB6E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1733923327; bh=TeLz6+w5d+fufP5iqSP4tVzQx5DMJV5y+yl+kdokqME=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=ROSQjkNfJGSGDGCyDCRsPYOKTHsHV2BCtnDoBPQol8aIQzD3C6yuYlatF66pInnYW l0EtUt/Xxj3nFsz+38324cIsg9O11mm6tDognLTefOFMAcwoAsissUbeA82niI6dJP GR8EES7C/MzSp/jdX03HsaqLuhqyc7q/PqQsIDRs= Received: from send103.i.mail.ru (send103.i.mail.ru [89.221.237.198]) (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 F3927E4FB6E for ; Wed, 11 Dec 2024 16:22:05 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org F3927E4FB6E Received: by exim-smtp-598667c6b5-5zbpn with esmtpa (envelope-from ) id 1tLMfF-00000000FHh-0Oii; Wed, 11 Dec 2024 16:22:05 +0300 To: Maksim Tiushev , Sergey Bronnikov Date: Wed, 11 Dec 2024 16:21:05 +0300 Message-ID: X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD9B739379E53DE709540CCDDBA570D02512F03730D1343E907182A05F53808504009008F35F8AD720F3DE06ABAFEAF6705669D227D556EB0473AAC8CF8E4B5DCE0F14F8599D8FED5CC X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE701173C01F417A2A6EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637B2BC59D094D41B978638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8F43AB649139ABBE61A41E4132FFF3FB89219DC42DE727357CC7F00164DA146DAFE8445B8C89999728AA50765F7900637F3E38EE449E3E2AE389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8989FD0BDF65E50FBF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA7E827F84554CEF5019E625A9149C048EE9ECD01F8117BC8BEE2021AF6380DFAD18AA50765F790063735872C767BF85DA227C277FBC8AE2E8B9149C560DC76099D75ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-C1DE0DAB: 0D63561A33F958A55B2B431B2B9DE0595002B1117B3ED696ED585F32BA276367B2920F75BA9A967F823CB91A9FED034534781492E4B8EEADB71243024C627CEAC79554A2A72441328621D336A7BC284946AD531847A6065A17B107DEF921CE79BDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF77DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF713BCFDF067B037834371238BB7A89919A899CFC45CE5AB1E64835C0AEA194C186260C86DC1AF146A0626FDB23E8EA705B66990594C773AC1E1DEA007741E9D7D7B095624DF71453C226CC413062362A913E6812662D5F2A5EAB5682573093F7837F15F2B5E4A70B33F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojlzf/Y03FLlo9GLcSaTw9/w== X-DA7885C5: BEBD653C6BADC7C6F255D290C0D534F99D3C2117937C8F94F81AF5CBEA134F1DC7574D81CFD57B3F5B1A4C17EAA7BC4BEF2421ABFA55128DAF83EF9164C44C7E X-Mailru-Sender: 689FA8AB762F739381B31377CF4CA21998E4A08ED36FC93C7C8D3F15B84920A00622B353AD53C8DBE49D44BB4BD9522A059A1ED8796F048DB274557F927329BE89D5A3BC2B10C37545BD1C3CC395C826B4A721A3011E896F X-Mras: Ok Subject: [Tarantool-patches] [PATCH v5 luajit 0/3] Valgrind testing 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 Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Changes in v5: - Backported patch to fix "uninitalised value" warning during vmevent processing of the `IR_NOP`. - Added the additional suppression file to avoid false positives in string comparisons not covered by the original suppression file. - Remove the `--verbose` flag, since it makes the output too messy. Changes in v4: - Replaced the `VALGRIND_OPTIONS` variable with `VALGRIND_OPTS`, which is provided by Valgrind. - Enabled running `tarantool-c-tests` under Valgrind: * Disabled the `tarantool-c-tests/gh-8594-sysprof-ffunc-crash.c_test` due to timeout. - Renamed the variable for skipping tests to `LUAJIT_TEST_USE_VALGRIND` and setted it via `LUA_TEST_ENV_MORE`. - Added the `--error-exitcode=1` flag to `VALGRIND_OPTS` in CI for stricter error handling. Branch: https://github.com/tarantool/luajit/tree/mandesero/lj-3705-turn-off-strcmp-opt-in-debug Related issues: * https://github.com/tarantool/tarantool/issues/10709 * https://github.com/tarantool/tarantool/issues/3705 * https://github.com/LuaJIT/LuaJIT/issues/624 Maksim Tiushev (2): cmake: run tests with Valgrind ci: add Valgrind testing workflow Mike Pall (1): Ensure full init of IR_NOP instructions. .github/actions/setup-valgrind/README.md | 12 +++ .github/actions/setup-valgrind/action.yml | 12 +++ .github/workflows/valgrind-testing.yaml | 102 ++++++++++++++++++ CMakeLists.txt | 5 + src/lj_asm.c | 2 +- src/lj_extra.supp | 19 ++++ src/lj_ir.h | 8 ++ src/lj_opt_dce.c | 5 +- src/lj_opt_mem.c | 25 +---- test/CMakeLists.txt | 19 ++++ test/tarantool-c-tests/CMakeLists.txt | 11 +- .../gh-8594-sysprof-ffunc-crash.test.c | 9 ++ test/tarantool-tests/CMakeLists.txt | 6 ++ .../gh-7745-oom-on-trace.test.lua | 1 + .../lj-1034-tabov-error-frame.test.lua | 1 + .../lj-512-profiler-hook-finalizers.test.lua | 5 +- .../lj-726-profile-flush-close.test.lua | 5 +- .../profilers/gh-5688-tool-cli-flag.test.lua | 2 + ...4-add-proto-trace-sysprof-default.test.lua | 2 + .../profilers/misclib-sysprof-lapi.test.lua | 2 + 20 files changed, 225 insertions(+), 28 deletions(-) create mode 100644 .github/actions/setup-valgrind/README.md create mode 100644 .github/actions/setup-valgrind/action.yml create mode 100644 .github/workflows/valgrind-testing.yaml create mode 100644 src/lj_extra.supp -- 2.47.0