This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: memory problems in chroot'ed env (Was: chroot bug)
- To: cygwin at cygwin dot com
- Subject: Re: memory problems in chroot'ed env (Was: chroot bug)
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Thu, 9 Aug 2001 18:55:05 -0400
- References: <85256AA3.007B0FCA.00@nyc-ntgw-n01.ny.jpmorgan.com>
- Reply-To: cygwin at cygwin dot com
On Thu, Aug 09, 2001 at 06:24:13PM -0400, Noel L Yap wrote:
>I haven't been able to get to happen when using "chroot /", but here's output
>from one of my sessions that did reproduce the "cannot allocate" problem:
I guess you could run it under strace. I can't duplicate this here but then
I don't have cleartool either.
cgf
>nyap:jpmpsdev@NYAP:~> chroot /view/nyap-tig-du
>nyap:jpmpsdev@NYAP:~> ls
>.Xdefaults .bashrc~ .inputrc aoeu~ proj/
>.Xdefaults~ .clearcase_profile@ .inputrc-0 app-defaults/ tmp/
>.bash/ .clearcase_profile~ .inputrc~ bin/ view/
>.bash_history .emacs .saves-670-NYAP~ lisp/
>.bashrc .emacs~ .viminfo msfe/
>nyap:jpmpsdev@NYAP:~> cd /vobs
>nyap:jpmpsdev@NYAP:/vobs|nyap-tig-du> ls
>admin/ ds/ opt/ picms/ play/ stage/ tk/
>cccq/ fastcmp/ pi/ picmsdemo/ rel/ tiga/
>nyap:jpmpsdev@NYAP:/vobs|nyap-tig-du> cd ds
>/vobs/ds
>nyap:jpmpsdev@NYAP:/vobs/ds|nyap-tig-du> ls
>labmorgan/ lost+found/ tig/
>nyap:jpmpsdev@NYAP:/vobs/ds|nyap-tig-du> cleartool pwv
>Working directory view: nyap-tig-du
>Set view: ** NONE **
>nyap:jpmpsdev@NYAP:/vobs/ds|nyap-tig-du> ls
>bash: xmalloc: cannot allocate 3646 bytes (0 bytes allocated)
--
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/