This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GDB: Program received signal SIGSEGV, Segmentation fault. 0x77f6cde6 in ?? ()


You need to simplefy your PATH.  The main problem you're having is that you're
mixing UNIX TOOL PACKAGES.  I'll suggest that you add `export
PATH=/bin:/usr/bin:/usr/local/bin:/what/ever/other/paths:." to your ~/.bashrc
file.  Be sure to visit my webpage, URL listed at the end of this note.

I'll apologize to the list for the heavy quoting but I wanted this in the
archives as an example of how _not_ to setup your PATH.

--- zehavi@il.ibm.com wrote:
> 
> 
> Earnie,
> Here is the output from  "cygcheck -s -v -r"
> 
> Thanks,
> Avi.
> ============================
> 
> Cygnus Win95/NT Configuration Diagnostics
> 
> Current System Time: Wed Jan 05 15:46:37 2000
> 
> 
> 
> WinNT Ver 4.0 build 1381 Service Pack 4
> 
> 
> 
> Path:     /cygnus/CYGWIN~1/H-I586~1/bin
> 
>      /MKSDemo/mksnt
> 
>      /WINNT/system32
> 
>      /WINNT
> 
>      /WNETFIN
> 
>      /PROGRA~1/PERSON~1
> 
>      /UTILIT~1
> 
>      /CMVC/EXE
> 
>      /Dosutil
> 
>      .
> 
>      /PROGRA~1/Symantec/PCANYW~1
> 
>      .
> 
>      /PSM
> 
>      .
> 
>      /PROGRA~1/Transarc/AFS/AFSCLI~1/PROGRAM
> 
>      /NTRESKIT
> 
>      /NTRESKIT/Perl
> 
>      /Program Files/rksupport
> 
>      /PROGRA~1/IBMCOR~1/BIN
> 
>      .
> 
>      /PSM
> 
>      .
> 
> 
> 
> SysDir: C:\WINNT\System32
> 
> WinDir: C:\WINNT
> 
> 
> 
> HOME = `/'
> 
> MAKE_MODE = `UNIX'
> 
> PWD = `/cygnus/cygwin-b20/H-i586-cygwin32/bin'
> 
> 
> 
> !C: = `C:\cygnus\cygwin-b20'
> 
> CLASSPATH = `C:\Program Files\Exceed.nt\hcljrcsv.jar;C:\Program
> Files\Exceed.nt\;'
> 
> CMVC_BECOME = `tester'
> 
> CMVC_CASESENSE = `ignore'
> 
> COMPUTERNAME = `PS197-16'
> 
> COMSPEC = `C:\WINNT\system32\cmd.exe'
> 
> DSMG_DIR = `C:\WINNT\System32'
> 
> HOMEDRIVE = `C:'
> 
> HOMEPATH = `\'
> 
> HOSTNAME = `ps197-16'
> 
> HOSTTYPE = `i586'
> 
> LOGONSERVER = `\\PS197-16'
> 
> MACHTYPE = `i586-pc-cygwin32'
> 
> NLSPATH = `C:\CMVC\\exe\%N'
> 
> NTRESKIT = `C:\NTRESKIT'
> 
> NUMBER_OF_PROCESSORS = `1'
> 
> OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
> 
> OS = `Windows_NT'
> 
> OSTYPE = `cygwin32'
> 
> PATHEXT = `.COM;.EXE;.BAT;.CMD'
> 
> PROCESSOR_ARCHITECTURE = `x86'
> 
> PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
> 
> PROCESSOR_LEVEL = `6'
> 
> PROCESSOR_REVISION = `0703'
> 
> PROMPT = `$P$G'
> 
> ROOTDIR = `C:/MKSDemo'
> 
> SHELL = `C:/MKSDemo/mksnt/sh.exe'
> 
> SHLVL = `1'
> 
> SYSTEMDRIVE = `C:'
> 
> SYSTEMROOT = `C:\WINNT'
> 
> TEMP = `C:\TEMP'
> 
> TERM = `cygwin'
> 
> TMP = `C:\TEMP'
> 
> TMPDIR = `C:/TEMP'
> 
> USERDOMAIN = `PS197-16'
> 
> USERNAME = `zehavi'
> 
> USERPROFILE = `C:\WINNT\Profiles\zehavi'
> 
> WINDIR = `C:\WINNT'
> 
> _ = `/cygnus/CYGWIN~1/H-I586~1/bin/cygcheck'
> 
> 
> 
> HKEY_CURRENT_USER\Software\Cygnus Solutions
> 
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
> 
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
> 
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
> 
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
> 
>   (default) = `C:'
> 
>   unix = `/'
> 
>   fbinary = 0x00000000
> 
>   fsilent = 0x00000000
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
> Solutions\GNUPro\i586-cygwin32\i586-cygwin32
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
> Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1
> 
>   (default) = `c:\cygnus\cygwin-b20'
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus
> Cygwin B20
> 
>   (default) = `C:\WINNT\IsUninst.exe -fc:\cygnus\cygwin-b20\Uninst.isu'
> 
>   DisplayName = `Cygwin B20'
> 
> 
> 
> a:\ fd           N/A    N/A
> 
> c:\ hd  NTFS   12942Mb  55% CP CS UN PA FC     C_DRIVE
> 
> d:\ fd           N/A    N/A
> 
> e:\ cd           N/A    N/A
> 
> h:\ net HPFS386 19986Mb 100% CP                 DISK_E
> 
> l:\ net HPFS386  1992Mb  20% CP                 DISK_D
> 
> m:\ net HPFS386  8667Mb  95% CP                 DISK_D
> 
> p:\ net HPFS386 19986Mb  67% CP                 DISK_E
> 
> s:\ net HPFS386 20377Mb 100% CP                 DISK_F
> 
> t:\ net HPFS386  9985Mb  82% CP                 DISK_D
> 
> u:\ net HPFS386  9985Mb  82% CP                 DISK_D
> 
> w:\ net HPFS386 19986Mb  67% CP                 DISK_E
> 
> x:\ net AFS    2097151Mb  51% CP CS UN           AFS
> 
> y:\ net AFS    2097151Mb  51% CP CS UN           AFS
> 
> z:\ net AFS    2097151Mb  51% CP CS UN           AFS
> 
> 
> 
> C:    /        native  text!=binary
> 
> 
> 
> Found: .\bash.exe
> 
> Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\bash.exe
> 
> Warning: .\bash.exe hides C:\cygnus\CYGWIN~1\H-I586~1\bin\bash.exe
> 
> Found: .\cat.exe
> 
> Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\cat.exe
> 
> Warning: .\cat.exe hides C:\cygnus\CYGWIN~1\H-I586~1\bin\cat.exe
> 
> Found: C:\MKSDemo\mksnt\cat.exe
> 
> Warning: .\cat.exe hides C:\MKSDemo\mksnt\cat.exe
> 
> Found: C:\NTRESKIT\cat.exe
> 
> Warning: .\cat.exe hides C:\NTRESKIT\cat.exe
> 
> Not Found: cpp (good!)
> 
> Found: .\find.exe
> 
> Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\find.exe
> 
> Warning: .\find.exe hides C:\cygnus\CYGWIN~1\H-I586~1\bin\find.exe
> 
> Found: C:\MKSDemo\mksnt\find.exe
> 
> Warning: .\find.exe hides C:\MKSDemo\mksnt\find.exe
> 
> Found: .\gcc.exe
> 
> Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\gcc.exe
> 
> Warning: .\gcc.exe hides C:\cygnus\CYGWIN~1\H-I586~1\bin\gcc.exe
> 
> Found: .\gdb.exe
> 
> Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\gdb.exe
> 
> Warning: .\gdb.exe hides C:\cygnus\CYGWIN~1\H-I586~1\bin\gdb.exe
> 
> Found: .\ld.exe
> 
> Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\ld.exe
> 
> Warning: .\ld.exe hides C:\cygnus\CYGWIN~1\H-I586~1\bin\ld.exe
> 
> Found: .\ls.exe
> 
> Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\ls.exe
> 
> Warning: .\ls.exe hides C:\cygnus\CYGWIN~1\H-I586~1\bin\ls.exe
> 
> Found: C:\MKSDemo\mksnt\ls.exe
> 
> Warning: .\ls.exe hides C:\MKSDemo\mksnt\ls.exe
> 
> Found: C:\NTRESKIT\ls.exe
> 
> Warning: .\ls.exe hides C:\NTRESKIT\ls.exe
> 
> Found: .\make.exe
> 
> Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\make.exe
> 
> Warning: .\make.exe hides C:\cygnus\CYGWIN~1\H-I586~1\bin\make.exe
> 
> Found: C:\MKSDemo\mksnt\make.exe
> 
> Warning: .\make.exe hides C:\MKSDemo\mksnt\make.exe
> 
> Found: .\sh.exe
> 
> Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\sh.exe
> 
> Warning: .\sh.exe hides C:\cygnus\CYGWIN~1\H-I586~1\bin\sh.exe
> 
> Found: C:\MKSDemo\mksnt\sh.exe
> 
> Warning: .\sh.exe hides C:\MKSDemo\mksnt\sh.exe
> 
> Found: \bin\sh.exe
> 
> Warning: .\sh.exe hides \bin\sh.exe
> 
> 
> 
>   371k 1998/12/01 .\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
> 
>                   "cygtcl80.dll" v0.0 ts=1998/12/1 10:25
> 
>     5k 1998/12/01 .\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
> 
>    10k 1998/12/01 .\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
> 
>                   "cygtclreg80.dll" v0.0 ts=1998/12/1 10:25
> 
>   600k 1998/12/01 .\cygtk80.dll - os=4.0 img=1.0 sys=4.0
> 
>                   "cygtk80.dll" v0.0 ts=1998/12/1 10:28
> 
>   446k 1998/12/04 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
> 
>                   "cygwin1.dll" v0.0 ts=1998/12/4 6:39
> 
>   371k 1998/12/01 .\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
> 
>                   "cygtcl80.dll" v0.0 ts=1998/12/1 10:25
> 
>     5k 1998/12/01 .\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
> 
>    10k 1998/12/01 .\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
> 
>                   "cygtclreg80.dll" v0.0 ts=1998/12/1 10:25
> 
>   600k 1998/12/01 .\cygtk80.dll - os=4.0 img=1.0 sys=4.0
> 
>                   "cygtk80.dll" v0.0 ts=1998/12/1 10:28
> 
>   446k 1998/12/04 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
> 
>                   "cygwin1.dll" v0.0 ts=1998/12/4 6:39
> 
>   371k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtcl80.dll - os=4.0
> img=1.0
> sys=4.0
> 
>                   "cygtcl80.dll" v0.0 ts=1998/12/1 10:25
> 
>     5k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclpip80.dll - os=4.0
> img=1.0 sys=4.0
> 
>    10k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclreg80.dll - os=4.0
> img=1.0 sys=4.0
> 
>                   "cygtclreg80.dll" v0.0 ts=1998/12/1 10:25
> 
>   600k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtk80.dll - os=4.0
> img=1.0
> sys=4.0
> 
>                   "cygtk80.dll" v0.0 ts=1998/12/1 10:28
> 
>   446k 1998/12/04 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygwin1.dll - os=4.0
> img=1.0
> sys=4.0
> 
>                   "cygwin1.dll" v0.0 ts=1998/12/4 6:39
> 
> Use -h to see help about each section
> 
> 
> Earnie Boyd <earnie_boyd@yahoo.com> on 01/05/2000 03:51:51 PM
> 
> Please respond to earnie_boyd@yahoo.com
> 
> To:   Abraham Zehavi/Haifa/IBM@IBMIL, cygwin@sourceware.cygnus.com
> cc:
> Subject:  Re: GDB: Program received signal SIGSEGV, Segmentation fault.
>       0x77f6cde6 in ?? ()
> 
> 
> 
> 
> Paste the output of `cygcheck -s -v -r' in a mail.
> 
> --- zehavi@il.ibm.com wrote:
> >
> >
> > I have tried to run the Cygnus package version b20.1 on Windows NT 4.
> > Any program that I run under gdb crashes with the above message.
> > Also it reports a lot of system DLLs not having debug information (they are
> > not
> > supposed to have).
> > Here is the output after entering the run command from "gdb ls.exe"
> >
> > [failed reading symbols from DLL]
> > "/WINNT/system32/GDI32.dll": error reading line numbers
> >
> > (no debugging symbols found)...77e10000:/WINNT/system32/RPCRT4.dll
> >
> > [failed reading symbols from DLL]
> > "/WINNT/System32/lpk.dll": error reading line numbers
> >
> >
> > [failed reading symbols from DLL]
> > "/WINNT/System32/lpkbidi.dll": error reading line numbers
> >
> >
> > (no debugging symbols found)...67f60000:/WINNT/System32/NFPROC.DLL
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x77f6cde6 in ?? ()
> >
> > HELP any ideas please send me a response directly.
> > Avi.
> >
> >
> >
> > --
> > Want to unsubscribe from this list?
> > Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> >
> >
> 
> 
> =====
> Earnie Boyd <mailto:earnie_boyd@yahoo.com>
> Cygwin Newbies, please visit
> <http://www.freeyellow.com/members5/gw32/index.html>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://messenger.yahoo.com
> 
> 
> 
> 


=====
Earnie Boyd <mailto:earnie_boyd@yahoo.com>
Cygwin Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]