From patchwork Sat Aug 21 08:52:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vedant Paranjape X-Patchwork-Id: 13425 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 77D47BD87C for ; Sat, 21 Aug 2021 08:52:54 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CC6B0688A5; Sat, 21 Aug 2021 10:52:53 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="cAeoJ+0/"; dkim-atps=neutral Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 8FD076025B for ; Sat, 21 Aug 2021 10:52:52 +0200 (CEST) Received: by mail-pg1-x52a.google.com with SMTP id s11so11628815pgr.11 for ; Sat, 21 Aug 2021 01:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SDl4UiIDJi6UyS8lWxHIobi767Y6hWtkasZdXu5xEQo=; b=cAeoJ+0/jCsov3A+gyalLIixjCF3Kqatt+hxrmwbRY6gDuSp288pMONS4qUXd4fhjZ IHvKU9uDae2PZEijtCS/Qc7ZAEuwc4Fw+MN706YZzazwVV7dA/dxPoKT2V5A9iP9ZoaR xDm3wC4RVb+WqI/Uw+p7Ec4DdAuS6gt9uzsfqmg4UlqX8Ww/cWe8437H/b34hpXy9ZMj I33QVZkWRtAwAdAna7bw1hRBj70dcZ13o97srioRfrd3I9muLrC+ZAcsf2TuKp4tXU1V uv2Rvm5MbRCjtvI9wQbsjH5fH8xf70nlzzz4cNs0IVrZ1/Ysm4h+pNMaQ3NQpVN/rVDj oOpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SDl4UiIDJi6UyS8lWxHIobi767Y6hWtkasZdXu5xEQo=; b=nFJbPG07lPvpSuHFPYEUnxzrnl1y1RlkB/29S0j0KYTX38l8FHwMoJKY5U54n3IgEH 6dzi9mXUWrlvDWypcC4Xq9+TtTxVZkTuHWw2BSQPAfTz45+PaAmXQIEII0bKUIHWWVBI w0fN+TvwxelWzkE0KRv8PrtA2e/lUFDszOZuMPjp5ZzhYKRbNCra/ZhRkgnK2NYk5lBK xzWdTCSPu6IY13MHGMwdku9HvWnI1/hI4L8C9Qdn+JfnCGGfsL8RYXqF85eiLs4o5KV4 liGCMUsxEbzMEo6L7RWs3KDrlUSHZOxtvc4+winI+FATrMrRgRCgiac4Y9ciWaaysGVy 8hwQ== X-Gm-Message-State: AOAM531eJso+P5nRHhC13kD2B8YKxOVobo3emmY/wnLnZgybHPgODmKX c2/BpgqI1ZANzRm4xZPoMqAmC+2KNxKG7w== X-Google-Smtp-Source: ABdhPJyHAwDcCxN+7DjbOYmSKEeexSJ6tHmzs9+uXse+7VRYk7uE0RgPBjOzhnkWElS5vhPGq8ImZQ== X-Received: by 2002:a63:2217:: with SMTP id i23mr22914989pgi.448.1629535970822; Sat, 21 Aug 2021 01:52:50 -0700 (PDT) Received: from localhost.localdomain ([110.226.224.21]) by smtp.googlemail.com with ESMTPSA id 11sm11262306pgh.52.2021.08.21.01.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Aug 2021 01:52:50 -0700 (PDT) From: Vedant Paranjape To: libcamera-devel@lists.libcamera.org Date: Sat, 21 Aug 2021 14:22:33 +0530 Message-Id: <20210821085233.2997872-1-vedantparanjape160201@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1] test: gstreamer: Disable gstreamer registry forks X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vedant Paranjape Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" ASan needs to be loaded first before gstreamer is loaded. This was not possible, so verify_asan_link_order was disabled. Better way to tackle this issue was disabling forks on the gstreamer side. Signed-off-by: Vedant Paranjape --- test/gstreamer/gstreamer_single_stream_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gstreamer/gstreamer_single_stream_test.cpp b/test/gstreamer/gstreamer_single_stream_test.cpp index 349dcfa4..7b0b7676 100644 --- a/test/gstreamer/gstreamer_single_stream_test.cpp +++ b/test/gstreamer/gstreamer_single_stream_test.cpp @@ -52,7 +52,7 @@ protected: #if defined(__SANITIZE_ADDRESS__) && !defined(__clang__) && __GNUC__ < 8 return TestSkip; #endif - setenv("ASAN_OPTIONS", "verify_asan_link_order=0", 1); + gst_registry_fork_set_enabled(false); /* Initialize GStreamer */ g_autoptr(GError) errInit = NULL;