iexplore.exe中0x75619617(KernelBase.dll)的未处理异常 [英] Unhandled exception at 0x75619617 (KernelBase.dll) in iexplore.exe

查看:153
本文介绍了iexplore.exe中0x75619617(KernelBase.dll)的未处理异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个基于firebreath的插件,它添加了两个整数。

我正在通过将源附加到浏览器来调试插件。我在PLUGINAPI.cpp的这一步得到了上述异常。

我创建并构建了包装器的dll和c#类库。它正在工作......将这些项目引用到我的firebreath api项目中。



在PLUGINAPI项目>>

< pre lang =c ++> int PLUGINAPI :: PerformAddition( int a, int b)
{
IWrapIt * wrapIt = IWrapIt :: CreateInstance();
HWND handler = getPlugin() - > AttachedWindow;
wrapIt-> SetHandle(处理程序); // 超出例外
return wrapIt-> PerformAddition(a,b);
}



在PLUGIN.cpp中(附加窗口事件)>>



bool PLUGIN :: onWindowAttached(FB :: AttachedEvent * evt,FB :: PluginWindow * wnd)
{
// 窗口已附加;适当行动
AttachedWindow = wnd-> get_as< fb :: pluginwindowwin xmlns:fb = #unknown>() - > getHWND();
return false ;
}





我在这里做错了什么?

另外我在c#类的调试点即使我已经将firebreath(非托管c ++)调试的属性设置为混合

我的CALL STACK如下所示:





KernelBase.dll!RaiseException()+ 0x54字节

[下面的框架可能不正确和/或缺失,没有为KernelBase.dll加载符号]

clr.dll!LogHelp_TerminateOnAssert()+ 0x2e1b0 bytes

clr.dll!CopyPDBs()+ 0x4abd bytes

clr.dll!CorLaunchApplication()+ 0x25745 bytes

clrjit.dll!61d17e0e()

clrjit.dll!61d2d342()

clrjit.dll!61d13396()
clrjit.dll!61d134c9()

clrjit.dll!61d15e4b()

clr.dll!LogHelp_TerminateOnAssert()+ 0x12d99 bytes

clr.dll!LogHelp_TerminateOnAssert()+ 0x12e25 bytes

clr.dll!LogHelp_TerminateOnAssert()+ 0x12e6b bytes

clr.dll!LogHelp_TerminateOnAssert()+ 0x12c40 bytes

clr.dll!LogHelp_TerminateOnAssert()+ 0x76d7b bytes

clr.dll!LogHelp_TerminateOnAssert()+ 0x76f28 bytes

clr.dll!CoUninitializeEE()+ 0x3d8d bytes

01e90817()



i从MicrosoftSymbolSAervers.kept下载了Kernelbase32.dll的符号,它在visual studio.still中检查无法正常工作

解决方案

我在您的此问题的其他帖子中提出了建议 [ ^ ],在功能中使用它们之前,您没有检查返回值调用。使用你的调试器来看看这些值到底是什么,以及断言发生的原因。


此外,请不要重新发布相同的问题;使用改善问题小部件来编辑原文。


I''m making a firebreath based plugin which adds two integers.
I''m debugging the plugin by attaching the source to the browser. I''m getting the above exception at this step of my PLUGINAPI.cpp
I have created and built the dll of the wrapper and the c# class libraries. it''s working..added the project references of these to my firebreath api project.

In PLUGINAPI project>>

    int PLUGINAPI::PerformAddition(int a, int b)
    {
        IWrapIt *wrapIt=IWrapIt::CreateInstance();
        HWND handler=getPlugin()->AttachedWindow;
        wrapIt->SetHandle(handler);//ABOVE EXCEPTION RAISED HERE
        return wrapIt->PerformAddition(a,b);
    }



In PLUGIN.cpp(window attached event)>>

 

     bool PLUGIN::onWindowAttached(FB::AttachedEvent *evt, FB::PluginWindow * wnd)
    {
        // The window is attached; act appropriately
        AttachedWindow = wnd->get_as<fb::pluginwindowwin xmlns:fb="#unknown">()->getHWND();
        return false;
    }



What am I doing wrong here?
Also My debug point in c# class library is not hit even if i have set the Property of the firebreath (unmanaged c++) debugging to mixed
MY CALL STACK here is as follows:


KernelBase.dll!RaiseException() + 0x54 bytes
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
clr.dll!LogHelp_TerminateOnAssert() + 0x2e1b0 bytes
clr.dll!CopyPDBs() + 0x4abd bytes
clr.dll!CorLaunchApplication() + 0x25745 bytes
clrjit.dll!61d17e0e()
clrjit.dll!61d2d342()
clrjit.dll!61d13396()
clrjit.dll!61d134c9()
clrjit.dll!61d15e4b()
clr.dll!LogHelp_TerminateOnAssert() + 0x12d99 bytes
clr.dll!LogHelp_TerminateOnAssert() + 0x12e25 bytes
clr.dll!LogHelp_TerminateOnAssert() + 0x12e6b bytes
clr.dll!LogHelp_TerminateOnAssert() + 0x12c40 bytes
clr.dll!LogHelp_TerminateOnAssert() + 0x76d7b bytes
clr.dll!LogHelp_TerminateOnAssert() + 0x76f28 bytes
clr.dll!CoUninitializeEE() + 0x3d8d bytes
01e90817()

i downloaded the symbols for Kernelbase32.dll from MicrosoftSymbolSAervers.kept it checked in visual studio.still not working

解决方案

I made a suggestion in your other post of this same problem[^], that you are not checking your return values, before using them in function calls. Use your debugger to see what these values really are, and why the assert occurs.

Also, please do not repost the same question; use the "Improve question" widget to edit the original.


这篇关于iexplore.exe中0x75619617(KernelBase.dll)的未处理异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