[Webkit-unassigned] [Bug 18935] New: [Gtk] Plugin Load crashes with NP_FULL mode
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 7 22:32:46 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=18935
Summary: [Gtk] Plugin Load crashes with NP_FULL mode
Product: WebKit
Version: 526+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Plug-ins
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: sriram.neelakandan at gmail.com
NP_EMBED mode plugin works fine,
when the same plugin is loaded with the URL, it crashes at
void PluginView::didReceiveData(const char* data, int length)
{
ASSERT(m_loadManually);
ASSERT(m_manualStream);
m_manualStream->didReceiveData(0, data, length);
}
On further DEBUG i found m_manualStream is NULL.
Reason: PluginView::didReceiveResponse does not get called, from
FrameLoaderClient::commitedLoad.
FrameLoaderCleint::m_hasSentResponseToPlugin is not initialized and has some
JUNK data. So the following check fails :
if (!m_hasSentResponseToPlugin) {
m_pluginView->didReceiveResponse(loader->response());
m_hasSentResponseToPlugin = true;
}
I will attach a patch shortly to initialize m_hasSentResponseToPlugin
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list