All Forums
 Microsoft Windows CE
 eVC Application Development
 Exception Error 0x80000002
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ceuser

7 Posts

Posted - 21 May 2010 :  17:22:45  Show Profile  Email Poster
I have a crash occurring after 5 or more days of running on my CE.net 4.2 OS. I have looked at the map file and it points to deleting of my CBrush newbrush, in particular this instruction.
00034 e5923004 ldr r3, [r2, #4]

What would cause this problem after 20 million iterations of this code in 5 days? Any ideas?

void reset_brush(void)
{
selectedDC->SelectObject(oldbrush);
delete newbrush;
// Return to the previous background text color
selectedDC->SetBkColor(oldbcolor);
}

cod file
; 869 : delete newbrush;

00018 e59f3060 ldr r3, [pc, #0x60]
0001c e5932000 ldr r2, [r3]
00020 e3520000 cmp r2, #0
00024 0a000005 beq |$L59239|
00028 e1a00002 mov r0, r2
0002c e5922000 ldr r2, [r2]
00030 e3a01001 mov r1, #1
-> 00034 e5923004 ldr r3, [r2, #4]
00038 e1a0e00f mov lr, pc
0003c e12fff13 bx r3

twhite

133 Posts

Posted - 24 May 2010 :  13:28:05  Show Profile  Email Poster
ceuser,

We're still investigating this from our end. Sorry for the delay in our response.
Go to Top of Page

twhite

133 Posts

Posted - 24 May 2010 :  13:30:28  Show Profile  Email Poster
ceuser,

Have you been able to consistently recreate this crash? Does it always crash at the same place? Does it always crash after the same time lapse?
Go to Top of Page

ceuser

7 Posts

Posted - 24 May 2010 :  15:20:58  Show Profile  Email Poster
No this is not consistent, but it seems to take at least 5 days and will eventually always fail at this instruction...same error and have two versions of application that have failed at the same instruction (different exception addr because of slight code differences).
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000