ValentijnNK / miranda

Automatically exported from code.google.com/p/miranda
0 stars 0 forks source link

miranda crashes on opening specific contact (jabber-gtalk) chat window #1594

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Miranda Version                  : Built Jul 18 2012 22:38:05
Unicode Build                    : Yes
Test Build # (if applicable)     : no
Plugin Version # (if applicable) : jabber.dll/0.10.0.8

What steps will reproduce the problem?
1. run miranda
2. connect jabber
3. open that contact chat window: not responding message, crash

windows bug report
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: miranda32.exe
  Application Version:  0.10.0.8
  Application Timestamp:    50077314
  Fault Module Name:    jabber.dll
  Fault Module Version: 0.10.0.8
  Fault Module Timestamp:   50077305
  Exception Code:   c0000005
  Exception Offset: 00023b62
  OS Version:   6.1.7601.2.1.0.256.1
  Locale ID:    1049
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Original issue reported on code.google.com by ilya.bu...@gmail.com on 20 Jul 2012 at 1:33

GoogleCodeExporter commented 9 years ago
I've got same problem on my build, since I've updated to 0.10.0.8
There is a nuance: this bug appears only on several contact from my jabber 
list, I don't know why.

Original comment by solmir.t...@gmail.com on 24 Jul 2012 at 1:29

GoogleCodeExporter commented 9 years ago
I suspect that this is because of avatars that defined for those users.
Looks like we need to report this to Miranda IM developers, but I don't know 
how.

Original comment by Whoisi...@gmail.com on 5 Aug 2012 at 1:26

GoogleCodeExporter commented 9 years ago
Ou, this is correct place for reporting :) Sorry.
I hope this issue will be solved ASAP. Looks critical for me.
 Additional information: 
Contact which cause crash of Miranda has Pandeon client installed v.2.6.106.

Original comment by Whoisi...@gmail.com on 5 Aug 2012 at 2:16

GoogleCodeExporter commented 9 years ago
A work around for the problem is to go an set a global default avatar for the 
Jabber protocol.

 -  File | Options | Customize | Avatars | Protocols
 -  Highlight the "Global avatar for JABBER accounts" option
 -  Click "Set default picture"
 -  Browse to and select an appropriate picture
 -  Apply the changes and close the Options area of Miranda

This may or may not work for everyone. It has worked for me on three machines 
running Miranda version 0.10.0.8 with Jabber version 0.10.0.8

Original comment by swing...@gmail.com on 8 Aug 2012 at 1:37

GoogleCodeExporter commented 9 years ago
Update on the work around. Seems to have worked for a while, then started 
having problems again.

Updated to version 0.10.1.0. No change.

Original comment by swing...@gmail.com on 21 Aug 2012 at 3:38

GoogleCodeExporter commented 9 years ago
Having this problem only with clist_modern.dll (v 0.9.0.11), with other contact 
list managers there's no issue

Original comment by k.one.o....@gmail.com on 4 Sep 2012 at 1:46

GoogleCodeExporter commented 9 years ago
Another temporary workaround is to use arrow keys to select the desired contact 
in roster (the choice of which causes crash) and then hit Enter to open chat. 
Works for me.

Original comment by solmir.t...@gmail.com on 4 Sep 2012 at 4:19

GoogleCodeExporter commented 9 years ago
Seems that the problem is in avs.dll (0.10.1.0). Turned it off 3 hours ago - 
works well so far (with clist_modern).

Original comment by k.one.o....@gmail.com on 5 Sep 2012 at 8:30

GoogleCodeExporter commented 9 years ago
Nothing was changed into 0.10.2.0 of this issue too. :sad:

Original comment by kkvbl...@gmail.com on 7 Sep 2012 at 7:05

GoogleCodeExporter commented 9 years ago
As I can see, according to Comment 3 by Whoisi...@gmail.com, Aug 5, 2012 - this 
problem still exists in that case, when you try to open person contact the 
first and send some messages. Problem disappears after your contact will send 
you message first.

Original comment by kkvbl...@gmail.com on 7 Sep 2012 at 8:15

GoogleCodeExporter commented 9 years ago
I'm also getting this crash with the latest release (0.10.4.0). I downloaded 
and built the source and reproduced it; the crash is happening in 
jabber_list.cpp, here:

TCHAR* CJabberProto::ListGetBestClientResourceNamePtr( const TCHAR* jid )
{
    EnterCriticalSection( &m_csLists );
    int i = ListExist( LIST_ROSTER, jid );
    if ( !i ) {
        LeaveCriticalSection( &m_csLists );
        return NULL;
    }

    JABBER_LIST_ITEM* LI = m_lstRoster[i-1];
    TCHAR* res = ListGetBestResourceNamePtr( jid );
    if ( res == NULL ) res = LI->lastSeenResource->resourceName;

LI->lastSeenResource is NULL and hence the crash. Changing that line to 

    if ( res == NULL && LI->lastSeenResource != NULL ) res = LI->lastSeenResource->resourceName;

fixed the crash for me.

Original comment by jasmin.p...@gmail.com on 5 Oct 2012 at 9:28

GoogleCodeExporter commented 9 years ago
The problem still exists at v0.10.20.0
Why didn't they use the #11 jasmin.p...@gmail.com fix?

Original comment by gvm.h...@gmail.com on 12 Jan 2014 at 11:48

GoogleCodeExporter commented 9 years ago
They did use that fix in r14394 (Oct 22, 2012)

You must have another problem.

Original comment by wishmaster51 on 12 Jan 2014 at 6:33

GoogleCodeExporter commented 9 years ago
Well it's close to issue 1666 
http://code.google.com/p/miranda/issues/detail?id=1666
but symptoms in this one are close for me - it happens only when I open chat 
window with gtalk account.

Original comment by gvm.h...@gmail.com on 13 Jan 2014 at 7:44