glusterfs
glusterfs copied to clipboard
Fedora 38: glibc error: malloc.c:2593 (sysmalloc): assertion failed:
Description of problem:
install glusterfs server by sudo dnf install glusterfs-server, then I got this error
glibc error: malloc.c:2593 (sysmalloc): assertion failed:(old_top == init al_top (av) && old_size == 0) || ( (unsigned long) (old_size) >= MINSIZE & prev _ inuse (old_top) && ( (unsigned long) old_end & (pagesize - 1)) == 0)
/var/tmp/rpm-tmp.qEvlv5: line 80: 2711 Aborted
Run gluster, then I got this error
malloc(): invalid size (unsorted)
The exact command to reproduce the issue:
Boot from fedora 38 aarch64 live image.
enter sudo dnf install glusterfs-server and 'sudo gluster'
The full output of the command that failed: glibc error: malloc.c:2593 (sysmalloc): assertion failed:(old_top == init al_top (av) && old_size == 0) || ( (unsigned long) (old_size) >= MINSIZE & prev _ inuse (old_top) && ( (unsigned long) old_end & (pagesize - 1)) == 0) /var/tmp/rpm-tmp.qEvlv5: line 80: 2711 Aborted malloc(): invalid size (unsorted)
Expected results: get this message: 'Welcome to gluster prompt, type 'help' to see the available commands.'
Mandatory info:
- The output of the gluster volume info command:
malloc(): invalid size (unsorted)
- The output of the gluster volume status command:
malloc(): invalid size (unsorted)
- The output of the gluster volume heal command:
malloc(): invalid size (unsorted)
**- Provide logs present on following locations of client and server nodes -
/var/log/glusterfs/
there's no error

**- Is there any crash ? Provide the backtrace and coredump
Additional info:
- The operating system / glusterfs version: Fedora 38 aarch64 live, normal fedora 38 has same error
Note: Please hide any confidential data which you don't want to share in public like IP address, file name, hostname or any other configuration
In my tests, it deon't happens on x86_64, only aarch64 has this problem
I'm seeing this crash in all architectures in ubuntu: https://autopkgtest.ubuntu.com/packages/g/glusterfs/mantic/amd64 https://autopkgtest.ubuntu.com/packages/g/glusterfs/mantic/arm64 https://autopkgtest.ubuntu.com/packages/g/glusterfs/mantic/ppc64el https://autopkgtest.ubuntu.com/packages/g/glusterfs/mantic/s390x
I ended up using ceph instead of gluster, despite the smaller memory footprint and inability to use snapshots of the filesystem. It seems that gluster is no longer maintained.