From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96799 invoked by alias); 4 Jan 2017 06:08:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 78118 invoked by uid 89); 4 Jan 2017 06:06:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Job, suffering, Jobs, tickets X-HELO: mail-vk0-f45.google.com Received: from mail-vk0-f45.google.com (HELO mail-vk0-f45.google.com) (209.85.213.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Jan 2017 06:06:42 +0000 Received: by mail-vk0-f45.google.com with SMTP id x186so283324500vkd.1 for ; Tue, 03 Jan 2017 22:06:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=gTEKMwrZzJy8iWHkRD2VCx0r7aaPuPEQ7oZt+ggiUfo=; b=D2hXqi5N2meroJuSw4roDLhvfXY02QovFtzz3LfBQOul1p7ICcskg03+h7SelEwB+N QQv0lsA4z/WGiXTAxjNtSULbE7xhfcOxJdiJMt5uTEBDekS1pQtndG1NTdTNPMqg17SS sYTHN8X33AMjvGQuhTBu0gIMUR0DyR+W1BVDCqapMTvlcc+tpR6YBMniaS6bhzX2jscw C7gyrGo7iormqHfXBg3SkxsIWr/d20ZKDmbrI8oYd7zCXtkcTEVgRrATjh8dCvYEEAtU CgW0HuvLHFHRohI38dhQmsNr8NsM/QBXZk3SKczPrSJM6ghSpTwFTvJ7IhnVHhAqQEvV ChEQ== X-Gm-Message-State: AIkVDXI773aPGHrI17oEnO2zRN/b+H5Aid3lE6U6y3ekQ4XEJ2tyBNV6I8LWu1aEAvDroWGlZvJprzVHjKdZSQ== X-Received: by 10.31.115.205 with SMTP id o196mr23481389vkc.139.1483509999799; Tue, 03 Jan 2017 22:06:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.7.199 with HTTP; Tue, 3 Jan 2017 22:06:39 -0800 (PST) From: Michael Goydich Date: Wed, 04 Jan 2017 06:08:00 -0000 Message-ID: Subject: Cygwin error: 1 [main] bash 5856 e:\cygwin64\bin\bash.exe: *** fatal error - add_item ("\??\e:\cygwin64", "/", ...) failed, errno 1 To: Cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2017-01/txt/msg00017.txt.bz2 RE: Cygwin error: 1 [main] bash 5856 e:\cygwin64\bin\bash.exe: *** fatal error - add_item ("\??\e:\cygwin64", "/", ...) failed, errno 1 I am looking for help on the following issue where I get an error message from the cygwin1.dll or from the bash.exe program. I am hoping that the cygwin1.dll or the bash.exe have been, or can be, fixed to alleviate this issue: Invocations of various Shell Scripts, which are all trying to run the Cygwin "bash.exe" program, at the same time frame produce the following error for each of the invocations: ----------------------- Cygwin error: 1 [main] bash 5856 e:\cygwin64\bin\bash.exe: *** fatal error - add_item ("\??\e:\cygwin64", "/", ...) failed, errno 1 ----------------------- Tivoli Workload Scheduler return code or exit status: =3D Exit Status : 256 ----------------------- Do you know if anyone has been able to understand, and perhaps fix, the error I have mentioned above. It appears to be related to invoking more than 2 Cygwin "bash.exe" program instances at nearly the same second (time). We have continuous issues with this and it can cut 1 to 20 Tickets a week for us with the multitude of file transfers we are doing on a daily basis. I don't want to do any type of work-around to account for this situation -- like calling my own "bash.exe" that throttles the invocations of Cygwin's "bash.exe" program so that only one will be run at a time =E2=80=93 in other words, create a method to give each invocation of Cygwin's "bash.exe" program separate from the other invocations and therefore stagger them so that they do not try to run at the exact same time (second). See below to see an example of the Jobs that all failed near the same time due to the supposed "bash.exe" concurrency issue. http://stackoverflow.com/questions/28861237/bash-is-crashing-on-cygwin-add-= item-c-cygwin https://www.cygwin.com/ml/cygwin/2015-03/msg00139.html https://www.bountysource.com/issues/27508535-several-different-operations-t= ake-too-long-sometimes-end-up-crashing http://superuser.com/questions/194529/cygwin-fatal-error-unable-to-remap-wh= at-does-it-mean --Michael --------------------------------- APPENDIX A: Invocations of various Shell Scripts which are all trying to run the Cygwin "bash.exe" program at the same second (time) produce the following error for each of the invocations: $ egrep "=3D Exit Status" * | egrep -v "Exit Status : 0" | cut -f1 -d':' | xargs cat =3D=3D=3D=3D =3D JOB : X =3D USER : X =3D JCLFILE : e:\cygwin64\bin\bash.exe -l -c "/cygdrive/e/interface/ecrm/bin/send_to_ecrm.sh -n" =3D Job Number: 797669 =3D Fri 03/04/16 19:31:24 Mountain Standard Time =3D=3D=3D=3D Tivoli Workload Scheduler (Windows)/JOBLNCH 9.2.0.01 (20141211) X Locale LANG set to the following: "en" TWS for Windows NT/JOBMANRC.CMD 9.2 1 [main] bash 5856 e:\cygwin64\bin\bash.exe: *** fatal error - add_item ("\??\e:\cygwin64", "/", ...) failed, errno 1 Stack trace: Frame Function Args 0000022AACE 00180071FDE (00180260B02, 00180211E99, 00600010000, 00000228A3= 0) 0000022AACE 00180046E82 (00000229A98, 0000022AACE, 1D176871D152D74, 00000000000) 0000022AACE 00180046EC2 (00000229AB0, 00000000001, 00600010000, 635C3A655C3F3F5C) 0000022AACE 001800DC0D4 (00000000000, 0000022CE00, 001800CE498, 1D1768726085D8D) 0000022CB00 00180125245 (00000000000, 00000000000, 00000000000, 0000000000= 0) 0000022CBC0 00180047495 (00000000000, 0000009F000, 7FEFD71D000, 0000022D24= 0) 00000000000 001800460DC (00000000000, 00000000000, 00000000000, 7FEFD68000= 0) 00000000000 00180046174 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00100472DD1 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00100401010 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00076E759ED (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00076FAB831 (00000000000, 00000000000, 00000000000, 0000000000= 0) End of stack trace =3D=3D=3D=3D =3D Exit Status : 256 =3D System Time (Seconds) : 0 Elapsed Time (Minutes) : 0 =3D User Time (Seconds) : 0 =3D Fri 03/04/16 19:31:40 Mountain Standard Time =3D=3D=3D=3D =3D=3D=3D=3D =3D JOB : X =3D USER : X =3D JCLFILE : e:\cygwin64\bin\bash.exe -l -c "/cygdrive/e/interface/iriworldwide/bin/send_to_iriworldwide.sh -n" =3D Job Number: 797670 =3D Fri 03/04/16 19:31:24 Mountain Standard Time =3D=3D=3D=3D Tivoli Workload Scheduler (Windows)/JOBLNCH 9.2.0.01 (20141211) X Locale LANG set to the following: "en" TWS for Windows NT/JOBMANRC.CMD 9.2 1 [main] bash 4676 e:\cygwin64\bin\bash.exe: *** fatal error - add_item ("\??\e:\cygwin64", "/", ...) failed, errno 1 Stack trace: Frame Function Args 0000022AACE 00180071FDE (00180260B02, 00180211E99, 00600010000, 00000228A3= 0) 0000022AACE 00180046E82 (00000229A98, 0000022AACE, 1D176871D1EB6D8, 00000000000) 0000022AACE 00180046EC2 (00000229AB0, 00000000001, 00600010000, 635C3A655C3F3F5C) 0000022AACE 001800DC0D4 (00000000000, 0000022CE00, 001800CE498, 1D176872611E6F1) 0000022CB00 00180125245 (00000000000, 00000000000, 00000000000, 0000000000= 0) 0000022CBC0 00180047495 (00000000000, 0000009F000, 7FEFD71D000, 0000022D24= 0) 00000000000 001800460DC (00000000000, 00000000000, 00000000000, 7FEFD68000= 0) 00000000000 00180046174 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00100472DD1 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00100401010 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00076E759ED (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00076FAB831 (00000000000, 00000000000, 00000000000, 0000000000= 0) End of stack trace =3D=3D=3D=3D =3D Exit Status : 256 =3D System Time (Seconds) : 0 Elapsed Time (Minutes) : 0 =3D User Time (Seconds) : 0 =3D Fri 03/04/16 19:31:40 Mountain Standard Time =3D=3D=3D=3D =3D=3D=3D=3D =3D JOB : X =3D USER : X =3D JCLFILE : e:\cygwin64\bin\bash.exe -l -c "/cygdrive/e/interface/kroger_go/bin/send_to_go.sh -n" =3D Job Number: 797671 =3D Fri 03/04/16 19:31:25 Mountain Standard Time =3D=3D=3D=3D Tivoli Workload Scheduler (Windows)/JOBLNCH 9.2.0.01 (20141211) X Locale LANG set to the following: "en" TWS for Windows NT/JOBMANRC.CMD 9.2 1 [main] bash 2380 e:\cygwin64\bin\bash.exe: *** fatal error - add_item ("\??\e:\cygwin64", "/", ...) failed, errno 1 Stack trace: Frame Function Args 0000022AACE 00180071FDE (00180260B02, 00180211E99, 00600010000, 00000228A3= 0) 0000022AACE 00180046E82 (00000229A98, 0000022AACE, 1D176871D28403C, 00000000000) 0000022AACE 00180046EC2 (00000229AB0, 00000000001, 00600010000, 635C3A655C3F3F5C) 0000022AACE 001800DC0D4 (00000000000, 0000022CE00, 001800CE498, 1D17687261B7055) 0000022CB00 00180125245 (00000000000, 00000000000, 00000000000, 0000000000= 0) 0000022CBC0 00180047495 (00000000000, 0000009F000, 7FEFD71D000, 0000022D24= 0) 00000000000 001800460DC (00000000000, 00000000000, 00000000000, 7FEFD68000= 0) 00000000000 00180046174 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00100472DD1 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00100401010 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00076E759ED (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00076FAB831 (00000000000, 00000000000, 00000000000, 0000000000= 0) End of stack trace =3D=3D=3D=3D =3D Exit Status : 256 =3D System Time (Seconds) : 0 Elapsed Time (Minutes) : 0 =3D User Time (Seconds) : 0 =3D Fri 03/04/16 19:31:40 Mountain Standard Time =3D=3D=3D=3D =3D=3D=3D=3D =3D JOB : X =3D USER : X =3D JCLFILE : e:\cygwin64\bin\bash.exe -l -c "/cygdrive/e/interface/kroger_louisville_studio/bin/send_to_louisville_stud= io.sh -n" =3D Job Number: 797672 =3D Fri 03/04/16 19:31:25 Mountain Standard Time =3D=3D=3D=3D Tivoli Workload Scheduler (Windows)/JOBLNCH 9.2.0.01 (20141211) X Locale LANG set to the following: "en" TWS for Windows NT/JOBMANRC.CMD 9.2 1 [main] bash 2016 e:\cygwin64\bin\bash.exe: *** fatal error - add_item ("\??\e:\cygwin64", "/", ...) failed, errno 1 Stack trace: Frame Function Args 0000022AACE 00180071FDE (00180260B02, 00180211E99, 00600010000, 00000228A3= 0) 0000022AACE 00180046E82 (00000229A98, 0000022AACE, 1D176871D2AA295, 00000000000) 0000022AACE 00180046EC2 (00000229AB0, 00000000001, 00600010000, 635C3A655C3F3F5C) 0000022AACE 001800DC0D4 (00000000000, 0000022CE00, 001800CE498, 1D17687261DD2AE) 0000022CB00 00180125245 (00000000000, 00000000000, 00000000000, 0000000000= 0) 0000022CBC0 00180047495 (00000000000, 0000009F000, 7FEFD71D000, 0000022D24= 0) 00000000000 001800460DC (00000000000, 00000000000, 00000000000, 7FEFD68000= 0) 00000000000 00180046174 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00100472DD1 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00100401010 (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00076E759ED (00000000000, 00000000000, 00000000000, 0000000000= 0) 00000000000 00076FAB831 (00000000000, 00000000000, 00000000000, 0000000000= 0) End of stack trace =3D=3D=3D=3D =3D Exit Status : 256 =3D System Time (Seconds) : 0 Elapsed Time (Minutes) : 0 =3D User Time (Seconds) : 0 =3D Fri 03/04/16 19:31:40 Mountain Standard Time =3D=3D=3D=3D --------------------------------- APPENDIX B: Invocations of various Shell Scripts which are all trying to run the Cygwin "bash.exe" program at the same second (time) produce the following error for each of the invocations: Eric Blake (Red Hat) wrote: > > Cygwin error: > 1 [main] bash 5856 e:\cygwin64\bin\bash.exe: *** fatal error - add_item= ("\??\e:\cygwin64", "/", ...) failed, errno 1 I'm not familiar with that particular error message, but it is MUCH more likely to be a generic problem in cygwin1.dll, and not in the code specifically in bash.exe. What's more, if you are able to hit it in bash.exe, it may be that someone else is hitting the same issue, but perhaps with other binaries linked against cygwin1.dll, so reporting it upstream and getting it fixed in cygwin1.dll will help EVERYONE suffering from the problem. ... ... It might also be that your systems are suffering from some sort of https://cygwin.com/acronyms/#BLODA, where third-party code is interfering with the attempts to start two simultaneous cygwin applications. > > https://www.cygwin.com/ml/cygwin/2015-03/msg00139.html That email is probably the most telling; Corinna is more familiar with how to go about debugging the problem you are seeing than I am (...). I don't know if she had enough details to solve it in the meantime (where updating to newer cygwin will solve your issue), or if the fact that you are still hitting it means that she will ask you to help debug a potential fix in a new cygwin1.dll, but that's what posting to the list will find out. --------------------------------- Sincerely, Michael J. Goydich Kroger Co., Kroger Technology Michael.Goydich@kroger.com Office 513-387-7062 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple