Bug #118565 | MySQL Router 'Application got fatal signal: 11' segfault with connection pooling enabled | ||
---|---|---|---|
Submitted: | 30 Jun 16:42 | Modified: | 10 Jul 15:48 |
Reporter: | Humberto Adolfo Leal Betancur | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Router | Severity: | S2 (Serious) |
Version: | Latest 9.3.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Fatal, router, segfault |
[30 Jun 16:42]
Humberto Adolfo Leal Betancur
[30 Jun 16:47]
Humberto Adolfo Leal Betancur
Stack trace
Attachment: stack_trace.txt (text/plain), 6.06 KiB.
[30 Jun 16:48]
Humberto Adolfo Leal Betancur
router configuration generated by bootstrap process
Attachment: router-config (application/octet-stream, text), 2.23 KiB.
[30 Jun 17:02]
Humberto Adolfo Leal Betancur
Edit: had trouble uploading the php script, it's available here instead https://github.com/hleal18/php-conn-pool-script/blob/main/script.php/
[10 Jul 15:48]
MySQL Verification Team
Hi, Thank you for the report. I was unable to reproduce it but I'll check if router team can extract needed info from stack trace you provided. Thanks.
[25 Jul 17:21]
Johnathan Smithons
Looks like we're affected by this, too. Crashes like once a day. Also Kubernetes, also still happening with 9.3.0 Let me know if there's anything I can provide to help track this down. Application got fatal signal: 11 │ stack_bottom = 0 thread_stack 0x0 │ #0 0x7168eefad7c0 <unknown> │ #1 0x7168edcba72f <unknown> │ #2 0x7168ec8e8374 <unknown> │ #3 0x7168ec8e8fa4 <unknown> │ #4 0x7168ec8b9ce8 <unknown> │ #5 0x7168ec8ba2b8 <unknown> │ #6 0x7168ec894a11 <unknown> │ #7 0x7168ef0cb841 <unknown> │ #8 0x7168ef0ce4af <unknown> │ #9 0x7168ee054ad3 <unknown> │ #10 0x7168edd057f1 <unknown> │ #11 0x7168edd8a87f <unknown> │ #12 0xffffffffffffffff <unknown>
[25 Jul 18:54]
Johnathan Smithons
We're running a few hundred million queries through this mysql router instance each day, in case this makes any difference.
[28 Jul 10:01]
MySQL Verification Team
Hi Johnathan, Adding as much info on your setup will surely help. Also any logs you can share will help. We do not have clear and repeatable way of reproducing the problem.
[28 Jul 10:23]
Johnathan Smithons
Is there a docker image that produces more debug information? Host system: # uname -a Linux node1 6.8.0-63-generic #66-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 13 20:25:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.2 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.2 LTS (Noble Numbat)" # cat /proc/cpuinfo | head processor : 0 vendor_id : AuthenticAMD cpu family : 25 model : 97 model name : AMD EPYC 4344P 8-Core Processor stepping : 2 microcode : 0xa601209 But we've been seeing the same issue on Xeon nodes as well
[29 Jul 13:48]
Johnathan Smithons
Moved some load off the router instance and it took 3 days for it to crash. Maybe this is some race condition with a very small probability?