Summary: | databases/mariadb104-server: mysqld --help --verbose crashes (upstream: MDEV-15795) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Wouter Oosterveld <wouter.oosterveld> |
Component: | Individual Port(s) | Assignee: | Bernard Spil <brnrd> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Many People | CC: | diizzy, vvd |
Priority: | --- | Keywords: | needs-patch, needs-qa |
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(brnrd) koobs: merge-quarterly? |
Hardware: | amd64 | ||
OS: | Any | ||
URL: | https://jira.mariadb.org/browse/MDEV-15795 |
Description
Wouter Oosterveld
2019-12-27 16:31:55 UTC
Why not just add this patch? Upstream is so slooooow… What other MariaDB port versions are affected? Can you please also include the proposed patch as an attachment Thanks! (In reply to Kubilay Kocak from comment #2) > What other MariaDB port versions are affected? I think all. > Can you please also include the proposed patch as an attachment Patch for port or patch for file mysys/thr_timer.c? (In reply to VVD from comment #1) Sorry, so am I... (sooo slooow...) This patch, does it solve the issue? MDEV-16264 https://github.com/MariaDB/server/commit/ad17c98dd5877ededb8ac3d4e0ac1f7beed5406c (In reply to Bernard Spil from comment #4) Look like it fixed in 10.5 already: - pthread_attr_setstacksize(&thr_attr,8196); + pthread_attr_setstacksize(&thr_attr,64*1024); 10.4 and 10.3 - didn't fixed. IMHO, Dimov Vasil from https://jira.mariadb.org/browse/MDEV-15795 is right: > Why is `pthread_attr_setstacksize(&thr_attr,8196);` needed in the first place? I guess the fix of this bug is to just remove it. Capping the stack without a mechanism to catch overflow in a useful way leads to hard to diagnose crashes. But you can use same patch with increase stack size from 8 to 64k for older mariadb versions too. Is this fixed now? MariaDB 10.4 is deprecated, use newer versions of the port |