Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the "bucket id" that winqual uses if I have a minidump file or exception structure? (Windows c++)

There are a few related questions on SO - but have not found the answer -

I would like to generate a "signature"/bucket id to report a minidump/crash back to our issue tracking system. Since MS already does this with "bucket ids" I figured I could just re-use their bucket/signature generation.

Can I get that ID from either a top level filter or the _EXCEPTION_POINTERS object I have inside the filter or the _MINIDUMP_EXCEPTION_INFORMATION structure or from the minidump itself?

This is a C++ application.

like image 489
Tim Avatar asked Jan 07 '11 22:01

Tim


People also ask

How to find bucket ID without flow?

06-07-2018 02:16 PM Another quick way to find the Bucket ID without having to run a Flow is to inpect the HTML <li> element for the bucket. Just right click, for example on the Bucket title element in Planner, select "Inspect" and walk up the markup hierarchy to find the <li> element.

How do I find the bucket ID of an element?

Just right click, for example on the Bucket title element in Planner, select "Inspect" and walk up the markup hierarchy to find the <li> element. The element ID is the the Bucket ID.

How to get plan ID and bucket ID in Microsoft Planner?

You could get the Plan ID from the Microsoft Planner the corresponding plan home page, the plan ID could be found at the end of the page URL. For Bucket ID, please use the List Buckets action.


2 Answers

There's a paper talking about how Microsoft guys create bucket id at the first place (, and yes, of course, this paper is from Microsoft). You don't really need to reverse engineering exactly the same bucketing algorithm they use. It's the idea that works.

The paper can be found at http://www.sigops.org/sosp/sosp09/papers/glerum-sosp09.pdf They also do a slide since this is a SIGOPS paper: http://www.sigops.org/sosp/sosp09/slides/glerum-slides-sosp09.pdf

like image 167
Peon the Great Avatar answered Sep 24 '22 21:09

Peon the Great


Not sure which bucket id you need. The numeric id is assigned by the server and you can find it after the report is sent by looking at the event log. Look for event ID 1001 in the application event log.

To find the bucket id in string format use windbg or cdb and use the !analyze command.

Note that for the purpose of actually bucketing you will probably want to look at WATSON_STAGEONE_URL rather than BUCKET_ID.

like image 31
John Avatar answered Sep 21 '22 21:09

John