11# 2013-10-31
来源:互联网 发布:企鹅ico软件图标 编辑:程序博客网 时间:2024/06/10 09:57
1.概述
日期: 2013-10-31
服务器: 11#
现象:
运行期间出现"microsoft visual c++ debug library"窗口.但程序仍在运行。
2.分析
"重试"后取回crash分析。分析发现:
windbg定位代码是CBizicPlugin::OnRecv10622函数(在bizic4.cpp中)中下列标记的位置.
string strF034v_1001; strF034v_1001 = prsTempRow->GetFieldValueByName(0,"f034v_1001"); if(strF034v_1001[0] == ',') strF034v_1001 = strF034v_1001.substr(1,strF034v_1001.length()-1); if(strF034v_1001[strF034v_1001.length() - 1] == ',')///< @windbg指示的错误位置 strF034v_1001 = strF034v_1001.substr(0,strF034v_1001.length()-1);
f034v_1001是用户主管的品类信息.
代码的意图是去掉该串的前后分隔符(',')。
修改如下:
if (strF034v_1001.length()>0) { ///< @note 增加此判定 if(strF034v_1001[0] == ',') strF034v_1001 = strF034v_1001.substr(1,strF034v_1001.length()-1); if(strF034v_1001[strF034v_1001.length() - 1] == ',') strF034v_1001 = strF034v_1001.substr(0,strF034v_1001.length()-1); }
3.处理
已在trunk上修改代码.
编译bizic后更新.
- 11# 2013-10-31
- 随感 -- 2013/10/31 学习计划
- 2013/10/11
- 随笔2013,11,10
- 2013-10-31 TCP/IP 协议簇
- 2013-10-31日开通CSDN博客
- 2013-10-31 几点注意
- 2013年10月31日
- 2013年10月31日
- 【笔记】2013-10<—>2013-11
- 2013/10/11 IGT笔试
- 【Reading】2013-10,11,12
- 2013年4月11日 23:31:05
- 2013-05-11《第31课情景对话》
- 2013年7月10日 20:21:31
- 2013-10-31 大数据的运算及金额格式化
- 2013-10-11 点点滴滴 生活 工作
- 10月31-11月3号任务总结
- 【PAT Advanced Level】1014. Waiting in Line (30)
- USACO Friday the Thirteenth
- i.MX53 电容触摸屏驱动 - FT5x06
- Java接口
- 工作小结python和cpp通过json互通
- 11# 2013-10-31
- select函数
- 分段函数项目
- date(): It is not safe to rely on the system’s timezone settings.
- 移动战略博弈:看三星和微软如何挑战苹果和谷歌
- Linux系统下DNS解析的基本DNS测试
- Linux SSH远程文件/目录传输命令scp
- 根据要求统计学生信息
- 数字三角问题