Cygwin1.1 STATUS_ACCESS_VIOLATION
Robert Rose
rrose@mass.co.uk
Fri May 26 04:35:00 GMT 2000
CygwinDLL version 1.1
ÃÂ
I have a problem executing a program I have compiled under
Cygwin.
ÃÂ
When I execute it, it produces a stackdump file complaining
about a STATUS_ACCESS_VIOLATION exception. The program then
hangs.
ÃÂ
Is this a Windows exception or a Cygwin
exception.
ÃÂ
I have a working version on a Sun-Solaris using National
Instruments CVI libraries for Sun Solaris to develop the GUI
part.
ÃÂ
I have since ported my source files to Windows NT and linked
them using the NI CVI Win32 libraries using Cygwin.
ÃÂ
The NI libraries are C libraries compiled using the NI
compiler (compatible with MSVC++).
ÃÂ
I have managed to link these libraries, my object files and
a Cygwin dependant dll with the options -mwindows and -e
mainCRTStartup.
ÃÂ
However I get the above error when trying to execute. It
does not even reach the first line of code.
ÃÂ
One possible problem could be that one of the dlls was
compiled using a previous version of the Cygwin1 dll yet my object files were
compiled using the the latest version of the Cygwin1 dll.
ÃÂ
Does the other dll need to be recompiled with the new Cygwin
dll or should it be backwards compatible?
ÃÂ
However, I get this problem when trying to
execute.
ÃÂ
I have ran strace on my executable and cygcheck but the output
means little to me. I have attached these files for your
perusal.
ÃÂ
If anybody could shed some light on the subject I would be
very grateful.
ÃÂ
Cheers,
ÃÂ
Robert.
***********************************************************************
ÃÂ
This mail is intended only for the addressee shown
above. It may contain information that is privileged, confidential or
otherwise protected from disclosure.ÃÂ Any review, publication,
dissemination, copying or use of this mail or its contents by persons other
than the addressee is strictly prohibited, unless prior authorisation is
received from MASS. If you have recieved this mail in error please notify
MASS immediately by telephone and delete the mail returning any
hard copies in the post to MASS at the address below.
ÃÂ
Mass Consultants Ltd, Grove House, Rampley Lane, Little
Paxton, St Neots, Cambs, PE19 4ELÃÂ Tel: 01480
222600
Cygcheck.out
main.exe.stackdump
Strace.out
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cygcheck.out
Type: text/x-algol68
Size: 2478 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20000526/e1fe39ee/attachment.bin>
-------------- next part --------------
Exception: STATUS_ACCESS_VIOLATION at eip=00400003
eax=00000000 ebx=00000000 ecx=00400000 edx=0263C7DA esi=0267272C edi=00000002
ebp=0252FA93 esp=0252FA90 program=c:\working\vmetrodemo\mdrdemognu\bin\Main_Demo.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0252FA93 00400003 (40000002, 00000000, 40000000, 42412000)
52FAB000 63C7A802 (00000000, 00000000, 00000000, 00000000)
End of stack trace
-------------- next part --------------
1952 1952 [main] Main_Demo 1060 export_malloc: (416) = 10210008, called by 61022537
2291 4243 [main] Main_Demo 1060 export_malloc: (40) = 102101B0, called by 61022537
662 4905 [main] Main_Demo 1060 export_malloc: (22) = 102101E0, called by 61022537
576 5481 [main] Main_Demo 1060 export_malloc: (34) = 10210200, called by 61022537
591 6072 [main] Main_Demo 1060 export_malloc: (13) = 10210228, called by 61022537
575 6647 [main] Main_Demo 1060 export_malloc: (11) = 10210240, called by 61022537
572 7219 [main] Main_Demo 1060 export_malloc: (18) = 10210250, called by 61022537
570 7789 [main] Main_Demo 1060 export_malloc: (14) = 10210268, called by 61022537
574 8363 [main] Main_Demo 1060 export_malloc: (20) = 10210280, called by 61022537
570 8933 [main] Main_Demo 1060 export_malloc: (24) = 10210298, called by 61022537
590 9523 [main] Main_Demo 1060 export_malloc: (15) = 102102B8, called by 61022537
574 10097 [main] Main_Demo 1060 export_malloc: (23) = 102102D0, called by 61022537
571 10668 [main] Main_Demo 1060 export_malloc: (9) = 102102F0, called by 61022537
587 11255 [main] Main_Demo 1060 export_malloc: (38) = 10210300, called by 61022537
577 11832 [main] Main_Demo 1060 export_malloc: (14) = 10210330, called by 61022537
571 12403 [main] Main_Demo 1060 export_malloc: (14) = 10210348, called by 61022537
593 12996 [main] Main_Demo 1060 export_malloc: (197) = 10210360, called by 61022537
632 13628 [main] Main_Demo 1060 export_malloc: (361) = 10210430, called by 61022537
6775 20403 [main] Main_Demo 1060 export_realloc: (0, 226) = 102105A0, called by 6102257B
327 20730 [main] Main_Demo 1060 export_realloc: (0, 197) = 10210688, called by 6102257B
1128 21858 [main] Main_Demo 1060 export_free: (0x10210360), called by 61022557
593 22451 [main] Main_Demo 1060 export_malloc: (28) = 10210360, called by 61022537
594 23045 [main] Main_Demo 1060 export_malloc: (27) = 10210380, called by 61022537
594 23639 [main] Main_Demo 1060 export_malloc: (67) = 102103A0, called by 61022537
577 24216 [main] Main_Demo 1060 export_malloc: (18) = 102103E8, called by 61022537
588 24804 [main] Main_Demo 1060 export_malloc: (24) = 10210400, called by 61022537
574 25378 [main] Main_Demo 1060 export_malloc: (12) = 10210420, called by 61022537
574 25952 [main] Main_Demo 1060 export_malloc: (50) = 10210758, called by 61022537
592 26544 [main] Main_Demo 1060 export_malloc: (14) = 10210790, called by 61022537
574 27118 [main] Main_Demo 1060 export_malloc: (8) = 102107A8, called by 61022537
569 27687 [main] Main_Demo 1060 export_malloc: (15) = 102107B8, called by 61022537
575 28262 [main] Main_Demo 1060 export_malloc: (20) = 102107D0, called by 61022537
572 28834 [main] Main_Demo 1060 export_malloc: (13) = 102107E8, called by 61022537
572 29406 [main] Main_Demo 1060 export_malloc: (12) = 10210800, called by 61022537
590 29996 [main] Main_Demo 1060 export_malloc: (12) = 10210810, called by 61022537
574 30570 [main] Main_Demo 1060 export_malloc: (23) = 10210820, called by 61022537
572 31142 [main] Main_Demo 1060 export_malloc: (15) = 10210840, called by 61022537
590 31732 [main] Main_Demo 1060 export_malloc: (40) = 10210858, called by 61022537
576 32308 [main] Main_Demo 1060 export_malloc: (43) = 10210888, called by 61022537
576 32884 [main] Main_Demo 1060 export_malloc: (16) = 102108B8, called by 61022537
755 33639 [main] Main_Demo 1060 export_malloc: (18) = 102108D0, called by 61022537
1497 35136 [main] Main_Demo 1060 export_calloc: (32, 4) = 102108E8, called by 6102259B
1130 36266 [main] Main_Demo 1060 sigproc_init: process/signal handling enabled(1)
617 36883 [main] Main_Demo 1060 export_calloc: (1, 228) = 10210970, called by 6102259B
1662 38545 [main] Main_Demo 1060 export_calloc: (1, 228) = 10210A58, called by 6102259B
1545 40090 [main] Main_Demo 1060 export_calloc: (1, 228) = 10210B40, called by 6102259B
1377 41467 [main] Main_Demo 1060 export_realloc: (0, 44) = 10210C28, called by 6102257B
2323 43790 [sig] Main_Demo 1060 wait_sig: sigcatch_nonmain 0xCC
359 44149 [sig] Main_Demo 1060 wait_sig: Ready. dwProcessid 57
382 44531 [main] Main_Demo 1060 sig_send: pid 1060, signal -2, its_me 1
380 44911 [main] Main_Demo 1060 sig_send: Waiting for thiscomplete 0xD8
334 45245 [sig] Main_Demo 1060 wait_sig: awake
315 45560 [sig] Main_Demo 1060 wait_sig: processing signal -2
350 45910 [sig] Main_Demo 1060 wait_sig: looping
319 46229 [main] Main_Demo 1060 sig_send: returning 0 from sending signal -2
32868 79097 [main] Main_Demo 1060 _open: open (/etc/passwd, 0x0)
356 79453 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 3 for open start
316 79769 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
347 80116 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 2 for not_open start
314 80430 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
325 80755 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 2 for not open done
315 81070 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
323 81393 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 2 for not_open start
311 81704 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
343 82047 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 2 for not open done
314 82361 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
324 82685 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 2 for not_open start
312 82997 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
322 83319 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 2 for not open done
332 83651 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
339 83990 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 2 for not_open start
312 84302 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
322 84624 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 2 for not open done
315 84939 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
341 85280 [main] Main_Demo 1060 export_calloc: (1, 228) = 10210DC8, called by 6102259B
590 85870 [main] Main_Demo 1060 fhandler_disk_file::open: (/etc/passwd, 0x0)
1740 87610 [main] Main_Demo 1060 ../../../../src/winsup/cygwin/path.cc:2134 seterrno: 2 (FILE_NOT_FOUND) -> 2
348 87958 [main] Main_Demo 1060 symlink_check_one: 0 = symlink_check_one (c:\CygwinGNU\etc\passwd, 0x252F5E5, 260) (0x2)
501 88459 [main] Main_Demo 1060 symlink_check_one: 0 = symlink_check_one (c:\CygwinGNU\etc, 0x252F5E5, 260) (0x252F53C)
771 89230 [main] Main_Demo 1060 export_malloc: (12) = 10210EB0, called by 61022537
340 89570 [main] Main_Demo 1060 export_malloc: (24) = 10210EC0, called by 61022537
344 89914 [main] Main_Demo 1060 fhandler_base::open: (c:\CygwinGNU\etc\passwd, 0x0)
530 90444 [main] Main_Demo 1060 fhandler_base::open: -1 = CreateFileA (c:\CygwinGNU\etc\passwd, 0x80000000, 0x7, 0x61085940, 0x3, 0x80, 0)
340 90784 [main] Main_Demo 1060 ../../../../src/winsup/cygwin/fhandler.cc:369 seterrno: 2 (FILE_NOT_FOUND) -> 2
315 91099 [main] Main_Demo 1060 fhandler_base::open: 0 = fhandler_base::open (c:\CygwinGNU\etc\passwd, 0x0)
315 91414 [main] Main_Demo 1060 fhandler_disk_file::open: 0 = fhandler_disk_file::open (c:\CygwinGNU\etc\passwd, 0x0)
363 91777 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 2 for not_open start
315 92092 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
323 92415 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 2 for not open done
315 92730 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
347 93077 [main] Main_Demo 1060 export_free: (0x10210EB0), called by 61022557
321 93398 [main] Main_Demo 1060 export_free: (0x10210EC0), called by 61022557
388 93786 [main] Main_Demo 1060 export_free: (0x10210DC8), called by 61022557
319 94105 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 3 for open done
314 94419 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
324 94743 [main] Main_Demo 1060 _open: -1 = open (/etc/passwd, 0x0)
3513 98256 [main] Main_Demo 1060 export_realloc: (0, 320) = 10210DC8, called by 6102257B
431 98687 [main] Main_Demo 1060 export_malloc: (26) = 10210F10, called by 61022537
380 99067 [main] Main_Demo 1060 _open: open (/etc/group, 0x0)
339 99406 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 3 for open start
325 99731 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
340 100071 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 2 for not_open start
324 100395 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
337 100732 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 2 for not open done
326 101058 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
337 101395 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 2 for not_open start
321 101716 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
336 102052 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 2 for not open done
326 102378 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
337 102715 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 2 for not_open start
323 103038 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
336 103374 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 2 for not open done
336 103710 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
339 104049 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 2 for not_open start
322 104371 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
337 104708 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 2 for not open done
326 105034 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
435 105469 [main] Main_Demo 1060 export_calloc: (1, 228) = 10210F30, called by 6102259B
631 106100 [main] Main_Demo 1060 fhandler_disk_file::open: (/etc/group, 0x0)
1682 107782 [main] Main_Demo 1060 ../../../../src/winsup/cygwin/path.cc:2134 seterrno: 2 (FILE_NOT_FOUND) -> 2
333 108115 [main] Main_Demo 1060 symlink_check_one: 0 = symlink_check_one (c:\CygwinGNU\etc\group, 0x252F8B5, 260) (0x2)
503 108618 [main] Main_Demo 1060 symlink_check_one: 0 = symlink_check_one (c:\CygwinGNU\etc, 0x252F8B5, 260) (0x252F604)
730 109348 [main] Main_Demo 1060 export_malloc: (11) = 10211018, called by 61022537
355 109703 [main] Main_Demo 1060 export_malloc: (23) = 10211028, called by 61022537
372 110075 [main] Main_Demo 1060 fhandler_base::open: (c:\CygwinGNU\etc\group, 0x0)
529 110604 [main] Main_Demo 1060 fhandler_base::open: -1 = CreateFileA (c:\CygwinGNU\etc\group, 0x80000000, 0x7, 0x61085940, 0x3, 0x80, 0)
354 110958 [main] Main_Demo 1060 ../../../../src/winsup/cygwin/fhandler.cc:369 seterrno: 2 (FILE_NOT_FOUND) -> 2
327 111285 [main] Main_Demo 1060 fhandler_base::open: 0 = fhandler_base::open (c:\CygwinGNU\etc\group, 0x0)
328 111613 [main] Main_Demo 1060 fhandler_disk_file::open: 0 = fhandler_disk_file::open (c:\CygwinGNU\etc\group, 0x0)
326 111939 [main] Main_Demo 1060 SetResourceLock: Set resource lock 1 mode 2 for not_open start
326 112265 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
337 112602 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 2 for not open done
327 112929 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
341 113270 [main] Main_Demo 1060 export_free: (0x10211018), called by 61022557
494 113764 [main] Main_Demo 1060 export_free: (0x10211028), called by 61022557
331 114095 [main] Main_Demo 1060 export_free: (0x10210F30), called by 61022557
331 114426 [main] Main_Demo 1060 ReleaseResourceLock: Release resource lock 1 mode 3 for open done
350 114776 [main] Main_Demo 1060 ResourceLocks::Lock: Get Resource lock 1 ==> 0x6107C898 for 0x4241F4 , real : 1060 , threadid 59
336 115112 [main] Main_Demo 1060 _open: -1 = open (/etc/group, 0x0)
4648 119760 [main] Main_Demo 1060 export_realloc: (0, 160) = 10210F30, called by 6102257B
415 120175 [main] Main_Demo 1060 export_malloc: (22) = 10210FD8, called by 61022537
More information about the Cygwin
mailing list