1
Want to run nspluginviewer in valgrind? It's not easy. Here's how:
3
- Trigger the plugin you want in konqueror without valgrind running.
4
- ps awwww | grep nspluginviewer
5
- Record the commandline, then kill -11 the process
7
- in a konsole, export ARTSDSP_MMAP=1
8
- run LD_PRELOAD=$KDEDIR/lib/libartsdsp.so.0:$KDEDIR/lib/libartsc.so.0 valgrind -v --num-callers=15 --error-limit=no nspluginviewer <commandline that you saved>
10
- WAIT for four lines to be printed to the screen that start with:
16
- QUICKLY go back to konqi, reload the plugin page.
17
- You should see the valgrind konsole start to scroll lots of debug output. If
18
it does not, then it probably not picking up the new nspluginviewer. Try
20
- As long as you don't close this konqueror window, you should be able to keep
21
rerunning valgrinded nspluginviewer without much trouble.