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

Core dump on Ubuntu 24.04 #1088

Open
chrstphrbrns opened this issue Jan 6, 2025 · 1 comment
Open

Core dump on Ubuntu 24.04 #1088

chrstphrbrns opened this issue Jan 6, 2025 · 1 comment

Comments

@chrstphrbrns
Copy link

julia> using PyCall

julia> m=pyimport("math")
PyObject <module 'math' (built-in)>

julia> m.    # <---- core dump after entering dot
[4032770] signal 11 (1): Segmentation fault
in expression starting at REPL[2]:1
_PyType_Lookup at /usr/lib/x86_64-linux-gnu/libpython3.12.so.1.0 (unknown line)
_PyObject_LookupSpecial at /usr/lib/x86_64-linux-gnu/libpython3.12.so.1.0 (unknown line)
PyObject_Dir at /usr/lib/x86_64-linux-gnu/libpython3.12.so.1.0 (unknown line)
macro expansion at /home/chris/.julia/packages/PyCall/1gn3u/src/exception.jl:108 [inlined]
propertynames at /home/chris/.julia/packages/PyCall/1gn3u/src/PyCall.jl:327
propertynames at ./runtime_internals.jl:1275
unknown function (ip: 0x744cb4f3c1fb) at (unknown file)
#complete_symbol!#6 at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/REPLCompletions.jl:228
complete_symbol! at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/REPLCompletions.jl:182 [inlined]
#complete_identifiers!#54 at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/REPLCompletions.jl:1241
complete_identifiers! at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/REPLCompletions.jl:1138 [inlined]
completions at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/REPLCompletions.jl:1506
#complete_line#64 at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:844
complete_line at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:841
unknown function (ip: 0x744cb4f3c01e) at (unknown file)
jl_apply at /home/chris/julia.git/src/julia.h:2246 [inlined]
do_apply at /home/chris/julia.git/src/builtins.c:839
#complete_line_named#17 at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:394
complete_line_named at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:393 [inlined]
check_for_hint at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:413
#190 at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2572
jl_apply at /home/chris/julia.git/src/julia.h:2246 [inlined]
jl_f__call_latest at /home/chris/julia.git/src/builtins.c:883
#invokelatest#1 at ./essentials.jl:1056 [inlined]
invokelatest at ./essentials.jl:1052 [inlined]
#match_input##0 at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:1756
jfptr_YY.match_inputYY.YY.0_26701 at /home/chris/julia.git/usr/share/julia/compiled/v1.12/REPL/u0gqU_DdT4s.so (unknown line)
macro expansion at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2906 [inlined]
macro expansion at ./lock.jl:376 [inlined]
#prompt!##2 at /home/chris/julia.git/usr/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2896
jfptr_YY.promptNOT.YY.YY.2_26381 at /home/chris/julia.git/usr/share/julia/compiled/v1.12/REPL/u0gqU_DdT4s.so (unknown line)
jl_apply at /home/chris/julia.git/src/julia.h:2246 [inlined]
start_task at /home/chris/julia.git/src/task.c:1281
Allocations: 14026845 (Pool: 14023400; Big: 3445); GC: 14
Segmentation fault (core dumped)
julia> versioninfo(;verbose=true)
Julia Version 1.12.0-DEV.1840
Commit 10e20f1267 (2025-01-06 14:55 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 24.04.1 LTS
  uname: Linux 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec  5 13:09:44 UTC 2024 x86_64 x86_64
  CPU: AMD Ryzen 9 3950X 16-Core Processor: 
                 speed         user         nice          sys         idle          irq
       #1-32  2137 MHz    8345568 s     416400 s    3424422 s  315109402 s          0 s
  Memory: 125.6945686340332 GB (99869.09375 MB free)
  Uptime: 1.02844907e6 sec
  Load Avg:  0.93  1.25  1.28
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, znver2)
Threads: 16 default, 0 interactive, 16 GC (on 32 virtual cores)
Environment:
  LD_PRELOAD = /lib/x86_64-linux-gnu/libc_malloc_debug.so.0
  JULIA_NUM_THREADS = 16
@KristianHolme
Copy link

Base.active_repl.options.hint_tab_completes = false seems to work around the problem for me.

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

2 participants