[MDEV-19031] thr_lock crash via NULL pointer dereference Created: 2019-03-23  Updated: 2019-03-23

Status: Open
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.2, 10.3, 10.4
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Eugene Kosov (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-19032 thr_lock, thr_timer and test_hash are... Open

 Description   

Thread 2 "thr_lock" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fcd700 (LWP 30979)]
0x0000000000402bc8 in thr_lock_info_init (info=0x7ffff7fccc38, tmp=0x0) at thr_lock.c:472
472	  info->thread=    tmp->pthread_self;
(gdb) bt
#0  thr_lock_info_init (info=0x7ffff7fccc38, tmp=0x0) at thr_lock.c:472
#1  test_thread (arg=0x7fffffffdef0) at thr_lock.c:1809
#2  start_thread (arg=<optimized out>) at pthread_create.c:486
#3  clone () at clone.S:95
 
(gdb) p tmp
$2 = (struct st_my_thread_var *) 0x0


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