From: cgf AT bbc DOT com (Chris Faylor) Subject: Re: GDB Problem 30 Oct 1997 06:04:53 -0800 Message-ID: References: <1 DOT 5 DOT 4 DOT 32 DOT 19971030121858 DOT 00667664 AT pop DOT ncf DOT carleton DOT ca> Reply-To: cgf AT bbc DOT com To: gnu-win32 AT cygnus DOT com In article <1 DOT 5 DOT 4 DOT 32 DOT 19971030121858 DOT 00667664 AT pop DOT ncf DOT carleton DOT ca>, Sudhakar Ganti wrote: >Hi, > >I recently intalled the GNU-Win32 package the beta 18 version. I installed >everything as outlined (from the binaries). I have a problem with the >gdb, both command line (-nw option) or the windows version. > >Specifically when I load a file and run it, the gdb says that >it has failed reading the symbols from DLLs: shlwapi.dll and comctl32.dll. >Then the programs runs OK. But when I quit gdb, the DOS window is not closed >and the Windows95 reports an error message "GDB casued an invalid >page fault in cw3215.dll". At this point I cannot even close the DOS >window, as well I cannot shut down Windows95. This is all from commandline >with -nw option. If I run the gdb with the windows (no -nw option) it shows >the windows, but when I try to load any file and run, it hangs. > >I looked in the mail archives and did not find any queries >regarding this. Any help will be appreciated. I have roughly the same problem on Windows NT and Windows 95. It is a real pain when the entire machine hangs and you have to power cycle to continue. This is obviously a Windows design bug but it is annoying that GDB exercises it. The only way I've found around this problem is to always let the debugged process run to completion and to never use 'q' in gdb. Always kill the gdb process from another process or from the Task Manager. If you can't let the debugged process run to completion then you can kill it also. This seems to work 80% of the time at least. -- http://www.bbc.com/ cgf AT bbc DOT com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".