2017-01-05 5 views
3

を照会し、mysqlのはいつも私crashed.Forある問題は非常に奇妙です:MySQLのクラッシュ私は2つの条件で選択すると

  1. それはちょうどそれは私のノートPCに起こったこのテーブル
  2. のためです。同じバージョンのMySQLと同じSQLを使用したテストサーバー(Linuxは)
  3. okです私たちは持っているそれは、いずれかの条件のみ
  4. 私はドロップを試してみましたが、テーブルを再作成、データをダンプし、問題がまだ
  5. である私が試したと起こっていません
  6. が誰かは、MySQL 5.6がOKであることを特徴とする、私がしようとしていない同じバージョンのMySQLを再インストールし、私のノートにそれが再び起こった

MySQLバージョンは5.7.17.OSです:私は5.7を使用したいwin7の64 。誰も助言を与えることができます。

PS:問題がmy.cnfと関連している可能性はありますか?

エラーログ:

01:15:19 UTC - mysqld got exception 0xc000001d ; 
 
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. 
 
Attempting to collect some information that could help diagnose the problem. 
 
As this is a crash and something is definitely wrong, the information 
 
collection process might fail. 
 

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

 
Thread pointer: 0xe5fe040 
 
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... 
 
13ff93c21 mysqld.exe!pow()[pow.asm:1616] 
 
13f4d3b4b mysqld.exe!get_sweep_read_cost()[handler.cc:7055] 
 
13fa90117 mysqld.exe!ror_intersect_add()[opt_range.cc:5430] 
 
13fa861e9 mysqld.exe!get_best_ror_intersect()[opt_range.cc:5611] 
 
13fa923b5 mysqld.exe!test_quick_select()[opt_range.cc:3078] 
 
13f68bdde mysqld.exe!get_quick_record_count()[sql_optimizer.cc:5890] 
 
13f68a8cd mysqld.exe!JOIN::estimate_rowcount()[sql_optimizer.cc:5636] 
 
13f68d479 mysqld.exe!JOIN::make_join_plan()[sql_optimizer.cc:4993] 
 
13f68ef3f mysqld.exe!JOIN::optimize()[sql_optimizer.cc:363] 
 
13f66a659 mysqld.exe!st_select_lex::optimize()[sql_select.cc:1009] 
 
13f66852d mysqld.exe!handle_query()[sql_select.cc:164] 
 
13f5227f6 mysqld.exe!execute_sqlcom_select()[sql_parse.cc:4947] 
 
13f5246de mysqld.exe!mysql_execute_command()[sql_parse.cc:2597] 
 
13f527faa mysqld.exe!mysql_parse()[sql_parse.cc:5363] 
 
13f5212c9 mysqld.exe!dispatch_command()[sql_parse.cc:1287] 
 
13f52226a mysqld.exe!do_command()[sql_parse.cc:854] 
 
13f4c9634 mysqld.exe!handle_connection()[connection_handler_per_thread.cc:295] 
 
13fedad82 mysqld.exe!pfs_spawn_thread()[pfs.cc:2195] 
 
13fc046fb mysqld.exe!win_thread_start()[my_thread.c:38] 
 
13ff9b39f mysqld.exe!_callthreadstartex()[threadex.c:376] 
 
13ff9b5ea mysqld.exe!_threadstartex()[threadex.c:354] 
 
773af56d kernel32.dll!BaseThreadInitThunk() 
 
77723281 ntdll.dll!RtlUserThreadStart() 
 

 
Trying to get some variables. 
 
Some pointers may be invalid and cause the dump to abort. 
 
Query (e61cf50): select * from sys_dauth_filter_item 
 
where ENTITY_ID_ = 1 
 
and FIELD_ID_ = 1 
 
Connection ID (thread ID): 2 
 
Status: NOT_KILLED

+0

はダウン投票しようとしていたし、クエリ時にMySQLがクラッシュしないことをコメントが、私はそれがクラッシュしたことを確認します! – e4c5

+0

それは変です! 'select *'の代わりに 'select column1、column2'を試してみてください。また、完全結合の代わりに左/右結合を試してください。 –

+0

私はselect count、select *、select column1、column2 ....を試しましたが、すべて同じ問題があります。 –

答えて

1

Windowsを更新してみてください。

私のケースでは、MySql 5.7.17、Windows 2008 R2サーバーは、勝利をsp1 =>その問題を解決します。

参考:http://bugs.mysql.com/bug.php?id=81197

私のエラーログ:

Thread pointer: 0x5705b3850 
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... 
140692571 mysqld.exe!pow()[pow.asm:1616] 
13fc439a8 mysqld.exe!Item_func_pow::val_real()[item_func.cc:2924] 
13fc03188 mysqld.exe!Item::send()[item.cc:7566] 
13fc167a2 mysqld.exe!THD::send_result_set_row()[sql_class.cc:4661] 
13fc15a1c mysqld.exe!Query_result_send::send_data()[sql_class.cc:2716] 
140158d8f mysqld.exe!JOIN::exec()[sql_executor.cc:158] 
13fd6d1e1 mysqld.exe!handle_query()[sql_select.cc:185] 
13fbe4107 mysqld.exe!execute_sqlcom_select()[sql_parse.cc:5195] 
13fbe6036 mysqld.exe!mysql_execute_command()[sql_parse.cc:2794] 
13fbe9a83 mysqld.exe!mysql_parse()[sql_parse.cc:5617] 
13fbe2b83 mysqld.exe!dispatch_command()[sql_parse.cc:1464] 
13fbe3b7a mysqld.exe!do_command()[sql_parse.cc:1001] 
13fbb981c mysqld.exe!handle_connection()[connection_handler_per_thread.cc:300] 
1405d7392 mysqld.exe!pfs_spawn_thread()[pfs.cc:2191] 
1402efc4b mysqld.exe!win_thread_start()[my_thread.c:38] 
140699a3f mysqld.exe!_callthreadstartex()[threadex.c:376] 
140699c8a mysqld.exe!_threadstartex()[threadex.c:354] 
770cf34d kernel32.dll!BaseThreadInitThunk() 
77302ca1 ntdll.dll!RtlUserThreadStart() 

Trying to get some variables. 
Some pointers may be invalid and cause the dump to abort. 
Query (57133e640): SELECT POWER(1024,1) 
Connection ID (thread ID): 5 
Status: NOT_KILLED 

The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains 
information that should help you find out what is causing the crash. 
+0

申し訳ありません、皆様!私は間違いを犯しました。私のOSはWINです7.最初は勝利10だと思っていましたが、OSをアップデートすることで本当に問題は解決しました。 –

関連する問題