Details
-
Technical task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
Description
The test case is attached. It consists of simple CREATE / DROP / ALTER TABLE statements, and I can't remove any more lines from it, so I presume it's about the number of created tables. I don't exclude, however, that ALTERs can be replaced by CREATE/DROP too.
mysqld: mysql-5.6-leveldb/storage/leveldb/ha_leveldb.cc:183: virtual int Primary_key_comparator::Compare(const leveldb::Slice&, const leveldb::Slice&) const: Assertion `pb_end - pb >= LDBSE_KEYDEF::INDEX_NUMBER_SIZE' failed.
|
12:05:16 UTC - mysqld got signal 6 ;
|
#6 0x00007eff6d3bfd4d in __GI___assert_fail (assertion=0xf7a808 "pb_end - pb >= LDBSE_KEYDEF::INDEX_NUMBER_SIZE", file=<optimized out>, line=183, function=<optimized out>) at assert.c:81
|
#7 0x0000000000a329e0 in Primary_key_comparator::Compare (this=0x16b2750, a=..., b=...) at mysql-5.6-leveldb/storage/leveldb/ha_leveldb.cc:183
|
#8 0x00007eff6e94ed2a in leveldb::InternalKeyComparator::Compare(leveldb::Slice const&, leveldb::Slice const&) const () from leveldb-1.7.0/libleveldb.so.1
|
#9 0x00007eff6e95c644 in leveldb::MemTable::KeyComparator::operator()(char const*, char const*) const () from leveldb-1.7.0/libleveldb.so.1
|
#10 0x00007eff6e95cd10 in leveldb::SkipList<char const*, leveldb::MemTable::KeyComparator>::FindGreaterOrEqual(char const* const&, leveldb::SkipList<char const*, leveldb::MemTable::KeyComparator>::Node**) const () from leveldb-1.7.0/libleveldb.so.1
|
#11 0x00007eff6e95cdd8 in leveldb::MemTableIterator::Seek(leveldb::Slice const&) () from leveldb-1.7.0/libleveldb.so.1
|
#12 0x00007eff6e95ab41 in leveldb::(anonymous namespace)::DBIter::Seek(leveldb::Slice const&) () from leveldb-1.7.0/libleveldb.so.1
|
#13 0x0000000000a3191d in ha_leveldb::remove_rows (this=0x2606f28, tbl=0x25e5a70) at mysql-5.6-leveldb/storage/leveldb/ha_leveldb.cc:2226
|
#14 0x0000000000a317a5 in ha_leveldb::delete_table (this=0x2606f28, tablename=0x7eff6ed3e8a0 "./test/t1") at mysql-5.6-leveldb/storage/leveldb/ha_leveldb.cc:2200
|
#15 0x00000000005f324c in handler::ha_delete_table (this=0x2606f28, name=0x7eff6ed3e8a0 "./test/t1") at mysql-5.6-leveldb/sql/handler.cc:4363
|
#16 0x00000000005ef03c in ha_delete_table (thd=0x25eac40, table_type=0x2313a20, path=0x7eff6ed3e8a0 "./test/t1", db=0x2606d48 "test", alias=0x26067b8 "t1", generate_warning=true) at mysql-5.6-leveldb/sql/handler.cc:2266
|
#17 0x00000000007d272a in mysql_rm_table_no_locks (thd=0x25eac40, tables=0x26067f0, if_exists=false, drop_temporary=false, drop_view=false, dont_log_query=false) at mysql-5.6-leveldb/sql/sql_table.cc:2449
|
#18 0x00000000007d1b70 in mysql_rm_table (thd=0x25eac40, tables=0x26067f0, if_exists=0 '\000', drop_temporary=0 '\000') at mysql-5.6-leveldb/sql/sql_table.cc:2145
|
#19 0x0000000000773e02 in mysql_execute_command (thd=0x25eac40) at mysql-5.6-leveldb/sql/sql_parse.cc:3547
|
#20 0x000000000077aa69 in mysql_parse (thd=0x25eac40, rawbuf=0x2606720 "DROP TABLE t1", length=13, parser_state=0x7eff6ed40160) at mysql-5.6-leveldb/sql/sql_parse.cc:6117
|
#21 0x000000000076e921 in dispatch_command (command=COM_QUERY, thd=0x25eac40, packet=0x25fe6f1 "DROP TABLE t1", packet_length=13) at mysql-5.6-leveldb/sql/sql_parse.cc:1312
|
#22 0x000000000076db5f in do_command (thd=0x25eac40) at mysql-5.6-leveldb/sql/sql_parse.cc:1036
|
#23 0x0000000000739fdd in do_handle_one_connection (thd_arg=0x25eac40) at mysql-5.6-leveldb/sql/sql_connect.cc:969
|
#24 0x0000000000739a02 in handle_one_connection (arg=0x25eac40) at mysql-5.6-leveldb/sql/sql_connect.cc:885
|
#25 0x00007eff6dedcefc in start_thread (arg=0x7eff6ed41700) at pthread_create.c:304
|
#26 0x00007eff6d475f4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
|
#27 0x0000000000000000 in ?? ()
|
revision-id: psergey@askmonty.org-20130208190127-uq98t2n3jl85c50r
|
revno: 4595
|
branch-nick: mysql-5.6-leveldb
|
The failure is also currently triggered by leveldb test suite, if it's run normally.