[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segfault in SystemPreferences
From: |
Fred Kiefer |
Subject: |
Re: Segfault in SystemPreferences |
Date: |
Mon, 08 Jun 2009 17:36:13 +0200 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081227) |
Andreas Schik wrote:
> Fred Kiefer schrieb:
>> Andreas Schik wrote:
>>> Hi all,
>>> last week (May, 27th) I upgraded my GNUstep installation from SVN and
>>> encountered problems with SystemPreferences and GWorkspace.
>>> Both simply segfault during startup. Additionally, GWorkspace tells me
>>> that is cannot load English.lproj/PrefWindow.gorm.
>>>
>>> In both cases the debugger shows that the crash happens in
>>> -[GSFFCallInvocation initWithMethodSignature:]. Here is the bachtrace:
>>>
>>> #0 0xb794a873 in -[GSFFCallInvocation initWithMethodSignature:] (
>>> self=0xc1f00000, _cmd=0x200862, aSignature=0x38220000)
>>> at GSFFCallInvocation.m:548
>>> #1 0x00050000 in ?? ()
>>> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
>>>
>>> No, I did not compile -base with debug info, yet, as I did not have time
>>> so far, but maybe someone already has an answer for me and spares me
>>> debugging -base :-)
>>>
>>
>> It is highly likely that this behaviour is caused by Systempreferences
>> now being installed in a different domain than before. By default it
>> will now be installed in Local not System. But there still are the old
>> preference panes in System and these will get loaded, but wont work
>> correctly with the new application. Best to remove all these old
>> components. I also changed the installation domain by adding
>> Systempreferences to /etc/GNUstep/installation-domains.conf, but this is
>> optional and just shows that I still recent the change we made here :-)
>>
>> Hope this helps
> It did. I already suspected that and removed all prefs bundles from System,
> but did not see that I had an old one in Local :-) Your response helped
> me see that.
>
> I still have a problem with SystemPreferences, though. The colours panel
> does not work. Clicking 'Show All' in this panel yields the following:
>
> 2009-06-08 16:01:23.133 SystemPreferences[12103] File NSString.m: 1237.
> In -[NSString initWithContentsOfFile:] Contents of file
> '/home/ahe/GNUstep/Library/Colors/System.clr' are not string data
> 2009-06-08 16:01:23.133 SystemPreferences[12103] Scanner initialised
> with nil string
> 2009-06-08 16:01:23.133 SystemPreferences[12103] Unable to read color
> file at "/home/ahe/GNUstep/Library/Colors/System.clr" -- unknown format.
>
> SystemPreferences does not respond for several seconds before it
> segfaults. The file is actually some binary stuff.
>
Just remove the file it will be regenerated the next time you start up
GNUstep. No idea what happened to it, though.