|
From: John R. <jr...@bi...> - 2009-10-10 19:53:05
|
> ==6049== Warning: set address range perms: large range 112786496 (undefined)
What version are you running (valgrind --version)? The current version is 3.5.0,
and at least since version 3.4.1 valgrind prints the actual address interval,
which often helps:
----- memcheck/mc_main.c; set_address_range_perms()
VG_(message)(Vg_UserMsg, "Warning: set address range perms: "
"large range [0x%lx, 0x%lx) (%s)\n",
-----
You can run valgrind under gdb by following the directions in README_DEVELOPERS
of the source code. For info on the full repository, see
http://www.valgrind.org/downloads/repository.html
I also found a copy of the individual file on the web at:
http://cs.swan.ac.uk/~csoliver/ok-sat-library/internet_html/doc/doc/Valgrind/3.4.1/html/dist.readme-developers.html
Plant a breakpoint on that message in set_address_range_perms(). When it
triggers, then print a stack trace of the user application via
(gdb) p vgPlain_get_and_pp_StackTrace(vgPlain_get_running_tid(), 10)
--
|