program crash after using -pg option?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm having some problems using the -pg option to gather profiling data.
It's the first time I use this option, so I might be overlooking something obvious. :-)

When I add the -pg option to both compiler and linker I get the following errors while executing my program:
(compilation and linking is fine)

--------------------
264 [main] TempLnrTransform 3568 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 6953 [main] TempLnrTransform 3568 open_stackdumpfile: Dumping stack trace to TempLnrTransform.exe.stackdump 947884 [main] TempLnrTransform 3568 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 981347 [main] TempLnrTransform 3568 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)/
--------------------

/It seems the added functions of mcount are causing some problems?
The program runs fine without the -pg option.

Any idea where to look for?

Cheers,
David


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux