This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Own Compiled Program Immediately Crashes on Startup
Dave Korn wrote:
> >~/private/src/jove/jove4.16.0.65[0m $ 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/