[MDEV-15014] [5.5] Assertion `m_cache_lock_status == LOCKED_NO_WAIT || m_cache_status == DISABLE_REQUEST' failed in Query_cache::free_cache on startup Created: 2018-01-20  Updated: 2022-01-18

Status: Open
Project: MariaDB Server
Component/s: Query Cache
Affects Version/s: 5.5
Fix Version/s: 5.5

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Vicențiu Ciorbaru
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Start debug 5.5 server with --query_cache_type=0, otherwise defaults

mysqld: /data/src/5.5/sql/sql_cache.cc:2697: void Query_cache::free_cache(): Assertion `m_cache_lock_status == LOCKED_NO_WAIT || m_cache_status == DISABLE_REQUEST' failed.
180122  0:45:07 [ERROR] mysqld got signal 6 ;
 
#7  0x00007fb1b91a1ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00000000005baad7 in Query_cache::free_cache (this=0x14d53c0 <query_cache>) at /data/src/5.5/sql/sql_cache.cc:2696
#9  0x00000000005b9fb2 in Query_cache::init (this=0x14d53c0 <query_cache>) at /data/src/5.5/sql/sql_cache.cc:2480
#10 0x00000000005572c7 in init_server_components () at /data/src/5.5/sql/mysqld.cc:4112
#11 0x0000000000558897 in mysqld_main (argc=12, argv=0x7fb1b885f190) at /data/src/5.5/sql/mysqld.cc:4891
#12 0x0000000000550e96 in main (argc=12, argv=0x7ffc66664508) at /data/src/5.5/sql/main.cc:25

No visible effect on a non-debug build.



 Comments   
Comment by Vicențiu Ciorbaru [ 2018-01-29 ]

Hi sanja!

Can you please review a patch for this MDEV?

http://lists.askmonty.org/pipermail/commits/2018-January/011919.html

Comment by Oleksandr Byelkin [ 2018-02-03 ]

Ok to push

Comment by Elena Stepanova [ 2018-07-10 ]

We are not really fixing non-critical 5.5-only issues anymore, but since there is already a fix ready to be pushed, maybe it makes sense to push it before the next 5.5 release.

Comment by Ian Gilfillan [ 2020-06-28 ]

Does this issue affect any releases from 10.1, or can it be closed?

Generated at Thu Feb 08 08:18:02 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.