realbasic-nug
[Top] [All Lists]

Re: Jaguar Crash Reproduce Example

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Jaguar Crash Reproduce Example
From: Chris Little <cslittle at mac dot com>
Date: Fri, 30 Aug 2002 21:49:48 -0400
on 8/30/02 10:45 AM, Joseph J. Strout at joe at realsoftware dot com wrote:

> At 6:35 AM -0800 8/30/02, John Lowrey wrote:
> 
>> I have had problems like this as well.  In my case, I build an app
>> and run it.  It crashes on quit.  I move the built app onto the
>> desktop and run it and it works just fine.  Move it back to my
>> project folder and it crashes again.  I have no idea why.  I was
>> reading somewhere that Jaguar automatically does the update
>> prebindings.  Could this be a cause?
> 
> Certainly prebinding seems to be involved; we're doing a lot of
> testing on this issue and we see quite bizarre patterns where
> updating the prebindings sometimes fixes it; sometimes using a
> different file name fixes it; sometimes moving the app to a different
> folder fixes it.  It actually gets quite a bit stranger than that,
> even.
> 
> And here's a really curious one: sometimes you can build an app, run
> it, quit it, make some changes, build it again -- and when you run
> it, 10.2 runs the *old* version of your app!  But then if you rename
> it and launch it again, you can see your changes.  The system appears
> to be doing some sort of caching, and it's not always realizing when
> it's valid to use the cache.
> 
> Anyway, as I said, we're still looking into this, but these are the
> sort of odd effects to watch out for on 10.2.
> 
> Cheers,
> - Joe

I saw a posting on the Carbon list that seems related to this.  One the
Apple engineers (Christopher Linn) posted

>I think you're seeing a known bug in LSFindApplicationForInfo appearing in
>10.2. Since it's a regression, it's a priority issue. It usually starts
>happening after an app has been deleted; other copies of the app are then
>ignored by LSFindApplicationForInfo. To verify, try this:
>
>% rm ~/Library/Caches/com.apple.LaunchServices.UserCache.csstore
>% sudo -s
># rm /Library/Caches/com.apple.LaunchServices.LocalCache.csstore
># sync; reboot

The shell script commands refresh the launch services cache.

Chris


---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>

Subscribe to the digest: 
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.


<Prev in Thread] Current Thread [Next in Thread>