Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
1.5.3
-
None
-
None
Description
Inability to write to rdwrscratch folder is causing a crash in mysqld.
terminate called after throwing an instance of 'boost::filesystem::filesystem_error' |
what(): boost::filesystem::status: Permission denied: "/tmp/columnstore_tmp_files/rdwrscratch" |
200822 6:22:04 [ERROR] 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.
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs |
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. |
Server version: 10.5.6-MariaDB-log |
key_buffer_size=134217728 |
read_buffer_size=131072 |
max_used_connections=10 |
max_threads=153 |
thread_count=12 |
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467560 K bytes of memory |
Hope that's ok; if not, decrease some variables in the equation. |
Thread pointer: 0x7f1876607b98 |
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 = 0x7f18a6e48408 thread_stack 0x49000 |
??:0(my_print_stacktrace)[0x55bc34c157ae] |
??:0(handle_fatal_signal)[0x55bc34769a15] |
sigaction.c:0(__restore_rt)[0x7f18ab7e9dd0] |
:0(__GI_raise)[0x7f18a958870f] |
:0(__GI_abort)[0x7f18a9572b25] |
/lib64/libstdc++.so.6(+0x9006b)[0x7f18a9d2506b] |
??:0(std::rethrow_exception(std::__exception_ptr::exception_ptr))[0x7f18a9d2b50c] |
??:0(std::terminate())[0x7f18a9d2b567] |
??:0(__cxa_throw)[0x7f18a9d2b7c8] |
/lib64/libboost_filesystem.so.1.66.0(+0x89e6)[0x7f1898d3d9e6] |
??:0(idbdatafile::IDBPolicy::init(bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, long))[0x7f189a15af1d] |
??:0(idbdatafile::IDBPolicy::configIDBPolicy())[0x7f189a15bd3f] |
??:0(WriteEngine::Config::checkReload())[0x7f189d224dc4] |
??:0(WriteEngine::Config::initConfigCache())[0x7f189d226191] |
??:0(is_columnstore_files_plugin_init(void*))[0x7f189df9f5e4] |
??:0(is_columnstore_files_plugin_init(void*))[0x7f189dfa08c8] |
??:0(get_schema_tables_result(JOIN*, enum_schema_table_state))[0x55bc346021d2] |
??:0(JOIN::exec_inner())[0x55bc345e9437] |
??:0(JOIN::exec())[0x55bc345e9a07] |
??:0(mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x55bc345e7d52] |
??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x55bc345e869e] |
??:0(LEX::mark_first_table_as_inserting())[0x55bc3458a9f3] |
??:0(mysql_execute_command(THD*))[0x55bc34592d08] |
??:0(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55bc34586448] |
??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x55bc345903fd] |
??:0(do_command(THD*))[0x55bc345912b1] |
??:0(do_handle_one_connection(CONNECT*, bool))[0x55bc346760f6] |
??:0(handle_one_connection)[0x55bc346763dd] |
pthread_create.c:0(start_thread)[0x7f18ab7df2de] |
:0(__GI___clone)[0x7f18a964ce83] |
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f1876638ab0): SELECT `OBJECT_ID`, `SEGMENT_ID`, `PARTITION_ID`, `FILENAME`, `FILE_SIZE`, `COMPRESSED_DATA_SIZE` FROM `information_schema`.`COLUMNSTORE_FILES` LIMIT 100 OFFSET 0 |
Connection ID (thread ID): 22 |
Status: NOT_KILLED
|
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off |
The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains |
information that should help you find out what is causing the crash.
|
Writing a core file...
|
Working directory at /var/lib/mysql
|
Resource Limits:
|
Limit Soft Limit Hard Limit Units
|
Max cpu time unlimited unlimited seconds
|
Max file size unlimited unlimited bytes
|
Max data size unlimited unlimited bytes
|
Max stack size 8388608 unlimited bytes |
Max core file size 0 unlimited bytes |
Max resident set unlimited unlimited bytes
|
Max processes unlimited unlimited processes
|
Max open files 1048576 1048576 files |
Max locked memory 83968000 83968000 bytes |
Max address space unlimited unlimited bytes
|
Max file locks unlimited unlimited locks
|
Max pending signals 31732 31732 signals |
Max msgqueue size 819200 819200 bytes |
Max nice priority 0 0 |
Max realtime priority 0 0 |
Max realtime timeout unlimited unlimited us
|
Core pattern: core
|
Attachments
Issue Links
- duplicates
-
MCOL-4246 ControllerSegmentTable: RWLock() threw: Permission denied
- Closed