Closed GoogleCodeExporter closed 9 years ago
Here's the code.
Forget to mention, if pszDebugHelpDLL is NULL (as CrashRptTest shows), even
dbghelp.dll is in the System32 directory (shipped with Windows 7), the minidump
are
not generated (the LoadLibrary at line 331 returns NULL). If I copy dbghelp.dll
to
the same directory as CrashSender.exe, everything is OK.
Original comment by crendk...@gmail.com
on 5 Apr 2010 at 3:52
Attachments:
Please create new issue per each detected bug. It will simplify tracking
changes.
Original comment by zexspect...@gmail.com
on 6 Apr 2010 at 6:24
As you wish.
Original comment by crendk...@gmail.com
on 7 Apr 2010 at 12:49
I managed to discover that the Debug configuration works fine. Then I narrow
down the
difference from the Release configuration, and found that if any optimization is
turned on (other than /Od), the location was wrong. Is this a known issue? The
performance might deteriorate tremendously if optimizations are forced to
disable,
and force me to release a debug version separately.
Original comment by crendk...@gmail.com
on 7 Apr 2010 at 5:21
BugTrap has the same behavior.
Original comment by crendk...@gmail.com
on 7 Apr 2010 at 5:38
Original comment by zexspect...@gmail.com
on 8 Apr 2010 at 7:16
So, the reason is in optimizations? Not in CrashRpt bug? If so, there is
nothing to
fix here.
I suppose optimizations really can affect the minidump generation. For example,
if
you try to debug the Release build in Visual Studio, you can see that
optimizations
affect the accuracy of the debugger. The same way the optimizations may affect
the
minidump.
Original comment by zexspect...@gmail.com
on 10 Apr 2010 at 12:37
The problem seems to be caused by program optimizations, not by bug in
CrashRpt.
Original comment by zexspect...@gmail.com
on 14 Apr 2010 at 10:34
Original issue reported on code.google.com by
crendk...@gmail.com
on 5 Apr 2010 at 3:45