-
Notifications
You must be signed in to change notification settings - Fork 906
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
Qualcomm MSM8974PRO-AC ARM: gossipd/test/run-bench-find_route broken by a2fa699 #2818
Comments
@jsarenik I only built on arm32, but never tried myself. BTCPayServer does not support clightning on arm32 yet, because we need lightning charge and lightning spark to also support it. (this will be the case in next release) |
This test does not fail on
|
The commit itself is large and hard to determine what part introduced the issue. Is it possible to run in |
Sure, will do. |
First thing first: I was able to reproduce the issue also on 32-bit ARM running on musl libc. I also did the gdb debugging on this Alpine Linux because there is no issue with debugging symbols like on Ubuntu (which hardwires So, here we go:
All this is on current master (0ae2039). More thorough debug in the attachment. The file was created by running |
Could it be just caused by the funny setup I use (i.e. running chroots on top of Android)? |
Can you do https://en.wikipedia.org/wiki/Bus_error#Unaligned_access Do you know the exact chipset you are running on? |
As for the chipset, I hope this helps, if not please hint me what to run.
|
Some more hardware hints from the host system shell:
|
@ZmnSCPxj In interactive
|
OK, might be with the chip. I have verified that on iMX6 it works well (and it is also 32-bit):
|
Closing it for now. In case someone else faces the same issue, they can add comments, but now I do not think that this is a general issue. |
@ZmnSCPxj maybe add a label like |
Yes, but ccan "should" work even on CPUs that bus error on unaligned access, that is intent of ccan. What do you think @rustyrussell ? Or move this to https://github.com/rustyrussell/ccan/ ? |
@ZmnSCPxj any idea how I can reproduce straight on ccan? |
I will try to run |
Not sure. You might need a boutique test on ccan that specifically performs
Or maybe |
I have made rustyrussell/ccan#84 |
Hi @ZmnSCPxj ! Please have a look at https://github.com/jsarenik/siphash24-repro if it makes sense. After compilation it currently ends with I think that also following issue may be related: tensorflow/tensorflow#19158 |
this should be reopened until the ccan lib has merged your fixed and updated clightning |
OK. Reopening. Thanks for feed-back @NicolasDorier ! |
Just a ping. The bug is still present in current master (ede5f5b). |
@ZmnSCPxj please have a look if the code in https://github.com/jsarenik/siphash24-repro does make any sense. |
Just an update. I do not have this hardware anymore. It died in the beggining of this year. But not closing (I tried that in the past :) |
Issue and Steps to Reproduce
On
armv7l
, up-to-date Ubuntu 19.04 I get following error (both whenDEVELOPER
equals1
and0
) on version starting a2fa699 up to current master:git bisect
led me to this:First I have created a bisect script, then identified that this issue is not present in
v0.7.0
but is present inv0.7.1
. Here is how I run this bisect:@rustyrussell have a look please as your commit seems to have caused the failing test
@NicolasDorier have you noticed this on any other arm? I can try it with Alpine on the same arm (in chroot).
Have a peaceful weekend!
The text was updated successfully, but these errors were encountered: