<?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>129542</bug_id>
          
          <creation_ts>2014-03-01 02:19:05 -0800</creation_ts>
          <short_desc>[GTK] [Stable] Fix wide pointer issues on ia64</short_desc>
          <delta_ts>2017-03-11 10:59:38 -0800</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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>1</everconfirmed>
          <reporter name="Pacho Ramos">pachoramos1</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>gnome</cc>
    
    <cc>xinchao.peng</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>985909</commentid>
    <comment_count>0</comment_count>
      <attachid>225546</attachid>
    <who name="Pacho Ramos">pachoramos1</who>
    <bug_when>2014-03-01 02:19:05 -0800</bug_when>
    <thetext>Created attachment 225546
webkit-gtk-2.2.5-ia64-malloc.patch

This patch is being applied for a long time on Debian and we also needed it on Gentoo for being able to *run* webkit-gtk stuff there

Thanks for accepting it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1021577</commentid>
    <comment_count>1</comment_count>
    <who name="Peng Xinchao">xinchao.peng</who>
    <bug_when>2014-07-10 00:09:47 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Created an attachment (id=225546) [details]
&gt; webkit-gtk-2.2.5-ia64-malloc.patch
&gt; This patch is being applied for a long time on Debian and we also needed it on Gentoo for being able to *run* webkit-gtk stuff there
&gt; Thanks for accepting it

Dear Ramos:
   Could you explain the thread-unsafe code ? Which code of &quot;fastmalloc&quot; need threadsafty? 
   I want to know more details about thread-unsafe code 。
