libpurple crashes...

Mark Doliner mark at kingant.net
Tue Apr 24 02:26:21 EDT 2007


On Mon, 23 Apr 2007 09:50:53 -0700 (PDT), Rehan wrote
>   I am developing an application powered by libpurple. But suddenly 
> my stable application crashes for one event. The event is as 
> follows: a user logins in MSN via my application. Everything works 
> fine. i get the buddy list, i get updates of MSN buddy presence etc, 
> etc. and the code executes properly.
> 
> But when i lock the screen my MSN live messenger sents presences 
> updates to my application and after unlocking and checking the logs 
> of my application i find the application crashed just after getting 
> the presence "Available" from MSN network.
> 
> Is this due to the fact that i am getting two "Available" presence 
> back to back without any other status in between??
> 
> the scenario is user A logs in via my application. user B logs in 
> via MSN messenger.. User B locks the screen/unlocks the screen and 
> my application crashes. i can see last i got a "Available" status 
> from MSN messenger for user B.
> 
> Am i doing something wrong in my application or is this a known issue?

Getting two "Available" presence back to back without any other status in
between shouldn't crash the application (although I guess it's possible there
is a bug in there somewhere).

Have you tried debugging your application with a debugger?  Or obtained a
stack trace from the time of the crash?

-Mark



More information about the Devel mailing list