delphi - Delphi XE6 crashes while installing bpl
问题描述
I have a project developed in delphi, that intends to install some components. These components are nothing but just inherited children of Firedac, and some other.
When I open the project in Delphi XE6, it opens fine. But, when I try to install the .bpl project by right clicking on project and selecting install option, the IDE crashes everytime.
The target platform is 32 bit. Each time, when XE6 crashes and gets shut down, there is a error in event log. The screenshots for event logs are attached.
Also, I have tried with allowing the bds.exe app in firewall profiles.
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.
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. The error code 0xC0000005
is the NTSTATUS
code for an access violation.
Whilst the error is raised from the Delphi runtime module rtl200.bpl
it is your package that is the likely culprit. Probably it has called the runtime library passing invalid data.
You will need to debug your package to solve this. 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.
推荐阅读
- reactjs - 如何映射异步密钥以调用 API
- json - 以与 YAML 源中相同的顺序显示 JSON 对象键
- typescript - 具有联合类型和元组的扩展运算符
- ruby - 如何获得哈希的某些值?
- javascript - 如何从 reactjs 和 API 中检索数据
- python - 如何在 sympy 1.3 上进行区间运算?
- python - 遍历模型odoo 11中的对象
- cakephp - 注意(8):未定义偏移量:2 [APP/View/Helper/CounterHelper.php
- video - 在 amp-story 中使用 amp-video 时,AMP 如何确定加载视频的时间?
- mysql - 使用 MySQL 确定连续条纹