Bug#487745: epiphany-webkit: crashes on startup

Axel Beckert abe at deuxchevaux.org
Wed Jun 25 10:04:18 UTC 2008


Hi Mike.

On Wed, Jun 25, 2008 at 11:08:41AM +0200, Mike Hommey wrote:
> Can you change line 1829 in JavaScriptCore/wtf/FastMalloc.cpp to look like:
>   uint64_t* m_memory;

Now it built successfully.

But unfortunately I still get a SIGBUGS, although it looks like some
other place than before to me. Here's the backtrace:

$ gdb epiphany-webkit
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /usr/bin/epiphany-webkit 
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 000000b4
[New Thread 0xf6eaa730 (LWP 32039)]

Program received signal SIGBUS, Bus error.
[Switching to Thread 0xf6eaa730 (LWP 32039)]
0xf79b1730 in WTF::HashSet<WebCore::StringImpl*, WebCore::StringHash, WTF::HashTraits<WebCore::StringImpl*> >::add<WebCore::UCharBuffer, WebCore::UCharBufferTranslator> (this=0xf42bd2d0, value=@0xfff35cb0) at ../WebCore/platform/text/AtomicString.cpp:112
112             if (*stringCharacters++ != *bufferCharacters++)
Current language:  auto; currently c++
(gdb) bt
#0  0xf79b1730 in WTF::HashSet<WebCore::StringImpl*, WebCore::StringHash, WTF::HashTraits<WebCore::StringImpl*> >::add<WebCore::UCharBuffer, WebCore::UCharBufferTranslator> (this=0xf42bd2d0, value=@0xfff35cb0) at ../WebCore/platform/text/AtomicString.cpp:112
#1  0xf79b0a14 in WebCore::AtomicString::add (s=<value optimized out>, length=4) at ../WebCore/platform/text/AtomicString.cpp:173
#2  0xf7caa91c in WebCore::ParseString::operator WebCore::AtomicString (this=0xfff35e60) at ../WebCore/platform/text/AtomicString.h:35
#3  0xf7ca9c0c in cssyyparse (parser=0xfff37408) at ../WebCore/css/CSSGrammar.y:610
#4  0xf7779e88 in WebCore::CSSParser::parseSheet (this=0xfff37408, sheet=0xf42d6740, string=@0xfff37534) at ../WebCore/css/CSSParser.cpp:230
#5  0xf77b2400 in WebCore::CSSStyleSheet::parseString (this=0xf42d6740, string=@0xfff37534, strict=<value optimized out>) at ../WebCore/css/CSSStyleSheet.cpp:158
#6  0xf7797b88 in parseUASheet (characters=0xf7e90908 "@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
#7  0xf77981c4 in loadDefaultStyle () at ../WebCore/css/CSSStyleSelector.cpp:401
#8  0xf77aa014 in CSSStyleSelector (this=0xf42f1dc0, doc=0xf42e4700, userStyleSheet=@0xfff376bc, styleSheets=0xf42cf168, mappedElementSheet=0x0, strictParsing=false, matchAuthorAndUserStyles=<value optimized out>) at ../WebCore/css/CSSStyleSelector.cpp:323
#9  0xf77ca2d4 in WebCore::Document::attach (this=0xf42e4700) at ../WebCore/dom/Document.cpp:1250
#10 0xf798dcb0 in WebCore::Frame::setDocument (this=0xf42c31b0, newDoc={m_ptr = 0xfff37804}) at ../WebCore/page/Frame.cpp:259
#11 0xf792a71c in WebCore::FrameLoader::begin (this=0xf42ca6a8, url=<value optimized out>, dispatch=<value optimized out>, origin=0x0) at ../WebCore/loader/FrameLoader.cpp:924
#12 0xf7935e24 in WebCore::FrameLoader::receivedFirstData (this=0xf42ca6a8) at ../WebCore/loader/FrameLoader.cpp:853
#13 0xf793621c in WebCore::FrameLoader::setEncoding (this=0xf42ca6a8, name=@0xfff379e4, userChosen=false) at ../WebCore/loader/FrameLoader.cpp:1820
#14 0xf76ec0b4 in WebKit::FrameLoaderClient::finishedLoading (this=0xf42c7f80, documentLoader=0xf42e0a00) at ../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:597
#15 0xf79383a0 in WebCore::FrameLoader::finishedLoadingDocument (this=0xf42ca6a8, loader=0xf42e0a00) at ../WebCore/loader/FrameLoader.cpp:2934
#16 0xf791ca28 in WebCore::DocumentLoader::finishedLoading (this=0xf42e0a00) at ../WebCore/loader/DocumentLoader.cpp:334
#17 0xf7934f38 in WebCore::FrameLoader::init (this=0xf42ca6a8) at ../WebCore/loader/FrameLoader.cpp:292
#18 0xf76de2b0 in webkit_web_frame_new (webView=<value optimized out>) at ../WebKit/gtk/webkit/webkitwebframe.cpp:224
#19 0xf76e561c in webkit_web_view_init (webView=0x4269e0) at ../WebKit/gtk/webkit/webkitwebview.cpp:1317
#20 0xf6397a10 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#21 0xf6379254 in ?? () from /usr/lib/libgobject-2.0.so.0
#22 0xf6379254 in ?? () from /usr/lib/libgobject-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 

Currently installed versions:

$ dpkg -l | fgrep webkit 
ii  epiphany-webkit                       2.22.1.1-1                   Intuitive GNOME web browser - webkit version
ii  kazehakase-webkit                     0.5.4-2                      WebKit rendering engine for kazehakase
ii  libqt4-webkit                         4.4.0-3                      Qt 4 WebKit module
ii  libwebkit-1.0-1                       0~svn32442-1.1+487745        Web content engine library for Gtk+
ii  libwebkit-1.0-1-dbg                   0~svn32442-1.1+487745        Web content engine library for Gtk+ - Debugg
ii  libwebkit-dev                         0~svn32442-1.1+487745        Web content engine library for Gtk+ - Develo
$ 

		Regards, Axel
-- 
Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/





More information about the Pkg-webkit-maintainers mailing list