免费注册 查看新帖 |

Chinaunix

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

mysqld got signal 11 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-07 15:57 |只看该作者 |倒序浏览
我在用源码安装mysql 5.1.38
configure
make
make install 全部通过。

在运行bin/mysql_install_db --user=mysql 时出现以下错误:

090907  8:34:30 - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=0
read_buffer_size=131072
max_used_connections=0
max_threads=151
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 330111 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...


谁知道怎么解决吗?
谢了。。。

论坛徽章:
0
2 [报告]
发表于 2009-09-07 18:17 |只看该作者
执行一下:
export VISUAL=vim
mysqlbug


把结果发上来看看

论坛徽章:
0
3 [报告]
发表于 2009-09-07 20:20 |只看该作者
也解决了哦。

就是按如下方法编译

CFLAGS="-O3" CC=gcc CXX=gcc CXXFLAGS="-O3" ./configure 。。。。。。


configure前面别带那么多乱七八糟的参数。。。


就不会报signal 11的错误了。。

论坛徽章:
0
4 [报告]
发表于 2009-09-07 20:22 |只看该作者
之前的编译方式是:


CFLAGS="-O3 -mpentiumpro" CC=gcc CXX=gcc CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti" ./configure 。。。。。

看来跟使用什么硬件关系很大阿。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP