FTBFS: mariadb fails to start due to MEMLOCK limit under 256 MB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mariadb (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
This bug report is basically about the same issue as https:/
I tested today removing the workaround commit and uploaded to https:/
2023-10-05 1:40:12 0 [Warning] mariadbd: io_uring_
231005 1:40:12 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https:/
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Server version: 10.11.5-
key_buffer_
read_buffer_
max_used_
max_threads=153
thread_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x0 thread_stack 0x49000
/<<PKGBUILDDIR>
src/mariadb-
[0x3fffa475b86]
/lib/s390x-
/lib/s390x-
/lib/s390x-
/<<PKGBUILDDIR>
/<<PKGBUILDDIR>
/lib/s390x-
/lib/s390x-
/lib/s390x-
/<<PKGBUILDDIR>
src/mariadb-
bits/unique_
src/mariadb-
src/mariadb-
src/mariadb-
src/mariadb-
src/mariadb-
src/mariadb-
src/mariadb-
src/mariadb-
/lib/s390x-
/lib/s390x-
/<<PKGBUILDDIR>
The manual page at https:/
information that should help you find out what is causing the crash.
Writing a core file...
Working directory at /<<PKGBUILDDIR>
Resource Limits:
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 8388608 unlimited bytes
Max core file size unlimited unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 64242 64242 processes
Max open files 1024 1024 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 64242 64242 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
Kernel version: Linux version 5.4.0-163-generic (buildd@
On armhf multiple tests run, but many also fail on MariaDB crashing on signal 7 and signal 11, and they seem unrealted.
On amd64 the root cause of the failure is likely the same, but error looks like this:
023-10-05 1:33:49 0 [Warning] mariadbd: io_uring_
231005 1:33:49 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https:/
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Server version: 10.11.5-
key_buffer_
read_buffer_
max_used_
max_threads=153
thread_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x0 thread_stack 0x49000
/<<PKGBUILDDIR>
src/mariadb-
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
unwind-
/<<PKGBUILDDIR>
/lib/x86_
/lib/x86_
/lib/x86_
/<<PKGBUILDDIR>
src/mariadb-
bits/unique_
src/mariadb-
src/mariadb-
src/mariadb-
src/mariadb-
src/mariadb-
src/mariadb-
src/mariadb-
src/mariadb-
/lib/x86_
/lib/x86_
/<<PKGBUILDDIR>
The manual page at https:/
information that should help you find out what is causing the crash.
Writing a core file...
Working directory at /<<PKGBUILDDIR>
Resource Limits:
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 8388608 unlimited bytes
Max core file size unlimited unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 63853 63853 processes
Max open files 1024 1024 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 63853 63853 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
Core pattern: |/usr/share/
Kernel version: Linux version 5.4.0-163-generic (buildd@
affects: | mariadb-10.6 (Ubuntu) → mariadb (Ubuntu) |
Changed in mariadb (Ubuntu): | |
status: | New → Confirmed |
Changed in mariadb (Ubuntu): | |
importance: | Undecided → Low |
Upstream issue: https:/ /jira.mariadb. org/browse/ MDEV-25633