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] |
please find attached a tar file containing a sample program and the output of that sample program using strace. The following is a sample run of that program: ------------------------------------------------------------ [@TERMSERV]/cygdrive/c/apps/apwin1/src/forktest> -> ipcs ---------- Shared Memory Segments -------- shmid key bytes nattch status ---------- Semaphore Arrays -------- semid nsems key ---------- Message Queues -------- msqid used-bytes messages [@TERMSERV]/cygdrive/c/apps/apwin1/src/forktest> -> gcc -oforktest forktest.c -lcygipc [@TERMSERV]/cygdrive/c/apps/apwin1/src/forktest> -> ./forktest in pid = 2992 [@TERMSERV]/cygdrive/c/apps/apwin1/src/forktest> -> b4 memset3 after memset3 entering NetWorkSocketPort=10210, Socket=5, sinport=57895exiting NetWorkSocketin pid = 2460 2065 [main] forktest 3508 fixup_mmaps_after_fork: base address fails to match requested address 0x650000 c:\apps\apwin1\src\forktest\forktest.exe: *** recreate_mmaps_after_fork_failed [@TERMSERV]/cygdrive/c/apps/apwin1/src/forktest> -> ipcs ---------- Shared Memory Segments -------- shmid key bytes nattch status _shm 11392 502 1048576 0 ---------- Semaphore Arrays -------- semid nsems key ---------- Message Queues -------- msqid used-bytes messages [@TERMSERV]/cygdrive/c/apps/apwin1/src/forktest> -> ipcrm shm 11392 [@TERMSERV]/cygdrive/c/apps/apwin1/src/forktest> -> strace -f ./forktest 2>&1 >forktest.strace 2>&1 c:\apps\apwin1\src\forktest\forktest.exe: *** recreate_mmaps_after_fork_failed [@TERMSERV]/cygdrive/c/apps/apwin1/src/forktest> -> gtar -cf forktest.tar forktest.c forktest.strace bash: gtar: command not found [@TERMSERV]/cygdrive/c/apps/apwin1/src/forktest> -> tar -cf forktest.tar forktest.c forktest.strace [@TERMSERV]/cygdrive/c/apps/apwin1/src/forktest> -> [@TERMSERV]/usr/local/lib> -> ls -l libcygipc.a -rw-r--r-- 1 apwin1 Administ 26912 May 23 13:04 libcygipc.a [@TERMSERV]/usr/local/lib> -> cd ../../lib [@TERMSERV]/usr/lib> -> ls -l libcygwin.a -rw-r--r-- 1 apwin1 Administ 792112 Feb 25 10:16 libcygwin.a [@TERMSERV]/usr/lib> -> [@TERMSERV]/cygdrive/c/apps/cygwin/bin> -> uname -a CYGWIN_NT-5.0 TERMSERV 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown [@TERMSERV]/cygdrive/c/apps/cygwin/bin> -> ------------------------------------------------------------ note: the program does an accept(), so you must telnet to port 10210 to allow the program to continue. note: i had to gzip the strace file to get it small enough to email. any help is appreciated. thank you for providing a great piece of software. -- Michael Potter pottmi@lidp.com
Attachment:
forktest.tar
Description: Unix tar archive
-- 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] |