Created by Sergei Glushchenko on 2013-06-21 and last modified on 2013-07-30
Get this branch:
bzr branch lp:~sergei.glushchenko/percona-server/5.6-ps-bug1191375
Only Sergei Glushchenko can upload to this branch. If you are Sergei Glushchenko please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

408. By Sergei Glushchenko on 2013-07-30

Bug 1191375: Percona Server 5.6 RC with thread pool crashes under load
Attached gdb stack trace points that SIGSEGV is emitted in pfs_spawn_thread,
when newly created thread tries to initialize some of it's instrumentation
properties by copying them prom parent's thread instrumentation properties.
This likely caused by the fact that parent thread finished shortly after
it spawned child thread and before child thread accessed parent's properties.
This patch fixes race by copying all needed properties from parent's
structures to the argument structure for child thread before the child
thread is spawned. This makes child thread initialization immune to parent's
thread death.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.