juhovh / shairplay

Apple airplay and raop protocol server
Other
1.35k stars 228 forks source link

Segfault on powerpc #90

Open displacement opened 11 months ago

displacement commented 11 months ago

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 commented 11 months ago

does this even work with modern macOS?

displacement commented 11 months ago

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 commented 11 months ago

probably should run gdb.