> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0x0000000134000000
> _start_in_C_darwin (pArgc=0x134000000) at m_main.c:3033
> 3033   Int     argc = *(Int *)pArgc;  // not pArgc[0] on LP64
> (gdb) print pArgc
> $1 = (UWord *) 0x134000000
> (gdb) print *pArgc
> Cannot access memory at address 0x134000000

Urr, that's strange.  That segfault is within 15 instructions
of the process startup.  Try single stepping from _start, which
is defined at m_main.c:2984.  It takes control from the
kernel, switches stacks, and calls the routine that segfaults.
Without being able to reproduce this, my changes of figuring out
what's going wrong are essentially zero, so you'll have to do it.

See also the comment at m_main.c:2942.  That might be related.

J

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to