[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] a segfault when editing a file in stereo
From: |
Mike Frysinger |
Subject: |
Re: [Nano-devel] a segfault when editing a file in stereo |
Date: |
Tue, 4 Aug 2015 02:52:49 -0400 |
On 02 Aug 2015 20:55, Benno Schulenberg wrote:
> On Sun, Jul 19, 2015, at 13:09, Benno Schulenberg wrote:
> > On Debian there is a bug report [1] about the new locking code.
> > When opening the same (nonexistent) file in different terminals,
> > and then answering N or ^C in the second terminal to the question
> > whether to continue, nano segfaults on the reporter's system.
> >
> > I cannot reproduce this. Who can?
>
> The segfaults occur because the reporter has the following
> variable set in his environment:
>
> export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
>
> When I set that variable, I can reliably reproduce the crash.
> So... now to find the origin of the problem...
should we call mallopt() for --enable-debug builds ?
mallopt (M_CHECK_ACTION, 3);
mallopt (M_PERTURB, 0xa5);
-mike
signature.asc
Description: Digital signature