Hello Derek, Derek Spadaro: > This has been narrowed down to a mmap issue when loading shared > libraries of the new root. First mmap of the read-execute section of > the file functions properly. Second mmap of the read-write section > reads bad data if it is not read before the file is closed. That is > to say, if the read-write section is read before closing the file the > data is always good from then on--which explains why busybox only > crashes once (the first time). Browsing CVS, v1.45 of f_op.c contains > the comment "copyup a file immidiately at being mmap()ed which was > opened with FMODE_WRITE flag"... I wonder could this be related at > all?
I am not sure. If you have the strace log, please show me. I'd like to see which library was mmapped. And you are using f_op.c v1.60 actually, aren't you? J. R. Okajima ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
