无法读取内存 [英] The memory could not be read

查看:117
本文介绍了无法读取内存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



成功执行我的c ++ exe之后会出现一条错误消息,例如

''0x0034412c处的指令引用了0x3f92b818处的内存。内存不能是读''。消息传来3-4次之后,只有exe才能关闭。请帮助我....

Hi,
After successfull execution of my c++ exe there comes an error message like
''the instruction at 0x0034412c referenced memory at 0x3f92b818.The memory could not be read'' . 3-4 times the message is coming after that only the exe will close. please help me ....

推荐答案

我们有机会看到代码是什么样的吗?
Any chance that we will see what the code looks like?





成功执行我的c ++ exe之后会出现一条错误消息,例如

''0x0034412c处的指令引用0x3f92b818处的内存。内存无法读取''。消息传来3-4次之后,只有exe才能关闭。请帮助我....
Hi,
After successfull execution of my c++ exe there comes an error message like
''the instruction at 0x0034412c referenced memory at 0x3f92b818.The memory could not be read'' . 3-4 times the message is coming after that only the exe will close. please help me ....



这是微软告诉你你的程序导致分段违反b $ b违规的方式,即你的程序试图从一个不属于b $ b的内存位置读取属于程序的地址空间。通常来说:一个bug,因为

指针指向la-la-land。


亲切的问候,


Jos

That is Microsoft''s way of telling you that your program caused a segmentation
violation, i.e. your program tries to read from a memory location that doesn''t
belong to the programs address space. Normally speaking: a bug because a
pointer is pointing into la-la-land.

kind regards,

Jos



我们有机会看到代码是什么样的吗?
Any chance that we will see what the code looks like?



这是一个很大的项目..发布代码很困难。该项目包含大约12-14个cpp文件和大约20个.h文件。

每个cpp文件的平均行数约为4000,每个cpp文件的平均数据量为3000000.

造成这个问题的可能原因是什么?


This is a big project .. it is difficul to publish the code . The project consists of around 12-14 cpp files and around 20 more .h files .
Average lines per cpp file is around 4000 and average datasize per cpp file is 3000000.
what are the possible reasons making this problem?


这篇关于无法读取内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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