Summary: | CANVAS Text APIs crash on arm target | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sriram Neelakandan <sriram.neelakandan> | ||||||
Component: | Platform | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED INVALID | ||||||||
Severity: | Normal | CC: | annevk | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Other | ||||||||
OS: | Linux | ||||||||
URL: | http://tinyurl.com/btz3z5, http://tinyurl.com/ch2btd | ||||||||
Attachments: |
|
Description
Sriram Neelakandan
2009-03-11 05:16:46 PDT
Created attachment 28475 [details]
Fix CANVAS Text API crash
Comment on attachment 28475 [details]
Fix CANVAS Text API crash
Can't be right. Loses information (all the other fields), is used elsewhere safely, and seems to be bitwise copy safe. I think the bug must be elsewhere.
Created attachment 28476 [details]
Back trace
Back trace of the crash on arm.
mixed assembler listing of the function is also present.
George you are right ! I found a weird fix for the problem TextRun subrun = run; + printf("Hello\n"); subrun.setText(run.data(bidiRun->start()), bidiRun->stop() - bidiRun->start()); subrun.setRTL(bidiRun->level() % 2); subrun.setDirectionalOverride(bidiRun->dirOverride(false)); Just that printf, Fixes the crash ! I am sure the compiler is upto something :( Nothing actionable here and this has probably been resolved. |