﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AAlexK%2FBreakpad</id>
	<title>利用者:AlexK/Breakpad - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AAlexK%2FBreakpad"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:AlexK/Breakpad&amp;action=history"/>
	<updated>2026-08-01T02:35:28Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:AlexK/Breakpad&amp;diff=105437&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:AlexK/Breakpad&amp;diff=105437&amp;oldid=prev"/>
		<updated>2018-06-28T19:44:15Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 19:44時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:AlexK/Breakpad&amp;diff=105436&amp;oldid=prev</id>
		<title>2011年6月11日 (土) 16:12にwiki&gt;AlexKによる</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:AlexK/Breakpad&amp;diff=105436&amp;oldid=prev"/>
		<updated>2011-06-11T16:12:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Breakpad is a library that generates a dump file after a crash on Windows, Linux and Mac. It is used in Firefox and Chrome. This library is very useful when a user experienced a crash but developers cannot reproduce it.  A dump file is generated which later is analyzed against build’s symbol file to find a function which caused the crash. In additional the crash reporter will ask a user to send a dump file every time Blender crashes. That way we can provide critical fixes in timely manner.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Procedure for using breakpad:==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Builder/Developer====&lt;br /&gt;
* Builder creates a “Release with Debug Info” build WITH_BREAKPAD and WITH_CRASHREPORTER&lt;br /&gt;
* Builder uploads the build online&lt;br /&gt;
* Then builder generate symbol file for compiled build using dump_syms from breakpad tools. (sometimes you must build your own dump_syms on Windows)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
***/dump_syms ***/blender.exe &amp;gt; blender.sym&lt;br /&gt;
&lt;br /&gt;
Wait&lt;br /&gt;
Move blender.sym to blender.pdb/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;br /&gt;
&lt;br /&gt;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - id inside symbol file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* Generated symbol file then uploaded to common repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====User====&lt;br /&gt;
* User downloads and installs the build&lt;br /&gt;
* Build crashes &lt;br /&gt;
* The crash reporter starts and asks the user to send the dump file&lt;br /&gt;
* User can add name, e-mail and description.&lt;br /&gt;
* The report is added to the current bug tracker. (We can have separate crash tracker.) http://projects.blender.org/tracker/?func=detail&amp;amp;atid=498&amp;amp;aid=27400&amp;amp;group_id=9&lt;br /&gt;
* The report can be moved or assign to anyone as it is our tracker. The problem that is that user is not registered, so he cannot receive automatic follow ups.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Developer====&lt;br /&gt;
* Ideally server would decode dump file&lt;br /&gt;
[[File:BlenderCrashReporter.png|thumb|right]]&lt;br /&gt;
* For now developer must manually decode dump file using  stackwalk. (on Windows Cygwin should be used to compile it)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
***/minidump_stackwalk ***/***.dmp /symbols&lt;br /&gt;
&lt;br /&gt;
/symbols is directory with subdirectories that store &lt;br /&gt;
all builds' symbol files like:&lt;br /&gt;
blender.pdb/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/blender.sym&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* The output will find crash function and also provide additional info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I already wrote interface for crash reporter on Windows. In addition I wrote a function that sends dump file to the tracker using cURL so it can be reuse on every OS.  Crash Reporter doesn’t have Cmake/Scons support yet.&lt;br /&gt;
Breakpad in blender’s source code only changes 2 files and adds 2 additional so it would be easy to include in experimental branches.  That way crashes would become known much faster.&lt;br /&gt;
&lt;br /&gt;
:{{inprogress|95|Breakpad on Windows}}&lt;br /&gt;
:{{inprogress|20|Breakpad on Linux }}&lt;br /&gt;
:{{todo|Breakpad on Mac }}&lt;br /&gt;
&lt;br /&gt;
:CMake {{inprogress|75}}&lt;br /&gt;
:Scons {{todo}}&lt;br /&gt;
&lt;br /&gt;
:Crashreporter UI on Windows {{inprogress|95}}&lt;br /&gt;
:Crashreporter UI on Linux {{todo}}&lt;br /&gt;
:Crashreporter UI on Mac{{todo}}&lt;br /&gt;
&lt;br /&gt;
:Crashreporter Sender {{inprogress|90}}&lt;br /&gt;
&lt;br /&gt;
:Dump Server analyzer {{todo}}&lt;/div&gt;</summary>
		<author><name>wiki&gt;AlexK</name></author>
		
	</entry>
</feed>