X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Date: Fri, 01 Aug 2008 09:42:45 -1000 From: safeeq Subject: Error while Dumping State File To: cygwin AT cygwin DOT com Message-id: <001101c8f40e$c5369fb0$fd7dab80@uhmwomh5678ot4> X-Mailer: Microsoft Outlook, Build 10.0.6838 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m71JhEow032412 Aloha Cygwin users   This is first time I am sending an email on this group. Actually I am having a problem while executing a program written in C language and compiled using cygwin. This is the CFALGS I used while compiling   DEFS = -DHAVE_X11  CFLAGS = -I/usr/X11R6/include CC = cc FLEX = /usr/bin/flex LIBS = -lm -L/usr/X11R6/lib     I have complete (I guess) installation of cygwin program on my workstation including the Xterm. While executing the program using cygwin Bash Shell it checks all the input files and when program reaches to first time step in the simulation process it gives me this error: "_cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) Segmentation fault (core dumped)"   After that it creates a "exe.stackdump" file which has following information in it   xception: STATUS_ACCESS_VIOLATION at eip=0042E72F eax=00000000 ebx=00000000 ecx=0022B238 edx=00000000 esi=611021A0 edi=0022CAB4 ebp=0022A0A8 esp=0022A080 program=C:\cygwin\home\Saif\makaha_1\makcomplete\v2.4_DHSVM.exe, pid 3472, thread main cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 Stack trace: Frame     Function  Args 0022A0A8  0042E72F  (0022A6B0, 0022A520, 61168A78, 0022B238) 0022CCE8  0042999B  (00000002, 6116B6B0, 006E0090, 0022CC70) 0022CD98  610060D8  (00000000, 0022CDD0, 61005450, 0022CDD0) 61005450  61004416  (0000009C, A02404C7, E8611021, FFFFFF48)   15186 [main] v2.4_DHSVM 3472 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)       Funny part is when I am executing the same exe using Xterm it works fine. I hope some body will help me out.     Thanks in advance -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/