mysqld got signal 8
Description: When SELECTing from a timestamp based range partition where the table has no partition to handle values less than MAXVALUE and the SELECT condition reads from the last partition or greater, mysqld gets a signal 8. Repeatable with 5.5.23, 5.5.24 and 5.5.25, NOT with 5.5.20, 5.5.21, 5.5.22 How to repeat: [revin@forge msb_5_5_24]$ ./use test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.5.24 MySQL Community Server (GPL) Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql [localhost] {msandbox} (test) > show create table table_XXXXX \G *************************** 1. row *************************** Table: table_XXXXX Create Table: CREATE TABLE `table_XXXXX` ( `record_type` smallint(5) unsigned NOT NULL, `timestamp` int(10) unsigned NOT NULL, `meta_pos_id` smallint(5) unsigned NOT NULL, `value` mediumint(8) unsigned NOT NULL, KEY `ts_rtype` (`timestamp`,`record_type`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 /*!50100 PARTITION BY RANGE (timestamp) (PARTITION 2012y03m VALUES LESS THAN (1333238400) ENGINE = InnoDB, PARTITION 2012y04m VALUES LESS THAN (1335830400) ENGINE = InnoDB, PARTITION 2012y05m VALUES LESS THAN (1338508800) ENGINE = InnoDB, PARTITION 2012y06m VALUES LESS THAN (1341100800) ENGINE = InnoDB) */ 1 row in set (0.00 sec) mysql [localhost] {msandbox} (test) > SELECT COUNT(*) FROM table_XXXXX WHERE `timestamp` > 1338508800; +----------+ | COUNT(*) | +----------+ | 0 | +----------+ 1 row in set (0.00 sec) mysql [localhost] {msandbox} (test) > SELECT COUNT(*) FROM table_XXXXX WHERE `timestamp` > 1341100799; ERROR 2013 (HY000): Lost connection to MySQL server during query Suggested fix: NA, but a workaround is to add a partition to handle values less than MAXVALUE.
[19 Jun 2012 0:38] Jervin R
Backtrace from core file during one of the crashes. Attachment: 23293-backtrace.txt (text/plain), 13.89 KiB.
[19 Jun 2012 0:38] Jervin R
Error log from sandbox creation to crash then restart. Attachment: 23293-error-log.txt (text/plain), 9.63 KiB.
[19 Jun 2012 0:50] Miguel Solorzano
Thank you for the bug report. Indeed repeatable with 5.5.24 but not anymore with current source: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. h:\dbs>55 h:\dbs>h:\dbs\5.5\bin\mysql -uroot --port=3540 --prompt="mysql 5.5 >" Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.5.24 Source distribution Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql 5.5 >use test Database changed mysql 5.5 >CREATE TABLE `table_XXXXX` ( -> `record_type` smallint(5) unsigned NOT NULL, -> `timestamp` int(10) unsigned NOT NULL, -> `meta_pos_id` smallint(5) unsigned NOT NULL, -> `value` mediumint(8) unsigned NOT NULL, -> KEY `ts_rtype` (`timestamp`,`record_type`) -> ) ENGINE=InnoDB DEFAULT CHARSET=latin1 -> /*!50100 PARTITION BY RANGE (timestamp) -> (PARTITION 2012y03m VALUES LESS THAN (1333238400) ENGINE = InnoDB, -> PARTITION 2012y04m VALUES LESS THAN (1335830400) ENGINE = InnoDB, -> PARTITION 2012y05m VALUES LESS THAN (1338508800) ENGINE = InnoDB, -> PARTITION 2012y06m VALUES LESS THAN (1341100800) ENGINE = InnoDB) */; Query OK, 0 rows affected (0.88 sec) mysql 5.5 >SELECT COUNT(*) FROM table_XXXXX WHERE `timestamp` > 1338508800; +----------+ | COUNT(*) | +----------+ | 0 | +----------+ 1 row in set (0.00 sec) mysql 5.5 >SELECT COUNT(*) FROM table_XXXXX WHERE `timestamp` > 1341100799; ERROR 2013 (HY000): Lost connection to MySQL server during query mysql 5.5 > Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. d:\dbs>55 d:\dbs>d:\dbs\5.5\bin\mysql -uroot --port=3541 --prompt="mysql 5.5 >" Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.5.26 Source distribution Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql 5.5 >use test Database changed mysql 5.5 >CREATE TABLE `table_XXXXX` ( -> `record_type` smallint(5) unsigned NOT NULL, -> `timestamp` int(10) unsigned NOT NULL, -> `meta_pos_id` smallint(5) unsigned NOT NULL, -> `value` mediumint(8) unsigned NOT NULL, -> KEY `ts_rtype` (`timestamp`,`record_type`) -> ) ENGINE=InnoDB DEFAULT CHARSET=latin1 -> /*!50100 PARTITION BY RANGE (timestamp) -> (PARTITION 2012y03m VALUES LESS THAN (1333238400) ENGINE = InnoDB, -> PARTITION 2012y04m VALUES LESS THAN (1335830400) ENGINE = InnoDB, -> PARTITION 2012y05m VALUES LESS THAN (1338508800) ENGINE = InnoDB, -> PARTITION 2012y06m VALUES LESS THAN (1341100800) ENGINE = InnoDB) */; Query OK, 0 rows affected (0.24 sec) mysql 5.5 >SELECT COUNT(*) FROM table_XXXXX WHERE `timestamp` > 1338508800; +----------+ | COUNT(*) | +----------+ | 0 | +----------+ 1 row in set (0.05 sec) mysql 5.5 >SELECT COUNT(*) FROM table_XXXXX WHERE `timestamp` > 1341100799; +----------+ | COUNT(*) | +----------+ | 0 | +----------+ 1 row in set (0.00 sec) mysql 5.5 >
[19 Jun 2012 1:37] Jervin R
Miguel, have you tried with 5.5.25 official Oracle binaries as I did?
[21 Jun 2012 0:40] Jervin R
Not sure why this is still marked as can't repeat - have you tested with official Oracle binaries yet?
[20 Jul 2012 3:23] Jervin R
The problem still exists on 5.5.25a, not sure why this is still can't repeat? [revin@forge mysql]$ sb 5525 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.5.25a MySQL Community Server (GPL) Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql [localhost] {msandbox} ((none)) > use test; Database changed mysql [localhost] {msandbox} (test) > CREATE TABLE `table_XXXXX` ( -> `record_type` smallint(5) unsigned NOT NULL, -> `timestamp` int(10) unsigned NOT NULL, -> `meta_pos_id` smallint(5) unsigned NOT NULL, -> `value` mediumint(8) unsigned NOT NULL, -> KEY `ts_rtype` (`timestamp`,`record_type`) -> ) ENGINE=InnoDB DEFAULT CHARSET=latin1 -> /*!50100 PARTITION BY RANGE (timestamp) -> (PARTITION 2012y03m VALUES LESS THAN (1333238400) ENGINE = InnoDB, -> PARTITION 2012y04m VALUES LESS THAN (1335830400) ENGINE = InnoDB, -> PARTITION 2012y05m VALUES LESS THAN (1338508800) ENGINE = InnoDB, -> PARTITION 2012y06m VALUES LESS THAN (1341100800) ENGINE = InnoDB) */ -> ; Query OK, 0 rows affected (0.01 sec) mysql [localhost] {msandbox} (test) > SELECT COUNT(*) FROM table_XXXXX WHERE `timestamp` > 1338508800; +----------+ | COUNT(*) | +----------+ | 0 | +----------+ 1 row in set (0.00 sec) mysql [localhost] {msandbox} (test) > SELECT COUNT(*) FROM table_XXXXX WHERE `timestamp` > 1341100799; ERROR 2013 (HY000): Lost connection to MySQL server during query mysql [localhost] {msandbox} (test) >
[29 Jul 2012 15:54] Valeriy Kravchuk
This is a know bug that is fixed in current code: macbook-pro:5.5 openxs$ bin/mysql -uroot test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.5.28-debug Source distribution Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> CREATE TABLE `table_XXXXX` ( -> `record_type` smallint(5) unsigned NOT NULL, -> `timestamp` int(10) unsigned NOT NULL, -> `meta_pos_id` smallint(5) unsigned NOT NULL, -> `value` mediumint(8) unsigned NOT NULL, -> KEY `ts_rtype` (`timestamp`,`record_type`) -> ) ENGINE=InnoDB DEFAULT CHARSET=latin1 -> /*!50100 PARTITION BY RANGE (timestamp) -> (PARTITION 2012y03m VALUES LESS THAN (1333238400) ENGINE = InnoDB, -> PARTITION 2012y04m VALUES LESS THAN (1335830400) ENGINE = InnoDB, -> PARTITION 2012y05m VALUES LESS THAN (1338508800) ENGINE = InnoDB, -> PARTITION 2012y06m VALUES LESS THAN (1341100800) ENGINE = InnoDB) */; Query OK, 0 rows affected (0.07 sec) mysql> SELECT COUNT(*) FROM table_XXXXX WHERE `timestamp` > 1338508800; +----------+ | COUNT(*) | +----------+ | 0 | +----------+ 1 row in set (0.00 sec) mysql> SELECT COUNT(*) FROM table_XXXXX WHERE `timestamp` > 1341100799; +----------+ | COUNT(*) | +----------+ | 0 | +----------+ 1 row in set (0.00 sec) So, please, wait for the official release of 5.5.27 with the fix.
[31 Jul 2012 2:17] Jervin R
Valeriy, Thanks - looks like Miguel tested with 5.5.26 - is this coming to .26 or .27 as you mentioned?
[31 Jul 2012 8:21] Jervin R
Ahh, nvm, found my answer :) http://dev.mysql.com/doc/refman/5.5/en/news-5-5-26.html
https://bugs.mysql.com/bug.php?id=65663
轉載請註明源出處
QQ 273002188 歡迎一起學習
QQ 群 236941212
oracle,mysql,mongo 相互交流
轉載請註明源出處
QQ 273002188 歡迎一起學習
QQ 群 236941212
oracle,mysql,mongo 相互交流
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25099483/viewspace-1985631/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mysqldump Got error: 1045MySqlGoError
- mysqldump Got error 1290MySqlGoError
- Linux Signal 示例Linux
- signal協議協議
- mysqld --skip-grant-tablesMySql
- golang處理signalGolang
- python 之訊號SignalPython
- unix signal : signalfd, eventfd, timerfd
- Recursive Algorithm for Sliding Signal ProcessingGo
- mysqld_multi 命令使用報錯MySql
- mysqld_multi 無法停庫MySql
- os/signal學習筆記筆記
- Linux訊號(signal)機制Linux
- wifi管理神器:WiFi Signal MacWiFiMac
- mysql服務啟動報錯Redirecting to systemctl start mysqld.serviceFailed to start mysqld.service:Unit not found.MySqlAI
- mysqld_safe之三言兩語MySql
- SharePlex reader missed marker wait for xx but got xxAIGo
- Last_IO_Error: Got fatal error 1236ASTErrorGo
- 動態連結的PLT與GOTGo
- Linux alarm signal (SIGALRM) to detach process isAliveLinux
- AQS相關(lock、unlock、await、signal)AQSAI
- Signal:更多前端框架的選擇前端框架
- MetricMeasurement calculates Peak Signal-to-Noise RatioREM
- Message from debugger: Terminated due to signal 13
- 怎麼樣把mysqld壓測到崩潰重啟?什麼情況下mysqld崩潰重啟?MySql
- mysql關於mysqld_safe的總結MySql
- mysqld: Table '.mac_vod' is marked as crashed and should be repairedMySqlMacAI
- pprof 分析mysqld 記憶體呼叫(筆記)MySql記憶體筆記
- 使用 Got包的一些體會Go
- 每週一個 Python 模組 | signalPython
- iOS Mach異常和signal訊號iOSMac
- 在linux中無法啟動mysqld 服務LinuxMySql
- 深入淺出 PLT/GOT Hook與原理實踐GoHook
- GOT & PLT 易於理解的個人筆記Go筆記
- HTTPSConnection.__init__() got an unexpected keyword argument check_hostnameHTTPGo
- 公司不是家庭 -DHH from Signal v.Noise
- 論文解讀《The Emerging Field of Signal Processing on Graphs》
- WiFi訊號監測工具:WiFi Signal for MacWiFiMac
- Signal Desktop for Mac專業加密通訊工具Mac加密