Skip to content

Mattermost 10.5.9 SEGV on LX Alpine 3.21.3 image #519

@drboone

Description

@drboone

Our Mattermost instance has long run in an Alpine LX guest. I need to upgrade it, but I'm having trouble getting newer versions to run. I eventually determined that util-linux breaks guest boot. Now on to the current problem, which is segfaults from the mattermost binaries. Current setup is:

Platform 20240208T000334Z
Alpine base image c38b1b62-6d89-41f1-bd1d-5342b2d783d7 alpine-3.21.3 20250407
Mattermost 10.5.9, official build

These packages (and whatever dependencies came along) are installed on top of the base image:

  • bash
  • git
  • libc6-compat
  • netcat-openbsd
  • net-tools
  • nginx
  • openssl
  • procps
  • rsync
  • shadow
  • tar

strace output attached. I have a core dump I can make available privately, ~150 MB.

Unfortunately, mdb doesn't seem to produce much of value, though I imagine that's not much of a surprise in this environment:

aintmisbehavin 4 $ /native/usr/bin/mdb /opt/mattermost/bin/mattermost /var/core.ld-musl-x86_64.s.378496 
Loading modules: [ libc.so.1 ld.so.1 ]
> ::status
debugging core file of ld-musl-x86_64. (64-bit) from aintmisbehavin.h-net.org
file: /opt/mattermost-10.5.9/bin/mattermost
initial argv: ld-linux-x86-64.so.2 --argv0 /opt/mattermost/bin/mattermost --preload /lib/libg
threading model: native threads
status: process terminated by SIGSEGV (Segmentation Fault), addr=ffffffffffffffd8
> ::stack
0x479730()
0x443d51()
0x443bac()
0x479773()
0x479517()
0x6d72657474616d2f()

Let me know what additional details I obviously should have included here. :)

mm.strace.txt

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