mysql报Segmentation fault错误
来源:互联网 发布:搜狐汽车 大数据 编辑:程序博客网 时间:2024/05/21 07:51
问题现象如下
[root@localhost bin]# ./mysql -uroot -pEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 8Server version: 5.6.24 Source distributionCopyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Segmentation fault
在源码包里,编辑文件 cmd-line-utils/libedit/terminal.c
把terminal_set方法中的 char buf[TC_BUFSIZE]; 这一行注释,再把 area = buf;改为 area = NULL;
更改后如下protected int terminal_set(EditLine *el, const char *term) { int i; /*char buf[TC_BUFSIZE];*/ char *area; const struct termcapstr *t; sigset_t oset, nset; int lins, cols; --phpfensi.com (void) sigemptyset(&nset); (void) sigaddset(&nset, SIGWINCH); (void) sigprocmask(SIG_BLOCK, &nset, &oset); area = NULL;然后重新编译即可
阅读全文
0 0
- mysql报Segmentation fault错误
- Segmentation fault报错
- segmentation fault错误分析
- 段错误(segmentation fault)
- 关于Segmentation fault错误
- 段错误(segmentation fault)
- segmentation fault错误分析
- 调试Segmentation Fault错误
- mysql导入sql文件的时候报错Segmentation fault
- 总结段错误(Segmentation fault)
- 总结段错误(Segmentation fault)
- "Segmentation fault(段错误)"探究
- Segmentation fault(段错误)探究
- 总结段错误(Segmentation fault)
- 总结段错误(Segmentation fault)
- 段错误总结(segmentation fault)
- Linux段错误(Segmentation fault)
- mysql_real_query()段错误(Segmentation fault)
- JVM 堆内存设置原理
- 织梦网站做好后,防防黑客攻击必须要做的几件事
- 第一次上CSND博客
- 萌新菜鸡算法笔记No.1 KMP算法 2017/8/25
- NIO篇
- mysql报Segmentation fault错误
- error C2039: 'Release' : is not a member of 'IFile'
- 织梦dede被挂马怎么办?挂马解决方案
- @Subselect映射,子查询,视图.
- iOS之《Effective Objective-C 2.0》读书笔记(21)
- 算法导论第二章算法练习
- 数据库常见优化
- apk打包遇到的问题
- spring整合hibernate