Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.4.7, 10.4(EOL), 10.5
-
My OS is Xubuntu 16.04.5. I'm running my application in docker.
Description
Hi, I have a problem, can someone help me ?
I'm beginner and i found a problem that (i think) i'm not able to solve alone.
I run the command
sudo docker run -e "STUDENTE=0226198" -it bdc |
the dockerfile is linked.
this command run "run.sh" that you can find linked with this post.
In "run.sh" i try to run the script "db.sql" which contains the sql commands for creating and initializing a database. (you can find db.sql linked with this post).
I get back this error that i'm not able to understand.
Running db.sql script...
|
190808 0:13:49 [ERROR] mysqld got signal 11 ;
|
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.4.7-MariaDB-1:10.4.7+maria~bionic
|
key_buffer_size=134217728
|
read_buffer_size=2097152
|
max_used_connections=2
|
max_threads=102
|
thread_count=8
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 760243 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation. |
|
Thread pointer: 0x7fd30c000c08
|
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 = 0x7fd3842d7dd8 thread_stack 0x49000
|
addr2line: 'mysqld': No such file |
mysqld(my_print_stacktrace+0x2e)[0x5652e5999cee]
|
mysqld(handle_fatal_signal+0x515)[0x5652e5411085]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7fd38aa55890] |
addr2line: 'mysqld': No such file |
mysqld(_ZN4JOIN7destroyEv+0x20)[0x5652e52433e0]
|
mysqld(_ZN13st_select_lex7cleanupEv+0x68)[0x5652e52a2c38]
|
mysqld(_ZN30subselect_single_select_engine7prepareEP3THD+0x3c)[0x5652e54c04dc]
|
mysqld(_ZN14Item_subselect10fix_fieldsEP3THDPP4Item+0x139)[0x5652e54bfed9]
|
mysqld(_ZN17Item_in_subselect10fix_fieldsEP3THDPP4Item+0x8d)[0x5652e54c01fd]
|
mysqld(_ZN17Item_in_optimizer10fix_fieldsEP3THDPP4Item+0x1a0)[0x5652e544c790]
|
mysqld(_ZN9Item_cond10fix_fieldsEP3THDPP4Item+0x447)[0x5652e544a667]
|
mysqld(_ZN3THD16sp_fix_func_itemEPP4Item+0x90)[0x5652e516a230]
|
mysqld(_ZN3THD20sp_prepare_func_itemEPP4Itemj+0xf)[0x5652e516a24f]
|
mysqld(_ZN20sp_instr_jump_if_not9exec_coreEP3THDPj+0x1e)[0x5652e516a2ae]
|
mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0x154)[0x5652e516fdd4]
|
mysqld(_ZN7sp_head7executeEP3THDb+0x9e6)[0x5652e516bcd6]
|
mysqld(_ZN7sp_head15execute_triggerEP3THDPK25st_mysql_const_lex_stringS4_P13st_grant_info+0x1b1)[0x5652e516c5e1]
|
mysqld(_ZN19Table_triggers_list16process_triggersEP3THD14trg_event_type20trg_action_time_typeb+0x10c)[0x5652e529ba8c]
|
mysqld(_Z36fill_record_n_invoke_before_triggersP3THDP5TABLER4ListI4ItemES6_b14trg_event_type+0x86)[0x5652e51a7d16]
|
mysqld(_Z12mysql_insertP3THDP10TABLE_LISTR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb+0x12c7)[0x5652e51d5447]
|
mysqld(_Z21mysql_execute_commandP3THD+0x1659)[0x5652e52018e9]
|
mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x22a)[0x5652e5208d4a]
|
mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1689)[0x5652e520b559]
|
mysqld(_Z10do_commandP3THD+0x148)[0x5652e520cb48]
|
mysqld(_Z24do_handle_one_connectionP7CONNECT+0x2c6)[0x5652e52e7ca6]
|
mysqld(handle_one_connection+0x3d)[0x5652e52e7d9d]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7fd38aa4a6db] |
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fd389e4888f] |
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7fd30c00fee0): INSERT INTO `scommesse0226198`.`PARTITA` (`Numero`, `Turno`, `Citta`, `Data`, `OraInizio`, `Squadra1`, `Squadra2`, `Arbitro`, `EsitoVincitore`) VALUES (2, 'Qualificazioni', 'Roma', '2019-09-05', '18:00:00', 'Germania', 'Albania', 'Costanzo Pisani', 'X') |
Connection ID (thread ID): 11
|
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
|
|
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. |
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 unlimited unlimited bytes |
Max resident set unlimited unlimited bytes |
Max processes unlimited unlimited processes
|
Max open files 1048576 1048576 files |
Max locked memory 65536 65536 bytes
|
Max address space unlimited unlimited bytes
|
Max file locks unlimited unlimited locks |
Max pending signals 31164 31164 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: |/usr/share/apport/apport %p %s %c %d %P |
|
ERROR 2013 (HY000) at line 2270: Lost connection to MySQL server during query
|
ERROR 2013 (HY000) at line 8585: Lost connection to MySQL server during query
|
Testing application...
|
/docker-entrypoint.sh: line 197: 131 Segmentation fault (core dumped) "$@" --skip-networking --socket="${SOCKET}" |
Can you help me solve this problem ?
If i try to run the same script in mysqlworkbench it run successfully, but i need to run with docker.
I found MDEV-12490 but it's unsolved and in the comment i found that this is the same problem of MDEV-12379 but i'm not agree...
Attachments
Issue Links
- is duplicated by
-
MDEV-20731 Mariadb process crashed after running store procedure
- Closed
- relates to
-
MDEV-20290 Server crash in st_select_lex::cleanup or Assertion `sl->join == 0' failed in reinit_stmt_before_use
- Closed
-
MDEV-20803 IF NOT EXISTS AND NOT EXISTS crash DB server
- Closed
-
MDEV-21199 Segfault
- Closed