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

Segfault on powerpc #90

Open
displacement opened this issue Nov 17, 2023 · 3 comments
Open

Segfault on powerpc #90

displacement opened this issue Nov 17, 2023 · 3 comments

Comments

@displacement
Copy link

displacement commented Nov 17, 2023

Running on Debian 12 Sid powerpc. Installed from pkgs repo.

xxxxx@xxxxx:~/Downloads$ lscpu
Architecture: ppc
CPU op-mode(s): 32-bit
Byte Order: Big Endian

xxxxx@xxxxx:~/Downloads$ shairplay --apname=myair
Initialized server socket(s)
*** WARNING *** The program 'shairplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html

aeskeylen: 16
aesivlen: 16
Receiving on socket 10
Handling request SETUP with URL rtsp://192.168.1.132/7647573928004832270
DACP-ID: 3342A21EB1D27826
Active-Remote: 345005924
Transport: RTP/AVP/UDP;unicast;mode=record;timing_port=59873;control_port=60052
Found remote timing port: 59873
Found remote control port: 60052
Responding with RTP/AVP/UDP;unicast;mode=record;timing_port=39342;events;control_port=43214;server_port=51209
Receiving on socket 10
Handling request GET_PARAMETER with URL rtsp://192.168.1.132/7647573928004832270
Receiving on socket 10
Handling request RECORD with URL rtsp://192.168.1.132/7647573928004832270
Receiving on socket 10
Handling request SET_PARAMETER with URL rtsp://192.168.1.132/7647573928004832270
Got control packet of type 0x54
Receiving on socket 10
Handling request FLUSH with URL rtsp://192.168.1.132/7647573928004832270
Flush with RTP-Info: seq=62622;rtptime=4002401241
Segmentation fault

@neheb
Copy link

neheb commented Nov 17, 2023

does this even work with modern macOS?

@displacement
Copy link
Author

displacement commented Nov 17, 2023

The ShairPlay server (that is segfaulting) is running debian12-PowerPC.
I’ve ran the same ShairPlay on debian12-armhf and it works fine so I can only assume it’s because of the PowerPC architecture.

The clients are a mix of iOS and MacOS and the shairplay shows up and I can connect to it. As soon as I start sending audio it segfaults on the PowerPC box.

@neheb
Copy link

neheb commented Nov 17, 2023

probably should run gdb.

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