FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

Avoiding an address book crash on incoming phone call

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Salling Software Forums Forum Index -> Archives
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue Dec 16, 2003 8:22 pm    Post subject: Avoiding an address book crash on incoming phone call Reply with quote

I had a hunch about the source of the AB crashes, and decided to try simply disabling
Clicker's incoming phonecall notification thing. That seems to have stopped AB from
crashing.

My guess is that what happens is that the phone only sends the incoming call
message out once, and Clicker happens to handle it first (and then deallocates the
memory), and perhaps by the time Address Book tries handling it, it's now a dangling
pointer.

Is the bluetooth messaging API in Objective-C? If so, maybe Clicker is just forgetting
to do something like [message retain] before [message release], or maybe doing
[message autorelease] instead would help. :) Or maybe it's just a bug in the bluetooth
stack, where they assumed that only one device would handle any one message.


Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Salling Software Forums Forum Index -> Archives All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group