|
From: manik s. <she...@gm...> - 2014-02-06 06:00:21
|
My starting script sets lot of environment variables for my application to run. I can not place valgrind inside it, because that will mess-up with the configured paths for valgrind. Therefore, I am using valgrind to start the script. The thing I have noticed is that when I skip my child application through the use of "--trace-children-skip" , everything works just fine and my application is able to come up nicely. However, without skipping it segfaults. On Wed, Feb 5, 2014 at 11:13 PM, Fred Smith <fs...@co...> wrote: > I use it all the time on a program that starts from a shellscript. Just > modify the line of the script where your program is invoked so that it uses > valgrind (with appropriate args) to start your program. > > > > *Fred Smith* > > *Senior Applications Programmer/Analyst* > > *Computrition, Inc.* > > *175 Middlesex Turnpike* > > *Bedford, MA 01730* > > *ph: 781-275-4488 x5013* > > *fax: 781-357-4100* > > > > > > *From:* manik sheeri [mailto:she...@gm...] > *Sent:* Wednesday, February 05, 2014 6:02 AM > *To:* val...@li... > *Subject:* [Valgrind-users] unable to start child application > > > > Hi, > > > > I have an application which is started by a shell script. > > But before that application is forked , there are many daemon processes > started by the start shell script. > > > > Unfortunately, when I use valgrind to initiate the start script with > "--trace-children" enabled, the script exits at some point while starting a > particular daemon. > > > > My question is, can I simply give my interested executable in the command > line, so that valgrind run everything smoothly but only instruments the > given executable of interest. ??? > > > > thanks, > > sheeri > > > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > -- Manik Sheeri 09582990906 |