NEW 129542
[GTK] [Stable] Fix wide pointer issues on ia64
https://bugs.webkit.org/show_bug.cgi?id=129542
Summary [GTK] [Stable] Fix wide pointer issues on ia64
Pacho Ramos
Reported 2014-03-01 02:19:05 PST
Created attachment 225546 [details] 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
Attachments
webkit-gtk-2.2.5-ia64-malloc.patch (780 bytes, patch)
2014-03-01 02:19 PST, Pacho Ramos
no flags
Peng Xinchao
Comment 1 2014-07-10 00:09:47 PDT
(In reply to comment #0) > Created an attachment (id=225546) [details] > 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 Dear Ramos: Could you explain the thread-unsafe code ? Which code of "fastmalloc" need threadsafty? I want to know more details about thread-unsafe code 。 thank you
Peng Xinchao
Comment 2 2014-07-10 00:19:47 PDT
(In reply to comment #1) > (In reply to comment #0) > > Created an attachment (id=225546) [details] [details] > > 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 > Dear Ramos: > Could you explain the thread-unsafe code ? Which code of "fastmalloc" need threadsafty? > I want to know more details about thread-unsafe code 。 > thank you In CPU(ARM) GTK platform ,I happen some crash about "fastmalloc" in the pressure test. These backtrace of crash are differernt , but all happen in "fastmalloc" 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<WTF::CString, 0u, WTF::CrashOnOverflow> const&) () #5 0x4cf6c8b4 in WebKit::Pepper::PepperSefClientHost::onExecute(WebKit::Pepper::Host::HostMessageContext*, WTF::Vector<WTF::CString, 0u, WTF::CrashOnOverflow> const&) () #6 0x4cf6cd7c in WebKit::Pepper::PepperSefClientHost::onResourceMessageReceived(CoreIPC::MessageDecoder&, WebKit::Pepper::Host::HostMessageContext*) () #7 0x4cf6a7b0 in WebKit::Pepper::Host::ResourceMessageHandler::runMessageHandlerAndReply(CoreIPC::MessageDecoder&, WebKit::Pepper::Host::HostMessageContext*) () #8 0x4cf69858 in WebKit::Pepper::Host::ResourceHost::handleMessage(CoreIPC::MessageDecoder&, WebKit::Pepper::Host::HostMessageContext*) () #9 0x4cf686a4 in WebKit::Pepper::Host::PpapiHost::handleResourceCall(WebKit::Pepper::Proxy::ResourceMessageCallParams const&, WebKit::Pepper::Proxy::NestedMessage const&, WebKit::Pepper::Host::HostMessageContext*) () #10 0x4cf687dc in WebKit::Pepper::Host::PpapiHost::didReceiveResourceCallMessage(WebKit::Pepper::Proxy::ResourceMessageCallParams const&, WebKit::Pepper::Proxy::NestedMessage const&) () #11 0x4cf69598 in void CoreIPC::handleMessage<Messages::PpapiHost::ResourceCall, WebKit::Pepper::Host::PpapiHost, void (WebKit::Pepper::Host::PpapiHost::*)(WebKit::Pepper::Proxy::ResourceMessageCallParams const&, WebKit::Pepper::Proxy::NestedMessage const&)>(CoreIPC::MessageDecoder&, WebKit::Pepper::Host::PpapiHost*, void (WebKit::Pepper::Host::PpapiHost::*)(WebKit::Pepper::Proxy::ResourceMessageCallParams const&, WebKit::Pepper::Proxy::NestedMessage const&)) () #12 0x4cf68a68 in WebKit::Pepper::Host::PpapiHost::didReceiveMessage(CoreIPC::MessageDecoder&) () #13 0x4cf7a08c in WebKit::Pepper::UiPpapiHostImpl::HostMessageFilter::didReceiveMessage(CoreIPC::MessageDecoder&) () #14 0x4ceb6328 in WebKit::Dispatcher::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) () #15 0x4e6bf2c4 in CoreIPC::Connection::dispatchMessage(CoreIPC::MessageDecoder&) () #16 0x4e6bfd0c in CoreIPC::Connection::dispatchMessage(WTF::PassOwnPtr<CoreIPC::MessageDecoder>) () #17 0x4e6bfe90 in CoreIPC::Connection::dispatchOneMessage() () #18 0x4e6c3568 in WTF::BoundFunctionImpl<WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>, void (CoreIPC::Connection*), void ()>::operator()() () #19 0x4e58bdb0 in WebCore::RunLoop::performWork() () #20 0x4e597e84 in WebCore::RunLoop::queueWork(WebCore::RunLoop*) ()
Note You need to log in before you can comment on or make changes to this bug.