-
Notifications
You must be signed in to change notification settings - Fork 24
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
Raspberry Pi (bullseye): Segmentation fault #34
Comments
Hi Michael, unfortunately, I don't have an old Raspi1 or Zero model here to reproduce your problem. A couple of users have reported performance problems with single core Raspis, that's why I excluded the old single core Raspis from the list of supported devices. Anyway, a SegFault right at the beginning is strange. I'm not sure how I can help you. Have you tried remoteAudio on a bit more modern platform like a Raspi 2 or Raspi 3? I'm personally using remoteAudio with great success with OrangePiZeros on a daily basis. |
Moin Tobias, thank you for your answer. New Rasp Pi are currently hard to find (200 days delivery time or almost 200 Euro), so I took an old Rasp Pi out of my craft box (and bought the brand new RasPi Zero). RemoteAudio starts on an other RasPi 4, but this is integrated in another project. If you want to take a deeper dive I can set up a login for the RasPi Zero for you. If you don't like it too, I'll think about a plan B :-) vy 73 de Micha, DD0UL |
what is the OS being used? And, Tobias - when you test, are you using Raspbian, or Ubuntu, on a RPI4? |
I'm running on all my embedded Devices Armbian which is based on Debian / Ubuntu. The Armbian versions I'm using are at least based on Ubuntu 18.04 (Kernel 4.19). |
Moin, I'm using Raspbian, Armbian does not support Raspberry Pis. However: Due the fact that I had no success debugging the application (and, as you mentioned, users reported performance problems with single core RasPis, my next step is to search for alternative hardware.
vy 73 de Micha, DD0UL |
I’ve had luck running Ubuntu on RPI 4B, and remoteAudio. It takes some setup. Armbian is getting a build working for RPI 4B. Raspbian seems to have too many issues, for this kind of application.
73, K6TD
… On Jan 12, 2022, at 11:39 AM, Michael Renner ***@***.***> wrote:
Moin, I'm using Raspbian, Armbian does not support Raspberry Pis. However: Due the fact that I had no success debugging the application (and, as you mentioned, users reported performance problems with single core RasPis, my next step is to search for alternative hardware.
***@***.***:~ $ gdb /usr/local/bin/remoteAudio
GNU gdb (Raspbian 10.1-1.7) 10.1.90.20210103-git
Reading symbols from /usr/local/bin/remoteAudio...
(No debugging symbols found in /usr/local/bin/remoteAudio)
(gdb) run
Starting program: /usr/local/bin/remoteAudio
Program received signal SIGSEGV, Segmentation fault.
0x0031cfdc in ?? ()
(gdb) backtrace
#0 0x0031cfdc in ?? ()
#1 0x0033969c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
vy 73 de Micha, DD0UL
—
Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AARCTTZRD6MNGP326R2UBKLUVXKFRANCNFSM5LSHPRFA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.
|
I have the suspicion that this problem is related to the 256Gbyte RAM available on the Raspi1 and RaspiZero. When creating a release, I compress the binary with upx. That's the reason why gdb can't find an ELF header. I can only imagine that the decompression happens in memory on the fly. Maybe when there is not enough memory available, a SegFault is thrown. |
Thank you for this special version. remoteAudio still crashes at this 512MB single core RasPi, but we have an hint now:
vy 73 de Micha, DD0UL |
That line with |
Moin, the helloworld is running at the Raspberry Pi Zero as well as at the Raspberry Pi Model B Plus.
Greetings |
Moin,
I set up a a new installation at an old RasPi Model B Plus Rev 1.2 (but I get the same result with a brand new Raspberry Pi Zero) and unpacked remoteAudio-v0.5.3-linux-arm.zip
Any hint?
Thanks from Micha, DD0UL
The text was updated successfully, but these errors were encountered: