Skip to content

Start seeing Unhandled signal SIGSEGV from our rust app when upgrading to version 0.1.48 from 0.1.47 #153

@eddiecheung-shopify

Description

@eddiecheung-shopify

Since we upgrade mimalloc crate from 0.1.47 to 0.1.48, we started seeing Unhandled signal SIGSEGV error from our error logs. From our stack trace related to these errors, we found the following:

#24 0x00007e3c6cbd7d13 in malloc_consolidate (av=0x7e3a6c000030) at ./malloc/malloc.c:4876
#25 0x00007e3c6cbd8da5 in _int_free_maybe_consolidate (av=0x7e3a6c000030, size=<optimized out>) at ./malloc/malloc.c:4779
#26 0x00007e3c6cbd943a in _int_free (av=0x7e3a6c000030, p=<optimized out>, have_lock=<optimized out>) at ./malloc/malloc.c:4646
#27 0x00007e3c6cbdc001 in __GI___libc_free (mem=<optimized out>) at ./malloc/malloc.c:3398
#28 tcache_thread_shutdown () at ./malloc/malloc.c:3234
#29 __malloc_arena_thread_freeres () at ./malloc/arena.c:897
#30 0x00007e3c6cbde502 in __libc_thread_freeres () at ./malloc/thread-freeres.c:41
#31 0x00007e3c6cbca895 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:458
#32 0x00007e3c6cc57c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

For now, we have reverted back to use version 0.1.47. Hopefully, the future release will handle this error. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions