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

Symbol "jl_repl_raise_sigtstp" is not defined in libjulia.so #23918

Closed
abalkin opened this issue Sep 28, 2017 · 2 comments
Closed

Symbol "jl_repl_raise_sigtstp" is not defined in libjulia.so #23918

abalkin opened this issue Sep 28, 2017 · 2 comments

Comments

@abalkin
Copy link
Contributor

abalkin commented Sep 28, 2017

I am running Julia embedded in another program and whenever I hit ^Z, my program crashes with the following message:

ERROR: could not load symbol "jl_repl_raise_sigtstp":
myprog: undefined symbol: jl_repl_raise_sigtstp
Stacktrace:
 [1] run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at ./LineEdit.jl:1580
 [2] run_frontend(::Base.REPL.LineEditREPL, ::Base.REPL.REPLBackendRef) at ./REPL.jl:945
 [3] run_repl(::Base.REPL.LineEditREPL, ::Base.##507#508) at ./REPL.jl:180
 [4] _start() at ./client.jl:413

Looking at the libjulia.so.0.6 binary, I see that indeed jl_repl_raise_sigtstp is not defined there:

$ nm libjulia.so.0.6 | grep jl_repl_raise_sigtstp
<empty output>

I am using julia version 0.6.0 on CentOS release 6.9.

@yuyichao
Copy link
Contributor

It's defined in the executable so we just need to move it...

@abalkin
Copy link
Contributor Author

abalkin commented Sep 28, 2017

That's right.
The definition is in ui/repl.c.

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