thank you</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1021579</commentid>
    <comment_count>2</comment_count>
    <who name="Peng Xinchao">xinchao.peng</who>
    <bug_when>2014-07-10 00:19:47 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; (In reply to comment #0)
&gt; &gt; Created an attachment (id=225546) [details] [details]
&gt; &gt; webkit-gtk-2.2.5-ia64-malloc.patch
&gt; &gt; This patch is being applied for a long time on Debian and we also needed it on Gentoo for being able to *run* webkit-gtk stuff there
&gt; &gt; Thanks for accepting it
&gt; Dear Ramos:
&gt;    Could you explain the thread-unsafe code ? Which code of &quot;fastmalloc&quot; need threadsafty? 
&gt;    I want to know more details about thread-unsafe code 。
&gt; thank you

  In CPU(ARM) GTK platform ,I happen some crash about &quot;fastmalloc&quot;  in the pressure test. These backtrace of crash are differernt , but all happen in &quot;fastmalloc&quot; function .
Example :
#0  0x4f5e461c in WTF::fastMalloc(unsigned int) () 
#1  0x4f606070 in WTF::CStringBuffer::createUninitialized(unsigned int) () 
#2  0x4f6060ac in WTF::CString::init(char const*, unsigned int) () 
#3  0x4f606194 in WTF::CString::CString(char const*) () 
#4  0x4cf41b74 in WebKit::SefClient::execute(WTF::Vector&lt;WTF::CString, 0u, WTF::CrashOnOverflow&gt; const&amp;) () 
#5  0x4cf6c8b4 in WebKit::Pepper::PepperSefClientHost::onExecute(WebKit::Pepper::Host::HostMessageContext*, WTF::Vector&lt;WTF::CString, 0u, WTF::CrashOnOverflow&gt; const&amp;) ()
#6  0x4cf6cd7c in WebKit::Pepper::PepperSefClientHost::onResourceMessageReceived(CoreIPC::MessageDecoder&amp;, WebKit::Pepper::Host::HostMessageContext*) ()
#7  0x4cf6a7b0 in WebKit::Pepper::Host::ResourceMessageHandler::runMessageHandlerAndReply(CoreIPC::MessageDecoder&amp;, WebKit::Pepper::Host::HostMessageContext*) ()
#8  0x4cf69858 in WebKit::Pepper::Host::ResourceHost::handleMessage(CoreIPC::MessageDecoder&amp;, WebKit::Pepper::Host::HostMessageContext*) ()
#9  0x4cf686a4 in WebKit::Pepper::Host::PpapiHost::handleResourceCall(WebKit::Pepper::Proxy::ResourceMessageCallParams const&amp;, WebKit::Pepper::Proxy::NestedMessage const&amp;, WebKit::Pepper::Host::HostMessageContext*) ()
#10 0x4cf687dc in WebKit::Pepper::Host::PpapiHost::didReceiveResourceCallMessage(WebKit::Pepper::Proxy::ResourceMessageCallParams const&amp;, WebKit::Pepper::Proxy::NestedMessage const&amp;) ()
#11 0x4cf69598 in void CoreIPC::handleMessage&lt;Messages::PpapiHost::ResourceCall, WebKit::Pepper::Host::PpapiHost, void (WebKit::Pepper::Host::PpapiHost::*)(WebKit::Pepper::Proxy::ResourceMessageCallParams const&amp;, WebKit::Pepper::Proxy::NestedMessage const&amp;)&gt;(CoreIPC::MessageDecoder&amp;, WebKit::Pepper::Host::PpapiHost*, void (WebKit::Pepper::Host::PpapiHost::*)(WebKit::Pepper::Proxy::ResourceMessageCallParams const&amp;, WebKit::Pepper::Proxy::NestedMessage const&amp;)) ()
#12 0x4cf68a68 in WebKit::Pepper::Host::PpapiHost::didReceiveMessage(CoreIPC::MessageDecoder&amp;) ()
#13 0x4cf7a08c in WebKit::Pepper::UiPpapiHostImpl::HostMessageFilter::didReceiveMessage(CoreIPC::MessageDecoder&amp;) () 
#14 0x4ceb6328 in WebKit::Dispatcher::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&amp;) () 
#15 0x4e6bf2c4 in CoreIPC::Connection::dispatchMessage(CoreIPC::MessageDecoder&amp;) () 
#16 0x4e6bfd0c in CoreIPC::Connection::dispatchMessage(WTF::PassOwnPtr&lt;CoreIPC::MessageDecoder&gt;) () 
#17 0x4e6bfe90 in CoreIPC::Connection::dispatchOneMessage() () 
#18 0x4e6c3568 in WTF::BoundFunctionImpl&lt;WTF::FunctionWrapper&lt;void (CoreIPC::Connection::*)()&gt;, void (CoreIPC::Connection*), void ()&gt;::operator()() ()
#19 0x4e58bdb0 in WebCore::RunLoop::performWork() () 
#20 0x4e597e84 in WebCore::RunLoop::queueWork(WebCore::RunLoop*) ()</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>225546</attachid>
            <date>2014-03-01 02:19:05 -0800</date>
            <delta_ts>2014-03-01 02:19:05 -0800</delta_ts>
            <desc>webkit-gtk-2.2.5-ia64-malloc.patch</desc>
            <filename>webkit-gtk-2.2.5-ia64-malloc.patch</filename>
            <type>text/plain</type>
            <size>780</size>
            <attacher name="Pacho Ramos">pachoramos1</attacher>
            
              <data encoding="base64">RGVzY3JpcHRpb246IEZpeCB3aWRlIHBvaW50ZXIgaXNzdWVzIG9uIGlhNjQgKGNsb3NlczogIzY0
Mjc1MCkuCkF1dGhvcjogU3RlcGhhbiBTY2hyZWliZXIgPGluZm9AZnMtZHJpdmVyLm9yZz4KSW5k
ZXg6IHdlYmtpdGd0ay9Tb3VyY2UvV1RGL3d0Zi9QbGF0Zm9ybS5oCj09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHdl
YmtpdGd0ay5vcmlnL1NvdXJjZS9XVEYvd3RmL1BsYXRmb3JtLmgKKysrIHdlYmtpdGd0ay9Tb3Vy
Y2UvV1RGL3d0Zi9QbGF0Zm9ybS5oCkBAIC03MDUsNiArNzA1LDEzIEBACiAjZGVmaW5lIEVOQUJM
RV9KSVQgMQogI2VuZGlmCiAKKy8qIEZJWE1FOiBUaGUgZmFzdCBtYWxsb2MgaW1wbG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