antimof / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.28k stars 178 forks source link

segmentation fault #48

Open DiamondBond opened 3 years ago

DiamondBond commented 3 years ago
Initialized server socket(s)
*** WARNING *** The program 'uxplay' 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>
Accepted IPv4 client on socket 24
Local: 192.168.165.117
Remote: 192.168.165.242
raop_ntp receive timeout
Accepted IPv4 client on socket 26
Local: 192.168.165.117
Remote: 192.168.165.242
raop_rtp_mirror starting mirroring
Segmentation fault (core dumped)
gerryjenkinslb commented 3 years ago

I just received the same error on pop os on X1 6th Gen Carbon:

Initialized server socket(s)
*** WARNING *** The program 'uxplay' 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>
Accepted IPv4 client on socket 24
Local: 192.168.254.23
Remote: 192.168.254.57
Accepted IPv4 client on socket 26
Local: 192.168.254.23
Remote: 192.168.254.57
raop_rtp_mirror starting mirroring
Segmentation fault (core dumped)
gjenkins@pop-os:~/UxPlay-master/build$ neofetch
             /////////////                gjenkins@pop-os 
         /////////////////////            --------------- 
      ///////*767////////////////         OS: Pop!_OS 20.10 x86_64 
    //////7676767676*//////////////       Host: 20KHS3MK00 ThinkPad X1 Carbon 6 
   /////76767//7676767//////////////      Kernel: 5.11.0-7614-generic 
  /////767676///*76767///////////////     Uptime: 4 mins 
 ///////767676///76767.///7676*///////    Packages: 2223 (dpkg), 25 (flatpak) 
/////////767676//76767///767676////////   Shell: bash 5.0.17 
//////////76767676767////76767/////////   Resolution: 1920x1080 
///////////76767676//////7676//////////   DE: GNOME 3.38.3 
////////////,7676,///////767///////////   WM: Mutter 
/////////////*7676///////76////////////   WM Theme: Pop 
///////////////7676////////////////////   Theme: Pop [GTK2/3] 
 ///////////////7676///767////////////    Icons: Pop [GTK2/3] 
  //////////////////////'////////////     Terminal: gnome-terminal 
   //////.7676767676767676767,//////      CPU: Intel i5-8350U (8) @ 3.600GHz 
    /////767676767676767676767/////       GPU: Intel UHD Graphics 620 
      ///////////////////////////         Memory: 2143MiB / 7695MiB 

P.S. It worked perfectly on my HP AMD base desktop pop_os system.

fduncanh commented 2 years ago

It probably will not change your segfault, but there is an updated UxPlay at PR #58.

what do you see with the debug option ? uxplay -d

Did you start anything streaming from the client (iPad or iPhone), or did the segfault happen right away after the connection was made? I can see that audio had not started. If you were streaming with audio, try uxplay -d -a

to disable audio to see if that is where the segfault happens

airrinascimento commented 2 years ago

Same here on Almalinux(though it's via WSL2).

                 ..                    root@DESKTOP-BBPTDE0
               .PLTJ.                  --------------------
              <><><><>                 OS: AlmaLinux 8.4 (Electric Cheetah) on Windows 10 x86_64
     KKSSV' 4KKK LJ KKKL.'VSSKK        Kernel: 5.10.16.3-microsoft-standard-WSL2
     KKV' 4KKKKK LJ KKKKAL 'VKK        Uptime: 13 hours, 5 mins
     V' ' 'VKKKK LJ KKKKV' ' 'V        Packages: 890 (rpm)
     .4MA.' 'VKK LJ KKV' '.4Mb.        Shell: zsh 5.5.1
   . KKKKKA.' 'V LJ V' '.4KKKKK .      Terminal: Windows Terminal
 .4D KKKKKKKA.'' LJ ''.4KKKKKKK FA.    CPU: Intel i7-6700HQ (8) @ 2.591GHz
<QDD ++++++++++++  ++++++++++++ GFD>   Memory: 105MiB / 12688MiB
 'VD KKKKKKKK'.. LJ ..'KKKKKKKK FV
   ' VKKKKK'. .4 LJ K. .'KKKKKV '
      'VK'. .4KK LJ KKA. .'KV'
     A. . .4KKKK LJ KKKKA. . .4
     KKA. 'KKKKK LJ KKKKK' .4KK
     KKSSA. VKKK LJ KKKV .4SSKK
              <><><><>
               'MKKM'
                 ''

    /mnt/c/U/Ai/UxPlay/build    master ?1  ./uxplay -d -a                                           ✔  4s   root@DESKTOP-BBPTDE0
[1]    8706 segmentation fault  ./uxplay -d -a