CrashRpt not catching all exceptions

79 views
Skip to first unread message

James Hite

unread,
Mar 12, 2011, 11:22:31 PM3/12/11
to Crashrpt
I've built and integrated the (beta? untested) static library into my
application and it's caught and reported about half a dozen different
crashes that have been plaguing me for years. However, there seem to
be one or two that it's not even aware of. At the moment, I do not
have any details, as I cannot seem to catch the crash at all, but the
application just closes. No crash window courtesy of Windows, nothing
at all. It just poof, closes. It relies on no third party dlls that
might be erronously calling exit(), nothing like that.

If anyone has steps for me to follow to gather better information, I'm
all for following them. Either that or a solution. I browsed over
the FAQs and the other forum posts (yes, even the one below this one
that has a near identical title) and nothing I've come across sounds
like my problem.

zexspectrum

unread,
Oct 18, 2011, 10:32:11 AM10/18/11
to cras...@googlegroups.com
Hello,

Please tell what version of CrashRpt do you use? I don't remember we have a beta untested static library. The current version is 1.2.10.

The problem with silently disappearing window may be related to stack overflow http://en.wikipedia.org/wiki/Stack_Overflow. When stack is overflown, the process doesn't have anough memory even for invoking crash handler. So it looks like a silent exit.

I can advice you to maintain a log file for your application. See this link for example of a logging functionality http://crashrpt.sourceforge.net/docs/html/simple_example.html

The log file will help you to see where is the stack overflow happens. For example, if there is infinite recusion in your code, you will see many log messages looking similar http://en.wikipedia.org/wiki/Infinite_loop.

Thanks for your question.
Reply all
Reply to author
Forward
0 new messages