Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Reply-To: From: "Suhaib Siddiqi" To: "N. Drinkwater" , Subject: RE: cc1.exe in Cygwin v 1.0 doing coredump Date: Fri, 5 Nov 1999 06:45:01 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <000501bf2754$17ac7ee0$2f53aad0@MOUSER> X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal I think it is optimization problem. In certain cases gcc which ships with cygwin v 1.0 is unable to handle optimization and does core dump. Try compiling without Optimization flags. Suhaib > -----Original Message----- > From: cygwin-owner AT sourceware DOT cygnus DOT com > [mailto:cygwin-owner AT sourceware DOT cygnus DOT com]On Behalf Of > N. Drinkwater > Sent: Friday, November 05, 1999 1:08 AM > To: cygwin AT sourceware DOT cygnus DOT com > Subject: Re: cc1.exe in Cygwin v 1.0 doing coredump > > > I have also seen the problem compiling with Cygwin 1.0 in > at least two > cases. Compiling Lesstif-0.89.9 with -O2 crashes during > compilation of > XmString with the stackdump below. In the other instance, > I avoided the > problem using -O, but I haven't tried that strategy with LessTif. > > Both Lesstif and the other program compiled fine with gcc-2.95. > > Norman Drinkwater > > 7266 25583 [main] cc1 18679 exception: trapped! > 20819 46402 [main] cc1 18679 exception: code 0xC0000005 > at 0x493E71 > 22074 68476 [main] cc1 18679 exception: ax 0xA3E2130 bx > 0xA3E2140 cx 0x92 > dx 0x25BE630 > 11434 79910 [main] cc1 18679 exception: si 0x25BEF60 di > 0x0 bp 0x25BE540 > sp 0x25BE504 > 10911 90821 [main] cc1 18679 exception: exception is: > STATUS_ACCESS_VIOLATION > 11442 102263 [main] cc1 18679 stack: Stack trace: > 10912 113175 [main] cc1 18679 stack: frame 0: sp = > 0x25BE128, pc = > 0x6100AE52 > 11444 124619 [main] cc1 18679 stack: frame 1: sp = > 0x25BE13C, pc = > 0x6100B230 > 10912 135531 [main] cc1 18679 stack: frame 2: sp = > 0x25BE158, pc = > 0x77F8AA7B > 11441 146972 [main] cc1 18679 stack: frame 3: sp = > 0x25BE17C, pc = > 0x77F876AB > 10912 157884 [main] cc1 18679 stack: frame 4: sp = > 0x25BE204, pc = > 0x77F9D8CE > 11448 169332 [main] cc1 18679 stack: frame 5: sp = > 0x25BE540, pc = 0x494178 > 10905 180237 [main] cc1 18679 stack: frame 6: sp = > 0x25BE598, pc = 0x49120A > 11443 191680 [main] cc1 18679 stack: frame 7: sp = > 0x25BF8AC, pc = 0x4086E4 > 10942 202622 [main] cc1 18679 stack: frame 8: sp = > 0x25BF8E0, pc = 0x57E9D2 > 11414 214036 [main] cc1 18679 stack: frame 9: sp = > 0x25BF904, pc = 0x569A7B > 10909 224945 [main] cc1 18679 stack: frame 10: sp = > 0x25BFE1C, pc = > 0x407440 > 11450 236395 [main] cc1 18679 stack: frame 11: sp = > 0x25BFE48, pc = > 0x40B764 > 10907 247302 [main] cc1 18679 stack: frame 12: sp = > 0x25BFEC0, pc = > 0x610043C8 > 11443 258745 [main] cc1 18679 stack: frame 13: sp = > 0x25BFF8C, pc = > 0x610045F5 > 10912 269657 [main] cc1 18679 stack: frame 14: sp = > 0x25BFF94, pc = > 0x59014A > 11442 281099 [main] cc1 18679 stack: frame 15: sp = > 0x25BFFA4, pc = > 0x401038 > 49633 330732 [main] cc1 18679 stack: End of stack trace > (more stack frames > may be present) > > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com