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

Invalid Os::currentStackPtr() #549

Open
pxl-th opened this issue Nov 24, 2023 · 0 comments
Open

Invalid Os::currentStackPtr() #549

pxl-th opened this issue Nov 24, 2023 · 0 comments

Comments

@pxl-th
Copy link
Collaborator

pxl-th commented Nov 24, 2023

Debug HIP build triggers following assertion:

julia> using AMDGPU

julia> ROCArray{Float32}(undef, 4)

julia: /home/pxl-th/code/clr/rocclr/os/os_posix.cpp:310: static void amd::Os::currentStackInfo(unsigned char**, size_t*): Assertion `Os::currentStackPtr() >= *base - *size && Os::currentStackPtr() < *base && "just checking"' failed.

[14718] signal (6.-6): Aborted
in expression starting at REPL[4]:1
pthread_kill at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
raise at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x7f21e1a2871a)
__assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
currentStackInfo at /home/pxl-th/code/clr/rocclr/os/os_posix.cpp:310
HostThread at /home/pxl-th/code/clr/rocclr/thread/thread.cpp:34
hipGetDeviceCount at /home/pxl-th/code/clr/hipamd/src/hip_device_runtime.cpp:546
hipGetDeviceCount at /home/pxl-th/.julia/dev/AMDGPU/src/hip/libhip.jl:42 [inlined]
ndevices at /home/pxl-th/.julia/dev/AMDGPU/src/hip/device.jl:79 [inlined]
pool_cleanup at /home/pxl-th/.julia/dev/AMDGPU/src/runtime/memory/hip.jl:12
#3 at /home/pxl-th/.julia/dev/AMDGPU/src/runtime/memory/hip.jl:56
unknown function (ip: 0x7f21e10931d2)
_jl_invoke at /home/pxl-th/code/julia/src/gf.c:2873 [inlined]
ijl_apply_generic at /home/pxl-th/code/julia/src/gf.c:3074
jl_apply at /home/pxl-th/code/julia/src/julia.h:1976 [inlined]
start_task at /home/pxl-th/code/julia/src/task.c:1238
Allocations: 2003867 (Pool: 2002058; Big: 1809); GC: 3
Aborted (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant