[Webkit-unassigned] [Bug 19775] New: SIGBUG on sparc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 25 22:43:07 PDT 2008


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

           Summary: SIGBUG on sparc
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mh+webkit at glandium.org


This was first reported on Debian BTS.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487745

The main issue is that Sparc processors require 64-bit alignment in some cases.

We could already fix 2 issues but still have another SIGBUS with the following
stacktrace:
#0  0xf7bfa76c in WebCore::ValueList::addValue (this=0xf423ac40, v=@0xffb2bec0)
at ../JavaScriptCore/wtf/Vector.h:727
#1  0xf7bf8ae4 in cssyyparse (parser=0xffb2d3d8) at
../WebCore/css/CSSGrammar.y:1022
#2  0xf76c9e88 in WebCore::CSSParser::parseSheet (this=0xffb2d3d8,
sheet=0xf4226740, string=@0xffb2d504) at ../WebCore/css/CSSParser.cpp:230
#3  0xf7702400 in WebCore::CSSStyleSheet::parseString (this=0xf4226740,
string=@0xffb2d504, strict=<value optimized out>) at
../WebCore/css/CSSStyleSheet.cpp:158
#4  0xf76e7b88 in parseUASheet (characters=0xf7de0868 "@namespace
\"http://www.w3.org/1999/xhtml\"; html { display: block } head { display: none
} meta { display: none } title { display: none } link { display: none } style {
display: none } script { display"..., size=9484)
    at ../WebCore/css/CSSStyleSelector.cpp:395
#5  0xf76e81c4 in loadDefaultStyle () at
../WebCore/css/CSSStyleSelector.cpp:401
#6  0xf76fa014 in CSSStyleSelector (this=0xf4241dc0, doc=0xf4234700,
userStyleSheet=@0xffb2d68c, styleSheets=0xf421f168, mappedElementSheet=0x0,
strictParsing=false, matchAuthorAndUserStyles=<value optimized out>) at
../WebCore/css/CSSStyleSelector.cpp:323
#7  0xf771a2d4 in WebCore::Document::attach (this=0xf4234700) at
../WebCore/dom/Document.cpp:1250
#8  0xf78ddcb0 in WebCore::Frame::setDocument (this=0xf42131b0, newDoc={m_ptr =
0xffb2d7d4}) at ../WebCore/page/Frame.cpp:259
#9  0xf787a71c in WebCore::FrameLoader::begin (this=0xf421a6a8, url=<value
optimized out>, dispatch=<value optimized out>, origin=0x0) at
../WebCore/loader/FrameLoader.cpp:924
#10 0xf7885e24 in WebCore::FrameLoader::receivedFirstData (this=0xf421a6a8) at
../WebCore/loader/FrameLoader.cpp:853
#11 0xf788621c in WebCore::FrameLoader::setEncoding (this=0xf421a6a8,
name=@0xffb2d9b4, userChosen=false) at ../WebCore/loader/FrameLoader.cpp:1820
#12 0xf763c0b4 in WebKit::FrameLoaderClient::finishedLoading (this=0xf4217f80,
documentLoader=0xf4230a00) at
../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:597
#13 0xf78883a0 in WebCore::FrameLoader::finishedLoadingDocument
(this=0xf421a6a8, loader=0xf4230a00) at ../WebCore/loader/FrameLoader.cpp:2934
#14 0xf786ca28 in WebCore::DocumentLoader::finishedLoading (this=0xf4230a00) at
../WebCore/loader/DocumentLoader.cpp:334
#15 0xf7884f38 in WebCore::FrameLoader::init (this=0xf421a6a8) at
../WebCore/loader/FrameLoader.cpp:292
#16 0xf762e2b0 in webkit_web_frame_new (webView=<value optimized out>) at
../WebKit/gtk/webkit/webkitwebframe.cpp:224
#17 0xf763561c in webkit_web_view_init (webView=0x4269e0) at
../WebKit/gtk/webkit/webkitwebview.cpp:1317
#18 0xf62e7a10 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#19 0xf62c9254 in ?? () from /usr/lib/libgobject-2.0.so.0
#20 0xf62c9254 in ?? () from /usr/lib/libgobject-2.0.so.0

The line where the SIGBUS occurs reads:
   new (end()) T(*ptr);

We still have a rather old revision in Debian (r32442) but I haven't had time
to package a newer one. There is no reason this shouldn't occur with current
trunk, though.

While I could deal with the first 2 alignment problems, I'm not C++-fluent
enough to know how to fix this 3rd one. Any help would be appreciated.


-- 
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