Date: Thu, 17 Nov 2005 14:41:36 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: fork problem in latest snapshot on Win98 Message-ID: <20051117134135.GA9970@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <111720050418 DOT 20954 DOT 437C047D00006256000051DA22064244130A050E040D0C079D0A AT comcast DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <111720050418.20954.437C047D00006256000051DA22064244130A050E040D0C079D0A@comcast.net> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Nov 17 04:18, Eric Blake wrote: > I'm getting a repeatable fork memory allocation error with snapshot > 20051116 on Win98, when trying to build CVS head of libtool; this was > not a problem with 20051020. > > $ make > cd . && /bin/sh ./config.status libtool > config.status: executing libtool commands > make all-recursive > make[1]: Entering directory `/home/eblake/libtool' > make[2]: Entering directory `/home/eblake/libtool' > if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. > -DLTDLOPEN=libltdl -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./liblt > dl -I./libltdl/libltdl -g2 -Wall -MT libltdl/loaders/libltdl_libltdl_la-preope > n.lo -MD -MP -MF "libltdl/loaders/.deps/libltdl_libltdl_la-preopen.Tpo" -c -o li > bltdl/loaders/libltdl_libltdl_la-preopen.lo `test -f 'libltdl/loaders/preopen.c' > || echo './'`libltdl/loaders/preopen.c; \ > then mv -f "libltdl/loaders/.deps/libltdl_libltdl_la-preopen.Tpo" "libltdl/loade > rs/.deps/libltdl_libltdl_la-preopen.Plo"; else rm -f "libltdl/loaders/.deps/libl > tdl_libltdl_la-preopen.Tpo"; exit 1; fi > [Popup box - "This program has performed an illegal operation > and will be shut down... > SH caused an invalid page fault in > module CYGWIN1.DLL at 015f:6108c79c.] > 890 [main] sh 16120485 fork_copy: user/cygwin data pass 0 failed, 0x456000.. > 0x458290, done 0, windows pid 4278937159, Win32 error 1067 > ./libtool: fork: No error > make[2]: *** [libltdl/loaders/libltdl_libltdl_la-preopen.lo] Error 1 > make[2]: Leaving directory `/home/eblake/libtool' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/eblake/libtool' > make: *** [all] Error 2 > $ strace -o ../strace.txt make > make: *** [vcl-tmp] Segmentation fault (core dumped) > > What makes it particularly weird is that ./libtool reports "fork: No error". > I'm guessing it is something in the snapshot, since the popup box > refers to a cygwin address, but don't know what to look for in the > strace for a more accurate diagnosis. The attached .bz2 contains > both the strace and my cygcheck output. Strange. I can't reproduce it on my 98 box. make runs fine up to the point of some undefined symbol in a later link stage. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/