111006 08:45:37 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 111006 8:45:37 InnoDB: The InnoDB memory heap is disabled 111006 8:45:37 InnoDB: Mutexes and rw_locks use GCC atomic builtins 111006 8:45:37 InnoDB: Compressed tables use zlib 1.2.5 111006 8:45:37 InnoDB: Using Linux native AIO 111006 8:45:37 InnoDB: Initializing buffer pool, size = 128.0M 111006 8:45:37 InnoDB: Completed initialization of buffer pool InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 111006 8:45:37 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 111006 8:45:37 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 111006 8:45:37 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: 127 rollback segment(s) active. InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 111006 8:45:38 InnoDB: Waiting for the background threads to start 111006 8:45:39 InnoDB: 1.1.8 started; log sequence number 0 111006 8:45:39 [Note] Event Scheduler: Loaded 0 events 111006 8:45:39 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.5.16-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Source distribution 111006 8:58:39 InnoDB: Error: space id and page n:o stored in the page InnoDB: read in are 0:16384, should be 0:706! 111006 8:58:39 InnoDB: Assertion failure in thread 1059802016 in file btr0pcur.c line 396 InnoDB: Failing assertion: page_is_comp(next_page) == page_is_comp(page) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 111006 8:58:39 - mysqld got signal 6 ; 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=16777216 read_buffer_size=262144 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 = 133435 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x177cec20 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... stack_bottom = 0x3f2b4408 thread_stack 0x30000 /usr/sbin/mysqld(my_print_stacktrace+0x46)[0x16c90bfd] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x178387e8): INSERT INTO Test (Message) SELECT Message FROM Test ORDER BY TestId LIMIT 200000 Connection ID (thread ID): 17 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. 111006 08:58:39 mysqld_safe Number of processes running now: 0 111006 08:58:39 mysqld_safe mysqld restarted 111006 8:58:39 InnoDB: The InnoDB memory heap is disabled 111006 8:58:39 InnoDB: Mutexes and rw_locks use GCC atomic builtins 111006 8:58:39 InnoDB: Compressed tables use zlib 1.2.5 111006 8:58:39 InnoDB: Using Linux native AIO 111006 8:58:39 InnoDB: Initializing buffer pool, size = 128.0M 111006 8:58:39 InnoDB: Completed initialization of buffer pool 111006 8:58:39 InnoDB: highest supported file format is Barracuda. InnoDB: Log scan progressed past the checkpoint lsn 734118772 111006 8:58:39 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... InnoDB: Doing recovery: scanned up to log sequence number 739361280 InnoDB: Doing recovery: scanned up to log sequence number 739891846 111006 8:58:39 InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percents: 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 InnoDB: Apply batch completed InnoDB: Last MySQL binlog file position 0 81089536, file name ./mysql-bin.000003 111006 8:58:40 InnoDB: Waiting for the background threads to start 111006 8:58:41 InnoDB: 1.1.8 started; log sequence number 739891846 111006 8:58:41 [Note] Recovering after a crash using mysql-bin 111006 8:58:41 [Note] Starting crash recovery... 111006 8:58:41 [Note] Crash recovery finished. 111006 8:58:41 [Note] Event Scheduler: Loaded 0 events 111006 8:58:41 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.5.16-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Source distribution