Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rz8FW-0022AU-Jy for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Apr 2024 04:59:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rz8FV-006Icm-0P for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Apr 2024 04:59:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rz8FU-006Ice-NP for pgsql-hackers@lists.postgresql.org; Tue, 23 Apr 2024 04:59:20 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rz8FN-004CG5-VW for pgsql-hackers@lists.postgresql.org; Tue, 23 Apr 2024 04:59:19 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-346359c8785so4333627f8f.0 for ; Mon, 22 Apr 2024 21:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713848352; x=1714453152; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1b7sFiTPFbC28EfH7dvGiXtFnu6Z0cf/AaKQWvjADqc=; b=BO3Cc+tNSxkYck7ElBkJ/942yljhpe1xxA0rVvfpcmCUhLJY3uA2E0d9WE13zn91TV CBKgjD3OyAc2UrkikfbH8Ak9Yk3UAxyeMaVOuHWBeFXjilhR95raNNc1xkPNFDbUYXEX ++DfSv7zrsS4/y7s6LfRH+B/Xx9TTRxGUhvN5n9xK4LGT8nsEkr4Coe8emdUU6D81cZ5 Frr0qQ5+e4vNMjy2zym9IuRxtvHIdSpjeMkq7q91RnhA9LnlONQRMrQYi3tn3+O9J0LT Fk5J45XsqqMxZY4Puvhosnrk3m1aFLpJUXbjQofomgm9nwxiT8MP+vFt+H+FgTnmR2qX r8AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713848352; x=1714453152; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1b7sFiTPFbC28EfH7dvGiXtFnu6Z0cf/AaKQWvjADqc=; b=hEG5xYqAzfFV904JOEly2haC1TVpA9ZeHBKuKmRP5q1AQG45MxNrZg/TsqQLfum/WA yIzTJwKQgwgsI8B1eRolbe0ki1O8ORD1XW7mMKsvWf4+ntql8CtD5xi9E7rS7UBGiWzq ieiqoyrXYPcl0IzHwc73mHaZiJqxdEsnL69hKbuku+mj4ZXP7X3743KGGAhWL5Sf6HZ5 coBJ4BdAFgIiR3uCkZPlCm0i0S07iginYKra3SsR68u4hgPT1W51usKpZ65HyP/LpKyV YPh5jJogAjBMbKtKNHhjP9JMIHZbqdIVm/jo/KBRTik1Bxc2od8Rx59sMdgtHK0CNew7 mArQ== X-Gm-Message-State: AOJu0YyILvo4ww4TX6riL8cTy4WCaQmRuWqcVHUWszxnlkCugsMVnaLT YSXe/LCqBsE3sHCg4Eib7l2N7LNVYy/ksK4872C4DIf0QoelGzbs X-Google-Smtp-Source: AGHT+IEzbRl1gu8vb69Tdzwpimxo8GZmolIXs7I7C7QKZUCByj51Vm87o1m3ShyGU6Rhacfj9hJycQ== X-Received: by 2002:a5d:698e:0:b0:343:7c16:34cf with SMTP id g14-20020a5d698e000000b003437c1634cfmr7004820wru.45.1713848351455; Mon, 22 Apr 2024 21:59:11 -0700 (PDT) Received: from ip-10-97-1-34.eu-west-3.compute.internal (ec2-15-236-134-5.eu-west-3.compute.amazonaws.com. [15.236.134.5]) by smtp.gmail.com with ESMTPSA id cs18-20020a056000089200b003437799a373sm13633492wrb.83.2024.04.22.21.59.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 21:59:11 -0700 (PDT) Date: Tue, 23 Apr 2024 04:59:09 +0000 From: Bertrand Drouvot To: Alexander Lakhin Cc: pgsql-hackers@lists.postgresql.org Subject: Re: Avoid orphaned objects dependencies, take 3 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Mon, Apr 22, 2024 at 03:00:00PM +0300, Alexander Lakhin wrote: > 22.04.2024 13:52, Bertrand Drouvot wrote: > > > > That's weird, I just launched it several times with the patch applied and I'm not > > able to see the seg fault (while I can see it constently failing on the master > > branch). > > > > Are you 100% sure you tested it against a binary with the patch applied? > > > > Yes, at least I can't see what I'm doing wrong. Please try my > self-contained script attached. Thanks for sharing your script! Yeah your script ensures the patch is applied before the repro is executed. I do confirm that I can also see the issue with the patch applied (but I had to launch multiple attempts, while on master one attempt is enough). I'll have a look. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com