What steps will reproduce the problem?
1. chromium-browser examples/FBTestPlugin/test.html
2.
3.
What is the expected output? What do you see instead?
expected all test pass, but:
Core was generated by `/usr/lib64/chromium-browser/chromium-browser
--type=plugin --plugin-path=/home/'.
Program terminated with signal 11, Segmentation fault.
#0 _NPN_UTF8FromIdentifier (identifier=0x0) at
third_party/WebKit/WebCore/bindings/v8/npruntime.cpp:233
233 if (!privateIdentifier->isString ||
!privateIdentifier->value.string)
(gdb) bt
#0 _NPN_UTF8FromIdentifier (identifier=0x0) at
third_party/WebKit/WebCore/bindings/v8/npruntime.cpp:233
#1 0x00007f7ea3fe8750 in FB::Npapi::NpapiPluginModule::UTF8FromIdentifier
(this=0x1b1d600, identifier=0x0)
at /home/nikita/work/Firefox/firebreath/src/NpapiPlugin/NpapiPluginModule.cpp:160
#2 0x00007f7ea3fe878f in FB::Npapi::NpapiPluginModule::StringFromIdentifier
(this=0x1b1d600, identifier=0x0)
at /home/nikita/work/Firefox/firebreath/src/NpapiPlugin/NpapiPluginModule.cpp:171
#3 0x00007f7ea3ff04a9 in FB::Npapi::NpapiBrowserHost::StringFromIdentifier
(this=0x1ac2000, identifier=0x0)
at /home/nikita/work/Firefox/firebreath/src/NpapiPlugin/NpapiBrowserHost.cpp:366
#4 0x00007f7ea3ffad00 in FB::Npapi::NPJavascriptObject::Invoke
(this=0x1b6aac0, name=0x0, args=0x1b1e720, argCount=1, result=0x7ffff0375150)
at /home/nikita/work/Firefox/firebreath/src/NpapiPlugin/NPJavascriptObject.cpp:98
#5 0x00007f7ea3ffafdf in FB::Npapi::NPJavascriptObject::InvokeDefault
(this=0x1b6aac0, args=0x1b1e720, argCount=1, result=0x7ffff0375150)
at /home/nikita/work/Firefox/firebreath/src/NpapiPlugin/NPJavascriptObject.cpp:124
#6 0x00007f7ea3ffbfda in FB::Npapi::NPJavascriptObject::_InvokeDefault
(npobj=0x1b6aac8, args=0x1b1e720, argCount=1, result=0x7ffff0375150)
at /home/nikita/work/Firefox/firebreath/src/NpapiPlugin/NPJavascriptObject.cpp:292
#7 0x00007f7eb761202c in NPObjectStub::OnInvoke (this=0x1abc630,
is_default=true, method=..., args=std::vector of length 1, capacity 1 = {...},
reply_msg=
0x1dffc60) at chrome/plugin/npobject_stub.cc:146
#8 0x00007f7eb761341b in DispatchToMethod<NPObjectStub, void
(NPObjectStub::*)(bool, NPIdentifier_Param const&, std::vector<NPVariant_Param>
const&, IPC::Message*), bool, NPIdentifier_Param, std::vector<NPVariant_Param>,
IPC::Message&> (this=0x1abc630, msg=...) at base/tuple.h:751
#9 DispatchDelayReply<NPObjectStub, void (NPObjectStub::*)(bool,
NPIdentifier_Param const&, std::vector<NPVariant_Param> const&, IPC::Message*)>
(this=
0x1abc630, msg=...) at ipc/ipc_message_utils.h:1162
#10 NPObjectStub::OnMessageReceived (this=0x1abc630, msg=...) at
chrome/plugin/npobject_stub.cc:75
#11 0x00007f7eba078966 in MessageRouter::RouteMessage (this=0x1acf6a8, msg=...)
at chrome/common/message_router.cc:46
#12 0x00007f7eb761c637 in PluginChannelBase::OnMessageReceived (this=0x1acf640,
message=...) at chrome/plugin/plugin_channel_base.cc:154
#13 0x00007f7eb76160da in PluginChannel::OnMessageReceived (this=0x1acf640,
msg=...) at chrome/plugin/plugin_channel.cc:206
#14 0x00007f7eb570d2c1 in IPC::SyncChannel::SyncContext::DispatchMessages() ()
from /usr/lib64/chromium-browser/libipc.so
#15 0x00007f7eb570d3b9 in
IPC::SyncChannel::OnWaitableEventSignaled(base::WaitableEvent*) () from
/usr/lib64/chromium-browser/libipc.so
#16 0x00007f7eb99921b7 in MessageLoop::RunTask (this=0x7ffff0379410,
task=0x1b4d060) at base/message_loop.cc:423
#17 0x00007f7eb9993a30 in MessageLoop::DeferOrRunPendingTask (this=<value
optimized out>, pending_task=<value optimized out>) at base/message_loop.cc:432
#18 0x00007f7eb9993c53 in MessageLoop::DoWork (this=0x7ffff0379410) at
base/message_loop.cc:539
#19 0x00007f7eb9961f99 in base::MessagePumpForUI::HandleDispatch
(this=0x1aac420) at base/message_pump_glib.cc:284
#20 0x00007f7eb9961fdd in (anonymous namespace)::WorkSourceDispatch
(source=<value optimized out>, unused_func=<value optimized out>,
unused_data=<value optimized out>) at base/message_pump_glib.cc:109
#21 0x0000003cdc041e33 in g_main_dispatch (context=0x1ab91a0) at gmain.c:2149
#22 g_main_context_dispatch (context=0x1ab91a0) at gmain.c:2702
#23 0x0000003cdc042610 in g_main_context_iterate (context=0x1ab91a0, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2780
#24 0x0000003cdc0428ad in g_main_context_iteration (context=0x1ab91a0,
may_block=1) at gmain.c:2843
#25 0x00007f7eb9961b9f in base::MessagePumpForUI::RunOnce (this=<value
optimized out>, context=<value optimized out>, block=<value optimized out>)
at base/message_pump_glib.cc:236
#26 0x00007f7eb9961a93 in base::MessagePumpForUI::RunWithDispatcher
(this=0x1aac420, delegate=<value optimized out>, dispatcher=<value optimized
out>)
at base/message_pump_glib.cc:210
#27 0x00007f7eb999519a in MessageLoop::RunInternal (this=0x7ffff0379410) at
base/message_loop.cc:271
#28 0x00007f7eb9995374 in MessageLoop::Run (this=0x7ffff0379410) at
base/message_loop.cc:221
#29 0x00007f7eb761cc7d in PluginMain (parameters=<value optimized out>) at
chrome/plugin/plugin_main.cc:174
#30 0x000000000040f45a in RunNamedProcessTypeMain (argc=-264787280,
argv=0x7ffff037aa70) at chrome/app/chrome_main.cc:587
#31 ChromeMain (argc=-264787280, argv=0x7ffff037aa70) at
chrome/app/chrome_main.cc:905
#32 0x0000000000410071 in main (argc=6, argv=0x7ffff037ad18) at
chrome/app/chrome_exe_main_gtk.cc:49
What version of FireBreath are you using? On what operating system and
browsers?
Linux Fedora 14 x86_64
get master branch from github (d3c93b39bba3065250a56f7be8f079486e7df0b6)
chromium-9.0.600.0-2.fc14.x86_64
Please provide any additional information below.
the same and for google-chrome
Original issue reported on code.google.com by bignikita on 27 Dec 2010 at 8:55
Original issue reported on code.google.com by
bignikita
on 27 Dec 2010 at 8:55