Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.3(EOL)
-
None
Description
Reproduce
1. in 10.4 initialize new database with mysql_install_db;
2. copy database files to 10.3, f.ex.:
rsync -aP 10.4/data 10.3
|
3. start 10.3 server.
Result
#0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
|
#1 0x00007ffff6d4031e in _IO_vfprintf_internal (s=0x7fffffff4030, format=0x16bac41 "Got error %d when trying to lock mutex %s at %s, line %d\n", ap=0x7fffffff66f0) at vfprintf.c:1638
|
#2 0x00007ffff6d41370 in buffered_vfprintf (s=s@entry=0x7ffff6ec7680 <_IO_2_1_stderr_>, format=format@entry=0x16bac41 "Got error %d when trying to lock mutex %s at %s, line %d\n", args=args@entry=0x7fffffff66f0) at vfprintf.c:2322
|
#3 0x00007ffff6d3e7ea in _IO_vfprintf_internal (s=0x7ffff6ec7680 <_IO_2_1_stderr_>, format=0x16bac41 "Got error %d when trying to lock mutex %s at %s, line %d\n", ap=ap@entry=0x7fffffff66f0) at vfprintf.c:1296
|
#4 0x00007ffff6d478c4 in __fprintf (stream=<optimized out>, format=<optimized out>) at fprintf.c:32
|
#5 0x00000000013ed119 in safe_mutex_lock (mp=0x27ebc60, my_flags=0, file=0x1478318 "/home/midenok/src/mariadb/10.3/src/sql/sql_acl.cc", line=2857) at /home/midenok/src/mariadb/10.3/src/mysys/thr_mutex.c:297
|
#6 0x000000000069dfa4 in inline_mysql_mutex_lock (that=0x27ebc60, src_file=0x1478318 "/home/midenok/src/mariadb/10.3/src/sql/sql_acl.cc", src_line=2857) at /home/midenok/src/mariadb/10.3/src/include/mysql/psi/mysql_thread.h:695
|
#7 0x00000000006a1f45 in acl_get (host=0x0, ip=0x0, user=0x3170738 "", db=0x2e208d8 "mysql", db_is_pattern=0 '\000') at /home/midenok/src/mariadb/10.3/src/sql/sql_acl.cc:2857
|
#8 0x00000000007282ab in mysql_change_db (thd=0x316e998, new_db_name=0x7fffffff8550, force_switch=true) at /home/midenok/src/mariadb/10.3/src/sql/sql_db.cc:1532
|
#9 0x0000000000728898 in mysql_opt_change_db (thd=0x316e998, new_db_name=0x7fffffff8550, saved_db_name=0x7fffffff7780, force_switch=true, cur_db_changed=0x7fffffff777f) at /home/midenok/src/mariadb/10.3/src/sql/sql_db.cc:1639
|
#10 0x00000000008b6d0e in mysql_make_view (thd=0x316e998, share=0x302cc40, table=0x7fffffff8328, open_view_no_parse=false) at /home/midenok/src/mariadb/10.3/src/sql/sql_view.cc:1357
|
#11 0x00000000006d6557 in open_table (thd=0x316e998, table_list=0x7fffffff8328, ot_ctx=0x7fffffff8078) at /home/midenok/src/mariadb/10.3/src/sql/sql_base.cc:1889
|
#12 0x00000000006dab3b in open_and_process_table (thd=0x316e998, lex=0x3172780, tables=0x7fffffff8328, counter=0x7fffffff817c, flags=2048, prelocking_strategy=0x7fffffff81f0, has_prelocking_list=false, ot_ctx=0x7fffffff8078) at /home/midenok/src/mariadb/10.3/src/sql/sql_base.cc:3596
|
#13 0x00000000006d97cd in open_tables (thd=0x316e998, options=..., start=0x7fffffff8190, counter=0x7fffffff817c, flags=2048, prelocking_strategy=0x7fffffff81f0) at /home/midenok/src/mariadb/10.3/src/sql/sql_base.cc:4119
|
#14 0x00000000006dde25 in open_and_lock_tables (thd=0x316e998, options=..., tables=0x7fffffff8328, derived=false, flags=2048, prelocking_strategy=0x7fffffff81f0) at /home/midenok/src/mariadb/10.3/src/sql/sql_base.cc:4996
|
#15 0x000000000068d86c in open_and_lock_tables (thd=0x316e998, tables=0x7fffffff8328, derived=false, flags=2048) at /home/midenok/src/mariadb/10.3/src/sql/sql_base.h:500
|
#16 0x00000000006cc46b in Grant_tables::open_and_lock (this=0x7fffffff8320, thd=0x316e998) at /home/midenok/src/mariadb/10.3/src/sql/sql_acl.cc:1212
|
#17 0x000000000069d600 in acl_reload (thd=0x316e998) at /home/midenok/src/mariadb/10.3/src/sql/sql_acl.cc:2231
|
#18 0x000000000069d4b3 in acl_init (dont_read_acl_tables=false) at /home/midenok/src/mariadb/10.3/src/sql/sql_acl.cc:1657
|
#19 0x000000000061f832 in mysqld_main (argc=28, argv=0x27dddb8) at /home/midenok/src/mariadb/10.3/src/sql/mysqld.cc:6035
|
#20 0x000000000061b122 in main (argc=6, argv=0x7fffffffbb38) at /home/midenok/src/mariadb/10.3/src/sql/main.cc:25 |
Attachments
Issue Links
- duplicates
-
MDEV-18241 Downgrade from 10.4 to 10.3 crashes
- Closed