Own Compiled Program Immediately Crashes on Startup

Brian Dessent brian@dessent.net
Wed Jul 18 14:37:00 GMT 2007


Dave Korn wrote:

> >~/private/src/jove/jove4.16.0.65 $ strace jjove.exe
> >--- Process 3076, exception C0000005 at 7C929994
> >--- Process 3076, exception C0000005 at 7C974ED1
> 
>   And those are STATUS_ACCESS_VIOLATION.  Odd.  Are you, by any chance,
> running any of:

Exception C0000005 during process startup sounds a lot like our old
friend Mr. "runtime pseudo-relocs in .rodata".  You could rule this out
pretty quickly by temporarily modifying the linker script to place
.rodata in .data, or by strategic un-consting of the offending symbols.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list