Re: Valgrind crash on Texas Instrument AM3352 (armv7le) and QNX

John Reiser <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
> I have 2 different boards running QNX 6.5 and mounting the exact same file system.
> One board is based on an NXP iMX53 SoC and the other one on a Texas Instrument AM3352.
> Since both SoC share the same instruction set (Cortex A8 - amv7le), they can run the same binaries.
> 
> However, whereas Valgrind 3.10.1 is working perfectly on the iMX53, it crashes on the AM3352 :

> ==1863697== Process terminating with default action of signal 11 (SIGSEGV): dumping core
> ==1863697==  Bad permissions for mapped region at address 0x245C
> ==1863697==    at 0x1E4CC: mprotect (mprotect.c:33 in /proc/boot/libc.so.3)


Run valgrind with "-d -d -d -v -v -v" and compare the two systems, paying particular
attention to differences that involve "aspacem".

Does your QNX have tools such as gdb and strace or dtrace?
It will be helpful to know the address mappings at the time of the SIGSEGV.

--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.