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 still have a mixed environment!!!  The ls that you've run gdb on isn't from
the Cygwin package.  If it were it would have the cygwin1.dll in the list. 
Here is what I get with `gdb -nowin ls':

~> gdb -nowin ls
GNU gdb 4.18-cygwin-990830
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.  This version of GDB is supported
for customers of Cygnus Solutions.  Type "show warranty" for details.
This GDB was configured as "i686-cygwin"...
(gdb) run
Starting program: /bin/ls.exe
61000000:D:/root/Cygwin/bin/cygwin1.dll
77dc0000:C:/WINNT/system32/advapi32.dll"C:/WINNT/system32/advapi32.dll": error
r
eading line numbers

77f00000:C:/WINNT/system32/KERNEL32.dll"C:/WINNT/system32/KERNEL32.dll": error
r
eading line numbers

77e70000:C:/WINNT/system32/USER32.dll
77ed0000:C:/WINNT/system32/GDI32.dll
77e10000:C:/WINNT/system32/RPCRT4.dll
77bf0000:C:/WINNT/System32/rpcltc1.dll
Application Data          NTUSER.DAT                SendTo
Cookies                   NetHood                   Start Menu
Desktop                   Personal                  Templates
Favorites                 PrintHood                 Temporary Internet Files
History                   Recent                    ntuser.dat.LOG

Program exited normally.
(gdb)


--- zehavi@il.ibm.com wrote:
> 
> 
> Hi,
> Here is some additional information about the problem.
> I also brought djgcc and djgdb package and got the following results.
> 1. When I run Cygnus gdb with any program compiled with Cygnus GCC I get the
> crash
> 2.  When I run Cygnus gdb on a program compiled with djgcc I get "File is in
> invalid format" and gdb fails to load it
> 3. When I run djgdb with a program compiled with djgcc it runs fine
> 4. When I run djgdb with program compiled with Cygnus GCC I get "File is in
> invalid format"
> 5. Cygnus gdb did not fail on some programs not compile with Cygnus GCC or
> djgcc
> for example ghostscript worked under Cygnus gdb.
> 
> All programs run fine not under gdb
> I rechecked my path and I only have one cygwin1.dll and also simplified it as
> much as possible (left only Cygnus). This did not solve the problem.
> 
> Avi.
> ---------------------- Forwarded by Abraham Zehavi/Haifa/IBM on 01/11/2000
> 12:50
> PM ---------------------------
> 
> Abraham Zehavi
> 01/05/2000 12:37 PM
> 
> To:   cygwin@sourceware.cygnus.com
> cc:
> From: Abraham Zehavi/Haifa/IBM@IBMIL
> Subject:  GDB: Program received signal SIGSEGV, Segmentation fault.
> 0x77f6cde6
>       in ?? ()
> 
> 
> 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://im.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]