Access Violation 
Author Message
 Access Violation

Hi all,

I encountered the following problem, I am looking for help.

In the debug window, I can see the following 2 lines:
First-chance exception in abc.exe (KERNEL32.DLL): 0xC0000005: Access
Violation.
First-chance exception in abc.exe: 0xC0000005: Access Violation.

In the debug context (or call stack), there are only 2 lines:
41432057()
2045444f()

My application is a multi-threaded MFC application.

I apprecaite any kind of help.

TIA,

JoeZ



Sun, 11 Sep 2005 15:37:39 GMT  
 Access Violation
I have the DrWatson log file for this crash, hope some one can point where
to go from here.
TIA

State Dump for Thread Id 0x960

eax=00000001 ebx=c0000000 ecx=00000001 edx=0012f6ec esi=00136ae0
edi=0012fd74
eip=41432057 esp=0012faa4 ebp=4f4c4c41 iopl=0         nv up ei pl zr na po
nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000
efl=00000246

function: <nosymbols>
        4143204d ???
        4143204e ???
        4143204f ???
        41432050 ???
        41432051 ???
        41432052 ???
        41432053 ???
        41432054 ???
        41432055 ???
        41432056 ???
FAULT ->41432057 ???
        41432058 ???
        41432059 ???
        4143205a ???
        4143205b ???
        4143205c ???
        4143205d ???
        4143205e ???
        4143205f ???
        41432060 ???
        41432061 ???
        41432062 ???

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0012FAA0 2045444F 0000202D C0000000 5F42766B 0000001F <nosymbols>
4F4C4C41 00000000 00000000 00000000 00000000 00000000 <nosymbols>

*----> Raw Stack Dump <----*
0012faa4  4f 44 45 20 2d 20 00 00 - 00 00 00 c0 6b 76 42 5f  ODE -
......kvB_
0012fab4  1f 00 00 00 01 00 00 00 - 18 cb 4c 5f 76 00 00 00
..........L_v...
0012fac4  34 fb 12 00 ff ff ff ff - c8 e5 65 01 e8 fa 12 00
4.........e.....
0012fad4  2b 72 42 5f 1f 00 00 00 - 01 00 00 00 18 cb 4c 5f
+rB_..........L_
0012fae4  76 00 00 00 14 fb 12 00 - 7b b0 42 5f c8 e5 65 01
v.......{.B_..e.
0012faf4  14 fb 12 00 10 fb 12 00 - 10 fb 12 00 14 fb 12 00
................
0012fb04  14 fb 12 00 00 00 00 00 - 2c fb 12 00 b4 6f 66 01
........,....of.
0012fb14  f4 2e 66 01 14 cb 4c 5f - 00 00 00 00 28 60 aa 00
..f...L_....(`..
0012fb24  e8 fc 12 00 0d db 4a 00 - 01 00 00 00 9c fb 12 00
......J.........
0012fb34  2b 16 45 00 d4 e5 65 01 - 00 00 00 00 74 fd 12 00
+.E...e.....t...
0012fb44  e0 6a 13 00 00 00 00 c0 - 00 00 00 c0 c7 5b e1 77
.j...........[.w
0012fb54  74 fd 12 00 e0 6a 13 00 - 00 00 00 c0 96 02 11 00
t....j..........
0012fb64  54 fb 12 00 96 02 11 00 - e8 fc 12 00 8c c3 e5 77
T..............w
0012fb74  00 34 e1 77 ff ff ff ff - 3a 22 48 5f 96 02 11 00
.4.w....:"H_....
0012fb84  09 00 00 00 74 fd 12 00 - 38 fb 12 00 38 fb 12 00
....t...8...8...
0012fb94  50 cb 65 01 28 60 aa 00 - f8 fb 12 00 f2 e7 44 00
P.e.(`........D.
0012fba4  74 fd 12 00 e0 6a 13 00 - 00 00 00 c0 e0 6a 13 00
t....j.......j..
0012fbb4  00 00 00 c0 e0 6a 13 00 - 10 58 7d 00 bc fc 12 00
.....j...X}.....
0012fbc4  1a ee 42 5f 07 00 00 00 - 3c fd 12 00 e0 6a 13 00
..B_....<....j..
0012fbd4  10 58 7d 00 00 f0 fd 7f - 30 62 aa 00 f5 15 49 5f
.X}.....0b....I_


Quote:
> Hi all,

> I encountered the following problem, I am looking for help.

> In the debug window, I can see the following 2 lines:
> First-chance exception in abc.exe (KERNEL32.DLL): 0xC0000005: Access
> Violation.
> First-chance exception in abc.exe: 0xC0000005: Access Violation.

> In the debug context (or call stack), there are only 2 lines:
> 41432057()
> 2045444f()

> My application is a multi-threaded MFC application.

> I apprecaite any kind of help.

> TIA,

> JoeZ



Sun, 11 Sep 2005 18:14:55 GMT  
 Access Violation
Hi JoeZ,

You say that your application is multithreaded.
My guess is that the cause is related to the
multithreading stuff, or maybe an uninitialized function
pointer.
The information you've posted so far doesn't say anything
since it's specific to your environment.

How do you create new threads?
How do you handle synchronization between the threads?
Are you using the debug-built version of your app?

Post some code and we might be able to help you.

--
Rog

Quote:
>-----Original Message-----
>I have the DrWatson log file for this crash, hope some
one can point where
>to go from here.
>TIA

>State Dump for Thread Id 0x960

>eax=00000001 ebx=c0000000 ecx=00000001 edx=0012f6ec
esi=00136ae0
>edi=0012fd74
>eip=41432057 esp=0012faa4 ebp=4f4c4c41 iopl=0         nv
up ei pl zr na po
>nc
>cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000
>efl=00000246

>function: <nosymbols>
>        4143204d ???
>        4143204e ???
>        4143204f ???
>        41432050 ???
>        41432051 ???
>        41432052 ???
>        41432053 ???
>        41432054 ???
>        41432055 ???
>        41432056 ???
>FAULT ->41432057 ???
>        41432058 ???
>        41432059 ???
>        4143205a ???
>        4143205b ???
>        4143205c ???
>        4143205d ???
>        4143205e ???
>        4143205f ???
>        41432060 ???
>        41432061 ???
>        41432062 ???

>*----> Stack Back Trace <----*

>FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  
Function Name
>0012FAA0 2045444F 0000202D C0000000 5F42766B 0000001F
<nosymbols>
>4F4C4C41 00000000 00000000 00000000 00000000 00000000
<nosymbols>

>*----> Raw Stack Dump <----*
>0012faa4  4f 44 45 20 2d 20 00 00 - 00 00 00 c0 6b 76 42
5f  ODE -
>.......kvB_
>0012fab4  1f 00 00 00 01 00 00 00 - 18 cb 4c 5f 76 00 00
00
>...........L_v...
>0012fac4  34 fb 12 00 ff ff ff ff - c8 e5 65 01 e8 fa 12
00
>4.........e.....
>0012fad4  2b 72 42 5f 1f 00 00 00 - 01 00 00 00 18 cb 4c
5f
>+rB_..........L_
>0012fae4  76 00 00 00 14 fb 12 00 - 7b b0 42 5f c8 e5 65
01
>v.......{.B_..e.
>0012faf4  14 fb 12 00 10 fb 12 00 - 10 fb 12 00 14 fb 12
00
>.................
>0012fb04  14 fb 12 00 00 00 00 00 - 2c fb 12 00 b4 6f 66
01
>.........,....of.
>0012fb14  f4 2e 66 01 14 cb 4c 5f - 00 00 00 00 28 60 aa
00
>...f...L_....(`..
>0012fb24  e8 fc 12 00 0d db 4a 00 - 01 00 00 00 9c fb 12
00
>.......J.........
>0012fb34  2b 16 45 00 d4 e5 65 01 - 00 00 00 00 74 fd 12
00
>+.E...e.....t...
>0012fb44  e0 6a 13 00 00 00 00 c0 - 00 00 00 c0 c7 5b e1
77
>..j...........[.w
>0012fb54  74 fd 12 00 e0 6a 13 00 - 00 00 00 c0 96 02 11
00
>t....j..........
>0012fb64  54 fb 12 00 96 02 11 00 - e8 fc 12 00 8c c3 e5
77
>T..............w
>0012fb74  00 34 e1 77 ff ff ff ff - 3a 22 48 5f 96 02 11
00
>..4.w....:"H_....
>0012fb84  09 00 00 00 74 fd 12 00 - 38 fb 12 00 38 fb 12
00
>.....t...8...8...
>0012fb94  50 cb 65 01 28 60 aa 00 - f8 fb 12 00 f2 e7 44
00
>P.e.(`........D.
>0012fba4  74 fd 12 00 e0 6a 13 00 - 00 00 00 c0 e0 6a 13
00
>t....j.......j..
>0012fbb4  00 00 00 c0 e0 6a 13 00 - 10 58 7d 00 bc fc 12
00
>......j...X}.....
>0012fbc4  1a ee 42 5f 07 00 00 00 - 3c fd 12 00 e0 6a 13
00
>...B_....<....j..
>0012fbd4  10 58 7d 00 00 f0 fd 7f - 30 62 aa 00 f5 15 49
5f
>..X}.....0b....I_



>> Hi all,

>> I encountered the following problem, I am looking for
help.

>> In the debug window, I can see the following 2 lines:
>> First-chance exception in abc.exe (KERNEL32.DLL):
0xC0000005: Access
>> Violation.
>> First-chance exception in abc.exe: 0xC0000005: Access
Violation.

>> In the debug context (or call stack), there are only 2
lines:
>> 41432057()
>> 2045444f()

>> My application is a multi-threaded MFC application.

>> I apprecaite any kind of help.

>> TIA,

>> JoeZ

>.



Mon, 12 Sep 2005 11:00:22 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. "Access violation" accessing a DLL

2. URGENT: Access Violation when accessing the POOM IAppointment

3. access violation in

4. Access violation exception in Visual studio 7.0

5. access violation due to bad CString copy ctor when porting from VC6 to VC7 (VC++.NET)

6. VB Access Violation from C DLL

7. Access Violation.

8. access violations

9. Access Violation Revisited

10. Access Violation in call to malloc - causes?

11. Access Violation

12. Access Violation

 

 
Powered by phpBB® Forum Software