Skip to content

@profile segfault when threading on x64 linux #55703

Closed
@IanButterworth

Description

@IanButterworth
ian@ian-desktop:~/Documents/GitHub/julia$ ./julia --start=no -t2
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.12.0-DEV.1159 (2024-09-06)
 _/ |\__'_|_|_|\__'_|  |  Commit 6f04ee0ff3 (0 days old master)
|__/                   |

julia> using Profile

julia> @profile 1+1

[28392] signal 11 (1): Segmentation fault
in expression starting at REPL[2]:1
Allocations: 1 (Pool: 1; Big: 0); GC: 0
Segmentation fault (core dumped)

Doesn't happen with -t1.
No error on macOS.

julia> versioninfo()
Julia Version 1.12.0-DEV.1159
Commit 6f04ee0ff3 (2024-09-06 00:54 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 32 × AMD Ryzen 9 5950X 16-Core Processor
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, znver3)
Threads: 2 default, 0 interactive, 2 GC (on 32 virtual cores)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions