App v102.20 crashes SIGILL on Linux ARM


Message boards : Unix/Linux : App v102.20 crashes SIGILL on Linux ARM

Message board moderation

To post messages, you must log in.
AuthorMessage
renw

Send message
Joined: 16 Feb 21
Posts: 8
Credit: 1,371,825
RAC: 822
Message 8458 - Posted: 2 Jul 2024, 4:00:55 UTC
I'm no longer completing Asteroid tasks on ARM Linux. All tasks fail within a few seconds. E.g.
https://asteroidsathome.net/boinc/result.php?resultid=482839807

I've read mentions of how the spiffy new app is able to adapt to the hardware, but this does not seem to be working for me? Thanks for your help.

<core_client_version>7.14.2</core_client_version>
<![CDATA[
<message>
process exited with code 193 (0xc1, -63)</message>
<stderr_txt>
SIGILL: illegal instruction
Stack trace (4 frames):
../../projects/asteroidsathome.net_boinc/period_search_10220_arm-unknown-linux-gnueabihf(+0x747d0)[0x4947d0]
/lib/arm-linux-gnueabihf/libc.so.6(+0x25d50)[0xb6e0ed50]
../../projects/asteroidsathome.net_boinc/period_search_10220_arm-unknown-linux-gnueabihf(+0xa3b0)[0x42a3b0]
/lib/arm-linux-gnueabihf/libc.so.6(__libc_start_main+0x97)[0xb6e00564]

Exiting...

</stderr_txt>
]]>


$ file ~boinc/projects/asteroidsathome.net_boinc/period_search_10220_arm-unknown-linux-gnueabihf
/var/lib/boinc-client/projects/asteroidsathome.net_boinc/period_search_10220_arm-unknown-linux-gnueabihf: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=896925b8ce6dfd2dff084ecba570618dc7136bf4, not stripped


$ ldd ~boinc/projects/asteroidsathome.net_boinc/period_search_10220_arm-unknown-linux-gnueabihf
    linux-vdso.so.1 (0xbef7a000)
    libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb663f000)
    libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6616000)
    libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb65f1000)
    libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb64f7000)
    /lib/ld-linux-armhf.so.3 (0xb6f85000)


$ /lib/arm-linux-gnueabihf/libc.so.6
GNU C Library (Debian GLIBC 2.28-10+deb10u3) stable release version 2.28.


$ uname -a
Linux bb34 5.10.168-ti-r77 #1buster SMP PREEMPT Wed Feb 28 21:03:51 UTC 2024 armv7l GNU/Linux
ID: 8458 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ahorek's team
Volunteer developer
Volunteer tester

Send message
Joined: 1 Jan 13
Posts: 90
Credit: 10,406,061
RAC: 6,503
Message 8460 - Posted: 2 Jul 2024, 14:05:27 UTC
could you post your
cat /proc/cpuinfo
?

the 32bit arm app is compiled with
-march=armv7-a+vfpv4 -mfloat-abi=hard -mfpu=vfpv4

and I assume your device doesn't support vfpv4
ID: 8460 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
renw

Send message
Joined: 16 Feb 21
Posts: 8
Credit: 1,371,825
RAC: 822
Message 8461 - Posted: 2 Jul 2024, 17:36:33 UTC - in response to Message 8460.  
Indeed, vfpv3 appears to be my best option.
Thank you for your help!

% cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 2 (v7l)
BogoMIPS	: 995.32
Features	: half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x3
CPU part	: 0xc08
CPU revision	: 2

Hardware	: Generic AM33XX (Flattened Device Tree)
Revision	: 0000
Serial		: 3515BB000034
ID: 8461 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ahorek's team
Volunteer developer
Volunteer tester

Send message
Joined: 1 Jan 13
Posts: 90
Credit: 10,406,061
RAC: 6,503
Message 8462 - Posted: 2 Jul 2024, 23:46:38 UTC

Last modified: 2 Jul 2024, 23:46:58 UTC
here's an app for vfpv3 cpus https://fileport.io/V1GkMYZLq1y5 you can run it on an anonymous platform.

There seems to be a problem with the server configuration that allows the vfpv4 app for devices that don't support it. I'll let maintainers know about the issue.
Anyway, releasing the vfpv3 optimized app officially is unlikely, as this single-core CPU architecture is nearly 20 years old and takes days to complete a work unit on such devices.
ID: 8462 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
renw

Send message
Joined: 16 Feb 21
Posts: 8
Credit: 1,371,825
RAC: 822
Message 8467 - Posted: 3 Jul 2024, 15:12:53 UTC - in response to Message 8462.  
Thank you Ahorek for your diligence.
You are correct to point out these are old machines. E.g. I'm running glibc 2.28.
Any chance to support that version of glibc?

% ./period_search_BOINC_linux_10220_armv7_vfpv3_linux_Release 
./period_search_BOINC_linux_10220_armv7_vfpv3_linux_Release: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.29' not found (required by ./period_search_BOINC_linux_10220_armv7_vfpv3_linux_Release)
./period_search_BOINC_linux_10220_armv7_vfpv3_linux_Release: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by ./period_search_BOINC_linux_10220_armv7_vfpv3_linux_Release)
./period_search_BOINC_linux_10220_armv7_vfpv3_linux_Release: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.32' not found (required by ./period_search_BOINC_linux_10220_armv7_vfpv3_linux_Release)
./period_search_BOINC_linux_10220_armv7_vfpv3_linux_Release: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.34' not found (required by ./period_search_BOINC_linux_10220_armv7_vfpv3_linux_Release)
ID: 8467 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ahorek's team
Volunteer developer
Volunteer tester

Send message
Joined: 1 Jan 13
Posts: 90
Credit: 10,406,061
RAC: 6,503
Message 8468 - Posted: 3 Jul 2024, 16:21:33 UTC - in response to Message 8467.  

Last modified: 3 Jul 2024, 16:21:44 UTC
ok, could you try this one? https://fileport.io/2QLkkfYVT1rk
ID: 8468 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
renw

Send message
Joined: 16 Feb 21
Posts: 8
Credit: 1,371,825
RAC: 822
Message 8478 - Posted: 6 Jul 2024, 3:40:59 UTC - in response to Message 8468.  
Looking good! 👍
https://asteroidsathome.net/boinc/result.php?resultid=488816110
Will report back once the task completes, in a week or so.
ID: 8478 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Unix/Linux : App v102.20 crashes SIGILL on Linux ARM