This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

lynx doesn't like COMSPEC=C:\\bin\\bash.exe


I've noticed that lynx (2.8.4-1) uses $COMSPEC rather than $SHELL as the shell for the `!' command, so I set $COMSPEC in my cygwin.bat as follows:

set SHELL=C:\bin\bash.exe
set COMSPEC=%SHELL%

But now when I do `!' in lynx it generates an acces violation:

140 [main] ? 0 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
Exception: STATUS_ACCESS_VIOLATION at eip=610A0024
eax=61680000 ebx=00004AB4 ecx=000012AD edx=00000000 esi=00000000 edi=61680000
ebp=007BFCF8 esp=007BFCEC program=
cs=0167 ds=016F es=016F fs=1247 gs=0000 ss=016F
Stack trace:
Frame Function Args
007BFCF8 610A0024 (61680000, 00000000, 00004AB4, 00000004)
007BFD58 61001AA6 (00000001, 6100541F, BFF741F7, BFFC9490)
007BFDA8 61005A20 (610C29AC, FFFFFFFE, 00000018, 610C28D0)
007BFE08 61005E2C (00000000, 00000000, BFFC9490, 007BFF68)
007BFE28 004749B2 (00401204, 037F0500, 007BFF78, BFF8B560)
007BFE38 0040103C (00000000, 81690F04, 005B0000, 68736142)
007BFF78 BFF8B560 (816958A0, 00000008, 81690F04, 00000000)
486211 [main] ? 0 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
486900 [main] ? 0 handle_exceptions: Error while dumping state (probably corrupted stack)

I'm running a manually installed (shoot me!) cygwin 1.3.12-4 with bash 2.05b-5 under Windows 98.

* Reproduce:
export COMSPEC=$SHELL
echo -e 'key !\nkey q\nkey y' > lynx-script
lynx -cmd-script lynx-script 2> lynx-errors
cat lynx-errors

Timo Frenay.

Attachment: cygcheck.out
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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