cmogstored dev/user discussion/issues/patches/etc
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: Xiao Yu <xyu@automattic.com>
Cc: Arkadi Colson <arkadi@smartbit.be>, cmogstored-public@yhbt.net
Subject: Re: Segfaults on http_close?
Date: Wed, 20 Jan 2021 21:22:29 +0000	[thread overview]
Message-ID: <20210120212229.GA25024@dcvr> (raw)
In-Reply-To: <CABfxMcVhLa5PPUAn8hHTekTnvJytSqYcawXxn4D+uefS5edBFQ@mail.gmail.com>

Xiao Yu <xyu@automattic.com> 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)

  reply	other threads:[~2021-01-20 21:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11 20:48 Segfaults on http_close? Xiao Yu
2021-01-11 21:26 ` Eric Wong
2021-01-17  9:51   ` Eric Wong
2021-01-20  5:21     ` Xiao Yu
2021-01-20  8:57       ` Eric Wong
2021-01-20 21:13         ` Xiao Yu
2021-01-20 21:22           ` Eric Wong [this message]
2021-01-25 17:36             ` Xiao Yu
2021-01-25 17:47               ` Eric Wong
2021-01-25 19:27                 ` Xiao Yu
2021-02-12  6:54                   ` Eric Wong
2021-02-12 21:18                     ` Xiao Yu
2021-02-13  2:19                       ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/cmogstored/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210120212229.GA25024@dcvr \
    --to=e@80x24.org \
    --cc=arkadi@smartbit.be \
    --cc=cmogstored-public@yhbt.net \
    --cc=xyu@automattic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/cmogstored.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).