简体   繁体   English

Delphi XE6 在安装 bpl 时崩溃

[英]Delphi XE6 crashes while installing bpl

I have a project developed in delphi, that intends to install some components.我在 delphi 开发了一个项目,打算安装一些组件。 These components are nothing but just inherited children of Firedac, and some other.这些组件只不过是 Firedac 和其他一些继承的子组件。

When I open the project in Delphi XE6, it opens fine.当我在 Delphi XE6 中打开项目时,它可以正常打开。 But, when I try to install the.bpl project by right clicking on project and selecting install option, the IDE crashes everytime.但是,当我尝试通过右键单击项目并选择安装选项来安装 .bpl 项目时,IDE 每次都会崩溃。

The target platform is 32 bit.目标平台是 32 位。 Each time, when XE6 crashes and gets shut down, there is a error in event log.每次,当 XE6 崩溃并关闭时,事件日志中都会出现错误。 The screenshots for event logs are attached.附上事件日志的屏幕截图。 常规选项卡 详细信息选项卡

Also, I have tried with allowing the bds.exe app in firewall profiles.此外,我尝试在防火墙配置文件中允许 bds.exe 应用程序。

It used to crash earlier also, but after trying for some time, it used to work.它曾经也很早就崩溃了,但是在尝试了一段时间后,它曾经可以工作。 Now it does not.现在它没有。 I have also tried with old code base for.bpl project but that does not help.我也尝试过使用旧代码库 for.bpl 项目,但这没有帮助。

Any help on this is really appreciated.对此的任何帮助都非常感谢。

The likely explanation is that there is a defect in the initialization or registration code of the bpl.可能的解释是 bpl 的初始化或注册代码存在缺陷。 The error code 0xC0000005 is the NTSTATUS code for an access violation.错误代码0xC0000005是访问冲突的NTSTATUS代码。

Whilst the error is raised from the Delphi runtime module rtl200.bpl it is your package that is the likely culprit.虽然错误是从 Delphi 运行时模块rtl200.bpl的,但您的 package 可能是罪魁祸首。 Probably it has called the runtime library passing invalid data.可能它调用了运行时库来传递无效数据。

You will need to debug your package to solve this.您需要调试 package 来解决这个问题。 Start by stripping code out of it progressively until the error disappears at that point you know that the error is caused by the code you just removed.首先逐步剥离代码,直到错误消失,此时您知道错误是由您刚刚删除的代码引起的。 Refine the process until you have a strong lead, and then follow that lead.完善流程,直到你有一个强有力的领导,然后跟随那个领导。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM