[webkit-dev] [plugins]problem while loading plugin at PluginDatabase::add
jungseunglee at gmail.com
Mon Mar 28 06:12:59 PDT 2011
I am developing wekit plugins. plugins has been almost developed but
got a wonder problem.
that loading is failed because NP_Shutdown is invoked right after NP_Initialise.
below is that call-trace
#0 0x4155a158 in WebCore::PluginPackage::unload() ()
#1 0x4155aba0 in WebCore::PluginPackage::~PluginPackage() ()
#2 0x41552250 in
I made many plugins but only one has been failed with this code
bool PluginDatabase::add(PassRefPtr<PluginPackage> prpPackage)
RefPtr<PluginPackage> package = prpPackage;
if (!m_plugins.add(package).second) <=== m_plugins.add(package).second is 0
the wonder problem is that if I make 'touch'(change the modify time)
with that plugins(so file)
problem has been disappeeared.
I don't know well about the core-routine of webkit.
How PluginDatabase::add are cheking the duplication of plugins?
Is there any idea for debugging this issue.?
Any advise is welcome..
More information about the webkit-dev