免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1428 | 回复: 0
打印 上一主题 下一主题

valgrind 问题, 指点下 谢谢 [复制链接]

论坛徽章:
1
双子座
日期:2013-08-19 14:56:16
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-17 17:52 |只看该作者 |倒序浏览
错误提示如下,
==26995== Conditional jump or move depends on uninitialised value(s)
==26995==    at 0x426E965: mempcpy (in /lib/tls/libc-2.3.6.so)
==26995==    by 0x4261950: _IO_file_xsputn (in /lib/tls/libc-2.3.6.so)
==26995==    by 0x423DFEE: vfprintf (in /lib/tls/libc-2.3.6.so)
==26995==    by 0x42463C1: fprintf (in /lib/tls/libc-2.3.6.so)
==26995==    by 0x8048D4F: main (online_time.c:71)


==28407== ERROR SUMMARY: 145 errors from 71 contexts (suppressed: 23 from 1)
==28407== malloc/free: in use at exit: 61,471 bytes in 19 blocks.
==28407== malloc/free: 86 allocs, 67 frees, 118,156 bytes allocated.
==28407== For counts of detected errors, rerun with: -v
==28407== searching for pointers to 19 not-freed blocks.
==28407== checked 616,092 bytes.

71行在吗再次

fprintf(RunLog,"  %s  MySQL can't connect %s  exit\n",argv[0],mysql_error(&mysql));
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP