找回密码
 立即注册

QQ登录

只需一步,快速开始

hptj

高级会员

72

主题

240

帖子

1170

积分

高级会员

积分
1170

活字格认证微信认证勋章元老葡萄

hptj
高级会员   /  发表于:2013-12-2 11:21  /   查看:10114  /  回复:13
您好,这是一个2M多的文档,载入后,向下拖滚动条,会抛出“Insufficient memory.”的异常。
源码:
Demo.rar (331.88 KB, 下载次数: 6)

13 个回复

倒序浏览
iceman
社区贡献组   /  发表于:2013-12-2 13:04:00
沙发
回复 1楼hptj的帖子

hptj 你好,
我按照你的描述操作,没有重现问题。

Demo2.gif

我的机器配置是 Win7 64bit 8G内存。
可以把详细异常信息发上来看看。
回复 使用道具 举报
hptj
高级会员   /  发表于:2013-12-2 15:04:00
板凳

异常详细信息

在 TXTextControl.TextControlCore.?()
   在 TXTextControl.TextControlCore.?(? , Int32 , Int32 )
   在 TXTextControl.TextControl.get_Cursor()
   在 System.Windows.Forms.Control.WmSetCursor(Message& m)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 TXTextControl.TextControl.WndProc(Message& message)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

我的电脑是:win8企业版、内存4G、64位
回复 使用道具 举报
hptj
高级会员   /  发表于:2013-12-2 15:11:00
地板
还有台电脑是WIN7旗舰版 64位,内存4G


有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.Exception: Insufficient memory.
(01-2301)
   在 TXTextControl.TextControlCore.?()
   在 TXTextControl.TextControlCore.?(? , Int32 , Int32 )
   在 TXTextControl.TextControl.get_Cursor()
   在 System.Windows.Forms.Control.WmSetCursor(Message& m)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 TXTextControl.TextControl.WndProc(Message& message)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** 已加载的程序集 **************
mscorlib
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5472 (Win7SP1GDR.050727-5400)
    基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Demo
    程序集版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    基本代码: file:///E:/hptj/Project/TX%20Text/Insufficient%20memory异常/Demo/Demo/Demo/bin/Debug/Demo.exe
----------------------------------------
System.Windows.Forms
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TXTextControl.Windows.Forms
    程序集版本: 19.0.400.500
    Win32 版本: 19.0.400.500
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/TXTextControl.Windows.Forms/19.0.400.500__6b83fe9a75cfb638/TXTextControl.Windows.Forms.dll
----------------------------------------
TXTextControl
    程序集版本: 19.0.1200.500
    Win32 版本: 19.0.1200.500
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/TXTextControl/19.0.1200.500__6b83fe9a75cfb638/TXTextControl.dll
----------------------------------------
mscorlib.resources
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5472 (Win7SP1GDR.050727-5400)
    基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
txkernel
    程序集版本: 19.0.1900.500
    Win32 版本: 19.0.1900.500
    基本代码: file:///C:/Windows/assembly/GAC_32/txkernel/19.0.1900.500__6b83fe9a75cfb638/txkernel.dll
----------------------------------------
txtools
    程序集版本: 19.0.405.500
    Win32 版本: 19.0.405.500
    基本代码: file:///C:/Windows/assembly/GAC_32/txtools/19.0.405.500__6b83fe9a75cfb638/txtools.dll
----------------------------------------
msvcm90
    程序集版本: 9.0.30729.6161
    Win32 版本: 9.00.30729.6161
    基本代码: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57/msvcm90.dll
----------------------------------------
txic
    程序集版本: 19.0.500.500
    Win32 版本: 19.0.500.500
    基本代码: file:///C:/Windows/assembly/GAC_32/txic/19.0.500.500__6b83fe9a75cfb638/txic.dll
----------------------------------------
System.Windows.Forms.resources
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。

例如:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
回复 使用道具 举报
hptj
高级会员   /  发表于:2013-12-2 15:18:00
5#
目标框架:.NET Framework3.5
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2013-12-2 19:03:00
6#
回复 5楼hptj的帖子

感谢提供详细信息,我需要搭建相应的测试环境测试,之后给出反馈。
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2013-12-4 15:08:00
7#
回复 5楼hptj的帖子

hptj ,
你好,这个问题我重现了,我会反馈给厂商,在得到回复后反馈给你。
回复 使用道具 举报
hptj
高级会员   /  发表于:2013-12-19 09:16:00
8#
请问这个问题现在可有结果了?
回复 使用道具 举报
ZenosZeng讲师达人认证 悬赏达人认证
超级版主   /  发表于:2013-12-19 15:17:00
9#
hptj

该问题目前还没有得到厂商的详细调查原因,主要是该问题出现的内部程序错误,而且重现的步骤不是很稳定,给问题调查也增加了一些难得。我们还在和厂商继续沟通该问题,一有新消息会立即给你回复。
回复 使用道具 举报
hptj
高级会员   /  发表于:2013-12-19 16:22:00
10#
好的,辛苦
回复 使用道具 举报
12下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部