crash with strange symptoms

i have a notebook and often use standby, instead of shutting down which may be related to the problem.
when i wanted to connect to my unis vpn this morning, i was looking for the evil clients icon but couldn't find it, there was just a blank space there. hovering the mouse over it to see the tooltip revealed that it was really evil client, but had no icon.
after clicking around in the menus a bit the icon came back but now the text in the context menu was missing. it's not the first time this happens, but instead of exiting the program i decided to try connect anyway.
after clicking on the connection i wanted (couldn't really see it, but i knew where it was), the program crashed. after starting visual studio as a debugger i noticed a small area in the center of the screen with repaint problems, which probably was the ".:Login data needed:." dialog, which i saw in the taskbar too.

i have no idea if this helps but here is a part of the stack frame:
>Evil Client.exe!00415c3f()
[Unten angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlen, keine Symbole geladen für Evil Client.exe]
user32.dll!7e37a013()
Evil Client.exe!00414ecd()
Evil Client.exe!00414fed()
user32.dll!7e38e577()
Evil Client.exe!00414ffb()

a bit from the code view:
00415C09 xor ecx,ecx
00415C0B cmp dword ptr [ebp+48h],ecx
00415C0E mov dword ptr [esp+1Ch],ecx
00415C12 jle 00415D02
00415C18 mov eax,dword ptr [ebp+44h]
00415C1B mov esi,dword ptr [ebp+1Ch]
00415C1E mov edx,eax
00415C20 imul edx,ecx
00415C23 test eax,eax
00415C25 lea edi,[esi+edx*4]
00415C28 mov dword ptr [esp+18h],0
00415C30 jle 00415CF2
00415C36 mov ebx,dword ptr [ebp+3Ch]
00415C39 mov edx,dword ptr [ebp+4Ch]
00415C3C mov edx,dword ptr [edx+0Ch]
>00415C3F movzx ecx,byte ptr [edi+2]
00415C43 and edx,0FFh
00415C49 imul ecx,ebx
00415C4C mov eax,0FFh
00415C51 sub eax,ebx
00415C53 imul edx,eax
00415C56 mov dword ptr [esp+14h],eax
00415C5A add ecx,edx
00415C5C movzx esi,byte ptr [edi+1]
00415C60 mov eax,80808081h
00415C65 imul esi,ebx
00415C68 imul ecx
00415C6A add edx,ecx
00415C6C sar edx,7
00415C6F mov eax,edx
00415C71 shr eax,1Fh

the registers:
EAX = 0000004B
EBX = 00000000
ECX = 00000000
EDX = 00000000
ESI = 00000000
EDI = 00000000
EIP = 00415C3F
ESP = 00D2F060
EBP = 003E7388
EFL = 00000206

and the error message:
Unbehandelte Ausnahme bei 0x00415c3f in Evil Client.exe: 0xC0000005: Zugriffsverletzung beim Lesen an Position 0x00000002.

crash with strange symptoms

Hi,

this is indeed a bit strange. The code is from the EC controls drawing code and it seems that the pointer to the background drawing buffer equals zero at that time. I can't reproduce the behavior on my desktop (don't have a notebook) so i'm lost here :/
How often does the error appear? Does it only happen when you awake the notebook after it has slept for a long time (e.g. over night)?

thx
Jan

crash with strange symptoms

>How often does the error appear?
i don't really know any numbers but it happens from time to time

>Does it only happen when you awake the notebook after it has slept for a long time (e.g. over night)?
i'm not entirely sure but tend to say yes, i will tell you if it happens again

crash with strange symptoms

it just happened again, was connected to vpn used standby and now the icon and the text of the context menu is missing.when i open the console i see that he is trying to reconnect (which fails because i'm home now and don't have access to the university wlan).
the notebook was in standby for about four hours, so not that long, when i sleep it's in standby for 7-8 hours.

crash with strange symptoms

clicking on options resulted in the same crash as above

crash with strange symptoms

Thx for the info. For now i'm not really sure what exactly causes the problem, because i cannot reproduce it here and didn't find any obvious error after reviewing the source code in question. As i said there is no easy workaround or fix for this atm.
Maybe it's time to start working on EC 2.0 - code from old college days seems to suck ;-)