From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 03FA345CB3; Fri, 8 Nov 2024 14:39:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E320D433C3; Fri, 8 Nov 2024 14:39:32 +0100 (CET) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mails.dpdk.org (Postfix) with ESMTP id 7251C433C4 for ; Fri, 8 Nov 2024 14:39:31 +0100 (CET) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-53a007743e7so2489346e87.1 for ; Fri, 08 Nov 2024 05:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731073171; x=1731677971; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=qfeDflAL+lXBHFvDc4xVARy3yqxskfZM0bhOnVyIz1w=; b=L9YNGSD4wxN0Llh5WsSXqD+VHPA7FeNv4bJ/5gEdfRfRVfMRlUFxpYNeVL2JGGcsvW MzzXOqyCIXp7nr/bxi3DbuDMtHXPvU2xZgcLJk46ChvuCL1uB/zGFrKIeXYWbNVLD+ex 98KUlpghWkl5Xy7L4aQbJ7z+0CVX41OQvmYQJVw0s2uvd1nA3/5SDpDa4VuvAnzuM+BS R4IVio85a6eb1k3V4meCHbk+9+8cpWkr1l9wRnb1F4S8J1nzizh1o+9S2D1kzO4VNDKW +/c7ThtKueClL5bZsiXwb0fe1wGLVADIZgz7PZ7SdgySKLugLKv+nnGGZLucBip2cOVi NyOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731073171; x=1731677971; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qfeDflAL+lXBHFvDc4xVARy3yqxskfZM0bhOnVyIz1w=; b=ET3c2g8/Jc6F8LgcK3/fyr7/5H7H9lDF30iFHLgay7N0QPt+JmQ05yTVzDiNtaJEC3 MC8CGraaSDs+8Y271tmh2E2QVhMnU+3N4vzc8wKH7JoGlW2yglQMfEdfknCxNGdHpTZw LfSLT1tAdyYxNfSnn0g0BRngekqjPtVtlurSqt0XMm6iFf9ter2mGcogW/vfvfySFvCJ Kh4AYoG3yJ5sWmMfw8ft1eqoDmsOGcI/2DRh8Kvq6OuQVvjKqN1fRwQYX/M03MnsDsnj KTRvLt9olml/dg+cNYPYvr9lGovzfYFvD30W0BQ/SGAxYpl7pWIWkNf2bGp4BNdjjrbO J9hw== X-Gm-Message-State: AOJu0YwVKHhA31SxcvNlpYFE8ngiRBNnwTLJqb0NeA5t9KPX2BW9ix3a Tm0hFbwOMo33P/HMLMHpBbw837SMxZToN5XtKa3o++lLK4Mpbr2Y X-Google-Smtp-Source: AGHT+IGgfpd05PImsnACeS8dMk3Usycbj/KBbIkjkMvzCJRdjXt3Pdnpz93cPcRPmwalVeaSJpN8bw== X-Received: by 2002:a05:651c:198e:b0:2fb:59ec:4a32 with SMTP id 38308e7fff4ca-2ff20225b80mr16226361fa.25.1731073170555; Fri, 08 Nov 2024 05:39:30 -0800 (PST) Received: from sovereign (broadband-109-173-43-194.ip.moscow.rt.ru. [109.173.43.194]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ff179d81dcsm6506061fa.104.2024.11.08.05.39.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 05:39:29 -0800 (PST) Date: Fri, 8 Nov 2024 16:39:27 +0300 From: Dmitry Kozlyuk To: Thomas Monjalon Cc: dev@dpdk.org, David Marchand , Mattias =?UTF-8?B?UsO2bm5ibG9t?= , Tyler Retzlaff , Stephen Hemminger , Morten =?UTF-8?B?QnLDuHJ1cA==?= , Chengwen Feng , Konstantin Ananyev Subject: Re: [PATCH] eal: fix cleanup on Windows Message-ID: <20241108163927.144afe23@sovereign> In-Reply-To: <20241108130822.4073057-1-thomas@monjalon.net> References: <20241108130822.4073057-1-thomas@monjalon.net> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 2024-11-08 14:08 (UTC+0100), Thomas Monjalon: > The memory allocated with _aligned_malloc() > must be released with _aligned_free() on Windows. > > The POSIX free() was called in eal_lcore_var_cleanup(), > called in rte_eal_cleanup(), and triggered a heap corruption: > exit status 3221226356 or signal 3221226228 SIGinvalid > with MALLOC_PERTURB_=86 > > Fixes: 5bce9bed67ad ("eal: add static per-lcore memory allocation facility") > > Reported-by: David Marchand > Signed-off-by: Thomas Monjalon Acked-by: Dmitry Kozlyuk