{"action":"created","issue":{"url":"https://api.github.com/repos/MySQLOnRocksDB/mysql-5.6/issues/108","labels_url":"https://api.github.com/repos/MySQLOnRocksDB/mysql-5.6/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/MySQLOnRocksDB/mysql-5.6/issues/108/comments","events_url":"https://api.github.com/repos/MySQLOnRocksDB/mysql-5.6/issues/108/events","html_url":"https://github.com/MySQLOnRocksDB/mysql-5.6/issues/108","id":105431188,"number":108,"title":"rocksdb.cardinality and other tests fail assert in rocksdb::port::PthreadCall","user":{"login":"spetrunia","id":2734550,"avatar_url":"https://avatars.githubusercontent.com/u/2734550?v=3","gravatar_id":"","url":"https://api.github.com/users/spetrunia","html_url":"https://github.com/spetrunia","followers_url":"https://api.github.com/users/spetrunia/followers","following_url":"https://api.github.com/users/spetrunia/following{/other_user}","gists_url":"https://api.github.com/users/spetrunia/gists{/gist_id}","starred_url":"https://api.github.com/users/spetrunia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spetrunia/subscriptions","organizations_url":"https://api.github.com/users/spetrunia/orgs","repos_url":"https://api.github.com/users/spetrunia/repos","events_url":"https://api.github.com/users/spetrunia/events{/privacy}","received_events_url":"https://api.github.com/users/spetrunia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-08T17:28:21Z","updated_at":"2015-09-09T17:06:38Z","closed_at":null,"body":"The test rocksdb.cardinality (and sometimes other tests) fail like this:\r\n```\r\nrocksdb.cardinality                      [ fail ]\r\n        Test ended at 2015-09-08 17:15:42\r\n\r\nCURRENT_TEST: rocksdb.cardinality\r\n--- /home/psergey/dev-git/mysql-5.6-rocksdb-bugfixing/mysql-test/suite/rocksdb/r/cardinality.result     2015-08-28 14:15:31.338924110 +0300\r\n+++ /home/psergey/dev-git/mysql-5.6-rocksdb-bugfixing/mysql-test/var/log/cardinality.reject     2015-09-08 20:15:41.965085993 +0300\r\n@@ -56,20 +56,20 @@\r\n select cast(variable_value as unsigned) into @a from information_schema.global_status where variable_name='rocksdb_number_stat_computes';\r\n show index in t1;\r\n Table  Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed      Null    Index_type      Comment Index_comment\r\n-t1     0       PRIMARY 1       id      A       150000  NULL    NULL            BTREE\r\n-t1     1       t1_1    1       id      A       150000  NULL    NULL            BTREE\r\n...\r\n```\r\n\r\n```\r\nThread 1 (Thread 0x7f0aa97fa700 (LWP 22190)):\r\n#0  0x00007f0ad0637621 in __pthread_kill (threadid=<optimized out>, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61\r\n#1  0x0000000000d3b079 in my_write_core (sig=6) at /home/psergey/dev-git/mysql-5.6-rocksdb-bugfixing/mysys/stacktrace.c:422\r\n#2  0x000000000099ce16 in handle_fatal_signal (sig=6) at /home/psergey/dev-git/mysql-5.6-rocksdb-bugfixing/sql/signal_handler.cc:239\r\n#3  <signal handler called>\r\n#4  0x00007f0acfa7af79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56\r\n#5  0x00007f0acfa7e388 in __GI_abort () at abort.c:89\r\n#6  0x0000000000e4f488 in rocksdb::port::PthreadCall (label=0x154585c \"lock\", result=22) at /home/psergey/dev-git/mysql-5.6-rocksdb-bugfixing/rocksdb/port/port_posix.cc:28\r\n#7  0x0000000000e4f5a4 in rocksdb::port::Mutex::Lock (this=0x1dceb00 <rocksdb::ThreadLocalPtr::StaticMeta::mutex_>) at /home/psergey/dev-git/mysql-5.6-rocksdb-bugfixing/rocksdb/port/port_posix.cc:55\r\n#8  0x0000000000e43806 in rocksdb::MutexLock::MutexLock (this=0x7f0aa97f9ca0, mu=0x1dceb00 <rocksdb::ThreadLocalPtr::StaticMeta::mutex_>) at /home/psergey/dev-git/mysql-5.6-rocksdb-bugfixing/rocksdb/util/mutexlock.h:28\r\n#9  0x0000000000f2c72e in rocksdb::ThreadLocalPtr::StaticMeta::OnThreadExit (ptr=0x7f0a78013d20) at /home/psergey/dev-git/mysql-5.6-rocksdb-bugfixing/rocksdb/util/thread_local.cc:118\r\n#10 0x00007f0ad0631f82 in __nptl_deallocate_tsd () at pthread_create.c:158\r\n#11 0x00007f0ad0632195 in start_thread (arg=0x7f0aa97fa700) at pthread_create.c:325\r\n#12 0x00007f0acfb3f30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/MySQLOnRocksDB/mysql-5.6/issues/comments/138977380","html_url":"https://github.com/MySQLOnRocksDB/mysql-5.6/issues/108#issuecomment-138977380","issue_url":"https://api.github.com/repos/MySQLOnRocksDB/mysql-5.6/issues/108","id":138977380,"user":{"login":"rven1","id":8718743,"avatar_url":"https://avatars.githubusercontent.com/u/8718743?v=3","gravatar_id":"","url":"https://api.github.com/users/rven1","html_url":"https://github.com/rven1","followers_url":"https://api.github.com/users/rven1/followers","following_url":"https://api.github.com/users/rven1/following{/other_user}","gists_url":"https://api.github.com/users/rven1/gists{/gist_id}","starred_url":"https://api.github.com/users/rven1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rven1/subscriptions","organizations_url":"https://api.github.com/users/rven1/orgs","repos_url":"https://api.github.com/users/rven1/repos","events_url":"https://api.github.com/users/rven1/events{/privacy}","received_events_url":"https://api.github.com/users/rven1/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T17:06:38Z","updated_at":"2015-09-09T17:06:38Z","body":"I built it using\r\n../tools/mysqlbuild.sh --clean"}}