topolarity / Tracy.jl

A convenient interface for using Tracy from within Julia code
MIT License
29 stars 3 forks source link

Tracy segfaults immediately on `aarch64` #28

Closed staticfloat closed 1 year ago

staticfloat commented 1 year ago
julia> using Tracy                                                                                                                                                                        
[ Info: Precompiling Tracy [e689c965-62c8-4b79-b2c5-8359227902fd]                            

[3857494] signal (11.1): Segmentation fault                                                  
in expression starting at /home/staticfloat/.julia/packages/Tracy/QWDpo/src/Tracy.jl:20                                                                                                   
_ZN5tracy26rpmalloc_thread_initializeEv at /home/staticfloat/.julia/artifacts/e976c3f9f44ac60688155a2793511bb475645dc6/lib/libTracyClient.so (unknown line)                               
_ZN5tracy26rpmalloc_initialize_configEPKNS_17rpmalloc_config_tE at /home/staticfloat/.julia/artifacts/e976c3f9f44ac60688155a2793511bb475645dc6/lib/libTracyClient.so (unknown line)       
_ZN5tracyL20InitRpmallocPlumbingEv at /home/staticfloat/.julia/artifacts/e976c3f9f44ac60688155a2793511bb475645dc6/lib/libTracyClient.so (unknown line)                                    
_ZN5tracy10moodycamel15ConcurrentQueueINS_9QueueItemENS0_28ConcurrentQueueDefaultTraitsEE27populate_initial_block_listEm.isra.84 at /home/staticfloat/.julia/artifacts/e976c3f9f44ac606881
55a2793511bb475645dc6/lib/libTracyClient.so (unknown line)                                                                                                                                
_GLOBAL__sub_I.00103_TracyClient.cpp at /home/staticfloat/.julia/artifacts/e976c3f9f44ac60688155a2793511bb475645dc6/lib/libTracyClient.so (unknown line)                                  
unknown function (ip: 0xffffb089f83b)                                                                                                                                                     
unknown function (ip: 0xffffb089f93b)                                                                                                                                                     
_dl_catch_exception at /lib/aarch64-linux-gnu/atomics/libc.so.6 (unknown line)                                                                                                            
unknown function (ip: 0xffffb08a3943)                                                                                                                                                     
_dl_catch_exception at /lib/aarch64-linux-gnu/atomics/libc.so.6 (unknown line)                                                                                                            
unknown function (ip: 0xffffb08a30d3)                                                        
unknown function (ip: 0xffffb087e09b)                                                        
_dl_catch_exception at /lib/aarch64-linux-gnu/atomics/libc.so.6 (unknown line)                                                                                                            
_dl_catch_error at /lib/aarch64-linux-gnu/atomics/libc.so.6 (unknown line)                                                                                                                
unknown function (ip: 0xffffb087e837)                                                        
dlopen at /lib/aarch64-linux-gnu/atomics/libdl.so.2 (unknown line)                                                                                                                        
ijl_load_dynamic_library at /cache/build/default-armageddon-7/julialang/julia-release-1-dot-9/src/dlload.c:348                                                                            
#dlopen#3 at ./libdl.jl:117                                                                                                                                                               
dlopen at ./libdl.jl:116

This is on vanilla Julia v1.9.2, on armageddon, our aarch64 testing the latest release of Tracy.jl.