Skip to content

Segfault on M1 mac with latest master (but not 1.8) #44451

@fingolfin

Description

@fingolfin

I am getting a consistent crash with Julia master, which I bisected to 7600bfd from PR #42463 by @vchuravy. It happens on my M1 mac but not on a Linux machine. So it might be specific to M1 (which is Tier 3).

Here's the crash:

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.0-DEV.137 (2022-03-04)
 _/ |\__'_|_|_|\__'_|  |  Commit b63ae3b88a* (0 days old master)
|__/                   |

julia> versioninfo()
Julia Version 1.9.0-DEV.137
Commit b63ae3b88a* (2022-03-04 06:04 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.3.0)
  CPU: 10 × Apple M1 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 1 on 8 virtual cores
Environment:
  JULIA_EDITOR = /usr/local/bin/bbedit

(@v1.9) pkg> status
Status `~/.julia/environments/v1.9/Project.toml`
  [f1435218] Oscar v0.8.1

julia> using Oscar
 -----    -----    -----      -      -----
|     |  |     |  |     |    | |    |     |
|     |  |        |         |   |   |     |
|     |   -----   |        |     |  |-----
|     |        |  |        |-----|  |   |
|     |  |     |  |     |  |     |  |    |
 -----    -----    -----   -     -  -     -

...combining (and extending) ANTIC, GAP, Polymake and Singular
Version 0.8.1 ...
 ... which comes with absolutely no warranty whatsoever
Type: '?Oscar' for more information
(c) 2019-2022 by The Oscar Development Team

julia> class_group(maximal_order(quadratic_field(-1)[1]))

signal (11): Segmentation fault: 11
in expression starting at REPL[2]:1
_ZN4llvm9MemorySSA15removeFromListsEPNS_12MemoryAccessEb at /Users/mhorn/Projekte/Julia/julia.master/usr/lib/libLLVM.dylib (unknown line)
Allocations: 47894734 (Pool: 47844819; Big: 49915); GC: 18

signal (11): Segmentation fault: 11
in expression starting at REPL[2]:1
_ZN4llvm21collectChildrenInLoopEPNS_15DomTreeNodeBaseINS_10BasicBlockEEEPKNS_4LoopE at /Users/mhorn/Projekte/Julia/julia.master/usr/lib/libLLVM.dylib (unknown line)
Allocations: 47894734 (Pool: 47844819; Big: 49915); GC: 18

signal (11): Segmentation fault: 11
in expression starting at REPL[2]:1
_ZN4llvm21collectChildrenInLoopEPNS_15DomTreeNodeBaseINS_10BasicBlockEEEPKNS_4LoopE at /Users/mhorn/Projekte/Julia/julia.master/usr/lib/libLLVM.dylib (unknown line)
Allocations: 47894734 (Pool: 47844819; Big: 49915); GC: 18

signal (11): Segmentation fault: 11
in expression starting at REPL[2]:1
_ZN4llvm21collectChildrenInLoopEPNS_15DomTreeNodeBaseINS_10BasicBlockEEEPKNS_4LoopE at /Users/mhorn/Projekte/Julia/julia.master/usr/lib/libLLVM.dylib (unknown line)
Allocations: 47894734 (Pool: 47844819; Big: 49915); GC: 18

signal (11): Segmentation fault: 11
in expression starting at REPL[2]:1
_ZN4llvm21collectChildrenInLoopEPNS_15DomTreeNodeBaseINS_10BasicBlockEEEPKNS_4LoopE at /Users/mhorn/Projekte/Julia/julia.master/usr/lib/libLLVM.dylib (unknown line)
Allocations: 47894734 (Pool: 47844819; Big: 49915); GC: 18

Metadata

Metadata

Assignees

No one assigned

    Labels

    system:apple siliconAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions