|
From: Wayne A. <wa...@al...> - 2005-03-01 18:23:59
|
I've been using valgrind 2.2.0 with Maya for a while, I recently downloaded the head cvs source and
built it (Feb 28th). When running some of the tests that ran without error under 2.2.0, now crash
with 2.3.0 with Bad permissions for mapped region as below.
Process terminating with default action of signal 11 (SIGSEGV)
Bad permissions for mapped region at address 0xB7B8C1B8
at 0x1BC57FF5: ag_V_copy (v_vect.c:734)
by 0x1EF684D9: TdNSurface::readASCII(TargList&, unsigned&, int) (TdNSurface.cpp:230)
Is 2.3.0's memory mapping different from 2.2.0 ? Less available memory for programs ?
Maya is huge, with lots of shared libraries. Valgrind does fail to load in some shared libraries
for debug symbols. Total size of all shared lib files for debug build is close to 1.3GB
Reading syms from lib/libOpenMaya.so (0x342B0000)
warning: mmap failed on lib/libOpenMaya.so
no symbols or debug info loaded
Thanks
Wayne
|
|
From: Tom H. <to...@co...> - 2005-03-01 19:01:39
|
In message <422...@al...>
Wayne Arnold <wa...@al...> wrote:
> I've been using valgrind 2.2.0 with Maya for a while, I recently downloaded
> the head cvs source and built it (Feb 28th). When running some of the
> tests that ran without error under 2.2.0, now crash with 2.3.0 with Bad
> permissions for mapped region as below.
>
> Process terminating with default action of signal 11 (SIGSEGV)
> Bad permissions for mapped region at address 0xB7B8C1B8
> at 0x1BC57FF5: ag_V_copy (v_vect.c:734)
> by 0x1EF684D9: TdNSurface::readASCII(TargList&, unsigned&, int) (TdNSurface.cpp:230)
That looks like a bug in your program - valgrind is simply telling
you that you program has caught a segmentation fault and that the
reason for fault is a permissions error (trying to write to a read
only piece of memory most likely).
> Is 2.3.0's memory mapping different from 2.2.0 ?
Yes, but not hugely. The move from 2.1.0 to 2.2.0 was far bigger.
> Less available memory for programs ?
Should be more if anything - we now try and load valgrind as high
up as possible if you have a system with PIE support. That would
leave more space for your program.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|