This is the mail archive of the cygwin@sources.redhat.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: Invoking MODE.COM crashes cygwin bash!!! (Win95)




--On Saturday, September 16, 2000 6:59 PM -0400 Chris Faylor 
<cgf@cygnus.com> wrote:

> On Sat, Sep 16, 2000 at 05:25:39PM +0200, Andreas Eibach wrote:
>> Hi there again,
>>
>> you just need to type mode.com and confirm it with return and cygwin
>> bash will crash with throwing an exception.
>
> I type "mode.com" and it gives me lots of info my com, printer, and
> console. There is no confirming with return necessary.

Chris and Andreas,

I just tried this on my win98 laptop.  I got a system popup box saying 
something about an illegal operation.  It doesn't look like what I'm used 
to seeing when an app segfaults in winNT, but for all I know this may be a 
standard window for segfaults in win9x.

I dismissed the window, and my "BASH" app didn't actually die.  It's still 
in the task bar, and there's a dead window on the screen that won't redraw 
itself or go away.

Double-clicking on the Cygwin icon on my desktop does *not* bring up a new 
bash window so that I can try this again or give you cygcheck output.

...OK, I just killed WinOldApp in the "task manager", and now things seem 
normal again.  Let's see...strange, when I try to reproduce this by typing 
mode.com in a new bash window, I get what looks like the expected output. 
The first time I tried this, I had just run a fresh instance of bash while 
no other cygwin apps had been running (cygwin1.dll wasn't already loaded).

Anyway, cygcyeck output is attached.

-jeff



Cygnus Win95/NT Configuration Diagnostics
Current System Time: Sun Sep 17 09:48:55 2000

Win9X Ver 4.10 build 67766446  A 

Path:	/home/juliano/bin
	/usr/local/bin
	/usr/bin
	/usr/bin
	/usr/X11R6/bin
	/cygdrive/c/WINDOWS
	/cygdrive/c/WINDOWS
	/cygdrive/c/WINDOWS/COMMAND
	/cygdrive/c/WINDOWS/SYSTEM

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

CYGWIN = `tty'
HOME = `/home/juliano'
MAKE_MODE = `unix'
PWD = `/home/juliano'
USER = `juliano'

!C: = `C:\WINDOWS'
!D: = `D:\cygwin\bin'
BLASTER = `A220 I5 D1 T4'
CLASSPATH = `D:\PROGRA~1\PHOTOD~1.0\ADOBEC~1'
CMDLINE = `bash --login -i'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
CVSROOT = `/afs/unc/proj/stm/src/CVS_repository'
CVS_RSH = `ssh'
CYGPACK = `/afs/unc/proj/stm/src/cygwin-1.0-files'
DISPLAY = `localhost:0.0'
HOSTNAME = `JULIANO-LAPTOP'
HOSTTYPE = `i586'
IGNOREEOF = `'
INFOPATH = `/usr/info:/usr/local/info'
LESS = `-Md -i'
LESSCHARSET = `latin1'
LOCATE_PATH = 
`/usr/var/locatedb:/afs/unc/home/juliano/locatedb:/afs/unc/proj/stm/src/julia
no/locatedb'
LOGNAME = `juliano'
LS_COLORS = 
`no=00:fi=00:di=01;33:ln=01;36:pi=40;34:so=01;35:bd=40;33;01:cd=40;33;01:or=4
0;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:
*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.bz2=01;31:*.jpg=01;3
5:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.t
if=01;35:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*.dll=01;34:*.a=01;34:
*.o=00;34:*.obj=00;34:'
MACHTYPE = `i586-pc-cygwin'
MANPAGER = `less -is'
MANPATH = `/usr/man:/usr/local/man'
MY_NANO_OBJ_DIR = `/tmp/juliano-nano'
NANOREPOSITORY = `/afs/unc/proj/stm/src/CVS_repository'
NNTPSERVER = `csnews.cs.unc.edu'
OLDPWD = `/usr/bin'
OSTYPE = `cygwin'
PAGER = `less -Md -i'
PROMPT = `$p$g'
PS1 = `]0;\w
\u@\h \w
$ '
SHELL = `/bin/bash'
SHLVL = `1'
TEMP = `/cygdrive/c/windows/TEMP'
TERM = `cygwin'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
TZ = `EST5EDT4,M4.1.0/2,M10.5.0/2'

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrde
r\Start Menu\&Programs\Cygnus Solutions
  (default) = (unsupported type)
HKEY_CURRENT_USER\Software\Microsoft\Ftp\Accounts\sourceware.cygnus.com
  (default) = `'
   = `'
  Login Attributes = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `D:/cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `D:/cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `D:/cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/home
  (default) = `d:\home'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/mnt/binary
  (default) = `d:\binary'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                    
c:  hd  FAT32   4096Mb  77% CP    UN           UNC PRELOAD
d:  hd  FAT32   7390Mb  56% CP    UN           DATA
e:  cd           N/A    N/A                    

D:\cygwin\bin  /usr/bin  system  binmode
D:\cygwin\lib  /usr/lib  system  binmode
D:\cygwin  /        system  binmode
d:\binary  /mnt/binary  system  binmode
d:\home  /home    system  textmode

Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: D:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: D:\cygwin\bin\gcc.exe
Found: D:\cygwin\bin\gdb.exe
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\sh.exe

   83k 2000/06/11 D:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/6/10 23:34
   35k 2000/06/11 D:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/6/10 23:34
  402k 2000/06/11 D:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/6/10 23:30
    5k 2000/06/11 D:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/06/11 D:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/6/10 23:30
  639k 2000/06/11 D:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/6/10 23:34
  586k 2000/08/04 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2000/8/3 20:53
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 4
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        api major: 0
        api minor: 26
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        build date: Thu Aug 3 20:53:46 EDT 2000
        CVS tag: cygwin-1-1-4
        shared id: cygwin1S3

Use -h to see help about each section

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