<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>26318</bug_id>
          
          <creation_ts>2009-06-11 05:48:53 -0700</creation_ts>
          <short_desc>Crash when loading adium theme</short_desc>
          <delta_ts>2009-06-11 13:07:00 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Xavier Claessens">xclaesse</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gustavo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125300</commentid>
    <comment_count>0</comment_count>
    <who name="Xavier Claessens">xclaesse</who>
    <bug_when>2009-06-11 05:48:53 -0700</bug_when>
    <thetext>I&apos;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 &lt;Address 0x695f6b63 out of bounds&gt;) 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=&lt;value optimized out&gt;)

    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&lt;WebCore::ResourceHandleManager&gt;::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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125301</commentid>
    <comment_count>1</comment_count>
    <who name="Xavier Claessens">xclaesse</who>
    <bug_when>2009-06-11 05:53:08 -0700</bug_when>
    <thetext>Here is the html template I&apos;m using, if course that html is edited by empathy to replace all &quot;%@&quot; by some text values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125302</commentid>
    <comment_count>2</comment_count>
    <who name="Xavier Claessens">xclaesse</who>
    <bug_when>2009-06-11 05:56:20 -0700</bug_when>
    <thetext>Forgot to tell: I&apos;m using libwebkit 1.0.1-4 from ubuntu jaunty.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125308</commentid>
    <comment_count>3</comment_count>
    <who name="Xavier Claessens">xclaesse</who>
    <bug_when>2009-06-11 07:52:48 -0700</bug_when>
    <thetext>I upgraded to webkit 1.1.7 and I can&apos;t reproduce.

Feel free to close this bug :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125364</commentid>
    <comment_count>4</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-06-11 13:07:00 -0700</bug_when>
    <thetext>Great, thanks for the feedback =)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>