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

Segment faults Julia v 1.8.5 on Raspberry PI #214

Open
jrmaher opened this issue Feb 12, 2023 · 1 comment
Open

Segment faults Julia v 1.8.5 on Raspberry PI #214

jrmaher opened this issue Feb 12, 2023 · 1 comment

Comments

@jrmaher
Copy link

jrmaher commented Feb 12, 2023

See below ...

Same code works fine on x86 ... went back to Julia v 1.7.1 and works fine there.

Hope this is of some use.

julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 4 × Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, sandybridge)
Threads: 1 on 4 virtual cores

pi@JRM001:~ $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"


pi@JRM001:/opt/da/Assist/src $ julia assist.jl
Starting assist.jl
Starting arcActivity.jl ...
Starting main assist.jl ...

signal (11): Segmentation fault
in expression starting at /opt/da/Assist/src/assist.jl:59
connect! at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/usr/share/julia/stdlib/v1.8/Sockets/src/Sockets.jl:505
unknown function (ip: 0x7e4ddb735b)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
#getconnection#9 at /home/pi/.julia/packages/HTTP/z8l0i/src/ConnectionPool.jl:433
getconnection##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/ConnectionPool.jl:412 [inlined]
#getconnection#16 at /home/pi/.julia/packages/HTTP/z8l0i/src/ConnectionPool.jl:495
getconnection##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/ConnectionPool.jl:488 [inlined]
#7 at /home/pi/.julia/packages/HTTP/z8l0i/src/ConnectionPool.jl:378 [inlined]
acquire at /home/pi/.julia/packages/HTTP/z8l0i/src/connectionpools.jl:116
#acquire#3 at /home/pi/.julia/packages/HTTP/z8l0i/src/connectionpools.jl:249 [inlined]
acquire##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/connectionpools.jl:245 [inlined]
#newconnection#6 at /home/pi/.julia/packages/HTTP/z8l0i/src/ConnectionPool.jl:372 [inlined]
newconnection##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/ConnectionPool.jl:364
unknown function (ip: 0x7f8e13dbef)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
#1#2 at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/ConnectionRequest.jl:78
unknown function (ip: 0x7f8e0c9fc7)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
1#7##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/ConnectionRequest.jl:58
#1#2 at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/CanonicalizeRequest.jl:17
1#3##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/CanonicalizeRequest.jl:13 [inlined]
#1#2 at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/RetryRequest.jl:35
unknown function (ip: 0x7f8e0c8763)
1#4##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/RetryRequest.jl:30 [inlined]
#1#2 at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/CookieRequest.jl:42
1#5##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/CookieRequest.jl:19 [inlined]
#1#2 at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/ContentTypeRequest.jl:23
1#3##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/ContentTypeRequest.jl:14 [inlined]
#1#2 at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/BasicAuthRequest.jl:22
1#3##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/BasicAuthRequest.jl:14 [inlined]
#1#2 at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/DefaultHeadersRequest.jl:47
1#3##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/DefaultHeadersRequest.jl:13 [inlined]
#1#2 at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/RedirectRequest.jl:25
1#4##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/RedirectRequest.jl:14 [inlined]
#1#2 at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/DebugRequest.jl:23 [inlined]
1#4##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/DebugRequest.jl:16 [inlined]
#1#2 at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/MessageRequest.jl:27
1#3##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/clientlayers/MessageRequest.jl:23 [inlined]
#request#33 at /home/pi/.julia/packages/HTTP/z8l0i/src/HTTP.jl:426
unknown function (ip: 0x7f8e0c621f)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
request##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/HTTP.jl:424
#request#16 at /home/pi/.julia/packages/HTTP/z8l0i/src/HTTP.jl:286 [inlined]
request##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/HTTP.jl:284 [inlined]
request##kw at /home/pi/.julia/packages/HTTP/z8l0i/src/HTTP.jl:284 [inlined]
getReq at /opt/da/Assist/src/ExComm.jl:18
getJson at /opt/da/Assist/src/Follow.jl:19
unknown function (ip: 0x7e4ddb1d3f)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
#execSkill#1 at /opt/da/Assist/src/assist.jl:38
unknown function (ip: 0x7e4ddb1647)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
execSkill at /opt/da/Assist/src/assist.jl:36
unknown function (ip: 0x7f8e11df4f)
top-level scope at /opt/da/Assist/src/assist.jl:91
jl_toplevel_eval_flex at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/toplevel.c:897
jl_toplevel_eval_flex at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/toplevel.c:850
ijl_toplevel_eval_in at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/toplevel.c:965
eval at ./boot.jl:368 [inlined]
include_string at ./loading.jl:1428
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
_include at ./loading.jl:1488
include at ./Base.jl:419
jfptr_include_34279 at /home/pi/packages/julias/julia-1.8/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
exec_options at ./client.jl:303
_start at ./client.jl:522
jfptr__start_35761 at /home/pi/packages/julias/julia-1.8/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
jl_apply at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/julia.h:1843 [inlined]
true_main at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/jlapi.c:575
jl_repl_entrypoint at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/jlapi.c:719
main at julia (unknown line)
__libc_start_main at /lib/aarch64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4009ab)
unknown function (ip: 0x4009ab)
Allocations: 149690456 (Pool: 149647388; Big: 43068); GC: 55
Segmentation fault

Commented some HTTP tasks ...

Starting assist.jl
Starting arcActivity.jl ...
Starting main assist.jl ...

signal (11): Segmentation fault
in expression starting at /opt/da/Assist/src/assist.jl:132
top-level scope at /opt/da/Assist/src/assist.jl:132
jl_toplevel_eval_flex at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/toplevel.c:897
jl_toplevel_eval_flex at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/toplevel.c:850
ijl_toplevel_eval_in at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/toplevel.c:965
eval at ./boot.jl:368 [inlined]
include_string at ./loading.jl:1428
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
_include at ./loading.jl:1488
include at ./Base.jl:419
jfptr_include_34279 at /home/pi/packages/julias/julia-1.8/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
exec_options at ./client.jl:303
_start at ./client.jl:522
jfptr__start_35761 at /home/pi/packages/julias/julia-1.8/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
jl_apply at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/julia.h:1843 [inlined]
true_main at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/jlapi.c:575
jl_repl_entrypoint at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/jlapi.c:719
main at julia (unknown line)
__libc_start_main at /lib/aarch64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4009ab)
unknown function (ip: 0x4009ab)
Allocations: 163044287 (Pool: 162976176; Big: 68111); GC: 62
Segmentation fault
pi@JRM001:/opt/da/Assist/src $

@xgdgsc
Copy link

xgdgsc commented Feb 12, 2023

wrong repo

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