Bug #80435 mysys: Remove alloca() from lock-free allocator (contribution)
Submitted: 18 Feb 2016 23:18 Modified: 29 Mar 2016 6:37
Reporter: OCA Admin (OCA) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Locking Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[18 Feb 2016 23:18] OCA Admin
Description:
This bug tracks a contribution by Daniel Axtens (Github user: daxtens) as described in http://github.com/mysql/mysql-server/pull/54

How to repeat:
See description

Suggested fix:
See contribution code attached
[18 Feb 2016 23:18] OCA Admin
Contribution submitted via Github - mysys: Remove alloca() from lock-free allocator 
(*) Contribution by Daniel Axtens (Github daxtens, mysql-server/pull/54#issuecomment-185951752): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_59733556.txt (text/plain), 6.75 KiB.

[25 Feb 2016 23:59] Stewart Smith
This should probably be higher than S3, maybe S1 considering that trying to allocate 252kB on the stack leads things to explode pretty hard.
[9 Mar 2016 9:45] MySQL Verification Team
Hello Daniel,

Thank you for the report and contribution.

Thanks,
Umesh
[9 Mar 2016 11:17] Ståle Deraas
Posted by developer:
 
Note that this code was removed in 5.7.6 by fix for http://bugs.mysql.com/bug.php?id=73979 .
[17 Mar 2016 8:47] Ståle Deraas
Posted by developer:
 
Closing, based on last comment.
[29 Mar 2016 22:17] Daniel Black
This was a crash (an assert), was hoping these fixes could still make it into 5.6.

Happy to consider/test a backport of bug 73979 too.