Python论坛  - 讨论区

标题:RE: [python-chinese] Fw: 请教:关于Python解释器嵌入VC应用程序的问题...

2005年07月19日 星期二 16:52

Robert Chen - 陈儒 Robert.Chen at zyxel.cn
Tue Jul 19 16:52:37 HKT 2005

应该是你的程度内存访问越界了

 

________________________________

From: python-chinese-bounces at lists.python.cn [mailto:python-chinese-bounces at lists.python.cn] On Behalf Of xu.shengyong
Sent: Tuesday, July 19, 2005 4:14 PM
To: python-chinese at lists.python.cn
Subject: [python-chinese] Fw: 请教:关于Python解释器嵌入VC应用程序的问题...

 

请问在VC的Debug模式下运行程序时出现如下报错信息是什么含义?尤其其中的bad trailing pad byte是什么概念?谢谢!

 

Debug memory block at address p=00A7BED0:
    38 bytes originally requested
    The 4 pad bytes at p-4 are FORBIDDENBYTE, as expected.
    The 4 pad bytes at tail=00A7BEF6 are not all FORBIDDENBYTE (0xfb):
        at tail+0: 0x64 *** OUCH
        at tail+1: 0x21 *** OUCH
        at tail+2: 0x00 *** OUCH
        at tail+3: 0xfb
    The block was made by call #10166 to debug malloc/realloc.
    Data at p: 00 00 00 00 00 00 00 00 ... 6c 6c 6f 20 57 6f 72 6c
Fatal Python error: bad trailing pad byte

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050719/c54c1082/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号