2017-01-05 1 views
3

Когда я выбираю 2 условия, MySQL всегда crashed.For меня проблема очень странно:Mysql сбой при запросе

  1. Это только для этой таблицы
  2. Это произошло только на моем ноутбуке. У нас есть тестовый сервер (Linux) с одной и той же версии MySQL и тот же SQL нормально
  3. Это не произошло ни с условием только
  4. Я попытался удалить и заново создать таблицу, данные дампа и проблема все еще
  5. Я попытался переустановке той же версии MySQL и в моей записной книжке это случилось снова
  6. Кто-то сказал, MySQL 5.6 является Хорошо, я не пробовал

Mysql версия 5.7.17.OS: win7 64. Я хочу использовать 5.7 , Может кто-нибудь дать совет.

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 column1, column2' вместо' select * '? Также попробуйте с левым/правым объединением вместо полного соединения. –

+0

Я попытался выбрать счетчик, выберите *, выберите column1, column2 .... У всех одинаковые проблемы. –

ответ

1

Вы должны попытаться обновить Windows.

В моем случае, MySql 5.7.17, сервер Windows 2008 R2, обновите Win до 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

Извините, все! Я сделал ошибку. Моя ОС - WIN 7. Сначала я подумал, что это Win 10. И обновление ОС действительно решило проблему. –

Смежные вопросы