Bug 26318
| Summary: | Crash when loading adium theme | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Xavier Claessens <xclaesse> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | gustavo |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Xavier Claessens
I'm using webkgit-gtk to load adium themes in Empathy. See my Empathy branch:
http://git.collabora.co.uk/?p=user/xclaesse/empathy.git;a=shortlog;h=refs/heads/adium
When I load conversation with one of my contacts, empathy crash with that backtrace:
** Message: NP_Initialize
** Message: NP_Initialize succeeded
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4fd7770 (LWP 21369)]
0xb66f65eb in strlen () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb66f65eb in strlen () from /lib/tls/i686/cmov/libc.so.6
#1 0xb730c735 in WebCore::String::fromUTF8 (string=0x695f6b63 <Address 0x695f6b63 out of bounds>) at ../WebCore/platform/text/String.cpp:590
#2 0xb732b58a in WebCore::PluginPackage::fetchInfo (this=0xb48b4a80) at ../WebCore/plugins/gtk/PluginPackageGtk.cpp:78
#3 0xb7321909 in WebCore::PluginPackage::createPackage (path=@0xb4fcf438, lastModified=@0xbfed215c) at ../WebCore/plugins/PluginPackage.cpp:149
#4 0xb731d4b4 in WebCore::PluginDatabase::refresh (this=0xb4ede660) at ../WebCore/plugins/PluginDatabase.cpp:109
#5 0xb731e1c0 in WebCore::PluginDatabase::installedPlugins () at ../WebCore/plugins/PluginDatabase.cpp:44
#6 0xb732a6b9 in WebCore::PluginData::initPlugins (this=0xb486edc0) at ../WebCore/plugins/gtk/PluginDataGtk.cpp:32
#7 0xb731ae58 in PluginData (this=0xb486edc0, page=0xb4edd850) at ../WebCore/plugins/PluginData.cpp:32
#8 0xb72df1b2 in WebCore::Page::pluginData (this=0xb4edd850) at ../WebCore/plugins/PluginData.h:49
#9 0xb713f621 in WebCore::DOMImplementation::createDocument (type=@0xb4ee3694, frame=0xb4fd20e0, inViewSourceMode=false)
at ../WebCore/dom/DOMImplementation.cpp:319
#10 0xb7263982 in WebCore::FrameLoader::begin (this=0xb4ee35a4, url=@0xbfed2444, dispatch=true, origin=0x0) at ../WebCore/loader/FrameLoader.cpp:936
#11 0xb7544b28 in WebCore::SVGImage::dataChanged (this=0xb48d1190, allDataReceived=true) at ../WebCore/svg/graphics/SVGImage.cpp:219
#12 0xb72f77e0 in WebCore::Image::setData (this=0xb48d1190, data={m_ptr = 0xbfed2508}, allDataReceived=99) at ../WebCore/platform/graphics/Image.cpp:72
#13 0xb724fd74 in WebCore::CachedImage::data (this=0xb48b2780, data={m_ptr = 0xbfed2558}, allDataReceived=<value optimized out>)
at ../WebCore/loader/CachedImage.cpp:233
#14 0xb727b8c4 in WebCore::Loader::Host::didFinishLoading (this=0xb4ee7e28, loader=0xb48b4700) at ../WebCore/loader/loader.cpp:268
#15 0xb7288730 in WebCore::SubresourceLoader::didFinishLoading (this=0xb48b4700) at ../WebCore/loader/SubresourceLoader.cpp:193
#16 0xb7284391 in WebCore::ResourceLoader::didFinishLoading (this=0xb48b4700) at ../WebCore/loader/ResourceLoader.cpp:389
#17 0xb73d9795 in WebCore::ResourceHandleManager::downloadTimerCallback (this=0xb4f15dc0, timer=0xb4f15dc0)
at ../WebCore/platform/network/curl/ResourceHandleManager.cpp:298
#18 0xb73d9be1 in WebCore::Timer<WebCore::ResourceHandleManager>::fired (this=0xb4f15dc0) at ../WebCore/platform/Timer.h:99
#19 0xb7319412 in WebCore::TimerBase::fireTimers (fireTime=1244722808.9576609, firingTimers=@0xbfed2824) at ../WebCore/platform/Timer.cpp:347
#20 0xb73194e7 in WebCore::TimerBase::sharedTimerFired () at ../WebCore/platform/Timer.cpp:368
#21 0xb757d49e in timeout_cb () at ../WebCore/platform/gtk/SharedTimerGtk.cpp:48
#22 0xb6832c81 in g_idle_dispatch (source=0x8ac67c8, callback=0x695f6b63, user_data=0x0) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:3922
#23 0xb6834b88 in IA__g_main_context_dispatch (context=0x8573628) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#24 0xb68380eb in g_main_context_iterate (context=0x8573628, block=1, dispatch=1, self=0x8545408) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#25 0xb68385ba in IA__g_main_loop_run (loop=0x8923a30) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2656
#26 0xb6d2b7d9 in IA__gtk_main () at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c:1205
#27 0x0805956e in main (argc=142499600, argv=0x2) at empathy.c:629
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Xavier Claessens
Here is the html template I'm using, if course that html is edited by empathy to replace all "%@" by some text values.
Xavier Claessens
Forgot to tell: I'm using libwebkit 1.0.1-4 from ubuntu jaunty.
Xavier Claessens
I upgraded to webkit 1.1.7 and I can't reproduce.
Feel free to close this bug :)
Gustavo Noronha (kov)
Great, thanks for the feedback =)