odas icon indicating copy to clipboard operation
odas copied to clipboard

odaslive segmentation faults after running for some time

Open somewacko opened this issue 3 years ago • 7 comments

I am running odaslive on a Raspberry Pi 4 with a ReSpeaker 4 Mic Array, but after some time (anywhere from a few seconds to several minutes later) it will crash with a segmentation fault. I am using the provided config at "config/odaslive/respeaker_4_mic_array.cfg" and have only changed the IP address.

I've so far ruled out the driver since I can record audio without crashing, and this seems to happen both when connecting over LAN or localhost to a background process.

Any guidance for how I could debug this?

(awesome project btw!)

somewacko avatar Apr 17 '21 03:04 somewacko

I have the same issue running it on a Pi4 using the 6 mic array. I tried the web server and writing to file so it cannot be the connection.

suegy avatar Jun 12 '21 08:06 suegy

Same issue happened to me :C

MarkSttc avatar Apr 19 '22 06:04 MarkSttc

have you disabled this? interface: { type = "file"; path = "postfiltered.raw"; }

    interface: {
        type = "file";
        path = "separated.raw";
    }  

DmitryP11 avatar Apr 19 '22 12:04 DmitryP11

@DmitryP11 May I know how to disable this interface?. Can we just change type = "blackhole" and #path

MarkSttc avatar Apr 19 '22 13:04 MarkSttc

yes, you're right

DmitryP11 avatar Apr 19 '22 16:04 DmitryP11

@DmitryP11 It works fine now. Thank you so much for your help :D.

However, Is there any chance u can explain to me what happened behind this segmentation fault?.

MarkSttc avatar Apr 20 '22 02:04 MarkSttc

I think there is memory overflow in dumping raw data, but this is just a wild guess

DmitryP11 avatar Apr 20 '22 06:04 DmitryP11