There's the HP supported implementation of GDB + some extra goodies called Wildebeest (WDB) debugger that you can try:
How to look for heap/stack corruption on HPUX?
Question
valgrind isn't available on hpux, otherwise I'd use that. I've compiled on Linux and I'm not getting the same segfault. What tools are available on HPUX for watching for heap/stack corruption?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow