PerconaFT/src/ydb.cc:979 env_open: Assertion `r == 0' failed (errno=2) (r=18446744073709451616)

Description

Caused by --tokudb-max-lock-memory=2

+bt
#0 0x00007f9e55eec741 in __pthread_kill (threadid=<optimized out>, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61
#1 0x000000000183977c in my_write_core (sig=6) at /git/percona-server_dbg/mysys/stacktrace.c:247
#2 0x0000000000e7708f in handle_fatal_signal (sig=6) at /git/percona-server_dbg/sql/signal_handler.cc:223
#3 <signal handler called>
#4 0x00007f9e542855f7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5 0x00007f9e54286ce8 in __GI_abort () at abort.c:90
#6 0x00007f9e0850a22f in toku_do_backtrace_abort () at /git/percona-server_dbg/storage/tokudb/PerconaFT/portability/toku_assert.cc:147
#7 0x00007f9e0850a3e8 in toku_do_assert_zero_fail (expr=18446744073709451616, expr_as_string=0x7f9e085135bc "r", function=0x7f9e08515556 <env_open(_toku_db_env*, char const*, unsigned int, int)::FUNCTION_> "env_open", file=0x7f9e08513980 "/git/percona-server_dbg/storage/tokudb/PerconaFT/src/ydb.cc", line=979, caller_errno=2) at /git/percona-server_dbg/storage/tokudb/PerconaFT/portability/toku_assert.cc:177
#8 0x00007f9e0840c221 in env_open (env=0x405dfc0, home=0x2c2f500 <mysql_real_data_home> "/dev/shm/test/data/", flags=11403457, mode=438) at /git/percona-server_dbg/storage/tokudb/PerconaFT/src/ydb.cc:979
#9 0x00007f9e083f9105 in tokudb_init_func (p=0x405d890) at /git/percona-server_dbg/storage/tokudb/hatoku_hton.cc:556
#10 0x0000000000f0314b in ha_initialize_handlerton (plugin=0x3ee32e8) at /git/percona-server_dbg/sql/handler.cc:870
#11 0x000000000153cef7 in plugin_initialize (plugin=0x3ee32e8) at /git/percona-server_dbg/sql/sql_plugin.cc:1192
#12 0x000000000153d2da in plugin_init_initialize_and_reap () at /git/percona-server_dbg/sql/sql_plugin.cc:1347
#13 0x000000000153dcc5 in plugin_init (argc=0x2c346f0 <remaining_argc>, argv=0x3c742f0, flags=0) at /git/percona-server_dbg/sql/sql_plugin.cc:1580
#14 0x0000000000e66054 in init_server_components () at /git/percona-server_dbg/sql/mysqld.cc:4231
#15 0x0000000000e6762c in mysqld_main (argc=13, argv=0x3c742f0) at /git/percona-server_dbg/sql/mysqld.cc:4917
#16 0x0000000000e5ebc0 in main (argc=13, argv=0x7fffbb71a178) at /git/percona-server_dbg/sql/main.cc:25

Testcase

Environment

None

Activity

Show:
roel.vandepaar
June 13, 2016, 3:57 AM

Bit better testcase

roel.vandepaar
June 3, 2016, 4:40 AM

In error log it shows as "no such file or directory"

/git/percona-server_dbg/storage/tokudb/PerconaFT/src/ydb.cc:979 env_open: Assertion `r == 0' failed (errno=2) (r=18446744073709451616)
: No such file or directory

Assignee

Unassigned

Reporter

roel.vandepaar

Labels

External issue ID

None

Freshdesk Tickets

None

Affects versions

Priority

Minor