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]

Re: memory problems in chroot'ed env (Was: chroot bug)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]