Closed
Bug 1508426
Opened 6 years ago
Closed 6 years ago
treat "Pure virtual function called!" as an error in logviewer
Categories
(Release Engineering :: Applications: MozharnessCore, enhancement, P1)
Release Engineering
Applications: MozharnessCore
Tracking
(firefox65 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: Alex_Gaynor, Assigned: Alex_Gaynor)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(I'm not positive this is the right component) When a binary we compiled spits out "Pure virtual function called!" on stderr, that means it just hit a fatal error and is about to abort. This piece of information is extremely useful in debugging what happened, it'd be great if the logviewer highlighted these as errors!
Comment 1•6 years ago
|
||
Hi! We're no longer accepting regex changes in Treeherder for cases where the test harness/runner should be using appropriate log line prefixes, so in this case mozharness/whatever is wrapping this command will need changing to make: [task 2018-11-13T04:39:16.872Z] 04:39:16 INFO - ... ...be output as: [task 2018-11-13T04:39:16.872Z] 04:39:16 ERROR - ... Could you paste the applicable lines from a log and the log URL? :-)
Blocks: 778688
Component: Treeherder: Log Viewer → Applications: MozharnessCore
Product: Tree Management → Release Engineering
QA Contact: jlund
Assignee | ||
Comment 2•6 years ago
|
||
Here's a few examples: - https://treeherder.mozilla.org/logviewer.html#?job_id=211436787&repo=try&lineNumber=5326 - https://treeherder.mozilla.org/logviewer.html#?job_id=211436839&repo=try&lineNumber=1468 - https://treeherder.mozilla.org/logviewer.html#?job_id=211436805&repo=try&lineNumber=1440
Assignee | ||
Comment 3•6 years ago
|
||
Interesting, just noticed the exact text differs from what I put in the subject, which was macOS clang (libc++ I guess). On the Linux builds (libstdc++?) it's "pure virtual method called".
Comment 4•6 years ago
|
||
The line in question (on Linux at least): [task 2018-11-13T14:42:13.512Z] 14:42:13 INFO - GECKO(1057) | pure virtual method called The regexes that need updating are here: https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/mozharness/base/errors.py
Assignee | ||
Comment 5•6 years ago
|
||
Thanks! It looks like all of the constants in that file are for dealing with different parts of the build system, not compiled binaries themselves. Is there any prior art for this?
Comment 6•6 years ago
|
||
I'm not very familiar with mozharness, I'd ask someone from release engineering.
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → agaynor
Priority: -- → P1
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cd593d522d24 treat log messages about calling a pure virtual function in a destructor as errors; r=gbrown
Keywords: checkin-needed
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cd593d522d24
You need to log in
before you can comment on or make changes to this bug.
Description
•