Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Occasionally hitting exception in _replaceNode
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel Jalkut  
View profile  
 More options Mar 16 2012, 10:46 am
From: Daniel Jalkut <jal...@red-sweater.com>
Date: Fri, 16 Mar 2012 10:46:53 -0400
Local: Fri, Mar 16 2012 10:46 am
Subject: Occasionally hitting exception in _replaceNode

In my recent focus on eliminating some nagging bugs in iMedia, I've been using it a lot more than I usually do. Over the past couple days I've run into the exception here a few times:

https://github.com/karelia/iMedia/blob/master/IMBLibraryController.m#...

I can't predict when it will happen and it doesn't happen necessarily under very extreme circumstances. It just happened once after I compiled and ran the test app, on the initial scan.

I just thought I would mention it in case anybody else has been seeing it and has ideas about what might lead to this condition.

Daniel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Jalkut  
View profile  
 More options Mar 16 2012, 11:04 am
From: Daniel Jalkut <jal...@red-sweater.com>
Date: Fri, 16 Mar 2012 11:04:24 -0400
Local: Fri, Mar 16 2012 11:04 am
Subject: Re: [imedia-dev] Occasionally hitting exception in _replaceNode
So, the good news is I think this IS a somewhat unusual circumstance that leads to this, but like my other testing recently, it may reveal a problem that would occasionally affect customers in ordinary circumstances.

To reproduce the bug, I set up -[IMBLibraryController reload] to automatically call itself again after 5 seconds. So for testing purposes, it's just constantly reloading the iMedia browser. I set a breakpoint at the exception point and after about 15 minutes of this I finally hit it!

It seems to be an issue with the identifier of some nodes not being canonical enough. Witness:

(lldb) po inOldNode
(IMBNode *) $1 = 0x0000000110ea0480     IMBNode (log)
                identifier = IMBImageFolderParser://private/var/log
                attributes = (null)
(lldb) po inNewNode
(IMBNode *) $2 = 0x000000010aadcba0     IMBNode (log)
                identifier = IMBImageFolderParser://var/log
                attributes = (null)
(lldb)

So iMedia's conception of the full path to the node in question has changed from /var/log to /private/var/log.

I don't know yet why it's so consistent most of the time and only "changes" on rare occasion. Will keep posted and if I find a fix, submit another pull request.

Daniel

On Mar 16, 2012, at 10:46 AM, Daniel Jalkut wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "iMedia in 10.5" by John Nairn
John Nairn  
View profile  
 More options Mar 16 2012, 12:01 pm
From: John Nairn <j...@geditcom.com>
Date: Fri, 16 Mar 2012 09:01:46 -0700
Local: Fri, Mar 16 2012 12:01 pm
Subject: iMedia in 10.5
When I switched my app to 64 bit, I upgraded to iMeda 2.x (although I cannot tell which version exactly). The folder I downloaded is called "karelia-iMedia-b81de3c"

I just released a new version of my app and found it will not launch in Leopard (10.5.8 at least, to be specific). The crash is when dyld trys to load iMedia with name _NSConcreteTask (or something like that, I am not on a Leopard machiie to test now).

I checked my download and both iMedia and ObjectiveFlickr are marked as 10.5 deploymet with Base SDK of 10.7. Did I do something wrong to have it not work in 10.5? I am not used to framework development. I first tried to "Build for Archiving" and it fails with a pch error. I was able to build both by "Build for Running" which seemed to create both a debug and a release version in the derived data. Maybe I built the framework the wrong way?

John
------------
John Nairn
http://www.geditcom.com
Genealogy Software for the Mac


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Abdullah  
View profile  
 More options Mar 18 2012, 8:41 am
From: Mike Abdullah <mabdul...@karelia.com>
Date: Sun, 18 Mar 2012 12:41:36 +0000
Local: Sun, Mar 18 2012 8:41 am
Subject: Re: [imedia-dev] iMedia in 10.5
On 16 Mar 2012, at 16:01, John Nairn wrote:

> When I switched my app to 64 bit, I upgraded to iMeda 2.x (although I cannot tell which version exactly). The folder I downloaded is called "karelia-iMedia-b81de3c"

> I just released a new version of my app and found it will not launch in Leopard (10.5.8 at least, to be specific). The crash is when dyld trys to load iMedia with name _NSConcreteTask (or something like that, I am not on a Leopard machiie to test now).

> I checked my download and both iMedia and ObjectiveFlickr are marked as 10.5 deploymet with Base SDK of 10.7. Did I do something wrong to have it not work in 10.5? I am not used to framework development. I first tried to "Build for Archiving" and it fails with a pch error. I was able to build both by "Build for Running" which seemed to create both a debug and a release version in the derived data. Maybe I built the framework the wrong way?

Hi John, we switched over to requiring 10.6 recently. Full details are here: https://github.com/karelia/iMedia/blob/master/README.mdown

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »