hi,
i'm working to my thesis on Windows and i'm using g++. When i
execute the program ( it calls the malloc function) it give me an
STATUS_ACCESS_VIOLATION
i have read that g++ gives the errors like
this one and to solve it i have to use mmalloc but there is no change.
Help me!! I need either another function or another compiler (where
can i find it?? now I'm using g++ from cygwin-b20)
I post the dunping
stack trace:
[main] parse 1000 (0) exception: trapped!
[main] parse
1000 (0) exception: code 0xC0000005 at 0x404647
[main] parse 1000 (0)
exception: ax 0xA03A780 bx 0x5 cx 0x1 dx 0x0
[main] parse 1000 (1)
exception: si 0x0 di 0xC66CC490 bp 0x245FEE8 sp 0x245FED8
[main] parse
1000 (0) exception: exception is: STATUS_ACCESS_VIOLATION
[main] parse
1000 (0) stack: Stack trace:
[main] parse 1000 (0) stack: frame 0: sp =
0x245FAC8, pc = 0x6100A2C3
[main] parse 1000 (0) stack: frame 1: sp =
0x245FB04, pc = 0x7C9137BF
[main] parse 1000 (0) stack: frame 2: sp =
0x245FB28, pc = 0x7C91378B
[main] parse 1000 (0) stack: frame 3: sp =
0x245FBD8, pc = 0x7C91EAFA
[main] parse 1000 (0) stack: frame 4: sp =
0x245FEE8, pc = 0x404663
[main] parse 1000 (0) stack: frame 5: sp =
0x245FF08, pc = 0x403E64
[main] parse 1000 (0) stack: frame 6: sp =
0x245FF2C, pc = 0x402C68
[main] parse 1000 (0) stack: frame 7: sp =
0x245FF34, pc = 0x61004402
[main] parse 1000 (0) stack: frame 8: sp =
0x245FF88, pc = 0x61004420
[main] parse 1000 (0) stack: frame 9: sp =
0x245FF94, pc = 0x40623E
[main] parse 1000 (0) stack: frame 10: sp =
0x245FFA4, pc = 0x40103A
[main] parse 1000 (0) stack: frame 11: sp =
0x245FFC0, pc = 0x7C816D4F
[main] parse 1000 (0) stack: frame 12: sp =
0x245FFF0, pc = 0x0
[main] parse 1000 (0) stack: End of stack trace