This is the mail archive of the
mailing list for the Cygwin project.
Re: once more into the breach - please try a snapshot so I canrelease this thing
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: "James R. Phillips" <antiskid56-cygwin at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 13 Jan 2006 18:38:37 -0500 (EST)
- Subject: Re: once more into the breach - please try a snapshot so I canrelease this thing
- References: <email@example.com>
- Reply-to: cygwin at cygwin dot com
On Fri, 13 Jan 2006, James R. Phillips wrote:
> Although a cygwin package maintainer, I am a complete novice at
> debugging cygwin programs, so please bear with me.
> The current cygwin1.dll snapshot (2006.01.12) causes octave (a package I
> maintain) to dump core under some circumstances. I haven't been able to
> isolate just what causes it. When this happens, I get the following
> error message _on_exit_ :
> octave:3> exit
> Aborted (core dumped)
> This causes octave to write an octave-core file, which apparently is not
> something gdb understands, but is a binary file that octave can load to
> restart a computation. I take the core dump error message to have
> originated in octave, rather than cygwin.
> In order to further investigate this, I tried gdb, with the following
> $ gdb -q /usr/bin/octave
> (no debugging symbols found)
FWIW, you might want to download the cygwin1.dbg file associated with the
snapshot. Assuming you save it in /tmp, at this point you'd issue the
(gdb) dll-symbols /tmp/cygwin1.dbg
to load the debugging symbols. If you've already downloaded the .dbg
file, please ignore this.
> (gdb) run
> Starting program: /usr/bin/octave.exe
> Program received signal SIGSEGV, Segmentation fault.
> 0x610ae8d8 in pthread_key_create () from /usr/bin/cygwin1.dll
> I interpret this to mean a segfault has occurred even prior to any
> computations. This surprises me because if I don't use gdb, I can
> apparently load and exit octave, doing no computations between load and
> exit, without any aborts, segfaults, or obvious error messages.
> Advice on where to go from here in debugging the problem would be
|\ _,,,---,,_ firstname.lastname@example.org | email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html