[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crash on app start due to icon
From: |
Yavor Doganov |
Subject: |
Re: Crash on app start due to icon |
Date: |
Sat, 11 Aug 2018 00:12:04 +0300 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/25.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
On Wed, 08 Aug 2018 01:34:25 +0300,
Josh Freeman wrote:
> It seems to be a gcc/gobjc compiler/runtime bug: Sending a nil
> message using a method signature that returns a structure
> (ex. -[NSView bounds] -> NSRect) results in:
> 1. Garbage values in the returned structure's members (affects:
> 32-bit/64-bit, debug/non-debug)
> 2. A corrupted stack (affects: 32-bit w/non-debug)
Many thanks for finding this out. It explains many hours spent in
fruitless debugging sessions and some truly obscure bugs I've seen in
Adun, Cenon, Lynkeos and other apps... Unfortunately this bug has
nasty consequences as quite a lot of GUI methods return structs and
most users (and distros) usually build with -O2.
The good news is that I managed to find out the revisions which fixed
the bug and reintroduced it again, reworked your test program to pure
Objective-C and reported it:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86913
- Re: Crash on app start due to icon, (continued)
- Re: Crash on app start due to icon, Riccardo Mottola, 2018/08/06
- Re: Crash on app start due to icon, Wolfgang Lux, 2018/08/06
- Re: Crash on app start due to icon, Riccardo Mottola, 2018/08/07
- Re: Crash on app start due to icon, Wolfgang Lux, 2018/08/08
- Re: Crash on app start due to icon, Riccardo Mottola, 2018/08/09
- Re: Crash on app start due to icon, Josh Freeman, 2018/08/07
- Re: Crash on app start due to icon, Fred Kiefer, 2018/08/08
- Re: Crash on app start due to icon, Riccardo Mottola, 2018/08/08
- Re: Crash on app start due to icon,
Yavor Doganov <=
- Re: Crash on app start due to icon, Fred Kiefer, 2018/08/03
- Re: Crash on app start due to icon, Fred Kiefer, 2018/08/03
- Re: Crash on app start due to icon, Riccardo Mottola, 2018/08/04
- Re: Crash on app start due to icon, Riccardo Mottola, 2018/08/04
- Re: Crash on app start due to icon, Fred Kiefer, 2018/08/04
Re: Crash on app start due to icon, Riccardo Mottola, 2018/08/01