[MDEV-21393] PCR2 make mysqltest crashes on environment check Created: 2019-12-25  Updated: 2020-02-10  Resolved: 2019-12-25

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Affects Version/s: 10.5
Fix Version/s: 10.5.1

Type: Bug Priority: Critical
Reporter: Oleksandr Byelkin Assignee: Oleksandr Byelkin
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

It fail each test like this:

main.alias                               [ fail ]
        Test ended at 2019-12-25 12:05:12
 
CURRENT_TEST: main.alias
 
 
Could not execute 'check-testcase' before testcase 'main.alias' (res: 1):
mysqltest: Logging to '/home/sanja/maria/git/10.5/mysql-test/var/tmp/check-mysqld_1.log'.
mysqltest: Results saved in '/home/sanja/maria/git/10.5/mysql-test/var/tmp/check-mysqld_1.result'.
mysqltest: Connecting to server localhost:16000 (socket /home/sanja/maria/git/10.5/mysql-test/var/tmp/mysqld.1.sock) as 'root', connection 'default', attempt 0 ...
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/check-testcase.test' ...
mysqltest got signal 11
read_command_buf (0x565316b13d40): cat_file
conn->name (0x565316b6b360): 
Attempting backtrace...
mysqltest failed but provided no output

the 9dadfdcde5a63a4d67f0f7a3720632bcb1d589d7 is last commit where problem is reproducable



 Comments   
Comment by Oleksandr Byelkin [ 2019-12-25 ]

start_check_testcase does not involve debugger for client even if asked.

Comment by Oleksandr Byelkin [ 2019-12-25 ]

after rebuild for asan and back I can not reproduce anymore

Comment by Oleksandr Byelkin [ 2019-12-25 ]

No, I mixed up commits, in 10.5 still crashes, asan does not help

Comment by Oleksandr Byelkin [ 2019-12-25 ]

new way to fail:

Could not execute 'check-testcase' before testcase 'main.alias' (res: 1):
mysqltest: Logging to '/home/sanja/maria/git/10.5/mysql-test/var/tmp/check-mysqld_1.log'.
mysqltest: Results saved in '/home/sanja/maria/git/10.5/mysql-test/var/tmp/check-mysqld_1.result'.
mysqltest: Connecting to server localhost:16000 (socket /home/sanja/maria/git/10.5/mysql-test/var/tmp/mysqld.1.sock) as 'root', connection 'default', attempt 0 ...
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/check-testcase.test' ...
mysqltest: At line 102: Regex error: No match
 
not ok
mysqltest failed but provided no output

Comment by Oleksandr Byelkin [ 2019-12-25 ]

appeared problem in system PCRE2 (last ubuntu)

Comment by Ian Gilfillan [ 2020-02-10 ]

This is listed as fixed in 10.5.1, but there are no commits, and it's closed as Wont Fix. What is the correct status for this issue?

Comment by Sergei Golubchik [ 2020-02-10 ]

greenman, as far as I understand it was a PCRE2 bug, and updating PCRE2 in the VM fixed it.

Generated at Thu Feb 08 09:06:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.