[Top][All Lists]

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

Re: Odd problem

From: Fred Kiefer
Subject: Re: Odd problem
Date: Mon, 25 Jul 2011 12:31:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv: Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

On 25.07.2011 07:17, Germán Arias wrote:
On dom, 2011-07-24 at 12:08 +0100, David Chisnall wrote:
On 24 Jul 2011, at 01:03, Germán Arias wrote:

As I can see this is a problem with libobjc in gcc, so I will ask at gcc
help list. Thanks.

While I wouldn't completely rule out a libobjc bug, this kind of crash is 
usually caused by a message being sent to a dangling pointer.  Try using 
valgrind or NSZombieEnabled to find what it is and where it's being deallocated.


Attached the output of Valgrind with SystemPreferences (currently many
apps are broken). And if is useful the backtrace of gdb, also with
SystemPreferences. I notice that the broken apps, are those who need
frameworks (others than Base and Gui)- For example SystemPreferences is
broken, but need PreferencePanel.framework. Gorm is also broken. But
other apps, like Terminal and GMines, works fine. However, I get an
segmentation fault when I close these apps.

The way you called valgrind you are getting the loss records for your shell. You should start it with a direct reference to the executable. Something like:

valgrind SystemPreferences/SystemPreferences.app/SystemPreferences

And as this is a really common error, could you please run ldd on that executable and report back the results as well?


reply via email to

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