|
From: <csh...@ho...> - 2003-12-17 18:21:49
|
Valgrind gurus, We're starting valgrind 2.0 on an application using a script: #!/bin/sh $VALGRIND_HOME/valgrind --trace-children=yes --num-callers=20 --alignment=8 --error-limit=no --leak-check=yes $sp1/bin/browser $1 $2 $3 The application starts up with valgrind, but then gets a stack error: --- EnvMgr[Application_Manager]: changing PID 2590 to 2626 at Connect ==2626== valgrind's libpthread.so: KLUDGED call to: pthread_cond_destroy ==2626== valgrind's libpthread.so: KLUDGED call to: pthread_cond_destroy ==2626== valgrind's libpthread.so: KLUDGED call to: pthread_cond_destroy --- TKS Using OVM Xt Event Loop --- ==2626== valgrind's libpthread.so: KLUDGED call to: pthread_getattr_np ==2626== valgrind's libpthread.so: KLUDGED call to: pthread_attr_getstackaddr ==2626== valgrind's libpthread.so: KLUDGED call to: pthread_getattr_np ==2626== valgrind's libpthread.so: KLUDGED call to: pthread_attr_getstackaddr ==2626== valgrind's libpthread.so: KLUDGED call to: pthread_getattr_np ==2626== valgrind's libpthread.so: KLUDGED call to: pthread_attr_getstackaddr Fatal: Stack size too small. Use 'ulimit -s' to increase default stack size. /home/ie/gfdm/koujesky/val/bin/browser: line 4: 2626 Aborted $VALGRIND_HOME/valgrind --trace-children=yes --num-callers=20 --alignment=8 --error-limit=no --leak-check=yes $sp1/bin/browser $1 $2 $3 The script is named browser since there is a top level manager that starts various modules. The browser script starts valgrind and uses the the full path($sp1) to the real browser executable that we want to run valgrind on. We've tried setting the ulimit with no luck. I've seen in this BB some emails about the Java stack size. Our application uses some Java libraries, but we get a slightly different error, suggesting using ulimit -s instead of using java -Xss. Any ideas? Thanks, Charlie Shelton |
|
From: Tom H. <th...@cy...> - 2003-12-17 18:47:38
|
In message <3FE...@ho...>
csh...@ho... (Charlie Shelton) wrote:
> Valgrind gurus,
> We've tried setting the ulimit with no luck. I've seen in this BB some
> emails
> about the Java stack size. Our application uses some Java libraries, but we
> get a slightly different error, suggesting using ulimit -s instead of using
> java -Xss.
Have you tried the patch from bug 69508 which looks like the same issue?
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|