Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault with musl #17030

Open
owenthewizard opened this issue Feb 5, 2025 · 0 comments
Open

Segmentation Fault with musl #17030

owenthewizard opened this issue Feb 5, 2025 · 0 comments
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@owenthewizard
Copy link

If Alpine and/or musl is not supported, let me know and I'll take my issues elsewhere 🙂.

System information

Type Version/Name
Distribution Name Alpine Linux
Distribution Version 3.21.2
Kernel Version 6.12.11-0-lts
Architecture amd64
OpenZFS Version zfs-2.2.7-1 / zfs-kmod-2.2.7-1

Describe the problem you're observing

During boot, ZFS experiences a segmentation fault. I've not found out what triggers it or any ill effects, but it happens every boot.

Describe how to reproduce the problem

I'm not sure what is causing this, all I can do to reproduce it is reboot...

Include any warning/errors/backtraces from the system logs

I built zfs-lts with --with-debug but it does not seem to have produce any more information...

[   40.499185] zfs[16607]: segfault at 27 ip 00007f36ff376968 sp 00007f36fd2a13c8 error 4 in ld-musl-x86_64.so.1[41968,7f36ff349000+57000] likely on CPU 23 (core 11, socket 0)
[   40.499206] Code: 25 00 00 00 00 48 83 c0 34 c3 48 8d 05 91 1e 03 00 81 ff 83 00 00 00 77 11 48 63 ff 48 8d 15 5f 1d 03 00 0f b7 14 7a 48 01 d0 <48> 8b 76 28 48 89 c7 e9 06 27 00 00 64 48 8b 04 25 00 00 00 00 48

Here's my pool info if it helps:

NAME      SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
ssd       372G  94.7G   277G        -         -    19%    25%  1.00x    ONLINE  -
storage  87.5T  17.8T  69.7T        -         -     0%    20%  1.00x    ONLINE  -

  pool: ssd
 state: ONLINE
  scan: scrub repaired 0B in 00:01:57 with 0 errors on Sun Jan 12 00:25:58 2025
config:

        NAME                        STATE     READ WRITE CKSUM
        ssd                         ONLINE       0     0     0
          mirror-0                  ONLINE       0     0     0
            sdc                     ONLINE       0     0     0
            sde                     ONLINE       0     0     0
          mirror-1                  ONLINE       0     0     0
            wwn-0x5002361000222363  ONLINE       0     0     0
            sdf                     ONLINE       0     0     0
        logs
          nvme0n1p2                 ONLINE       0     0     0
        cache
          nvme0n1p4                 ONLINE       0     0     0

errors: No known data errors

  pool: storage
 state: ONLINE
  scan: scrub repaired 0B in 02:59:44 with 0 errors on Sun Jan 12 03:23:46 2025
config:

        NAME                        STATE     READ WRITE CKSUM
        storage                     ONLINE       0     0     0
          raidz2-0                  ONLINE       0     0     0
            wwn-0x5000cca2621f67c4  ONLINE       0     0     0
            wwn-0x5000cca23bc86bb0  ONLINE       0     0     0
            wwn-0x5000cca23b9d6ee0  ONLINE       0     0     0
            wwn-0x5000cca23bd251a4  ONLINE       0     0     0
            wwn-0x5000cca23bbbb370  ONLINE       0     0     0
            wwn-0x5000cca2621d5c38  ONLINE       0     0     0
          raidz2-1                  ONLINE       0     0     0
            wwn-0x5000cca2621d1124  ONLINE       0     0     0
            wwn-0x5000cca23bd2a914  ONLINE       0     0     0
            wwn-0x5000cca2621e50c4  ONLINE       0     0     0
            wwn-0x5000cca23bd262dc  ONLINE       0     0     0
            wwn-0x5000cca23bd26148  ONLINE       0     0     0
            wwn-0x5000cca2620d42dc  ONLINE       0     0     0
        special
          mirror-2                  ONLINE       0     0     0
            wwn-0x55cd2e4150035eea  ONLINE       0     0     0
            wwn-0x55cd2e41500fe2bc  ONLINE       0     0     0
        logs
          nvme0n1p1                 ONLINE       0     0     0
        cache
          nvme0n1p3                 ONLINE       0     0     0

errors: No known data errors

If there's anything more I can provide, I'd be happy to!

@owenthewizard owenthewizard added the Type: Defect Incorrect behavior (e.g. crash, hang) label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

1 participant