[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: signal SIGSEGV, Segmentation fault
From: |
Richard Frith-Macdonald |
Subject: |
Re: signal SIGSEGV, Segmentation fault |
Date: |
Tue, 22 May 2018 13:42:18 +0100 |
> On 22 May 2018, at 13:09, Andreas Höschler <ahoesch@smartsoft.de> wrote:
>
> Hi Wolfgang,
>
>> From the self pointer in the call frame:
>> self=0xb7ca746e <-[NSView displayRectIgnoringOpacity:inContext:]+318>
>> gdb resolves this address to an address in the code of the
>> displayRectIgnoringOpacity:inContext: method from the NSView class. :-)
>
> Aha, interesting. But this still rings no bell (no idea how this could be).
Well, anything that overwrite the memory location in which 'self' is stored
could cause this.
The most common thing (as suggested by Wolfgang) would be if the object was
deallocated and the memory re-used (a retain/release error), but buffer
overruns could also corrupt the memory.
Fred's suggestion of running under valgrind should help find the problem in
either case.
- Re: signal SIGSEGV, Segmentation fault, (continued)
- Re: signal SIGSEGV, Segmentation fault, Fred Kiefer, 2018/05/08
- Re: signal SIGSEGV, Segmentation fault, Andreas Fink, 2018/05/09
- Re: signal SIGSEGV, Segmentation fault, Andreas Höschler, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Wolfgang Lux, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Andreas Höschler, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Wolfgang Lux, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Andreas Höschler, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Andreas Höschler, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Riccardo Mottola, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Fred Kiefer, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault,
Richard Frith-Macdonald <=
- Re: signal SIGSEGV, Segmentation fault, Andreas Höschler, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Richard Frith-Macdonald, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Riccardo Mottola, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Yavor Doganov, 2018/05/22
- Re: signal SIGSEGV, Segmentation fault, Riccardo Mottola, 2018/05/22