Crashpad and omaha work

55 views
Skip to first unread message

Nhan Nguyen

unread,
Mar 22, 2016, 1:47:57 PM3/22/16
to Omaha Discuss
Hi,

Crashpad is replacing breakpad from chromium 49.

Does it affect to omaha works?

Sorin Jianu

unread,
Mar 22, 2016, 1:52:06 PM3/22/16
to omaha-...@googlegroups.com
Chrome switching to Crashpad does not affect at all how Omaha works.
Omaha will also use Crashpad at some point but the timeline for this change is not defined at this time.

--
You received this message because you are subscribed to the Google Groups "Omaha Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omaha-discus...@googlegroups.com.
To post to this group, send email to omaha-...@googlegroups.com.
Visit this group at https://groups.google.com/group/omaha-discuss.
For more options, visit https://groups.google.com/d/optout.

Nhan Nguyen

unread,
Mar 23, 2016, 1:21:19 PM3/23/16
to Omaha Discuss
One more question,
What is the relationship of breakpad and crashpad on windows? 
Crashpad is now running as a separated process, it collects crash report then sends to omaha, a breakpad hosting, or sends to breakpad then breakpad continues sending crash report to omaha? Shortly, Crashpad -> omaha, or Crashpad -> breakpad -> omaha? 
I prefer the first option (crashpad-> omaha) to 2nd option (crashpad -> breakpad -> omah), because the omaha opens a pipe for crashing report as a breakpad server, but the question is: The breakpad hosting (Omaha) accepts crash report from Crashpad, doesn't it? 

Nhan Nguyen

unread,
Mar 23, 2016, 1:21:19 PM3/23/16
to Omaha Discuss
Hi,
So, what is the relationship between Crashpad process, browser process with breakpad inside and omaha?
What is the life circle of a crash report generated by Crashpad on windows?

On Wednesday, March 23, 2016 at 12:52:06 AM UTC+7, sorin wrote:

Sorin Jianu

unread,
Mar 23, 2016, 1:27:40 PM3/23/16
to omaha-...@googlegroups.com
On Wed, Mar 23, 2016 at 5:27 AM, Nhan Nguyen <nttnh...@gmail.com> wrote:
One more question,
What is the relationship of breakpad and crashpad on windows? 

Crashpad is the next generation of crash handling client, it is intended to be an improved Breakpad. Please see here the original 



Crashpad is now running as a separated process, it collects crash report then sends to omaha, a breakpad hosting, or sends to breakpad then breakpad continues sending crash report to omaha? Shortly, Crashpad -> omaha, or Crashpad -> breakpad -> omaha? 

The latest Chrome builds don't use Omaha anymore for crash handling. Crashes in Chrome are handled by a Chrome and uploaded to the crash backend. Crashpad has no dependency on Breakpad. It is a standalone library.
 
I prefer the first option (crashpad-> omaha) to 2nd option (crashpad -> breakpad -> omah), because the omaha opens a pipe for crashing report as a breakpad server, but the question is: The breakpad hosting (Omaha) accepts crash report from Crashpad, doesn't it? 

At this time, Omaha does not support Crashpad.

Sorin Jianu

unread,
Mar 23, 2016, 1:34:52 PM3/23/16
to omaha-...@googlegroups.com
On Tue, Mar 22, 2016 at 10:29 PM, Nhan Nguyen <nttnh...@gmail.com> wrote:
Hi,
So, what is the relationship between Crashpad process, browser process with breakpad inside and omaha?

Crashpad is used to handle crashes in the latest builds of Chrome. At this time, there is no relationship between Crashpad and Omaha, but the intention is for Omaha to start using Crashpad to handle its own crashes, but not Chrome crashes.
 
What is the life circle of a crash report generated by Crashpad on windows?

When a crash occurs in the target process, Crashpad gets activated out of process, and creates a dump. If it is allowed to upload the dump,  Crashpad uploads it to the crash server. Once on the crash server, the dump is analyzed and indexed, so it can be queried and inspected. There is a retention policy associated with crashes which deletes older dumps.

Nhan Nguyen

unread,
Mar 23, 2016, 5:50:55 PM3/23/16
to Omaha Discuss
Hi Sorin,
Nice to have your support.
So at the end, the crashpad sends (uploads) the crash report (browser dump) directly to crash reporting server - It works that way on the latest build of chrome? 
And in the future, crashpad will become a part of omaha as a crash reporter of omaha dump?

Sorin Jianu

unread,
Mar 23, 2016, 5:54:51 PM3/23/16
to omaha-...@googlegroups.com
On Wed, Mar 23, 2016 at 2:49 PM, Nhan Nguyen <nttnh...@gmail.com> wrote:
Hi Sorin,
Nice to have your support.
So at the end, the crashpad sends (uploads) the crash report (browser dump) directly to crash reporting server - It works that way on the latest build of chrome? 

That is my understanding yes. I am not sure if the change made it to the stable channel, but at any rate, Chrome is definitely going to be using Crashpad on the platforms where Crashpad is available.
 
And in the future, crashpad will become a part of omaha as a crash reporter of omaha dump?

Correct. That is the intention.

Nhan Nguyen

unread,
Mar 24, 2016, 12:59:19 PM3/24/16
to Omaha Discuss
Thank Sorin once again,
I got the crashpad working mechanism.
Hope this topic will help crashpad and omaha users :).
Reply all
Reply to author
Forward
0 new messages