[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building/using address-sanitizer-enabled emacs?
From: |
Eli Zaretskii |
Subject: |
Re: building/using address-sanitizer-enabled emacs? |
Date: |
Tue, 09 May 2017 20:45:21 +0300 |
> From: Jim Meyering <address@hidden>
> Date: Tue, 9 May 2017 10:06:29 -0700
> Cc: Paul Eggert <address@hidden>, emacs-devel <address@hidden>
>
> > I admit that I don't understand this report. At the point where the
> > report claims there was buffer overflow, child_setup is not in the
> > call stack, because it is/was called in another process after vfork:
> > the callstack shows the stack of the Emacs process, whereas
> > child_setup is called by a child process. So either the report shows
> > a stack of a wrong process, or something else is going on. Or maybe I
> > simply don't understand how to read this report.
>
> Thanks for looking.
> I confess I have not done so. Does this caveat apply?
>
> HINT: this may be a false positive if your program uses some custom
> stack unwind mechanism or swapcontext
I don't think I understand this caveat, either. Does "swapcontext"
include what happens after vfork? IOW, is this tool known to follow
forks and track each of the 2 processes separately?
- Re: building/using address-sanitizer-enabled emacs?, (continued)
- Re: building/using address-sanitizer-enabled emacs?, Paul Eggert, 2017/05/07
- Re: building/using address-sanitizer-enabled emacs?, Jim Meyering, 2017/05/07
- Re: building/using address-sanitizer-enabled emacs?, Eli Zaretskii, 2017/05/07
- Re: building/using address-sanitizer-enabled emacs?, Paul Eggert, 2017/05/08
- Re: building/using address-sanitizer-enabled emacs?, Eli Zaretskii, 2017/05/08
- Re: building/using address-sanitizer-enabled emacs?, Paul Eggert, 2017/05/08
- Re: building/using address-sanitizer-enabled emacs?, Eli Zaretskii, 2017/05/08
- Re: building/using address-sanitizer-enabled emacs?, Jim Meyering, 2017/05/09
- Re: building/using address-sanitizer-enabled emacs?, Eli Zaretskii, 2017/05/09
- Re: building/using address-sanitizer-enabled emacs?, Jim Meyering, 2017/05/09
- Re: building/using address-sanitizer-enabled emacs?,
Eli Zaretskii <=
- Re: building/using address-sanitizer-enabled emacs?, Paul Eggert, 2017/05/09
- Re: building/using address-sanitizer-enabled emacs?, Jim Meyering, 2017/05/09
- Re: building/using address-sanitizer-enabled emacs?, Eli Zaretskii, 2017/05/09
- Re: building/using address-sanitizer-enabled emacs?, Paul Eggert, 2017/05/16
- Re: building/using address-sanitizer-enabled emacs?, Eli Zaretskii, 2017/05/16
- Re: building/using address-sanitizer-enabled emacs?, Paul Eggert, 2017/05/17
- Re: building/using address-sanitizer-enabled emacs?, Eli Zaretskii, 2017/05/17
- Re: building/using address-sanitizer-enabled emacs?, Paul Eggert, 2017/05/17
- Re: building/using address-sanitizer-enabled emacs?, Eli Zaretskii, 2017/05/18
Re: building/using address-sanitizer-enabled emacs?, Philipp Stephani, 2017/05/09