Closed Bug 425399 Opened 17 years ago Closed 8 years ago

Allow querying by modules in crashing thread

Categories

(Socorro :: General, task, P4)

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jwatt, Unassigned)

References

Details

(Whiteboard: cloud [search])

It would be very useful for third party plugin vendors to be able to filter results based on the presence of their module in the stack. This will help them find top crashes caused by their plugin(s).
I thought we stored module name in the frames table, but it looks like we don't. We'd have to add that first before we can do this. Once we store module names, it should be pretty simple to allow querying them.
Oh. Does that require a change to the breakpad client shipped with Firefox? Is it a change that should block FF3?
No, it's just a server-side change.
Target Milestone: --- → 0.7
Severity: normal → enhancement
Target Milestone: 0.7 → ---
Whiteboard: cloud
(In reply to comment #3) > No, it's just a server-side change. Is there a bug filed on making that change? This has been languishing for almost two years now.
Oh, this bug seems focused on module *name*, too. For something like Flash Player, the same module name covers at least four (and probably a lot more) module IDs. Should I file a new bug for search-by-module-ID?
You could, but that seems less likely to be implemented. Putting the module name in the "frames" table seems pretty straightforward, but putting the module ID there doesn't make a lot of sense.
(In reply to comment #7) > putting the module > ID there doesn't make a lot of sense. It does for Flash, at least, which seems to spawn a fresh signature for existing crashes every time they release a new version with the same old module name ("Flash Player"). The only reason we can tell the difference between the 10.0 releases and the 10.1 betas is because they *did* update it for the beta. Based on past experience, though, I doubt the new module name will stay different for the 10.1 release. Considering Flash is by far our biggest third-party crasher, I'd say that's a pretty strong argument for figuring out a way to search module IDs.
(In reply to comment #8) Sort of relevant... We're adding search by plugin filename and plugin name in Bug#535829. We're actively building this now. This will only work with out of process plugins, however.
I spun the module-ID part off as bug 541224.
Whiteboard: cloud → cloud [search]
Target Milestone: --- → 1.8
This is a 2.x feature.
Target Milestone: 1.8 → 2.0
This would also be very helpful for the Calendar Team. Right now we have to be lucky that something with "cal" is in the signature, but it would be nice to see all Lightning crashes at once.
Adrian, will 2.0 ES implementation solve this?
Assignee: nobody → adrian
I'm not sure I understand very well what has to be done. In the json schema I have "pluginVersion", "pluginName" and "pluginFilename", and a list of "addons". What you want is to search all crashes that have a given pluginName? I read in c#1 that :jwatt wants to search a "module in the stack". What does it mean? Should we search for a given name in the dump?
I'd think that "module in the stack" means that one of the stack frames in the crashing thread is code from the searched module. Not sure if bug 480503 (search in other frames than "the signature") is in the cards yet.
This is probably blocked by bug 573100, since the data necessary for this is currently in the "raw dump" section in a nonstandard format.
(In reply to comment #15) > I'd think that "module in the stack" means that one of the stack frames in > the crashing thread is code from the searched module. Yes, that's what I meant. Basically, while I was working for Joost, we wanted to know how often crashes were occurring under Joost plugin code and taking the browser down, and be able to find the crash data that would enable us to fix the problem.
If the data you want to search for can be found in the dump, then as I said in bug 573100 this is fixed by ES.
It can be, but it's not straightforward. You'd need to find which thread is the crashing thread (from one of the first lines in the raw dump), then look for lines starting with that integer. Can we do that in ES?
Target Milestone: 2.0 → 2.1
Target Milestone: 2.1 → 2.2
Target Milestone: 2.2 → 2.3
Blocks: 678101
Target Milestone: 2.3 → 2.4
Target Milestone: 2.4 → ---
Component: Socorro → General
Product: Webtools → Socorro
Depends on: 656297
No longer blocks: 678101
Depends on: 678101
Priority: -- → P4
It is now possible to search for a string in the dump with supersearch. For example: https://crash-stats.mozilla.com/search/?product=Firefox&dump=32F2F05378264956B2A803A7A650551B2 I think this solves this bug. If it doesn't, please reopen.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
I don't think this solves the exact use case here, similar to bug 541224. What we really want here is "search just in the crashing thread" not "search the entire raw dump".
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: adrian → nobody
a.t.m.o has access to all the public crash data and can support arbitrarily computational queries for employees. The scope of non-mozilla use cases is really limited with the changes we've made to addons. Wontfix.
Status: REOPENED → RESOLVED
Closed: 12 years ago8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.