From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 99D921F4B4; Wed, 20 Jan 2021 21:22:29 +0000 (UTC) Date: Wed, 20 Jan 2021 21:22:29 +0000 From: Eric Wong To: Xiao Yu Cc: Arkadi Colson , cmogstored-public@yhbt.net Subject: Re: Segfaults on http_close? Message-ID: <20210120212229.GA25024@dcvr> References: <20210111212621.GA12555@dcvr> <20210117095109.GA28219@dcvr> <20210120085745.GB29704@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: Xiao Yu wrote: > That's good to know, would it help if I applied the patch and then > compiled with the older compiler to check? Yes, that would be tremendously helpful, thanks. > Would non-daemonized mode and capturing stderr provide more verbosity? Yes, syslog can't capture fatal errors from glibc, unfortunately. It might only be one line, but that could tell you what kind of free() failure there was. --daemonize/-d behavior was a mistake copied from Perl mogstored :< I'm not sure if I want to add another option or env variable... (I use systemd myself)