On Wed, Nov 18, 2009 at 12:36 PM, Dan Kegel <[email protected]> wrote: > Using valgrind r10990 with --trace-children=yes, I noticed that sometimes > the environment variables in the client app were > not all there. I managed to track it down a > bit - in coregrind/m_initimg/initimg-linux.c, on entry to > setup_client_env(), on about the fourth time through, > there was an empty environment variable (no name, > no =, no value) inserted after LD_PRELOAD=, i.e. > "LD_PRELOAD=" > "" > "XAUTHORITY=/home/dank/.Xauthority" > > Could the LD_PRELOAD munging in that file have > misbehaved somehow?
I should mention: this probably wouldn't affect most client apps, but I was running Wine, which processes the environment as a list, and stops when it finds an empty variable. I have a local patch in Wine to skip those, and I'm back in business for now. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
