discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash on app start due to icon


From: Wolfgang Lux
Subject: Re: Crash on app start due to icon
Date: Sun, 5 Aug 2018 11:22:26 +0200

Hi Riccardo,

I finally managed to reproduce the crash, once I've noticed that you are 
compiling on a 32-bit OS rather than 64-bits (any reason for not using 64-bits 
nowadays?). Setting a breakpoint on the setApplicationIconImage: and then 
stepping through that method I found that the code crashes here:
2385      miniWindowSize = [GSCurrentServer() iconSize];

And stepping into that method the problem is that GSCurrentServer() return a 
null pointer. I've committed a fix now to handle this case.

Wolfgang

> Am 04.08.2018 um 23:10 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
> 
> Hi,
> 
> 
> On 08/04/18 13:53, Wolfgang Lux wrote:
>> as everybody else I'm also unable to reproduce your issue on NetBSD 7.1.2 
>> with the latest source (except for Fred's patch). So it's seems this is 
>> something peculiar with your setup. Do you have any themes installed? If so, 
>> can you install them and try again. Also, what is the output of
>>   info sharedlibrary
>> (you may abbreviate that to i sh) when the program crashes?
> 
> this is a mystery: I get a crash on all my computers except the FreeBSD/clang 
> ones (both laptop and workstation).
> 
> On my NetBSD 8.0 I had themes installed, namely set was the tango theme:
> imladris: {21} defaults read NSGlobalDomain GSTheme
> NSGlobalDomain GSTheme Tango
> 
> this is a pure icon theme.
> 
> I removed all the themes and removed the GSTheme variable, to "clean" 
> everything, but I still get a crash.
> 
> I have these configuration settings.
> 
> Make:
>   $ ./configure --prefix=/ --with-layout=gnustep
> 
> Base, Gui and Back: just configure with no arguments. Cairo is installed, 
> detected and used.
> 
> It is window-maker dependent (only there we have the icon dock). If I quickly 
> switch to plain twm, the application starts.
> 
> Riccardo
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]