Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Wed Nov 13, 2019 5:45 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Sparkle framework for carbon — crash question.
PostPosted: Wed Feb 13, 2013 10:09 pm 
Offline

Joined: Wed Feb 13, 2013 10:02 pm
Posts: 10
Hello! I'm having a strange issue with Sparkle on my application. I've implemented it correctly, and everything is working great, except that about 1 out of 3 times, checking for updates or calling Sparkle in any way crashes the application. The other times it works great.

I've added the two keys to info.plist, the update is signed properly, downloads fine, restarts with no issues. Everything is perfectly functional, it is just that strange crash about every third time when you check for updates.

This crash also happens in the sample Sparkle project included with the framework.

Anyone who has Sparkle working in their app, some feedback would be greatly appreciated. Thank you.

Here is part of the crash log:

Parent Process:  launchd [146]
User ID: 501

Date/Time: 2013-02-13 19:04:55.180 -0800
OS Version: Mac OS X 10.8.2 (12C3012)
Report Version: 10

Interval Since Last Report: 3404127 sec
Crashes Since Last Report: 280
Per-App Interval Since Last Report: 452 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 391A8A56-F2FF-A930-0DAE-AC6D162FADB6

Crashed Thread: Unknown

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000120

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit):
eax: 0x04960004 ebx: 0x0f0bdf7d ecx: 0x95003247 edx: 0x00000100
edi: 0x07008410 esi: 0x0b7ed840 ebp: 0xbfffeab8 esp: 0xbfffea98
ss: 0x00000023 efl: 0x00010202 eip: 0x90365a87 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x00000120
Logical CPU: 0

Binary images description not available


External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 5
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1520404
thread_create: 1
thread_set_state: 0


Top
 Profile  
Reply with quote  
 Post subject: Re: Sparkle framework for carbon — crash question.
PostPosted: Thu Feb 14, 2013 8:27 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
Why not use the Cocoa functions in the framework?

e.g. with MBS Plugin and SUUpdaterMBS class.

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: Sparkle framework for carbon — crash question.
PostPosted: Thu Feb 14, 2013 11:59 am 
Offline

Joined: Wed Feb 13, 2013 10:02 pm
Posts: 10
a


Last edited by clarusmoof on Wed May 08, 2013 8:11 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Sparkle framework for carbon — crash question.
PostPosted: Fri Feb 15, 2013 8:57 pm 
Offline

Joined: Wed Feb 13, 2013 10:02 pm
Posts: 10
I've tried the SUUpdaterMBS class with the MBS plugin. It crashes lless frequently, but still crashes about 1 out of 5 times, same crash report. I'll probably just avoid Sparkle for now.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group