[Psi-Devel] Bug Report: Psi crashes when sending a message to an offline user
Rion
rion4ik at gmail.com
Wed Nov 2 21:11:54 PDT 2011
its fixed an year or more ago. but not released yet.
2011/11/2 Norka Lucena <norka.lucena at collabworx.com>:
> The crash occurs when sending a message to one of your contacts and that
> contacts goes offline at the exact moment you are sending the message.
> Although observation of the crash was accidental, you can reproduce it as
> follows:
>
> Sender's side:
> 1. Right click on a any online contact.
> 2. Select the option 'Send Message To'.
> 3. Select a specific resource, but do not click.
>
> Receiver's side:
> 4. Go offline in the specific resource.
>
> Sender's side:
> 5. Click to send meeting invitation .
>
>
> The crash occurs because of an invalid reference access in the function
> ContactProfile::doContextMenu in contactview.cpp, line 1546.
>
> 1544 //if(res > 0) {
> 1545 const UserResource &r = rl[res];
> 1546 rname = r.name();
> 1547 //}
>
> Notice that removing the comment will not really solve the problem. The
> problem is caused by rl (resource list) becoming empty before the rname
> (resource name) assignment. r is invalid.
>
> Do you plan to fix this problem any time soon?
More information about the Psi-Devel
mailing list