Re: once more into the breach - please try a snapshot so I can release this thing

2006-01-13 Thread James R. Phillips
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 results:

===
$ gdb -q /usr/bin/octave
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/octave.exe

Program received signal SIGSEGV, Segmentation fault.
0x610ae8d8 in pthread_key_create () from /usr/bin/cygwin1.dll
(gdb)
===

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 appreciated.

Jim Phillips
Cygwin Configuration Diagnostics
Current System Time: Fri Jan 13 17:19:18 2006

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\PROGRA~1\Eai\E-VISV~1.2\Program
'C
C:\cygwin\Program Files\Common Files\Adaptec Shared\System'
c:\MATLAB704\bin\win32
c:\MATLAB701\bin\win32
c:\matlab6p5p1\bin\win32
c:\SFU\common\
'C
C:\cygwin\Program Files\Hummingbird\Connectivity\7.00\Accessories\'
c:\Perl\bin\
c:\swish-e
c:\swish-e\lib\swish-e
c:\winnt\Microsoft.NET\Framework\v1.1.4322
c:\BIN
c:\BIN\MATLAB\BIN\WIN32
c:\BIN\MATLAB
c:\progra~1\gs\GS8.53\bin
c:\progra~1\gs\GS8.53\lib\
c:\PROGRA~1\QVCS
C:\cygwin\bin
C:\cygwin\lib\lapack

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 37196(e008456)   GID: 10513(Domain Users)
0(root)   544(Administrators)
545(Users)1002(PasswordPropDeny)
1001(Tivoli_Admin_Privileges)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 37196(e008456)   GID: 10513(Domain Users)
0(root)   544(Administrators)
545(Users)1002(PasswordPropDeny)
1001(Tivoli_Admin_Privileges)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

USER = `e008456'
PWD = `/home/e008456'
HOME = `/home/e008456'
MAKE_MODE = `unix'

Use `-r' to scan registry

a:  fd N/AN/A
c:  hd  NTFS 19296Mb  70% CP CS UN PA FC NTFS-WIN2K
d:  hd  NTFS 65538Mb  36% CP CS UN PA FC NTFS-DATA
e:  hd  NTFS 14331Mb  37% CP CS UN PA FC NTFS-BACK
f:  hd N/AN/A
h:  net NTFS350028Mb  77% CP CS UN PA FC Data-350GB
i:  net NTFS104144Mb  79% CP CS UN PA FC 
j:  net NTFS140011Mb  93% CP CS UN PA FC 
k:  net NTFS208283Mb  61% CP CS UN PA FC 
m:  cd N/AN/A
n:  cd N/AN/A
s:  net NTFS208283Mb  61% CP CS UN PA FC 

C:\cygwin  / system  binmode
C:\cygwin/bin  /usr/bin  system  binmode
C:\cygwin/lib  /usr/lib  system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.  /cygdrive system  
binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

 5181k 2006/01/10 C:\cygwin\usr\local\bin\cygatlas.dll
  277k 2006/01/10 C:\cygwin\usr\local\bin\cygblas.dll
 4953k 2006/01/10 C:\cygwin\usr\local\bin\cyglapack.dll
   56k 2005/07/09 C:\cygwin\bin\cygbz2-1.dll
7k 2005/11/20 C:\cygwin\bin\cygcharset-1.dll
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll
 1108k 2005/10/17 C:\cygwin\bin\cygcrypto-0.9.7.dll
 1042k 2005/07/07 C:\cygwin\bin\cygcrypto-0.9.8.dll
  895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll
  965k 2005/05/14 C:\cygwin\bin\cygdb-4.3.dll
 1156k 2004/04/28 

Re: once more into the breach - please try a snapshot so I can release this thing

2006-01-12 Thread Corinna Vinschen
On Jan 12 06:03, Eric Blake wrote:
 cygserver.exe - Entry Point Not Found
 The procedure entry point IsWow64Process could not be located in the
 dynamic link library KERNEL32.dll

Thanks, that should be fixed now.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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/