IRC Log Viewer » #firebreath » 2016-09-28

IRC Nick Time (GMT-7) Message
gopi 08:09 Hi anyone there
FireWyrmNativeMessageHost.exe is crashing
i need help to find the issue
It is crashing in WyrmBrowserHost.cpp: Promise<void> WyrmBrowserHost::init() { // Get the browser object auto self = std::dynamic_pointer_cast<WyrmBrowserHost>(shared_from_this()); auto browserDfd = module->DoCommand(FB::VariantList{ "New", "browser", FB::VariantMap{} }, self); Deferred<void> dfdReady(false);//crash occurs here
CallStack::
NPDISP~1.DLL!boost::any::~any() Line 57 C++ [External Code] > NPDISP~1.DLL!FB::FireWyrm::WyrmBrowserHost::init() Line 40 C++ NPDISP~1.DLL!FB::FireWyrm::WyrmColony::New(std::vector<FB::variant,std::allocator<FB::variant> > args) Line 362 C++ NPDISP~1.DLL!FB::FireWyrm::WyrmColony::onCommand(const unsigned int cmdId, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > command) Line 287 C++ NPDISP~1.DLL!FW_onComma
i have posted the question in firebreath google groups
someone
please help me to fix this issue
gopi 10:09 hi anyone there
FireWyrmNativeMessageHost.exe is crashing
It is crashing in WyrmBrowserHost.cpp: Promise<void> WyrmBrowserHost::init() { // Get the browser object auto self = std::dynamic_pointer_cast<WyrmBrowserHost>(shared_from_this()); auto browserDfd = module->DoCommand(FB::VariantList{ "New", "browser", FB::VariantMap{} }, self); Deferred<void> dfdReady(false);//crash occurs here
please help me to identify the issue
taxilian 10:09 hi gopi
if you mention my name in here I'm more likeliy to see you
what is the crash? (I mean what is the actual message of the crash)
gopi 11:09 hi richard
i have posted my crash call stack in firebreath google groups could you please check it
taxilian 11:09 I didn't ask for the call stack, I asked for the message
gopi 11:09 message( am not getting what you mean as message)
When I call initPlugin() in http://pastebin.com/xRcC1Lz4 and FireWyrmNativeMessageHost.exe is crashing
taxilian 11:09 when something crashes there is a message. It's usually something like ACCESS_VIOLATION at 0xdeadbeef or something like that
or an unhandled exception
what is actually happening? crash is a generic term for a lot of different actual things
gopi 11:09 just a min i will mention
Unhandled exception at 0x50CBE4D3 (npEchoTestPlugin.dll) in FireWyrmNativeMessageHost.exe: 0xC0000005: Access violation reading location 0xDDDDDDDD.
taxilian 11:09 I can't help but notice that in your call stack it isn't actually echotestplugin; I assume you say it's echotestplugin because you've seen it there as well?
gopi 11:09 yes it was crashin in my project then i used the EchoTestPlugin project to check
taxilian 11:09 what compiler are you using to build?
gopi 11:09 from EchoTestPlugin project also i am seeing the same crash
taxilian 11:09 this is in Chrome, I assume?
gopi 11:09 vs2013
yes
taxilian 11:09 pro or community?
gopi 11:09 pro
taxilian 11:09 odd. off hand I have no idea; does it happen every time?
gopi 11:09 yes
crash occurs in this line Deferred<void> dfdReady(false);
crash occurs in this line Deferred<void> dfdReady(false);
could you able to find anything from callstack
if i comment the following in boost any.hpp ~any() { //delete content;} //there is no crash occuring
richard there?
taxilian 11:09 sorry, I'm at work and have a lot going on right now
that's not where the crash happens; the crash happens in any.hpp
it's possible it's somehow getting called twice
I haven't seen the issue myself, though, which is odd. ours is working perfectly
you might want to try a few revisions back and see if it used to work
gopi 11:09 yes crash happens in any.hpp
which compiler are you using and windows version
taxilian 11:09 are you using the correct version of boost?
the one linked to the 2.x branch?
gopi 11:09 i checked out the firebreath 2.0 project from github
taxilian 11:09 and did a submodule update?
gopi 11:09 while generating the project firebreath will check out boost am right
taxilian 11:09 yeah, but it will fall back to pulling it down with wget, if I remember correctly, if it can't find git; it's possible it may have given you the wrong version
gopi: btw, on IRC instead of sending a private message to get someone's attention you just mention their nick and their client will ping them
gopi 11:09 oh then which version of boost we need to use to fix this issue
taxilian 11:09 just pull down the submodule
83f140e3a0bdc5dcc3ba6e7708c7aa8119ad5d10 3rdParty/boost (remotes/origin/1.57.0)
gopi 11:09 how to do this
what am not understanding please correct me
taxilian 12:09 if you do a clean checkout of firebreath from git then you just go 'git submodule update --init --recursive'
and it'd be a good idea for you to spend a little time and learn about what git submodules are and how they wrok
gopi 12:09 oh thanks
can this proper boost version might solve this issue?
taxilian 12:09 it's possible, though TBH I would expect for it to not compile w/ the wrong one
but it's definitely something you want to make sure you have the right version
gopi 12:09 that's right
which compiler are you using and windows OS version
which compiler are you using and windows OS version
taxilian 12:09 vs2013 pro
and windows 7 I think
gopi 12:09 ok
you said that crash is happening in any.hpp and somehow it is getting called twice---> what else might be the reason for this
taxilian 12:09 I don't know. the error is that memory is being freed which has either not been allocated or has already been freed
I don't know what would cause that