This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Access Violation On return fron WinMain (b20)



Hi there,

I am getting an access violation on returning from WinMain. I also get a
message
"Exiting Application". The entire message is attached below. :-
" -->
Exiting Application...
[main] d:\home\GNU-Win32\Testing\WindowSupport\test.exe 1114 (0) handle_
exceptions: Exception: STATUS_ACCESS_VIOLATION
[main] test 1114 (0) handle_exceptions: Dumping stack trace to test.exe.core
"<---
and the core file has the following info :-
[main] test 1114 (0) exception: trapped!
[main] test 1114 (0) exception: code 0xC0000005 at 0x6105AFA4
[main] test 1114 (0) exception: ax 0x43DD04 bx 0x43C07C cx 0x0 dx 0x43DD04
[main] test 1114 (0) exception: si 0x0 di 0x43C07C bp 0x25FFE10 sp 0x25FFDE4
[main] test 1114 (0) exception: exception is: STATUS_ACCESS_VIOLATION
[main] test 1114 (0) stack: Stack trace:
[main] test 1114 (0) stack: frame 0: sp = 0x25FFBF8, pc = 0x6100A2C3
[main] test 1114 (0) stack: frame 1: sp = 0x25FFC34, pc = 0x77F94512
[main] test 1114 (0) stack: frame 2: sp = 0x25FFC58, pc = 0x77F88EEB
[main] test 1114 (0) stack: frame 3: sp = 0x25FFCE4, pc = 0x77F76266
[main] test 1114 (0) stack: frame 4: sp = 0x25FFE10, pc = 0x6101A4A7
[main] test 1114 (0) stack: frame 5: sp = 0x25FFE20, pc = 0x431CF3
[main] test 1114 (0) stack: frame 6: sp = 0x25FFEA8, pc = 0x403E49
[main] test 1114 (0) stack: frame 7: sp = 0x25FFEB4, pc = 0x4035A8
[main] test 1114 (0) stack: frame 8: sp = 0x25FFED0, pc = 0x415EF9
[main] test 1114 (0) stack: frame 9: sp = 0x25FFEE8, pc = 0x416088
[main] test 1114 (0) stack: frame 10: sp = 0x25FFEF8, pc = 0x41E8AA
[main] test 1114 (0) stack: frame 11: sp = 0x25FFF0C, pc = 0x401400
[main] test 1114 (0) stack: frame 12: sp = 0x25FFF1C, pc = 0x6100339A
[main] test 1114 (0) stack: frame 13: sp = 0x25FFF2C, pc = 0x6105A11D
[main] test 1114 (0) stack: frame 14: sp = 0x25FFF40, pc = 0x61004408
[main] test 1114 (0) stack: frame 15: sp = 0x25FFF88, pc = 0x61004420
[main] test 1114 (0) stack: End of stack trace (more stack frames may be
present)

Thanks in advance.

Regards

Nirmal Prasad R.



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com