This patch enables Breakpad on Win + CMake
http://wiki.blender.org/index.php/User:AlexK/Breakpad
http://cid-257c9a2e9442c94a.skydrive.live.com/redir.aspx?resid=257C9A2E9442C94A!116
Here is win x64 libraries plus windows minidump_stackwalk.
win64
*breakpad
-*include
-*lib
*curl
-*include
-*lib
cURL libs are build with /MT and /MTd
For breakpadlibx64.patch you must create "breakpad" folder inside win64 due to my svn conflict.
Breakpad & cURL distributed with New BSD License and MIT/X derivate license respectively.
For release build you must build RelWithDebInfo with WITH_BREAKPAD and WITH_CRASHREPORTER and then run dump_syms. Then upload created symbol file to common repository to be accessible to other developers.
WITH_BREAKPAD:
Changes 2 Blender source files and adds 2 more.
This part generate dump file and then initiate crashreporter.exe.
Requires breakpad lib
WITH_CRASHREPORTER
Provides interface to send the report
main.cpp & senddata.cpp should be common on all system.
main.cpp calls interface.
senddata.cpp composes crash report and sends it.
Currently interface available only on windows via win_ui.cpp
It uses sui_win, a wrapper under one clause BSD.
Requires cURL lib
P.S. I changed senddata.cpp but didn't debug it to not spam the tracker. Anyway it should work.
I copied error descriptions from MSDN http://msdn.microsoft.com/en-us/library/aa363082%28v=vs.85%29.aspx to be displayed for a user (senddata.cpp). These should be changed also.
Description
Description
Event Timeline
Comment Actions
While this is useful to get some info from crashes, its really only useful as some statistic, since we need blend files to resolve bugs anyway.
Seeing as this adds a reasonable amount of overhead to maintain, I think its not worth the effort.