Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108321 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 68630 invoked from network); 29 Jan 2020 19:08:45 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Jan 2020 19:08:45 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8BB441804F3 for ; Wed, 29 Jan 2020 09:19:26 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 29 Jan 2020 09:19:24 -0800 (PST) Received: by mail-qt1-f182.google.com with SMTP id t8so83698qtr.2 for ; Wed, 29 Jan 2020 09:19:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=fRmcRVuSSD91Fg2SJry3PaXAvRjC6iRF8nYU1Iiyrag=; b=f5JMsWddWBfFvCB9tKBM3mmR4AOzn2wjUYjJYzDFZomAFemeMIGbvhstcIgvP8vfie fi8hbswAycv3WKQeKZk+sVqUOhZeMtsLw7V9T9Weydaa6AAy+r8B7oqi8yvd/eedUEQp 7UhdyIDGjf6rxv5bgiB/0EHccyaxr20j05pTW1pU5cMy2eQRtCHo0kDMX/N/4/DuDpd3 SSs8q5JY1xnhponbddhQWPuNtJVzzmFRR58zDPHEeeoL6kKvMJyBPZ4u9qy7YKMu+UD5 vB8lLtaMbuL1eT35u/5eDm5yEYczxyAtgUmeoGHe0mUvZkR05rgeVP81usorHQVs2WxD 1+YA== X-Gm-Message-State: APjAAAVcQP07YGerFieV107YxXFOVMqpgtHMKCcaJFbtnlQDQQ/yeq3/ DXQe618B9h9GaZabyT7efIQ/Ngm+r4exKTFSB2E= X-Google-Smtp-Source: APXvYqz1FCZbcbjLUPKeV0w0BjV5qwWjlphJ9tRBswM4jtafQcWQO3Vv4v/HkHGD7pYPlw4UEQ/S5mj/aPi9YgLJ+ZE= X-Received: by 2002:ac8:6f27:: with SMTP id i7mr157437qtv.253.1580318362218; Wed, 29 Jan 2020 09:19:22 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: bishop@php.net Date: Wed, 29 Jan 2020 12:19:16 -0500 Message-ID: To: Benjamin Morel Cc: PHP Internals Content-Type: multipart/alternative; boundary="0000000000009cb29e059d4a8aaf" Subject: Re: [PHP-DEV] How to debug a segmentation fault? From: bishop@php.net (Bishop Bettini) --0000000000009cb29e059d4a8aaf Content-Type: text/plain; charset="UTF-8" On Tue, Jan 28, 2020 at 11:28 AM Benjamin Morel wrote: > I'm encountering a SIGSEGV in PHP-FPM on PHP 7.4.2 in a Symfony app. The > bug seems to happen during the rendering of a Twig template; this makes it > hard for me to pinpoint the code that triggers the segfault. > > Could you please tell me what the procedure to collect information is, so > that I can file a useful bug report? > Great advice so far. I would add, since you're using PHP-FPM, that the pool configuration needs to have: process.dumpable = 1 to get core dumps out of workers. Without this you might not get core dumps, even when you have other core dump settings configured (ulimit -c unlimited, chmod +r phpfpm, etc.). --0000000000009cb29e059d4a8aaf--