Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Jennie Mai Nguyen" To: Subject: RE: cygwin + gdb problems Date: Thu, 24 Oct 2002 13:40:59 -0700 Message-ID: <000001c27b9d$ad4d2030$0401a8c0@lilpumpkin> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <20021024144620.GD5754@redhat.com> Importance: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Hi, Thanks for all the input. I've tried rebooting, and changing the path so that there are no spaces. However, it still gives me the same error. If I continue, then it runs "Hello World" and exits normally: This GDB was configured as "i686-pc-cygwin"... (gdb) break main Breakpoint 1 at 0x4010bc: file test.c, line 4. (gdb) run Starting program: /home/Jennie_Nguyen/a.exe Program received signal SIGSEGV, Segmentation fault. 0x77e75a3d in _libkernel32_a_iname () (gdb) where #0 0x77e75a3d in _libkernel32_a_iname () #1 0x004028c0 in cygwin_premain2 () #2 0x61083a7d in _libkernel32_a_iname () #3 0x61083ae6 in _libkernel32_a_iname () #4 0x61083b30 in _libkernel32_a_iname () #5 0x61082989 in _libkernel32_a_iname () #6 0x610852c5 in _libkernel32_a_iname () #7 0x61085409 in _libkernel32_a_iname () #8 0x00401320 in __register_frame_info_bases () #9 0x00401368 in __register_frame_info () #10 0x0040105f in __do_frame_init () #11 0x61005ed5 in _libkernel32_a_iname () #12 0x61007a1b in _libkernel32_a_iname () #13 0x004010bc in main () at test.c:3 #14 0x61007549 in _libkernel32_a_iname () #15 0x6100780d in _libkernel32_a_iname () #16 0x004026b2 in cygwin_crt0 () #17 0x0040103c in mainCRTStartup () #18 0x77e814c7 in _libkernel32_a_iname () (gdb) c Continuing. Breakpoint 1, main () at test.c:4 (gdb) c Continuing. Hello world Program exited normally. (gdb) I've also tried to run strace, but there was a bunch of output, and I don't understand what they mean. Here a few from strace that I thought might be problems: 266 9716 [main] a 1120 getwinenv: can't set native for PATH= since no environ yet 272 42741 [main] a 1120 _cygwin_istext_for_stdio: _cifs: fd not open 223 42964 [main] a 1120 _cygwin_istext_for_stdio: Sorry for the inconvenience. Thanks! Jennie -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/