X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_EB,TW_VZ,TW_ZB,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: nyc4bos AT aol DOT com Subject: Re: New version of w3m 0.5.2 Crashes - GDB help needed Date: Wed, 05 Jan 2011 16:16:37 -0500 Lines: 82 Message-ID: <4662u3aw5m.fsf_-_@aol.com> References: <461v5l46ht DOT fsf AT aol DOT com> <81wrnaad66 DOT fsf AT aol DOT com> <46wrn4vv0i DOT fsf AT aol DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-IsSubscribed: yes 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 nyc4bos AT aol DOT com writes: I've been working with Bob on this but I think we've at an impass (see below): > "Robert S. Heckel Jr." writes: > >> On Wed, Dec 15, 2010 at 21:07, Robert S. Heckel Jr. wrote: >>> Will let you know if I find anything.  Anyone else experience 0.5.2-1 crashes? >> >> Since I haven't heard of problems from other people (yet at least) and >> I can't replicate the crash, you may want to try either a reinstall >> of: >> >> w3m libgc1 libintl8 libncurses10 libopenssl098 zlib0 >> >> or, better, a full reinstall of cygwin. > > I tried resinstalling those but it still got the same errors. > > I'm hesitant to reinstall a full cygwin... >> >> Bob Bob created a debug version of w3m for me. Here's what I see: The crash occurs when doin a `strncmp' in cygwin1.dll: 4 [main] w3m 3024 exception::handle: Exception: STATUS_ACCESS_VIOLATION 1564 [main] w3m 3024 open_stackdumpfile: Dumping stack trace to w3m.exe.stack dump Program received signal SIGSEGV, Segmentation fault. 0x6110daf5 in strncmp () from /usr/bin/cygwin1.dll (gdb) bt full #0 0x6110daf5 in strncmp () from /usr/bin/cygwin1.dll No symbol table info available. #1 0x7c85ada0 in OutputDebugStringA () from /cygdrive/c/WINDOWS/system32/kernel32.dll No symbol table info available. #2 0x40010006 in ?? () No symbol table info available. #3 0x00000000 in ?? () No symbol table info available. (gdb) Can you find out what the `strncmp' is trying to do at that address? This might also help: 0x6110daf5 movzbl (%ebx),%eax eax 0x22c39c ebx 0x22c682 Exception: STATUS_ACCESS_VIOLATION at eip=6110DAF5 eax=00526BBA ebx=00000000 ecx=00526BBA edx=0000000B esi=00000002 edi=61179FC7 ebp=0022CBC8 esp=0022CBB8 program=E:\home\tmp\w3m.exe, pid 3024, thread main cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 Stack trace: Frame Function Args 0022CBC8 6110DAF5 (00000000, 00526BBA, 00000002, 61122847) 0022CBF8 0044FAA8 (00000003, 00526BEB, 0022CC28, 6113A688) 0022CC28 0044FB8B (6115F040, 610CF730, 0022CC48, 0042ADA4) 0022CC38 00450CC7 (00000000, 00531FDC, 0022CD18, 004033F8) 0022CC48 0042ADA4 (00000001, 00010000, 0022CC88, 6113A70F) 0022CD18 004033F8 (1005942D, 61179FC7, 0022CD88, 61006CD3) 0022CD88 61006CD3 (00000000, 0022CDC4, 61006570, 7FFDE000) End of stack trace (gdb) x 0x6110daf5 0x6110daf5 : "\017▒\003\215V▒:\001u,\205▒u\024▒▒\203▒\001\20 3▒\001\017▒\003:\001u\031\203▒\001t▒\204▒u▒\220\215t&" (gdb) Thanks. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple