Hey,<br><br>There was some good discussion at FUDCon about apport and friends.&nbsp; I&#39;d really like to see us have a sane story on this by F10 - currently Bugzilla has a lot of unannotated backtraces and it&#39;s a big waste of developer/triager time.<br>
<br>So the goal is that when a program crashes, we get a full annotated backtrace to the eyes of the developer.&nbsp; There&#39;s some discussion on the current Fedora wiki page:<br><a href="https://fedoraproject.org/wiki/Releases/FeatureApport">https://fedoraproject.org/wiki/Releases/FeatureApport</a><br>
<br>Here&#39;s my executive summary:<br><br>Apport: Based on kernel core dump piping, can handle any program crash.&nbsp; Submits data to launchpad which has tracing server which uses debuginfo to create full stack trace.&nbsp; Fedora would need to make custom server on top of the lowlevel tools.<br>
<br>Breakpad: Used by Firefox and various Google applications.&nbsp; Based on a shared library linked into processes which catches SIGSEGV and submits a report via HTTP.<br>Format: <a href="http://code.google.com/p/google-breakpad/wiki/ProcessorDesign">http://code.google.com/p/google-breakpad/wiki/ProcessorDesign</a><br>
One nice thing is that Mozilla has a lot of investment in a free software scalable processing server called &quot;Socorro&quot;: <a href="http://code.google.com/p/socorro">http://code.google.com/p/socorro</a><br><br>GNOME is using breakpad/socorro and has a server up:<br>

<a href="http://blogs.gnome.org/ovitters/2007/10/06/crash-gnome-org/">http://blogs.gnome.org/ovitters/2007/10/06/crash-gnome-org/</a><br>
They were prototyping it using Fedora, and I believe bug-buddy which is
linked into all GTK+ programs uses breakpad and sends to
<a href="http://crash.gnome.org">crash.gnome.org</a> by default.<br><br>Some data points from the discussion:<br><br>* Apparently Apport submits an entire core dump which is (IMO) a non-starter for Fedora; there are things like passwords in memory that we just can&#39;t send by default.<br>
<br>* Mozilla is unhappy that we&#39;re turning off their breakpad integration on Fedora, which means they don&#39;t have visibility into crashes on <a href="http://freedesktop.org/Linux">freedesktop.org/Linux</a> systems.<br>
<br>* Possibly replace breakpad library linking by using utrace+system service (right?)<br><br>* Create debuginfo DAV server and pull debuginfo data dynamically (what are the download requirements?&nbsp; does this replace gdb&#39;s &quot;debuginfo-install&quot; display?)<br>
<br>My 2¢ - Link in breakpad, create <a href="http://crash.fedoraproject.org">http://crash.fedoraproject.org</a> running Socorro.&nbsp; Investigate either submitting reports to Mozilla as well for Firefox or create a system where our Socorro pushes reports to theirs.&nbsp; Longer term investigate utrace system service instead of having apps link to breakpad (this gets us non-desktop system crashes without having to universally LD_PRELOAD or whatever).<br>
<br><br>