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

ARM segfault in sysimg generation #11878

Closed
armgong opened this issue Jun 26, 2015 · 13 comments
Closed

ARM segfault in sysimg generation #11878

armgong opened this issue Jun 26, 2015 · 13 comments
Assignees
Labels
system:arm ARMv7 and AArch64

Comments

@armgong
Copy link
Contributor

armgong commented Jun 26, 2015

after commit 7c1140f ,build on ARM fail:

precompile.jl

signal (11): Segmentation fault
/bin/sh: line 1: 26066 Segmentation fault      (core dumped) /var/host/media/removable/data/netfs/julia/usr/bin/julia -C native --output-o /var/host/media/removable/data/netfs/julia/usr/lib/julia/sys.o -f -J /var/host/media/removable/data/netfs/julia/usr/lib/julia/inference.so sysimg.jl
*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***
Makefile:192: recipe for target '/var/host/media/removable/data/netfs/julia/usr/lib/julia/sys.o' failed
make[1]: *** [/var/host/media/removable/data/netfs/julia/usr/lib/julia/sys.o] Error 1
Makefile:64: recipe for target 'julia-sysimg' failed
make: *** [julia-sysimg] Error 2
@pao pao added the system:arm ARMv7 and AArch64 label Jun 26, 2015
@pao pao changed the title commit 7c1140f86e15d8f0cd7806dcce504f8281b97c7a make build fail on ARM ARM segfault in sysimg generation Jun 26, 2015
@armgong
Copy link
Contributor Author

armgong commented Jun 26, 2015

after revert this commit ui/repl.c , build on ARM on trunk (412918a) is OK, may be we can use ifdef to solve this problem?

@pao
Copy link
Member

pao commented Jun 26, 2015

cc @JeffBezanson

@torrange
Copy link

torrange commented Jul 5, 2015

Same issue being experienced here, too.

@ViralBShah
Copy link
Member

Cc @vtjnash too.

@vtjnash vtjnash self-assigned this Jul 6, 2015
@ihnorton
Copy link
Member

ihnorton commented Jul 7, 2015

On my system we are asserting out while compiling Base._atexit.
backtrace

The REPL still does start though, even after the build bails out. It looks like we might be using the wrong ABI in imaging mode (I get the "ccall is using the llvm ABI" warning message while building, as expected).

dump of function after assert in gdb

dump of same function from running REPL

@vtjnash
Copy link
Sponsor Member

vtjnash commented Jul 7, 2015

thanks. i'll push a fix shortly

@vtjnash vtjnash closed this as completed in 050eedb Jul 8, 2015
@vtjnash
Copy link
Sponsor Member

vtjnash commented Jul 19, 2015

I experimented with doing a screen-capture while debugging / fixing this. if anyone's bored enough to listen to me rambling for an hour, it's now available at https://youtu.be/oX0Hl5FL7IM.

@yuyichao
Copy link
Contributor

@vtjnash So somehow you didn't hit #12082 ?

@vtjnash
Copy link
Sponsor Member

vtjnash commented Jul 19, 2015

I did, but thought it was an unrelated bug since the same fix was working on x86_64

@yuyichao
Copy link
Contributor

I see. (Apparently I'm only 5min into the video ....)

@torrange
Copy link

Cheers Jameson - I will endeavour to listen to your ramblings! ;)

On 19 July 2015 at 01:43, Yichao Yu [email protected] wrote:

I see. (Apparently I'm only 5min into the video ....)


Reply to this email directly or view it on GitHub
#11878 (comment).

@malmaud
Copy link
Contributor

malmaud commented Jul 20, 2015

@vtjnash Can we have a 24/7 livecam?

@torrange
Copy link

Haha. So, there is a market for that. Albeit a niche one, I'm sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:arm ARMv7 and AArch64
Projects
None yet
Development

No branches or pull requests

8 participants