Bug 63131 - [GTK] Crash when loading adium themes in Empathy
Summary: [GTK] Crash when loading adium themes in Empathy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://bugzilla.gnome.org/show_bug.c...
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2011-06-22 04:22 PDT by Emilio Pozuelo Monfort
Modified: 2011-06-23 00:14 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Pozuelo Monfort 2011-06-22 04:22:30 PDT
Hi,

I'm getting a crash in Empathy when using adium themes. It happens immediately when trying to render them for the first time. It used to work fine but I haven't used them for a month or two, so I'm not sure when this has regressed. I'm pretty sure it used to work with 1.3.13, and it doesn't work anymore with 1.4.1.


Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2544af1 in WTF::OSAllocator::reserveAndCommit (
    bytes=<value optimized out>, usage=<value optimized out>, 
    writable=<value optimized out>, executable=<value optimized out>)
    at ../Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp:85
85	../Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp: No such file or directory.
	in ../Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp
(gdb) bt
#0  0x00007ffff2544af1 in WTF::OSAllocator::reserveAndCommit (
    bytes=<value optimized out>, usage=<value optimized out>, 
    writable=<value optimized out>, executable=<value optimized out>)
    at ../Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp:85
#1  0x00007ffff254420f in reserve (this=<value optimized out>)
    at ../Source/JavaScriptCore/wtf/PageReservation.h:107
#2  FixedVMPoolAllocator (this=<value optimized out>)
    at ../Source/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:412
#3  JSC::ExecutableAllocator::isValid (this=<value optimized out>)
    at ../Source/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:503
#4  0x00007ffff24b0ff5 in ExecutableAllocator (this=0x7fffd5a89000, 
    globalDataType=JSC::JSGlobalData::Default, 
    threadStackType=JSC::ThreadStackTypeLarge)
    at ../Source/JavaScriptCore/jit/ExecutableAllocator.h:185
#5  JSC::JSGlobalData::JSGlobalData (this=0x7fffd5a89000, 
    globalDataType=JSC::JSGlobalData::Default, 
    threadStackType=JSC::ThreadStackTypeLarge)
    at ../Source/JavaScriptCore/runtime/JSGlobalData.cpp:142
#6  0x00007ffff24b2023 in JSC::JSGlobalData::create (
    type=JSC::ThreadStackTypeLarge)
    at ../Source/JavaScriptCore/runtime/JSGlobalData.cpp:257
---Type <return> to continue, or q <return> to quit---
#7  0x00007ffff24b2bc2 in JSC::JSGlobalData::createLeaked (
    type=JSC::ThreadStackTypeLarge)
    at ../Source/JavaScriptCore/runtime/JSGlobalData.cpp:263
#8  0x00007ffff189bf92 in WebCore::JSDOMWindowBase::commonJSGlobalData ()
    at ../Source/WebCore/bindings/js/JSDOMWindowBase.cpp:177
#9  0x00007ffff18ecfcc in WebCore::ScriptController::getAllWorlds (
    worlds=...) at ../Source/WebCore/bindings/js/ScriptController.cpp:175
#10 0x00007ffff1c236e2 in dispatchDidClearWindowObjectsInAllWorlds (
    this=0x7fffd5a7f470) at ../Source/WebCore/loader/FrameLoader.cpp:3409
#11 WebCore::FrameLoader::dispatchDidClearWindowObjectsInAllWorlds (
    this=0x7fffd5a7f470) at ../Source/WebCore/loader/FrameLoader.cpp:3403
#12 0x00007ffff1c239bb in WebCore::FrameLoader::receivedFirstData (
    this=0x7fffd5a7f470) at ../Source/WebCore/loader/FrameLoader.cpp:609
#13 0x00007ffff1c1db08 in WebCore::DocumentWriter::setEncoding (
    this=<value optimized out>, name=..., userChosen=false)
    at ../Source/WebCore/loader/DocumentWriter.cpp:237
#14 0x00007ffff1c13412 in WebCore::DocumentLoader::commitData (
    this=0x7fffd5a56000, 
    bytes=0x7fffd5b00000 "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n\t<met---Type <return> to continue, or q <return> to quit---
a http-"..., length=11542) at ../Source/WebCore/loader/DocumentLoader.cpp:319
#15 0x00007ffff17968cd in WebKit::FrameLoaderClient::committedLoad (
    this=0x7fffd5a72c60, loader=0x7fffd5a56000, 
    data=0x7fffd5b00000 "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n\t<meta http-"..., length=11542)
    at ../Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:319
#16 0x00007ffff1c1333d in WebCore::DocumentLoader::commitLoad (
    this=0x7fffd5a56000, 
    data=0x7fffd5b00000 "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n\t<meta http-"..., length=11542) at ../Source/WebCore/loader/DocumentLoader.cpp:307
#17 0x00007ffff1c52f73 in WebCore::ResourceLoader::didReceiveData (
    this=0x7fffd5ab3200, 
    data=0x7fffd5b00000 "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n\t<meta http-"..., length=11542, lengthReceived=11542, 
    allAtOnce=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
    at ../Source/WebCore/loader/ResourceLoader.cpp:279
#18 0x00007ffff1c42c95 in WebCore::MainResourceLoader::didReceiveData (
    this=<value optimized out>, 
    data=0x7fffd5b00000 "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n\t<meta http-"..., length=11542, lengthReceived=11542, allAtOnce=true)
    at ../Source/WebCore/loader/MainResourceLoader.cpp:446
#19 0x00007ffff1c438d0 in WebCore::MainResourceLoader::continueAfterContentPolicy (this=0x7fffd5ab3200, contentPolicy=<value optimized out>, r=...)
    at ../Source/WebCore/loader/MainResourceLoader.cpp:302
#20 0x00007ffff1c43a26 in WebCore::MainResourceLoader::continueAfterContentPolicy (this=0x7fffd5ab3200, policy=WebCore::PolicyUse)
    at ../Source/WebCore/loader/MainResourceLoader.cpp:320
#21 0x00007ffff1c4781a in didReceiveResponse (this=0x7fffd5ab3200, r=...)
    at ../Source/WebCore/loader/MainResourceLoader.cpp:406
#22 WebCore::MainResourceLoader::didReceiveResponse (this=0x7fffd5ab3200, 
    r=...) at ../Source/WebCore/loader/MainResourceLoader.cpp:347
#23 0x00007ffff1c44b7f in WebCore::MainResourceLoader::handleDataLoadNow (
    this=0x7fffd5ab3200)
    at ../Source/WebCore/loader/MainResourceLoader.cpp:516
---Type <return> to continue, or q <return> to quit---
#24 0x00007ffff1d422b2 in WebCore::ThreadTimers::sharedTimerFiredInternal (
    this=0x7fffd5aa1a28) at ../Source/WebCore/platform/ThreadTimers.cpp:112
#25 0x00007ffff1765502 in WebCore::timeout_cb ()
    at ../Source/WebCore/platform/gtk/SharedTimerGtk.cpp:49
#26 0x00007fffee2d4ddb in g_timeout_dispatch (source=0x18030c0, 
    callback=<value optimized out>, user_data=<value optimized out>)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3882
#27 0x00007fffee2d34a3 in g_main_dispatch (context=0x77ee20)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#28 g_main_context_dispatch (context=0x77ee20)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#29 0x00007fffee2d3c80 in g_main_context_iterate (context=0x77ee20, block=1, 
    dispatch=1, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#30 0x00007fffee2d42f2 in g_main_loop_run (loop=0x7fbbd0)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3299
#31 0x00007ffff0e2583d in gtk_main ()
    at /tmp/buildd/gtk+3.0-3.0.10/./gtk/gtkmain.c:1358
#32 0x00007fffeee70c3c in g_application_run (application=0x828020, 
    argc=<value optimized out>, argv=<value optimized out>)
    at /tmp/buildd/glib2.0-2.28.6/./gio/gapplication.c:1322
---Type <return> to continue, or q <return> to quit---
#33 0x0000000000440bac in main (argc=1, argv=0x7fffffffe7a8) at empathy.c:728
Comment 1 Martin Robinson 2011-06-22 15:28:55 PDT
Xan, can you confirm that this is this will be fixed by your allocator reservation change?
Comment 2 Xan Lopez 2011-06-22 15:46:02 PDT
(In reply to comment #1)
> Xan, can you confirm that this is this will be fixed by your allocator reservation change?

It is confirmed.
Comment 3 Martin Robinson 2011-06-22 15:47:56 PDT
(In reply to comment #2)
> (In reply to comment #1)
> > Xan, can you confirm that this is this will be fixed by your allocator reservation change?
> 
> It is confirmed.

Thanks! Emilio, this should be fixed with the release of 1.4.2 which should be Real Soon Now.
Comment 4 Emilio Pozuelo Monfort 2011-06-23 00:14:34 PDT
Awesome :-)