glusterfs icon indicating copy to clipboard operation
glusterfs copied to clipboard

Fedora 38: glibc error: malloc.c:2593 (sysmalloc): assertion failed:

Open colaH16 opened this issue 2 years ago • 3 comments

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)

스크린샷 2023-04-28 오후 7 36 25

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 스크린샷 2023-04-28 오후 8 03 52

**- 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

colaH16 avatar Apr 28 '23 11:04 colaH16

In my tests, it deon't happens on x86_64, only aarch64 has this problem

colaH16 avatar Apr 29 '23 14:04 colaH16

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

panlinux avatar Aug 18 '23 12:08 panlinux

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.

colaH16 avatar Mar 27 '24 22:03 colaH16