[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segmentation Faults - OpenBSD
From: |
Sebastian Reitenbach |
Subject: |
Re: Segmentation Faults - OpenBSD |
Date: |
Tue, 10 Apr 2018 10:58:15 +0200 |
User-agent: |
SOGoMail 4.0.0 |
Hi,
Am Dienstag, April 10, 2018 10:03 CEST, David Chisnall <address@hidden> schrieb:
> On 10 Apr 2018, at 07:13, Sebastian Reitenbach <address@hidden> wrote:
> >
> > Hi,
> >
> > Am Dienstag, April 10, 2018 00:28 CEST, Riccardo Mottola <address@hidden>
> > schrieb:
> >
> >> Hi,
> >>
> >> On 2018-04-07 18:04:12 +0000 David Chisnall <address@hidden> wrote:
> >>
> >>>> No idea if either of them are relevant, but I’ve just pushed two fixes
> >>>> for > memory-related errors in -base. One writes some data through an >
> >>>> uninitialised pointer when an exception is thrown and the platform
> >>>> doesn’t > provide backtrace. The other treats things as GSString
> >>>> instances even if > they aren’t and so can potentially dereference an
> >>>> invalid pointer.
> >>>> Either of these could cause random crashes in some usage on some
> >>>> platforms.
> >>
> >>
> >> unfortunatley not. I still get a hard crash while running "plmerge". For
> >> me it is OpenBSD only, but I got that Gregory has issues on linux to.
> >>
> >> I was able to compile with debug and get a better starcktrace, although I
> >> think it is corrupted and loops.. or we have some case of /thread
> >> recurision
> >
> > while debugging GNUMail, I also tried gnustep-base from git, and I saw the
> > very same backtrace, when I tried to rebuild gnustep-gui afterward. >
> > Threre I saw it happen in make_services.
>
> This looks like the bug with non-fragile ivars appearing to have different
> offsets in different libraries. If I give you a clang patch, are you able to
> test it?
OpenBSD -current just updated to clang 6.0.0 a few days ago, is that fix
already part of clang 6.0.0?
I'll have to wait a few days before I upgrade my desktop to test, because there
was quite some fallout
in the ports tree because of that clang update, and I have to wait until the
most of it is fixed and
packages are available. Then I can retry gnustep-base from GIT.
If the fix is not yet in 6.0.0, then send the patch along, and I can give it a
try, but still, I'll need a
few days before upgrading.
cheers,
Sebastian
>
> David
>
- Re: Segmentation Faults - OpenBSD, Riccardo Mottola, 2018/04/07
- Re: Segmentation Faults - OpenBSD, Riccardo Mottola, 2018/04/10
- Re: Segmentation Faults - OpenBSD, Riccardo Mottola, 2018/04/11
- Re: Segmentation Faults - OpenBSD, Gregory Casamento, 2018/04/11
- Re: Segmentation Faults - OpenBSD, Riccardo Mottola, 2018/04/12
- Re: Segmentation Faults - OpenBSD, David Chisnall, 2018/04/13
- Re: Segmentation Faults - OpenBSD, Richard Frith-Macdonald, 2018/04/13