Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126142 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id D5DBB1A00BD for ; Thu, 19 Dec 2024 21:06:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1734642215; bh=OZq/dxs3kJHh6ZKVnQYrFZQOL5pajIsYBQAF8v7pR1I=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:From; b=O/Tn9oWTok7tngxRjsnEKAa4Jv0BDQznEMZ3xXnp3hqPoIamgSGYQ4RW9rs0k06dX tv+dT7v5Vb26b/W8TbDhl1aKEQ/TnltqJfrQi1TG58wdXyN/okHZrq6/bk0gDrfV+F QYgoCle04uvpPeglUqiUA4LS425OmCtMEgmhtx3BD6JYS2N/K0ligc4Qlcf92W6GCV XIZ43oXvq14dJr/ba8ZvXdBBGV0o1cjz8DzFn70B9N2ekCTjKEhtNBlsyKyft0eDrv raJ5C8vgwlXUudCVYbBlC7OIef8pFm1uLyZNs+QhHCrqxljZkpyTNm2tqMOYpNHqVF D47/u/TkESR3Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1AD8218003E for ; Thu, 19 Dec 2024 21:03:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, FREEMAIL_REPLYTO,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f175.google.com (mail-il1-f175.google.com [209.85.166.175]) (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 php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 19 Dec 2024 21:03:34 +0000 (UTC) Received: by mail-il1-f175.google.com with SMTP id e9e14a558f8ab-3a7d7db4d89so4173345ab.1 for ; Thu, 19 Dec 2024 13:06:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734642396; x=1735247196; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=OZq/dxs3kJHh6ZKVnQYrFZQOL5pajIsYBQAF8v7pR1I=; b=gesNk5yUC0SWZqPFOX1p1UTYu4txcPUzRVJe+sMvFzcBfQ8h4DeI4gKBdxuLv0y32g iMRNKtYuSfdc05XEgr5kR6lOwvbD0yyYYrRkhYMDYRxNayJeOLr44Qn8CHhNUMSciYbR 4m64gTPXaxG44qXcJbpuIjKc8xCkBoBiO0Qr9JVhEwgyFTDfN/pgmv+yo2pMzGpKQGIp PDpBOVN86as8Yu/D4EJo5ycH57IEmSHW+lBuWr6YGGXk9jFY5ZbtnSCMQ/HByE4hloNY JnnxZVWiDTfq9ZVA1kev0kgf5Zxtw0dBes0nRAkXgF5lInZt1EUuXLkH1iFWrni7NxV4 AL3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734642396; x=1735247196; h=content-transfer-encoding:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OZq/dxs3kJHh6ZKVnQYrFZQOL5pajIsYBQAF8v7pR1I=; b=woKmXDvhMBVQw6aFABfTIyFGxFzo4gHxZVVDztXP3bFy/I4DZ1QuBx6D0b/3FFY8da awgJETIX+L9sY1o+MMXmi0NJrQqujgtnY9n02iUQsuM6rLDRSrU+uxau+/rhaY2WHhFQ TDsPuKtNh0ha0CNhD41BwPNlHlazNSdq8O0d3Hq9p0a20PWDJDOeiaR2wBXLDEvuerDh 9Zehc054BZNXB7QyGbD6UG8CXQU3hOme85ulD3qAtlv+I56Nx/+WnbP5NC9WuRhR+JNa w1TPcPhGvQ2t/74jl4aHG7OF1agSszfqAjehzu4sflqBEfeH8w6jkWnqWaVCMpnDkUNb 6gwA== X-Gm-Message-State: AOJu0YwinO/GA7M/bT6ofxvvRmISHdDEd7VY69rc+tKZtk3gTDgBoBLX iA13n/5GInnrxGvScoJenio/RVBdRUIEMZg1E9bd5QvBtRCLp569CtSIskC6PDPTmOYVbHKqtG3 a/U0NVw9vr1Q31yCoXI7B8RNCy1zvlTSi X-Gm-Gg: ASbGnctS/TKNbddeb/qqH5Yv9mzTJ8nkJH6qt1AiIFnZWipBUhJxifGL5NHqCRE+6VS LSMM3Ci84go0o1zbkQEt3K0AJgb7MRAgWHDwwAX553CHf/mKDwM32chdNwvij/KhcBNgnWSH6 X-Google-Smtp-Source: AGHT+IHhUuM7b09i/Dc23MuMz6zfblK/CXZWjBkzqP8Ya6z1p9477IZnu3yA7eeqJRsSURWcH7/eSKEaK9Q7+FFlCRg= X-Received: by 2002:a05:6e02:3a84:b0:3a2:6cd7:3250 with SMTP id e9e14a558f8ab-3c2d2566b08mr5848725ab.10.1734642396374; Thu, 19 Dec 2024 13:06:36 -0800 (PST) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Reply-To: erictnorris@gmail.com Date: Thu, 19 Dec 2024 16:06:20 -0500 Message-ID: Subject: [PHP-DEV] Re: [RFC] [Discussion] Error backtraces v2 To: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: eric.t.norris@gmail.com (Eric Norris) On Thu, Dec 5, 2024 at 3:57=E2=80=AFPM Eric Norris wrote: > > Hello yet again internals, > > I'd like to formally propose a continuation of the original error > backtraces RFC (https://wiki.php.net/rfc/error_backtraces): > > https://wiki.php.net/rfc/error_backtraces_v2 > > We recently had a production incident that might have been shortened, > had we been able to identify an errant infinite loop in our code from > the backtrace of a PHP timeout error. It's likely that there are > plenty of other error conditions that would be easier to debug with a > stacktrace, too. > > The original RFC is inactive, but I've read the proposal and resulting > discussion and I believe that @nikic's suggestion is a viable way to > address the RFC's issues. I've implemented that suggestion here: > > https://github.com/php/php-src/pull/17056 > > The RFC currently has two voting choices, the first is to accept an > INI setting to configure an error mask for backtraces, and the second > is to choose the default value for the error mask. > > Please take a look at let me know what you think. > > Thank you! As it has now been two weeks and discussion has quieted down, I've now opened the RFC for voting. Once again I've added an additional week due to the holidays, so this will remain open until 2025-01-10 00:00:00 UTC. Thank you for the feedback so far.