Re: Cygwin 2.6.0 Fork issue
Hi , Thanks again for reply.Please find my response.: You're saying that on this same computer, running Win 2012, this sample code ran properly under a previous version of Cygwin? Which version was that? Answer: We were using pretty old version 1.7.0-58 Which source have you downloaded? Whose source? Answer: I have downloaded Cygwin 2.26 source I have doubt ,.Is there any compilation variable or cygwin varaible set for autoloading all dll's Not sure why you're asking this. Answer: As all the other dll's (windows native and actian pervasive) are not getting loaded automatically with old version of cygwin(1.7.0-58) so I asked if there any variable which say to autoload the dll's. I know old version is very old to compare the things but I am doing that as I used that as my cygwin version till now. Your sample program is getting exceptions (i.e., is faulting) even before it fork()s the child process. The child is faulting the same way. This looks pretty much like your sample program was built with incorrect assumptions. Answer: Yes I am trying to find why such exceptions has come. are You can try posting the compilation (and linking) command(s) that you used to build your btrsamp.exe program. Maybe there's something obvious there that somebody here can see. We can't help you debug your program though, and you can't mix Windows-native DLLs that use Microsoft C runtime with Cygwin code. Answer: Please find below compilation and linking code linking varaible export CC=gcc export LEX=flex export CYGWIN=server export PLATFORM=NT4 export OS_FLAGS="-Wall -DNT4 -DNW_SUPPORT -DNORELISAM -D_KERNEL -DCYG15" export OS_CIOS= export OS_LIBS="-L/usr/lib -lkernel32 -lcygwin -lmingw32 -L/usr/lib -lkernel32 -L/usr/bin -lgcc -L/usr/local/lib -lcompat -lbtr" export OS_DMS= # OS specific DMS's to be built export LCFLAGS="$OS_FLAGS" # Lex CFLAGS export YCFLAGS="$OS_FLAGS" # Yacc CFLAGS makefile: CC = gcc LDFLAGS = CFLAGS = -I../../intf/c CFLAGS += -DBTI_WIN - this is for pervasive LDFLAGS += -L$(PVSW_ROOT)/lib SYSLIBS=-lcurses $(OS_LIBS) #EXECS = btrsamp #OBJS = btrsamp.o default: @echo @echo PSQL @echo Btrieve samples @echo @echo Type \"make all\" to make all executables. @echo Type \"make clean\" to remove object files. @echo Type \"make cleanall\" to remove all non-source files. @echo # all: $(EXECS) all: allbins allbins: @echo "Compiling sample..." @$(CC) $(INCLPATH) btrapi.c -o btrapi btrsamp.c -o btrsamp $(CFLAGS) $(LDFLAGS) $(SYSLIBS) btrsamp: Sample code: I have put only fork call code--- iStat = fork(); printf("\nCreating Clients using fork method iStat is %d...\n",iStat); if ((iStat) == 0 ) { printf("\n I am in child \n"); rd_proc_wr_request(); printf("\n I am in child exit \n"); --- Program never reaches here exit(0); } /*when the process client finishes Kill the child */ else { /*We are the parent so free the memory*/ sleep(15); printf("start of Main Process \n"); errWaitPid = waitpid( iStat, , WNOHANG | WUNTRACED | WCONTINUED ); printf( "errWaitPid = %d, errno = %d, comment = %s\n", errWaitPid, errno, strerror( errno ) ); printf ("Parent reads <%s>\n",shm) ; printf("Exiting Main Process\n"); exit(0); } This child process static void* rd_proc_wr_request() { printf("This is child process...\n"); printf("Btrieve before B_OPEN status with BTRV (sample.btr) = %d\n", status); status = BTRV( B_OPEN, posBlock1, dataBuf, , keyBuf1, keyNum); printf("Btrieve B_OPEN status (sample.btr) = %d\n", status); Program never reaches here I hope I have put relevant information. Sorry if some extra infos are provided. On Thu, Jan 5, 2017 at 9:33 AM, Rashi Singhal <singhal.ra...@gmail.com> wrote: > Hi , > > > Thanks for information provided. > > I tried putting cygwin/ bin path in first place in environment > variables. But result remain same. > > Yes all other DLL's getting loaded are either pervasive dll or windows > native dll. > > I have doubt ,.Is there any compilation variable or cygwin varaible > set for autoloading all dll's > > As in same windows 2012 system this extra DLL's are not getting loaded > with previous versions of cywin and Fork is working there. > > I have downloaded the source also, I check some varibel there if you can help. > > Looks like program just hangs child process after open call and never > comes back. > > Please suggest what I can che
Re: Cygwin 2.6.0 Fork issue
Hi , Thanks for information provided. I tried putting cygwin/ bin path in first place in environment variables. But result remain same. Yes all other DLL's getting loaded are either pervasive dll or windows native dll. I have doubt ,.Is there any compilation variable or cygwin varaible set for autoloading all dll's As in same windows 2012 system this extra DLL's are not getting loaded with previous versions of cywin and Fork is working there. I have downloaded the source also, I check some varibel there if you can help. Looks like program just hangs child process after open call and never comes back. Please suggest what I can check . On Tue, Jan 3, 2017 at 2:23 PM, Rashi Singhal <singhal.ra...@gmail.com> wrote: > Hi, > > I am using cygwin 2.6.0 (32 bit) version with Actian Pervasive version 12. > > We have a program which will call fork() and in child process Btrieve > file is getting opened. > > While using latest version of cygwin, file open call is not working , > Its not opening file nor displaying any error. > > Could you please help me on this . > > I checked all installation also . Still problem exist > > Regards, > Rashi -- 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
Re: Cygwin 1.7.0.58 with Windows 2012
Thanks for reply. I did not got list of supported version in cygwin.com website. On Tue, Jan 3, 2017 at 9:29 PM, Andrey Repin <anrdae...@yandex.ru> wrote: > Greetings, Rashi Singhal! > >> Will Cygwin version 1.7.0.58 will be supported in Windows 2012? > > 1.7 is not supported. At all. > >> Or where i can get information regarding Cygwin version as Windows OS support > > Right on the cygwin.com website. > Short version is that all currently supported Windows versions are supported. > > > -- > With best regards, > Andrey Repin > Tuesday, January 3, 2017 18:58:02 > > Sorry for my terrible english... > -- 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
Cygwin 2.6.0 Fork issue
Hi, I am using cygwin 2.6.0 (32 bit) version with Actian Pervasive version 12. We have a program which will call fork() and in child process Btrieve file is getting opened. While using latest version of cygwin, file open call is not working , Its not opening file nor displaying any error. Could you please help me on this . I checked all installation also . Still problem exist Regards, Rashi -- 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
Cygwin 1.7.0.58 with Windows 2012
Hi , Will Cygwin version 1.7.0.58 will be supported in Windows 2012? Or where i can get information regarding Cygwin version as Windows OS support -- 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
Re: Cygwin 2.6.0 Fork issue
Hello, I have a sample program for the same , But I am not sure how I can upload it , as to compile that program btrieve(pervasive) library and header files are also required. Can I attach source code here ? Problem is always getting recreated if I open Btrieve file in child process after fork() ---in main process fork is called- iStat = fork(); printf("\nCreating Clients using fork method iStat is %d...\n",iStat); if ((iStat) == 0 ) { printf("\n I am in child \n"); rd_proc_wr_request(); printf("\n I am in child exit \n"); exit(0); } /*when the process client finishes Kill the child */ else { /*We are the parent so free the memory*/ sleep(15); printf("start of Main Process \n"); //wait(NULL); errWaitPid = waitpid( iStat, , WNOHANG | WUNTRACED | WCONTINUED ); printf( "errWaitPid = %d, errno = %d, comment = %s\n", errWaitPid, errno, strerror( errno ) ); printf ("Parent reads <%s>\n",shm) ; printf("Exiting Main Process\n"); exit(0); } this is child process code--- static void* rd_proc_wr_request() { /* Btrieve function parameters */ BTI_BYTE posBlock1[128]; BTI_BYTE posBlock2[128]; BTI_BYTE dataBuf[255]; BTI_WORD dataLen; BTI_BYTE keyBuf1[255]; BTI_BYTE keyBuf2[255]; BTI_WORD keyNum = 0; BTI_BYTE btrieveLoaded = FALSE; BTI_LONG personID; BTI_BYTE file1Open = FALSE; BTI_BYTE file2Open = FALSE; BTI_SINT status; BTI_SINT getStatus = -1; BTI_SINT i; BTI_SINT posCtr; CLIENT_ID clientID; VERSION_STRUCT versionBuffer[3]; FILE_CREATE_BUF fileCreateBuf; GNE_BUFFER_PTR gneBuffer; PERSON_STRUCT personRecord; printf("This is child process...\n"); printf("Btrieve before B_OPEN status with BTRV (sample.btr) = %d\n", status); memset(dataBuf, 0, sizeof(dataBuf)); memset(keyBuf1, 0, sizeof(keyBuf1)); memset(keyBuf2, 0, sizeof(keyBuf2)); strcpy((BTI_CHAR *)keyBuf1, FILE1_NAME); strcpy((BTI_CHAR *)keyBuf2, FILE2_NAME); status = BTRV( B_OPEN, posBlock1, dataBuf, , keyBuf1, keyNum); printf("Btrieve B_OPEN status (sample.btr) = %d\n", status); ---end- Please find cygcheck.out Cygwin Configuration Diagnostics Current System Time: Thu Dec 08 14:20:46 2016 Windows 2012 Server Standard Ver 6.2 Build 9200 Running under WOW64 on AMD64 Running in Terminal Service session Path: C:\Program Files (x86)\Actian\PSQL\bin\ C:\Program Files\Actian\PSQL\bin\ C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0\ C:\Program Files\ibm\gsk8\lib64 C:\Program Files (x86)\ibm\gsk8\lib C:\Program Files\Java\jre7\bin C:\PROGRA~1\IBM\SQLLIB\BIN C:\PROGRA~1\IBM\SQLLIB\FUNCTION C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL C:\Program Files\Java\jdk1.7.0_71\bin C:\jdk1.7.0_71\bin l:\misys\bin Output from L:\misys\bin\id.exe UID: 1074127(rashi) GID: 1049089(Domain Users) 1049089(Domain Users) 545(Users) 14(REMOTE INTERACTIVE LOGON) 4(INTERACTIVE) 11(Authenticated Users) 15(This Organization) 4095(CurrentSession) 66048(LOCAL) 1073640(clearuser) 1172632(BLRCUSIFM Distribution Group) 1075982(scmbmdev) 1188451(RFS-DAT-RO-DocShare) 1212325(Token Authentication) 1188519(RFS-DAT-RO-SophisBuildDevArchive) 1076018(scmbmrlse) 1180352(BLR- DFS BMPLUS Transition Modify Access) 1172617(LANTSTNT-READ-WRITE-ACCESS) 1174051(LANTSTNT-READ-ACCESS) 1131517(Global Remote Access) 1075146(BLR - All Emp Reject) 1150696(BLR-DFS BMPlusDev RW) 1142083(All Emp - Bangalore) 1151970(SMB-Summit-Enhancements-ACL-RO) 1152002(PFM-TI-Resource-Calendar-ACL-RO) 1195039(HU1VSWFS01 Labs Read Only Access) 1151982(PFM-Opics-Enhancements-ACL-RO) 1136031(BLR-BMLAN L3 DEVELOPMENT QUEUE) 1165883(BLR-Bankmaster) 1160576(SMB-Opics-Enhancements-WHP-ACL-RO) 1151956(PFM-PC-Requests-ACL-RO) 1187844(TrustedSendersAndDomains) 1151972(PFM-Summit-Project-Folders-ACL-RO) 1084824(NYCOR-WWSTAFF) 1151980(PFM-SMB-Everyone) 1195050(HU1VSWFS01 Install Read Only Access) 1180378(PFM-Customer-Support-ACL-RO) 1177268(PFM-Business-Center-Support-ACL-RW) 1190917(Kulu-AllMisys-ViewerOnly) 1180374(PFM-Summit-Clients-BDB-ACL-RO) 1160651(PFM-GCC-Sydney-ACL-RO) 1122116(NY1180-Shared Modify Access) 1191425(websense-Bangalore) 1149450(BLR-DFS BMLAN RW) 1118763(AllCorestaff) 1182716(BLR-PRINTUSERS) 1118741(AllStaff) 1090058(BLR-BM LAN) 1180372(PFM-Training-Summit-Clients-ACL-RO) 1089790(Core Bangalore) 1122267(Misys Queens - Blr) 1195102(HU1VSWFS01 PD-PREF Integration Read Only Access) 1143055(ALM Tools User-All) 1180380(PFM-AP-Summit-CS-ACL-RO) 1063073(NYCOR-WWSTAFF) 70145(Authentication authority asserted identity) 401408(Medium Mandatory Level) SysDir: C:\Windows\system32 WinDir: C:\Windows PWD = '/cygdrive/l/bmpcunix/etc' CYGWIN = 'server' HOME = '/home/rashi' USERDOMAIN_ROAMINGPROFILE = 'MISYSROOT' HOMEPATH = '\' DB2INSTANCE = 'DB2' APPDATA = 'C:\Users\rashi\AppData\Roaming' ProgramW6432 = 'C:\Program
Cygwin 2.6.0 Fork issue
Hi, I am using cygwin 2.6.0 (32 bit) version with Actian Pervasive version 12. We have a program which will call fork() and in child process Btrieve file is getting opened. While using latest version of cygwin, file open call is not working , Its not opening file nor displaying any error. Could you please help me on this . Regards, Rashi -- 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
Re: Cygwin 1.7-58 with windows 2008
I downloaded Cygwin 1.7.0-58 source from path: http://ftp.eq.uc.pt/software/pc/prog/cygwin/release-2/cygwin/ Also downloaded all the packages of cygwin version 1.7.0.58 ftp://www.fruitbat.org/pub/cygwin/circa-2/index.html; And followed instructions to compile from below document: https://cygwin.com/faq/faq.html#faq.programming.building-cygwin I installed required packages and tried to compile cygwin version 1.7.0-58 . Now my compilation went down but again stopped at some point.Its halting in awk command after warning config.status: WARNING: '/oss/src/winsup/Makefile.in' seems to ignore the --datarootdir setting awk: ./confXqR7rV/subs.awk:1: BEGIN {\r awk: ./confXqR7rV/subs.awk:1:^ backslash not last character on line config.status: error: could not create Makefile I have set SHELLOPTS= igncr ,still its give error . Even I tried command dos2unix on configure files and awk. Please give some clue what is going wrong here. On Thu, Mar 24, 2016 at 9:50 AM, Rashi Singhal <singhal.ra...@gmail.com> wrote: > I downloaded Cygwin 1.7.0-58 source from path: > http://ftp.eq.uc.pt/software/pc/prog/cygwin/release-2/cygwin/ > > Also downloaded all the packages of cygwin version 1.7.0.58 > > ftp://www.fruitbat.org/pub/cygwin/circa-2/index.html; > > > And followed instructions to compile from below document: > > https://cygwin.com/faq/faq.html#faq.programming.building-cygwin > > I have downloaded gcc-ada still getting error on this package while > compiling ( it hangs on this while configuring "ada" module) > > Please help me further on this. > > Is there any other procedure for building an older release of cygwin. config.log Description: Binary data make.out Description: Binary data -- 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
Re: Cygwin 1.7-58 with windows 2008
Hi, I am not getting what is wrong in my mail. I replayed in the last conversation of the message. On Mon, Mar 28, 2016 at 4:12 PM, Andrey Repin <anrdae...@yandex.ru> wrote: > Greetings, Rashi Singhal! > >> Thanks a lot for help. >> Now my compilation went down but again stopped at some point.Its >> halting in awk command after warning > >> config.status: WARNING: '/oss/src/winsup/Makefile.in' seems to ignore >> the --datarootdir setting > >> awk: ./confXqR7rV/subs.awk:1: BEGIN {\r >> awk: ./confXqR7rV/subs.awk:1:^ backslash not last character on line >> config.status: error: could not create Makefile > >> I have set SHELLOPTS= igncr ,still its give error . > >> Even I tried command dos2unix on configure files and awk. > >> Please give some clue what is going wrong here. > > d2u > Also, please don't top-post. > > > -- > With best regards, > Andrey Repin > Monday, March 28, 2016 13:42:10 > > Sorry for my terrible english... > -- 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
Re: Cygwin 1.7-58 with windows 2008
Hi, Thanks a lot for help. Now my compilation went down but again stopped at some point.Its halting in awk command after warning config.status: WARNING: '/oss/src/winsup/Makefile.in' seems to ignore the --datarootdir setting awk: ./confXqR7rV/subs.awk:1: BEGIN {\r awk: ./confXqR7rV/subs.awk:1:^ backslash not last character on line config.status: error: could not create Makefile I have set SHELLOPTS= igncr ,still its give error . Even I tried command dos2unix on configure files and awk. Please give some clue what is going wrong here. On Thu, Mar 24, 2016 at 9:50 AM, Rashi Singhal <singhal.ra...@gmail.com> wrote: > I downloaded Cygwin 1.7.0-58 source from path: > http://ftp.eq.uc.pt/software/pc/prog/cygwin/release-2/cygwin/ > > Also downloaded all the packages of cygwin version 1.7.0.58 > > ftp://www.fruitbat.org/pub/cygwin/circa-2/index.html; > > > And followed instructions to compile from below document: > > https://cygwin.com/faq/faq.html#faq.programming.building-cygwin > > I have downloaded gcc-ada still getting error on this package while > compiling ( it hangs on this while configuring "ada" module) > > Please help me further on this. > > Is there any other procedure for building an older release of cygwin. make.out Description: Binary data config.log Description: Binary data -- 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
Fwd: Cygwin 1.7-58 with windows 2008
I downloaded Cygwin 1.7.0-58 source from path: http://ftp.eq.uc.pt/software/pc/prog/cygwin/release-2/cygwin/ Also downloaded all the packages of cygwin version 1.7.0.58 ftp://www.fruitbat.org/pub/cygwin/circa-2/index.html; And followed instructions to compile from below document: https://cygwin.com/faq/faq.html#faq.programming.building-cygwin I have downloaded gcc-ada still getting error on this package while compiling ( it hangs on this while configuring "ada" module) Please help me further on this. Is there any other procedure for building an older release of cygwin. config.log Description: Binary data -- 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
Cygwin 2.24 with Windows 2000
Hi , I am trying to bring up cygwin version 2.24 in windows 2000 system Its giving error as: "Attach console could not found in kernal32.dll" Is this version not supported with Win2k ? Please help -- 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
Re: Cygwin 1.7-58 with windows 2008
Hi, I really need help/clue on this: We have our system qualified with cygwin 1.7.0.58 and we are facing some issue in msgsnd/msgrcv functions. We have got the fix of this problem but the code change is in sysv_msg.cc ( under cygserver) by calling msleep We tried to download source from the path provided but getting compilation error as we have compiled it using latest cygwin package. Now our problem is ..we do not have any option left as latest cygwin is giving us some other problem like (semaphore not getting created ) Please help us is any of the below things are possible: 1, Can we compile only cygserver.exe with changes ? 2. Can we get complete package and source through which we can build cygwin 1.7.0.58? I know my problem sounds very odd..But please help. We are really stuck in this. On Fri, Mar 11, 2016 at 8:10 AM, Rashi Singhal <singhal.ra...@gmail.com> wrote: > Hello. > > Please help me in resolving below compilation error: > I am compiling Cygwin 1.7.0.58 > > > > make[5]: Leaving directory > `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/w32api/lib/directx' > make[4]: Leaving directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/w32api/lib' > make[3]: Leaving directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/w32api' > make[3]: Entering directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/cygwin' > g++ -L/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/winsup > -L/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/winsup/cygwin > -L/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/winsup/w32api/lib > -isystem /cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/include -isystem > /cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/cygwin/include -isystem > /cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/w32api/include > -B/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/newlib/ -isystem > /cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/newlib/targ-include > -isystem /cygdrive/c/cygwin/cygwin-1.7.0-58/newlib/libc/include-c > -DHAVE_CONFIG_H -g -O2 -MMD -Werror -fmerge-constants -ftracer > -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin > -fmessage-length=0 -I. > -I/cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/cygwin > -I/cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/w32api/include > -I../../.././winsup/cygwin/config/i386 > -I/usr/lib/gcc/i686-pc-cygwin/3.4.4/include -fno-rtti -fno-exceptions > -o ./_cygwin_crt0_common.o > ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc > > make[3]: *** [_cygwin_crt0_common.o] Error 127 > make[3]: Leaving directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/cygwin' > make[2]: *** [cygwin] Error 1 > make[2]: Leaving directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup' > make[1]: *** [all-target-winsup] Error 2 > make[1]: Leaving directory `/cygwin-1.7.0-58' > make: *** [all] Error 2 > > Please give some clue what could be missing > > > > On Wed, Mar 9, 2016 at 4:40 PM, Rashi Singhal <singhal.ra...@gmail.com> wrote: >> Hi, >> >> Thanks for sharing path. >> >> We have downloaded source and compiled. >> >> We are getting compilation error on cygwin stating /bin/sh: >> ../../.././winsup/cygwin/mkglobals_h: /usr/bin/perl: bad interpreter: >> Permission denied >> >> There is no perl of this path and even not there is any other path too. >> >> Should we download it as separate? >> >> Also attached makelog output with compilation error >> >> Please help... >> >> >> On Wed, Mar 9, 2016 at 1:30 PM, Rashi Singhal <singhal.ra...@gmail.com> >> wrote: >>> Hi , >>> >>> We need to download Cygwin version 1.7.0-58 (with source) >>> >>> Please help us from we can download old versions >>> >>> >>> On Fri, Mar 4, 2016 at 10:10 PM, Rashi Singhal <singhal.ra...@gmail.com> >>> wrote: >>>> Hi, >>>> >>>> Further to this we could now see that "NO MORE PROCESS" error is >>>> displayed due to some of the process not get de-queued from memory >>>> >>>> Our application use fork process to create child and then pass SIGUSR1 >>>> for SIGCHLD to terminate child process. >>>> >>>> Sighandler is installed on the start of process.But this process is >>>> not getting invoked many a times due to which child process does not >>>> get killed. >>>> >>>> We are working on how to recreate this using simple test case . As >>>> this problem occurs mostly is heavy load and at random. >>>> >>>> We are also working to take latest cygwin and check on that . >>>> >>>> But we are getting error on SEMOPEN function as "semget , prot or tab
Re: Cygwin 1.7-58 with windows 2008
Hello. Please help me in resolving below compilation error: I am compiling Cygwin 1.7.0.58 make[5]: Leaving directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/w32api/lib/directx' make[4]: Leaving directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/w32api/lib' make[3]: Leaving directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/w32api' make[3]: Entering directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/cygwin' g++ -L/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/winsup -L/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/winsup/cygwin -L/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/winsup/w32api/lib -isystem /cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/include -isystem /cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/cygwin/include -isystem /cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/w32api/include -B/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/newlib/ -isystem /cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/newlib/targ-include -isystem /cygdrive/c/cygwin/cygwin-1.7.0-58/newlib/libc/include-c -DHAVE_CONFIG_H -g -O2 -MMD -Werror -fmerge-constants -ftracer -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -I. -I/cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/cygwin -I/cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/w32api/include -I../../.././winsup/cygwin/config/i386 -I/usr/lib/gcc/i686-pc-cygwin/3.4.4/include -fno-rtti -fno-exceptions -o ./_cygwin_crt0_common.o ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc make[3]: *** [_cygwin_crt0_common.o] Error 127 make[3]: Leaving directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/cygwin' make[2]: *** [cygwin] Error 1 make[2]: Leaving directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup' make[1]: *** [all-target-winsup] Error 2 make[1]: Leaving directory `/cygwin-1.7.0-58' make: *** [all] Error 2 Please give some clue what could be missing On Wed, Mar 9, 2016 at 4:40 PM, Rashi Singhal <singhal.ra...@gmail.com> wrote: > Hi, > > Thanks for sharing path. > > We have downloaded source and compiled. > > We are getting compilation error on cygwin stating /bin/sh: > ../../.././winsup/cygwin/mkglobals_h: /usr/bin/perl: bad interpreter: > Permission denied > > There is no perl of this path and even not there is any other path too. > > Should we download it as separate? > > Also attached makelog output with compilation error > > Please help... > > > On Wed, Mar 9, 2016 at 1:30 PM, Rashi Singhal <singhal.ra...@gmail.com> wrote: >> Hi , >> >> We need to download Cygwin version 1.7.0-58 (with source) >> >> Please help us from we can download old versions >> >> >> On Fri, Mar 4, 2016 at 10:10 PM, Rashi Singhal <singhal.ra...@gmail.com> >> wrote: >>> Hi, >>> >>> Further to this we could now see that "NO MORE PROCESS" error is >>> displayed due to some of the process not get de-queued from memory >>> >>> Our application use fork process to create child and then pass SIGUSR1 >>> for SIGCHLD to terminate child process. >>> >>> Sighandler is installed on the start of process.But this process is >>> not getting invoked many a times due to which child process does not >>> get killed. >>> >>> We are working on how to recreate this using simple test case . As >>> this problem occurs mostly is heavy load and at random. >>> >>> We are also working to take latest cygwin and check on that . >>> >>> But we are getting error on SEMOPEN function as "semget , prot or table >>> full" >>> >>> Please help us . >>> >>> >>> >>> On Tue, Feb 23, 2016 at 9:04 AM, Rashi Singhal <singhal.ra...@gmail.com> >>> wrote: >>>> Hi , >>>> >>>> We have call to "msgsnd" function that fails after processing 3 to 4 >>>> messages. >>>> >>>> We tried both Block and NO Block mechanism (IPC_NOWAIT) >>>> >>>> Also we changes configuration of cygserver.conf .This increases >>>> message processing to 8-10 messages.But fails after that. >>>> >>>> Attached is cygserver.conf file for reference: >>>> >>>> >>>> >>>> On Mon, Feb 22, 2016 at 3:20 PM, Rashi Singhal <singhal.ra...@gmail.com> >>>> wrote: >>>>> Hi , >>>>> >>>>> Last version working with out application is 1.7.32. We tried with >>>>> this version but problem remain same. >>>>> >>>>> With the latest version of cygwin (2.4.1 release) our program gives >>>>> compilation error for Yacc and LEX modules.( We are checking on this) >>>>> >>>>> Please can you suggest something on EAGAIN issue >>>>> >>>>> >>>>> On Wed, Feb 17, 2016 at 2:14 PM, Rashi Singhal <singhal.ra...@gmail.com> >>>>> wrote: >>>>>> We tried with latest version also . But problem remain same -- 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
Re: Cygwin 1.7-58 with windows 2008
Hi , We need to download Cygwin version 1.7.0-58 (with source) Please help us from we can download old versions On Fri, Mar 4, 2016 at 10:10 PM, Rashi Singhal <singhal.ra...@gmail.com> wrote: > Hi, > > Further to this we could now see that "NO MORE PROCESS" error is > displayed due to some of the process not get de-queued from memory > > Our application use fork process to create child and then pass SIGUSR1 > for SIGCHLD to terminate child process. > > Sighandler is installed on the start of process.But this process is > not getting invoked many a times due to which child process does not > get killed. > > We are working on how to recreate this using simple test case . As > this problem occurs mostly is heavy load and at random. > > We are also working to take latest cygwin and check on that . > > But we are getting error on SEMOPEN function as "semget , prot or table full" > > Please help us . > > > > On Tue, Feb 23, 2016 at 9:04 AM, Rashi Singhal <singhal.ra...@gmail.com> > wrote: >> Hi , >> >> We have call to "msgsnd" function that fails after processing 3 to 4 >> messages. >> >> We tried both Block and NO Block mechanism (IPC_NOWAIT) >> >> Also we changes configuration of cygserver.conf .This increases >> message processing to 8-10 messages.But fails after that. >> >> Attached is cygserver.conf file for reference: >> >> >> >> On Mon, Feb 22, 2016 at 3:20 PM, Rashi Singhal <singhal.ra...@gmail.com> >> wrote: >>> Hi , >>> >>> Last version working with out application is 1.7.32. We tried with >>> this version but problem remain same. >>> >>> With the latest version of cygwin (2.4.1 release) our program gives >>> compilation error for Yacc and LEX modules.( We are checking on this) >>> >>> Please can you suggest something on EAGAIN issue >>> >>> >>> On Wed, Feb 17, 2016 at 2:14 PM, Rashi Singhal <singhal.ra...@gmail.com> >>> wrote: >>>> We tried with latest version also . But problem remain same -- 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
Re: Cygwin 1.7-58 with windows 2008
Hi, Further to this we could now see that "NO MORE PROCESS" error is displayed due to some of the process not get de-queued from memory Our application use fork process to create child and then pass SIGUSR1 for SIGCHLD to terminate child process. Sighandler is installed on the start of process.But this process is not getting invoked many a times due to which child process does not get killed. We are working on how to recreate this using simple test case . As this problem occurs mostly is heavy load and at random. We are also working to take latest cygwin and check on that . But we are getting error on SEMOPEN function as "semget , prot or table full" Please help us . On Tue, Feb 23, 2016 at 9:04 AM, Rashi Singhal <singhal.ra...@gmail.com> wrote: > Hi , > > We have call to "msgsnd" function that fails after processing 3 to 4 messages. > > We tried both Block and NO Block mechanism (IPC_NOWAIT) > > Also we changes configuration of cygserver.conf .This increases > message processing to 8-10 messages.But fails after that. > > Attached is cygserver.conf file for reference: > > > > On Mon, Feb 22, 2016 at 3:20 PM, Rashi Singhal <singhal.ra...@gmail.com> > wrote: >> Hi , >> >> Last version working with out application is 1.7.32. We tried with >> this version but problem remain same. >> >> With the latest version of cygwin (2.4.1 release) our program gives >> compilation error for Yacc and LEX modules.( We are checking on this) >> >> Please can you suggest something on EAGAIN issue >> >> >> On Wed, Feb 17, 2016 at 2:14 PM, Rashi Singhal <singhal.ra...@gmail.com> >> wrote: >>> We tried with latest version also . But problem remain same -- 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
Re: Cygwin 1.7-58 with windows 2008
Hi , We have call to "msgsnd" function that fails after processing 3 to 4 messages. We tried both Block and NO Block mechanism (IPC_NOWAIT) Also we changes configuration of cygserver.conf .This increases message processing to 8-10 messages.But fails after that. Attached is cygserver.conf file for reference: On Mon, Feb 22, 2016 at 3:20 PM, Rashi Singhal <singhal.ra...@gmail.com> wrote: > Hi , > > Last version working with out application is 1.7.32. We tried with > this version but problem remain same. > > With the latest version of cygwin (2.4.1 release) our program gives > compilation error for Yacc and LEX modules.( We are checking on this) > > Please can you suggest something on EAGAIN issue > > > On Wed, Feb 17, 2016 at 2:14 PM, Rashi Singhal <singhal.ra...@gmail.com> > wrote: >> We tried with latest version also . But problem remain same cygserver.conf Description: Binary data -- 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
Re: Cygwin 1.7-58 with windows 2008
Hi , Last version working with out application is 1.7.32. We tried with this version but problem remain same. With the latest version of cygwin (2.4.1 release) our program gives compilation error for Yacc and LEX modules.( We are checking on this) Please can you suggest something on EAGAIN issue On Wed, Feb 17, 2016 at 2:14 PM, Rashi Singhal <singhal.ra...@gmail.com> wrote: > We tried with latest version also . But problem remain same cygcheck.out Description: Binary data -- 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
Cygwin 1.7-58 with windows 2008
We tried with latest version also . But problem remain same -- 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
Cygwin 1.7-58 with windows 2008
Hi , I have a application that is invoked multiple times. Each invocation accesses shared memory for a performing task. This all works with Cygwin1.3 Now We are using Cygwin 1.7-58 with windows 2008 after this The number of attached processes keeps on increments and due to which system resource gets full. None of the process get detached from shared memory With Cygwin 1.7-58 When I run through my application, it will give successful response for 3 messages out 5 messages and my client application hangs. My Error log file has recorded the following statements: CU-E-3404(3196):Unable to Send Communication Packet (CUP) on Queue. msgsnd-E-3011(3196):EAGAIN No more processes.. Our application uses IPC functionalities for sending and receiving messages from other application. I have made the following configuration for message queue, shared memory and semaphore MSGINFO: MSGMAX:4096 MSGMNI:50 MSGTQL:400 MSGMAP:402 MSGMNB:16384 SEMINFO: SEMMNI:200 SEMMNS:128 SEMMNU:150 SHMINFO: SHMMNI:100 SHMMAX:200 So please... can any one suggest where m going wrong and please give me the possible solutions for it. Your help is really appreciated. -- 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
Re: Latest Cygwin query.
Earlier we were using Cygwin - 1003.22.0.0 version. We use MF net express compiler to compile cobol programs. cobcall ,cobint and C functions to call cobol programs. We have native cobol programs, we compile them in net express cobol to make DLL.Also we have C program to call our cobol dll in bash shell. -- 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
Latest Cygwin query.
Please suggest some thing on below query.. We use C programs to link and call Cobol programs(using cobinit ,cobcall), After executing cobol applications on bash we are getting return code as zero always. Cobol program pass some return codes like (32 , 65 .. ). This problem only occurs after installing latest Cygwin. Till earlier version program return codes have correct value. In Cobol program we use STOP RUN RETURN CODE to populate the return codes. Regards, Rashi -- 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
Cobol return code problem after implementing latest CYgwin 1.7
We use C programs to link and call Cobol programs(using cobinit ,cobcall), After executing cobol applications on bash we are getting return code as zero always. Cobol program pass some return codes like (32 , 65 .. ). This problem only occurs after installing latest Cygwin. Till earlier version program return codes have correct value. In Cobol program we use STOP RUN RETURN CODE to populate the return codes. Regards, Rashi -- 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