Date: Wed Feb 16 10:28:13 1994 From: andrey AT atp DOT biochem DOT su DOT oz DOT au To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: strange problem Dear go32/gcc users, Starting from go32 v.1.11 I am having a very strange problem. I have a big c program (>30000 lines) it works normally, but after last return from main I am receiving the message: Segmentation violation in pointer 0x000000f2 at d8:3ffd eax 000000f2 ebx 00045000 ecx 0049d011 edx 00000000 esi 00000000 edi 000000f2 ebp 7ffffc2a esp 7ffffc1d cs d8 ds 48 es 48 fs 48 gs 38 ss 48 cr2 000000f2 call frame traceback EIPs: 0x00003ffd _wrt_zmat+485 0x00000004 0x4 I reduced my main routine to: int main( void ) { declarations; goto end_t; .... end_t: return 0; } But the error is here. I guess, it is something to do with the coff format. The nearest address from map file: .... 00003e18 _wrt_zmat .text 00003f08 2dbc 2dbc 2**2 coff-go32 pdb.o(overhead 21898 bytes) 0000405c _prt_field_warning .... I am using go32 v.1.11maint2. There is no problem with Watcom C v.9.01. Any ideas? Andrey