[MDEV-24922] 10.5.8 fails to run with GLIBC 2.32 and 2.33 Created: 2021-02-19 Updated: 2021-04-19 Resolved: 2021-02-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | N/A |
| Affects Version/s: | 10.5.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Noel | Assignee: | Daniel Black |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | crash | ||
| Environment: |
linux kernel 5.10.16-smp 32 bit,GLIBC2.33 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
mariadb fails on startup with latest glibc 2.32/2.33 The exact same version (10.5.8) ran fine on older GLIBC, prior to all packages rebuilt for latest glibc 2.33 and 2.32, everything worked fine on glibc 2.30 prior to that. Do you use lchmod? This is identical problem with rsync where Wayne D, says lchmod is used in latest glibc and may be cause. 2021-02-16 17:37:16 0 [Note] InnoDB: Using Linux native AIO To report this bug, see https://mariadb.com/kb/en/reporting-bugs We will try our best to scrape up some info that will hopefully help Server version: 10.5.8-MariaDB-log Thread pointer: 0x0 Note, there is no core file generated. |
| Comments |
| Comment by Daniel Black [ 2021-02-19 ] | ||||||
|
There's no lchmod used in mariadb server. Are you able to ulimit -c unlimited and get a backtrace from where this occurred? Or an strace to see if the `std::unique_lock<std::mutex>::unlock` calls resulted in a futex syscall before termination. | ||||||
| Comment by Noel [ 2021-02-19 ] | ||||||
|
Not that I can see, but I might be reading it all wrong, GGGGGGGG is strace std output | ||||||
| Comment by Daniel Black [ 2021-02-19 ] | ||||||
|
An extract from FFFFFF (-f is needed to capture the mysqld process rather than the mysqld_safe script).
So file descriptor 9 is the ibdata1 file. As you are running the same code as before you upgraded glibc the SIGILL isn't part of mariadb otherwise it would of failed earlier. Note the futex call here never returns. Its quite possible that the futex call in the kernel or glibc has the SIGILL. Given the duplicate bug references here is also a x86 reference on slackware I'd be looking closely at their build process and bug reports for something similar. | ||||||
| Comment by Noel [ 2021-02-19 ] | ||||||
|
OK, i'll pass it back to them, they didnt seem interested before sigh will see what happens now Thanks Daniel | ||||||
| Comment by Daniel Black [ 2021-02-23 ] | ||||||
|
https://sourceware.org/glibc/wiki/Testing/ABI_checker maybe. I'm not sure this calls the APIs but maybe the interface checks is sufficient. | ||||||
| Comment by Daniel Black [ 2021-02-23 ] | ||||||
|
Closing NOTABUG but really just NOT-OUR-BUG. | ||||||
| Comment by Daniel Black [ 2021-04-16 ] | ||||||
|
nobby6 thanks for your interest in further testing. Development/testing versions produced by our CI are available here http://hasky.askmonty.org/archive/10.5/. | ||||||
| Comment by Noel [ 2021-04-18 ] | ||||||
|
No problem,s thanks, happy to confirm mariadb started correctly, and has been running now since 30 hours on 32bit dev box. | ||||||
| Comment by Daniel Black [ 2021-04-19 ] | ||||||
|
Thanks for confirming nobby6. |