From: felix AT dial DOT oleane DOT com (Francois Felix Ingrand) Subject: Newbie pb 7 Feb 1998 06:38:30 -0800 Message-ID: <199802071409.PAA20356.cygnus.gnu-win32@relay4.oleane.net> Reply-To: felix AT dial DOT oleane DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com Just started to compile my apps under cigwin32 and ran in a pb which I cannot understand. Even under GDB, the pgrm seem to break before starting (i.e. executing main)... Can somebody help me on this? thanks in advance. bash$ ./mp-prs (f:\prs\src\mp-prs.exe 1654) In cygwin_except_handler (f:\prs\src\mp-prs.exe 1654) Exception trapped! (f:\prs\src\mp-prs.exe 1654) exception C0000005 at 404351 (f:\prs\src\mp-prs.exe 1654) exception: ax 0 bx 0 cx 241EA4D dx 241EB91 (f:\prs\src\mp-prs.exe 1654) exception: si 5 di 1000B8B3 bp 241F510 sp 241EB6C (f:\prs\src\mp-prs.exe 1654) exception is: STATUS_ACCESS_VIOLATION (f:\prs\src\mp-prs.exe 1654) Stack trace: (f:\prs\src\mp-prs.exe 1654) frame 0: sp = 0x241E9A0, pc = 0x1000CEC2 (f:\prs\src\mp-prs.exe 1654) frame 1: sp = 0x241E9BC, pc = 0x77F94072 (f:\prs\src\mp-prs.exe 1654) frame 2: sp = 0x241E9E0, pc = 0x77F88A53 (f:\prs\src\mp-prs.exe 1654) frame 3: sp = 0x241EA6C, pc = 0x77F75E82 (f:\prs\src\mp-prs.exe 1654) frame 4: sp = 0x241F510, pc = 0x403FFC (f:\prs\src\mp-prs.exe 1654) frame 5: sp = 0x241F528, pc = 0x40259D (f:\prs\src\mp-prs.exe 1654) frame 6: sp = 0x241F590, pc = 0x1000C102 (f:\prs\src\mp-prs.exe 1654) frame 7: sp = 0x241FF94, pc = 0x1000C113 (f:\prs\src\mp-prs.exe 1654) frame 8: sp = 0x241FFA0, pc = 0x4079F1 (f:\prs\src\mp-prs.exe 1654) frame 9: sp = 0x241FFB0, pc = 0x40103B (f:\prs\src\mp-prs.exe 1654) frame 10: sp = 0x241FFC0, pc = 0x77F1AFC1 (f:\prs\src\mp-prs.exe 1654) frame 11: sp = 0x241FFF0, pc = 0x0 (f:\prs\src\mp-prs.exe 1654) End of stack trace with STRACE=1 I get at the end: (f:\prs\src\mp-prs.exe 1658) CYGWIN Release 17.5, compiled May 7 1997 08:39:31 (f:\prs\src\mp-prs.exe 1658) _sbrk (0) (f:\prs\src\mp-prs.exe 1658) _sbrk: base 0x2E80000, ptr 0x2E83000, end 0x3683000 , size 8388608, avail 8376320 (f:\prs\src\mp-prs.exe 1658) 0x2E83000 = sbrk (0x0) (total 0x3000) (f:\prs\src\mp-prs.exe 1658) _sbrk (2048) (f:\prs\src\mp-prs.exe 1658) _sbrk: base 0x2E80000, ptr 0x2E83000, end 0x3683000 , size 8388608, avail 8376320 (f:\prs\src\mp-prs.exe 1658) 0x2E83000 = sbrk (0x800) (total 0x3800) (f:\prs\src\mp-prs.exe 1658) socket (2, 2, 0); (f:\prs\src\mp-prs.exe 1658) set handle to 88 (f:\prs\src\mp-prs.exe 1658) socket id 88 (f:\prs\src\mp-prs.exe 1658) 3 = socket (2, 2, 0); (f:\prs\src\mp-prs.exe 1658) conv_to_posix_path (f:\prs\src, no-keep-rel) (f:\prs\src\mp-prs.exe 1658) f:\prs\src = normalize_win32_path (f:\prs\src) (f:\prs\src\mp-prs.exe 1658) /prs/src = conv_to_posix_path (f:\prs\src) (f:\prs\src\mp-prs.exe 1658) 0x241EB78 (/prs/src) = getcwd_inner (0x241EB78, 259 , posix) (f:\prs\src\mp-prs.exe 1658) In cygwin_except_handler (f:\prs\src\mp-prs.exe 1658) In cygwin_except_handler sig = 7 (f:\prs\src\mp-prs.exe 1658) Exception trapped! (f:\prs\src\mp-prs.exe 1658) exception C0000005 at 404351 (f:\prs\src\mp-prs.exe 1658) exception: ax 0 bx 409028 cx 801 dx FFFFFFFF (f:\prs\src\mp-prs.exe 1658) exception: si 5 di 1000B8B3 bp 241F500 sp 241EB5C (f:\prs\src\mp-prs.exe 1658) exception is: STATUS_ACCESS_VIOLATION (f:\prs\src\mp-prs.exe 1658) Stack trace: (f:\prs\src\mp-prs.exe 1658) frame 0: sp = 0x241E990, pc = 0x1000CEC2 (f:\prs\src\mp-prs.exe 1658) frame 1: sp = 0x241E9AC, pc = 0x77F94072 (f:\prs\src\mp-prs.exe 1658) frame 2: sp = 0x241E9D0, pc = 0x77F88A53 (f:\prs\src\mp-prs.exe 1658) frame 3: sp = 0x241EA5C, pc = 0x77F75E82 (f:\prs\src\mp-prs.exe 1658) frame 4: sp = 0x241F500, pc = 0x403FFC (f:\prs\src\mp-prs.exe 1658) frame 5: sp = 0x241F518, pc = 0x40259D (f:\prs\src\mp-prs.exe 1658) frame 6: sp = 0x241F580, pc = 0x1000C102 (f:\prs\src\mp-prs.exe 1658) frame 7: sp = 0x241FF94, pc = 0x1000C113 (f:\prs\src\mp-prs.exe 1658) frame 8: sp = 0x241FFA0, pc = 0x4079F1 (f:\prs\src\mp-prs.exe 1658) frame 9: sp = 0x241FFB0, pc = 0x40103B (f:\prs\src\mp-prs.exe 1658) frame 10: sp = 0x241FFC0, pc = 0x77F1AFC1 (f:\prs\src\mp-prs.exe 1658) frame 11: sp = 0x241FFF0, pc = 0x0 (f:\prs\src\mp-prs.exe 1658) End of stack trace (f:\prs\src\mp-prs.exe 1658) _exit (2) (f:\prs\src\mp-prs.exe 1658) Terminating. (f:\prs\src\mp-prs.exe 1658) _kill OpenProcess 141: 70 (f:\prs\src\mp-prs.exe 1658) _kill CreateRT 80 (f:\prs\src\mp-prs.exe 1658) 0 = _kill (1000, 20); (f:\prs\src\mp-prs.exe 1658) Running delqueue (f:\prs\src\mp-prs.exe 1658) lock_pinfo_for update : locking handle 44, timeout -1 (f:\prs\src\mp-prs.exe 1658) unlock_pinfo : handle 44 (f:\prs\src\mp-prs.exe 1658) destroy_pinfo_lock : handle 44 bash$ -- Felix - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".