Bug#559925: libwebkit-1.0-2: on kfreebsd-i386, segfaults when opening pages with javascript

Petr Salinger Petr.Salinger at seznam.cz
Wed Dec 9 11:49:08 UTC 2009


> For your convenience, this bug can be triggered with:
> /usr/lib/webkit-1.0-2/libexec/GtkLauncher http://www.uzbl.org

Here is the backtrace

Core was generated by `GtkLauncher'.
Program terminated with signal 11, Segmentation fault.
#0  0x282c0e5d in JSC::NumericStrings::add (exec=0x2bec2600, args=...) at 
../JavaScriptCore/runtime/NumericStrings.h:39
39      ../JavaScriptCore/runtime/NumericStrings.h: Adresář nebo soubor 
neexistuje.
         in ../JavaScriptCore/runtime/NumericStrings.h
(gdb) bt
#0  0x282c0e5d in JSC::NumericStrings::add (exec=0x2bec2600, args=...) at 
../JavaScriptCore/runtime/NumericStrings.h:39
#1  JSC::JSValue::toString (exec=0x2bec2600, args=...) at 
../JavaScriptCore/runtime/JSString.h:265
#2  JSC::globalFuncUnescape (exec=0x2bec2600, args=...) at 
../JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp:405
#3  0x2be8c166 in ?? ()
#4  0x281fbbdc in JSC::JITCode::execute (this=0x2bdb66f0, 
program=0x2be3dd90, callFrame=0x2bdcc744, scopeChain=0x2be28a08, 
thisObj=0x2bec0000, exception=0xbfbfb90c) at 
../JavaScriptCore/jit/JITCode.h:79
#5  JSC::Interpreter::execute (this=0x2bdb66f0, program=0x2be3dd90, 
callFrame=0x2bdcc744, scopeChain=0x2be28a08, thisObj=0x2bec0000, 
exception=0xbfbfb90c) at ../JavaScriptCore/interpreter/Interpreter.cpp:613
#6  0x282b1cbb in JSC::evaluate (exec=0x2bdcc744, scopeChain=..., 
source=..., thisValue=...) at ../JavaScriptCore/runtime/Completion.cpp:60
#7  0x2833e8ee in WebCore::evaluateInWorld (exec=0x2bdcc744, 
scopeChain=..., sourceCode=..., thisValue=..., isolatedWorld=0x2bd9aac8) 
at ../WebCore/bindings/js/JSDOMBinding.cpp:878
#8  0x283898e3 in WebCore::ScriptController::evaluateInWorld 
(this=0x2bd848f8, sourceCode=..., world=0x2bd9aac8) at 
../WebCore/bindings/js/ScriptController.cpp:126
#9  0x2838a029 in WebCore::ScriptController::evaluate (this=0x2bd848f8, 
sourceCode=...) at ../WebCore/bindings/js/ScriptController.cpp:152
#10 0x28397e9f in WebCore::ScriptController::executeScript 
(this=0x2bd848f8, sourceCode=...) at 
../WebCore/bindings/ScriptControllerBase.cpp:46
#11 0x2857eee5 in WebCore::HTMLTokenizer::scriptExecution 
(this=0x2bda7400, sourceCode=..., state=...) at 
../WebCore/html/HTMLTokenizer.cpp:565
#12 0x28582f86 in WebCore::HTMLTokenizer::scriptHandler (this=0x2bda7400, 
state=...) at ../WebCore/html/HTMLTokenizer.cpp:507
#13 0x28583991 in WebCore::HTMLTokenizer::parseNonHTMLText 
(this=0x2bda7400, src=..., state=...) at 
../WebCore/html/HTMLTokenizer.cpp:353
#14 0x28585d99 in WebCore::HTMLTokenizer::parseTag (this=0x2bda7400, 
src=..., state=...) at ../WebCore/html/HTMLTokenizer.cpp:1562
#15 0x285866f2 in WebCore::HTMLTokenizer::write (this=0x2bda7400, str=..., 
appendData=true) at ../WebCore/html/HTMLTokenizer.cpp:1757
#16 0x285e1a14 in WebCore::FrameLoader::write (this=0x2bd846a8,
     str=0xbfbfc630 " now, I have a TODO list of features to implement. 
Like a news RSS feed. Possibly a simple forum in the future. Whatever. So, 
this will serve as the project's home page from now on :)</p>\n", ' ' 
<repeats 12 times>..., len=672, flush=false) at 
../WebCore/loader/FrameLoader.cpp:913
#17 0x285e1e27 in WebCore::FrameLoader::addData (this=0x2bd846a8,
     bytes=0xbfbfc630 " now, I have a TODO list of features to implement. 
Like a news RSS feed. Possibly a simple forum in the future. Whatever. So, 
this will serve as the project's home page from now on :)</p>\n", ' ' 
<repeats 12 times>..., length=672) at 
../WebCore/loader/FrameLoader.cpp:1466
#18 0x28182fed in WebKit::FrameLoaderClient::committedLoad 
(this=0x2bd81f20, loader=0x2bd94500,
     data=0xbfbfc630 " now, I have a TODO list of features to implement. 
Like a news RSS feed. Possibly a simple forum in the future. Whatever. So, 
this will serve as the project's home page from now on :)</p>\n", ' ' 
<repeats 12 times>..., length=672) at 
../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:151
#19 0x285ddb47 in WebCore::FrameLoader::committedLoad (this=0x2bd846a8, 
loader=0x2bd94500,
     data=0xbfbfc630 " now, I have a TODO list of features to implement. 
Like a news RSS feed. Possibly a simple forum in the future. Whatever. So, 
this will serve as the project's home page from now on :)</p>\n", ' ' 
<repeats 12 times>..., length=672) at 
../WebCore/loader/FrameLoader.cpp:3209
#20 0x285ccf9c in WebCore::DocumentLoader::commitLoad (this=0x2bd94500,
     data=0xbfbfc630 " now, I have a TODO list of features to implement. 
Like a news RSS feed. Possibly a simple forum in the future. Whatever. So, 
this will serve as the project's home page from now on :)</p>\n", ' ' 
<repeats 12 times>..., length=672) at 
../WebCore/loader/DocumentLoader.cpp:342
#21 0x285de37b in WebCore::FrameLoader::receivedData (this=0x2bd846a8,
     data=0xbfbfc630 " now, I have a TODO list of features to implement. 
Like a news RSS feed. Possibly a simple forum in the future. Whatever. So, 
this will serve as the project's home page from now on :)</p>\n", ' ' 
<repeats 12 times>..., length=672) at 
../WebCore/loader/FrameLoader.cpp:2061
#22 0x285f5c16 in WebCore::MainResourceLoader::addData (this=0x2bdb0a00,
     data=0xbfbfc630 " now, I have a TODO list of features to implement. 
Like a news RSS feed. Possibly a simple forum in the future. Whatever. So, 
this will serve as the project's home page from now on :)</p>\n", ' ' 
<repeats 12 times>..., length=672, allAtOnce=<value optimized out>) at 
../WebCore/loader/MainResourceLoader.cpp:143
#23 0x28605949 in WebCore::ResourceLoader::didReceiveData 
(this=0x2bdb0a00,
     data=0xbfbfc630 " now, I have a TODO list of features to implement. 
Like a news RSS feed. Possibly a simple forum in the future. Whatever. So, 
this will serve as the project's home page from now on :)</p>\n", ' ' 
<repeats 12 times>..., length=672, lengthReceived=<value optimized out>, 
allAtOnce=<value optimized out>) at 
../WebCore/loader/ResourceLoader.cpp:248
#24 0x285f5e79 in WebCore::MainResourceLoader::didReceiveData 
(this=0x2bdb0a00,
     data=0xbfbfc630 " now, I have a TODO list of features to implement. 
Like a news RSS feed. Possibly a simple forum in the future. Whatever. So, 
this will serve as the project's home page from now on :)</p>\n", ' ' 
<repeats 12 times>..., length=672, lengthReceived=0, allAtOnce=false) at 
../WebCore/loader/MainResourceLoader.cpp:374
#25 0x28605368 in WebCore::ResourceLoader::didReceiveData 
(this=0x2bdb0a00,
     data=0xbfbfc630 " now, I have a TODO list of features to implement. 
Like a news RSS feed. Possibly a simple forum in the future. Whatever. So, 
this will serve as the project's home page from now on :)</p>\n", ' ' 
<repeats 12 times>..., length=672, lengthReceived=0) at 
../WebCore/loader/ResourceLoader.cpp:398
#26 0x28999ae7 in gotChunkCallback (msg=0x80b1640, chunk=0x8165f38, 
data=0x2bd7c0c0) at 
../WebCore/platform/network/soup/ResourceHandleSoup.cpp:288
#27 0x29179b8c in g_cclosure_marshal_VOID__BOXED () from 
/usr/lib/libgobject-2.0.so.0
#28 0x2916cdc3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#29 0x29180eef in ?? () from /usr/lib/libgobject-2.0.so.0
#30 0x29182339 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#31 0x29182796 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#32 0x2964d196 in soup_message_got_chunk () from /usr/lib/libsoup-2.4.so.1
#33 0x296528ca in ?? () from /usr/lib/libsoup-2.4.so.1
#34 0x29652fb5 in ?? () from /usr/lib/libsoup-2.4.so.1
#35 0x2917a524 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#36 0x2916cdc3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#37 0x29180eef in ?? () from /usr/lib/libgobject-2.0.so.0
#38 0x29182339 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#39 0x29182796 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#40 0x2965e98d in ?? () from /usr/lib/libsoup-2.4.so.1
---Type <return> to continue, or q <return> to quit---
#41 0x292165ad in ?? () from /lib/libglib-2.0.so.0
#42 0x291dfe18 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x291e34b3 in ?? () from /lib/libglib-2.0.so.0
#44 0x291e397a in g_main_loop_run () from /lib/libglib-2.0.so.0
#45 0x28ed6249 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#46 0x08049cd3 in main (argc=Cannot access memory at address 0x3a
) at ../WebKitTools/GtkLauncher/main.c:209



More information about the Pkg-webkit-maintainers mailing list