X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <20110105212218.GA21238@ednor.casa.cgf.cx> References: <461v5l46ht DOT fsf AT aol DOT com> <81wrnaad66 DOT fsf AT aol DOT com> <46wrn4vv0i DOT fsf AT aol DOT com> <4662u3aw5m DOT fsf_-_ AT aol DOT com> <20110105212218 DOT GA21238 AT ednor DOT casa DOT cgf DOT cx> From: Bob Heckel Date: Wed, 5 Jan 2011 18:24:23 -0500 Message-ID: Subject: Re: New version of w3m 0.5.2 Crashes - GDB help needed To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Wed, Jan 5, 2011 at 16:22, Christopher Faylor wrote: > On Wed, Jan 05, 2011 at 04:16:37PM -0500, nyc4bosaol.com wrote: >>nyc4bosaol.com writes: >> >>Bob created a debug version of w3m for me. >> >>Here's what I see: >> >>The crash occurs when doin a `strncmp' in cygwin1.dll: >> >> =C2=A0 =C2=A0 =C2=A04 [main] w3m 3024 exception::handle: Exception: STAT= US_ACCESS_VIOLATION >> =C2=A0 1564 [main] w3m 3024 open_stackdumpfile: Dumping stack trace to w= 3m.exe.stack >>dump >> >>Program received signal SIGSEGV, Segmentation fault. >>0x6110daf5 in strncmp () from /usr/bin/cygwin1.dll >>(gdb) bt full >>#0 =C2=A00x6110daf5 in strncmp () from /usr/bin/cygwin1.dll >>No symbol table info available. >>#1 =C2=A00x7c85ada0 in OutputDebugStringA () >> =C2=A0 from /cygdrive/c/WINDOWS/system32/kernel32.dll >>No symbol table info available. >>#2 =C2=A00x40010006 in ?? () >>No symbol table info available. >>#3 =C2=A00x00000000 in ?? () >>No symbol table info available. >>(gdb) > > Looks to me like you need a debugging version of w3m with symbols. > You need to find out what's being passed to strncmp, possibly by setting a > breakpoint at 0x40110006. If I did it right, this one includes the symbols: http://bheckel.sdf.org/cygwin/w3m/tmp/w3mdebug.tar.bz2 Bob -- 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