divyang4481 / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

firefox core dump with latest 1.3 beta buld #86

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. in my plugin 
FB::JSAPIPtr MyPluging::createJSAPI()
{
 return FB::JSAPIPtr(new MyPluginAPI(m_host, GetWindow());
}
where 
class MyPluginAPI: public FB::JSAPIAuto
{....}
2.
in gdb break at JSAPIAuto constructor:
(gdb) next                                                                      

24          registerProperty("value", make_property(this, 
&JSAPIAuto::ToString));                                                         

(gdb) step                                                                      

std::allocator<char>::allocator (this=0x7fff4c76d38f)                           

    at /usr/src/debug/gcc-4.4.4-20100630/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/allocator.h:101                               
101           allocator() throw() { }                                           

(gdb) step                                                                      

FB::JSAPIAuto::registerProperty (this=0x7fa218bf3140, name="value", 
propFuncs=...)                                                                  

    at /home/work/Firefox/firebreath/src/ScriptingCore/JSAPIAuto.cpp:60                                                                               
60          m_propertyFunctorsMap[name] = propFuncs;                            

(gdb) step                                                                      

Program received signal SIGSEGV, Segmentation fault.                            

0x00007fa2185fa887 in boost::function1<void, FB::variant 
const&>::move_assign(boost::function1<void, FB::variant const&>&) ()            

   from /home/.mozilla/plugins/npeSign.so 

What is the expected output? What do you see instead?
worked fine before update last night

Please use labels and text to provide additional information.
firebreath source code from "trunk"
#hg sum                                                                         

parent: 610:e2f36ae45ddb tip                                                    

 Merged dev with head for Beta                                                                                                                               
branch: default                                                                 

commit: 1 modified, 12 unknown                                                  

update: (current)  

Original issue reported on code.google.com by bignikita on 1 Oct 2010 at 3:04

GoogleCodeExporter commented 8 years ago
Turned out to be an external problem.  YAY! EASY FIX!

Original comment by rich...@firebreath.org on 1 Oct 2010 at 5:25

GoogleCodeExporter commented 8 years ago
fixed 
plugin was build with headers from different boost version

Original comment by bignikita on 1 Oct 2010 at 5:25