Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: craig DOT hayes AT lmco DOT com Content-return: allowed Date: Wed, 29 Nov 2000 18:17:49 -0700 Subject: Bug: Cygwin crashes when bash is called repeatedly from a .bat fi le To: cygwin AT cygwin DOT com Cc: craig DOT hayes AT lmco DOT com, ed DOT maksimowicz AT lmco DOT com Message-id: <31A81CDD9175D411815100508BE32AA62BCB22@emss02m13.ems.lmco.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: MULTIPART/MIXED; BOUNDARY="Boundary_(ID_lnogM9m8aoXQvEcxvJ/haA)" --Boundary_(ID_lnogM9m8aoXQvEcxvJ/haA) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Situation: I have a DOS script that has run reliably for over a year. I had to add some functionality that DOS couldn't support, so I created Unix shell scripts to do the additional functions, then modified the DOS script to execute the Unix shell scripts by using bash. An example of the addition to the DOS script would be: bash Result: Everything works wonderfully for several hours, but then Cygwin crashes. The DOS script can no longer call the Unix shell scripts. I cannot start Cygwin from the desktop icon. System message boxes appear saying something to the effect that the DLL cannot be initialized (sorry, I didn't write down the exact message). Apparently some system resource is used up, but I couldn't identify what. To recover I have to uninstall Cygwin and reboot my machine. Details: I was able to reproduce the problem with the script files which are attached to this email. I have included the bash stack dump. I installed Cygwin using the installation GUI and the following files which I have copied to my machine: cygwin-1_1_5-4.tar.gz bash-2_04-3.tar.gz If you know of a work around to this problem, please let me know. Thanks. Craig Hayes Lockheed Martin Corporation (719)277-4507 craig DOT hayes AT lmco DOT com <> <> <> --Boundary_(ID_lnogM9m8aoXQvEcxvJ/haA) Content-type: application/octet-stream; name=mainDosScript.bat Content-disposition: attachment; filename=mainDosScript.bat Content-transfer-encoding: BASE64 Comments: Conversion error: (No formatted text for errno = 0) QGVjaG8gb2ZmDQoNClJFTQ0KUkVNIFRoaXMgc2NyaXB0IG9wZW5zIGEgbG9nIGZp bGUgYW5kIHVzZXMgQ3lnd2luJ3MgYmFzaCB0byBleGVjdXRlIGEgVW5peCBzY3Jp cHQuDQpSRU0NCg0Kc2V0bG9jYWwNCg0Kc2V0IFBBVEg9JVBBVEglO0M6XFByb2dy YX4xXEN5Z3dpblxiaW4NCg0Kc2V0IE1BSU5TQ1JJUFROQU1FPW1haW5Eb3NTY3Jp cHQNCnNldCBTVUJTQ1JJUFROQU1FPXN1YlVuaXhTY3JpcHQNCnNldCBMT0dfRklM RT10ZXN0X291dHB1dC5sb2cNCg0KZWNobyBPcGVuaW5nIHRoZSBsb2cgZmlsZSAl TE9HX0ZJTEUlDQplY2hvIE9wZW5pbmcgdGhlIGxvZyBmaWxlICVMT0dfRklMRSUg PiAlTE9HX0ZJTEUlDQoNCjpCRUdJTl9MT09QDQoNCiAgIFJFTSBEQVRFIC9UIA0K ICAgVElNRSAvVCANCiAgIFJFTSBlY2hvICVNQUlOU0NSSVBUTkFNRSUgVXNpbmcg YmFzaCB0byBydW4gJVNVQlNDUklQVE5BTUUlDQogICBSRU0gREFURSAvVCA+PiAl TE9HX0ZJTEUlDQogICBUSU1FIC9UID4+ICVMT0dfRklMRSUNCiAgIGVjaG8gJU1B SU5TQ1JJUFROQU1FJSB1c2luZyBiYXNoIHRvIHJ1biAlU1VCU0NSSVBUTkFNRSUg Pj4gJUxPR19GSUxFJQ0KICAgYmFzaCAlU1VCU0NSSVBUTkFNRSUgJUxPR19GSUxF JQ0KDQogICBSRU0gc2xlZXAgMw0KDQpnb3RvIDpCRUdJTl9MT09QDQoNCmVuZGxv Y2FsDQo= --Boundary_(ID_lnogM9m8aoXQvEcxvJ/haA) Content-type: application/octet-stream; name=subUnixScript Content-disposition: attachment; filename=subUnixScript Content-transfer-encoding: BASE64 Comments: Conversion error: (No formatted text for errno = 0) IyFiYXNoDQoNCmVjaG8gImBkYXRlYCBFbnRlcmVkICQwLCBhcmdzPSQxIiANCmVj aG8gImBkYXRlYCBFbnRlcmVkICQwLCBhcmdzPSQxIiA+PiAkMQ0KDQpleGl0IDAN Cg== --Boundary_(ID_lnogM9m8aoXQvEcxvJ/haA) Content-type: application/octet-stream; name=bash.exe.stackdump Content-disposition: attachment; filename=bash.exe.stackdump Content-transfer-encoding: BASE64 Comments: Conversion error: (No formatted text for errno = 0) RXhjZXB0aW9uOiBTVEFUVVNfQUNDRVNTX1ZJT0xBVElPTiBhdCBlaXA9NjEwMEI2 QzgNCmVheD0wMjQ3RjkzNCBlYng9NjEwODI3RDggZWN4PTAwMDAwMDAwIGVkeD0w MDA4MDAwNiBlc2k9MDAwMDAwMTQgZWRpPTAwNDFCMzFDDQplYnA9MTQwNUY5Rjgg ZXNwPTE0MDVGQzk4IHByb2dyYW09QzpcUHJvZ3JhfjFcQ3lnd2luXGJpblxiYXNo LmV4ZQ0KY3M9MDAxQiBkcz0wMDIzIGVzPTAwMjMgZnM9MDAzOCBncz0wMDAwIHNz PTAwMjMNClN0YWNrIHRyYWNlOg0KRnJhbWUgICAgIEZ1bmN0aW9uICBBcmdzDQox NDA1RjlGOCAgNjEwMEI2QzggICgwMDAwMDAwMCwgMDAwMDAwMDAsIDAwMDAwMDAw LCAwMDAwMDAwMCkNCjE0MDVGQzlDICA2MTAwQjZDOCAgKDYxMDgyN0Q4LCAwMDAw MDAwMCwgMDAwMDAwMDAsIDAwMDAwMDAwKQ0KMTQwNUZDQ0MgIDYxMDBDOEY2ICAo MDI0N0Y3QzQsIDAwMDAwMDE0LCAxNDA1RkVFQywgMDA0MUIzMUMpDQoxNDA1RkRE QyAgNjEwMENEMjYgICgwMDAwMDAxNCwgMTQwNUZFRUMsIDAwNDFCMzFDLCAwMDAw MDAwMCkNCjE0MDVGRUZDICA2MTAwRDQxNiAgKDAwMDAwMDE0LCAwMDAwMDAxNCwg MDAwMDAwMDAsIDAwMDAwMUY0KQ0KMTQwNUZGNkMgIDYxMDQwRjY2ICAoMDAwMDAw MDAsIDE0MDVGRkI4LCA2MTAwNDA0MCwgMTQwNUZGQjApDQoxNDA1RkZCOCAgNjEw MDQwNjIgICg2MTA4MjQ3NCwgMDAwMDAxMDQsIDYxMDQ1OTMzLCA2MTA4MjQ3NCkN CjE0MDVGRkVDICA3N0YwNEVERSAgKDYxMDA0MDE4LCA2MTA4QjAxMCwgNzczNjYz NzcsIDAwMDAwOUJCKQ0KRW5kIG9mIHN0YWNrIHRyYWNlDQo= --Boundary_(ID_lnogM9m8aoXQvEcxvJ/haA) Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --Boundary_(ID_lnogM9m8aoXQvEcxvJ/haA)--