philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.5k stars 216 forks source link

free(): invalid pointer: 0x70e00a48 #243

Closed Dayuuuuu closed 4 years ago

Dayuuuuu commented 4 years ago

I ran this on my rasberrypi and it happend this problem. I don't know how to solve it, can u help me? Thx alot.

pi@raspberrypi:~/air2 $ ./airupnp-arm [16:08:49.016806] main:1373 Starting airupnp version: v0.2.24.2 (Feb 23 2020 @ 19:01:05) [16:08:49.017191] main:1381 no config file, using defaults [16:08:49.069402] Start:1089 Binding to 192.168.3.7:49152 Error in `./airupnp-arm': free(): invalid pointer: 0x70e00a48 已放弃

Dayuuuuu commented 4 years ago

I've found that it may similar to this: https://github.com/philippe44/AirConnect/issues/135

Dayuuuuu commented 4 years ago

I just tried to run airupnp-osx-mulit on my mac (10.12.6), and it is successfully running. But I still want to run it on my Pi. I hope this information will help you to deal it.

philippe44 commented 4 years ago

What are the UPnP device on your network? Can you try airupnp with the additional command line "-d all=SDEBUG"

Dayuuuuu commented 4 years ago

The UPnP device is a player. I tried airupnp with the additional command line "-d all=SDEBUG" but it still not working :( Here's the log:

pi@raspberrypi:~ $ sudo ./airupnp-arm -d all=SDEBUG [22:33:49.858678] main:1373 Starting airupnp version: v0.2.24.2 (Feb 23 2020 @ 19:01:05) [22:33:49.859016] main:1381 no config file, using defaults Error in `./airupnp-arm': free(): invalid pointer: 0x70e025b0 已放弃

Do u need the log on mac?

philippe44 commented 4 years ago

No, that's the first time I see that, such an early crash. What Pi is that?

Dayuuuuu commented 4 years ago

Raspberry Pi 3 Model B

philippe44 commented 4 years ago

And what OS? There has to be something on your side as many are using Pi/Raspbian with that build and as you can see, I don't have open issues of that sort

Dayuuuuu commented 4 years ago

Its Raspbian OS. I think it may be caused by the absence of some environment.

pwt commented 4 years ago

You might want to try my Docker version of airupnp-arm: https://github.com/pwt/docker-airconnect-arm.

You’ll need to have Docker running on your Pi first.

Dayuuuuu commented 4 years ago

OK I will try it. Thanks for your help. Does this mean that I cannot run it temporarily on Raspbian?

pwt commented 4 years ago

No, to reiterate what @philippe44 said, it works perfectly on Raspbian (without Docker). I haven’t seen any issues running it under Raspbian Stretch or Buster, on Pi 3 and Pi 4 devices.

However, running it under Docker gives you a complete packaged environment that may work around config issues with your Raspbian install.

philippe44 commented 4 years ago

Closed for inactivity