Closed Bug 536879 Opened 15 years ago Closed 15 years ago

Treehydra breaks callgraph

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ehren.m, Assigned: taras.mozilla)

References

Details

Attachments

(3 files, 1 obsolete file)

Attached file backtrace
Running callgraph fails when encountering libtheora:

/home/ehren/new-tools/tools/callgraph/mozilla-central/mozilla/media/libtheora/lib/x86/mmxidct.c:342: internal compiler error: Segmentation fault

This was introduced with revision 0a5fc065b382 (Handle wide string literals in lazy_tree_string)
btw,

(gdb) call TREE_TYPE (str)
$14 = (tree) 0x0
Attached patch likely fixSplinter Review
Thanks for a backtrace. I'd appreciate a reduced testcase for this, but a confirmation will do too.
Attachment #419315 - Flags: review?(ehren.m)
Blocks: 437502
Attached file reduced testcase (delta produced) (obsolete) —
I had to give up trying to put together a test case from first principles but here's how far I got with delta (see http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction and http://delta.tigris.org/)
Comment on attachment 419315 [details] [diff] [review]
likely fix

the patch also fixes the ICE
Attachment #419315 - Flags: review?(ehren.m) → review+
just realized a few manual reductions could be carried out
Attachment #419339 - Attachment is obsolete: true
Interesting experience with automagic deltification. Glad to see that the manual approach won :)
i'm pretty sure having any sort of inline assembly will make unit tests fail on 
non-x86, gonna land this by itself.
http://hg.mozilla.org/rewriting-and-analysis/dehydra/rev/54c8f525cde9
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee: nobody → tglek
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: