[Webkit-unassigned] [Bug 20990] New: FreeBSD Alpha, >3000 cast alignment warnings on build, unaligned access errors on run

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 22 06:54:08 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20990

           Summary: FreeBSD Alpha, >3000 cast alignment warnings on build,
                    unaligned access errors on run
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mexas at bris.ac.uk


I built webkit-gtk2-0.0.30549_1 from ports on FreeBSD 6.3-stable on Alpha.
I had 3293 alignment warnings. The details are below.
I use webkit with kazehakase web browser, also built from ports.
Kazehakase was built with xulrunner as well.
When I ran kazehakase with xulrunner all is well.
With webkit I get literally hundreds of messages like this:

pid 83623 (kazehakase): unaligned access: va=0x1661aa90e pc=0x164855bb8
ra=0x1648550ac op=ldl

or

** (gecko:83623): CRITICAL **: void webkit_web_view_open(WebKitWebView*, const
gchar*): assertion `uri' failed

With webkit, kazehakase does not load pages, and is otherwise not
very responsive.

I wonder if the alignment warnings on build show themselves as unaligned
access errors on run?

******************************

The alignment warning statistics on build; "log" is the file with all build
output.
# grep -c alignment log
3293

of which the major culprits are:

#grep -c "./JavaScriptCore/wtf/Vector.h:380: warning: cast from" log
1414
#grep -c "WebCore/platform/text/StringHash.h:45: warning: cast from" log
642
#grep -c "WebCore/platform/text/StringHash.h:46: warning: cast from" log
642
#grep -c "./JavaScriptCore/wtf/ListHashSet.h:169: warning: cast from" log
586

and the minor worries are:

#grep -c "JavaScriptCore/kjs/dtoa.cpp:2575: warning: cast from" log 
2
#grep -c "WebCore/platform/text/AtomicString.cpp:117: warning: cast from" log
1
#grep -c "WebCore/platform/text/AtomicString.cpp:118: warning: cast from" log
1
#grep -c "WebCore/rendering/RenderLayer.cpp:113: warning: cast from" log
1
#grep -c "WebCore/rendering/RootInlineBox.cpp:56: warning: cast from" log
1
#grep -c "JavaScriptCore/pcre/pcre_compile.cpp:2523: warning: cast from" log 
1
#grep -c "JavaScriptCore/kjs/property_map.cpp:111: warning: cast from" log 
1
#grep -c "./JavaScriptCore/wtf/FastMalloc.cpp:2141: warning: cast from" log 
1

642+642+1414+586+2+7*1 = 3293


many thanks
anton


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list