2016-02-14, 13:06
Hi, I've got multi-threading working for my visualization on Ubuntu x86. However, when running on imx6, Kodi crashes while changing windows. In other words, I can select a song and the visualization will work great. When I go back to the main menu the visualization is destroyed and is supposed to be recreated. But somewhere after the visualization being destroyed and before the new vis creation, Kodi crashes. crashlog
How can I go about troubleshooting this? My best guess is that when the vis unloads some threads are still working. When the vis reloads the same thread pool is used and there's a segfault. Any way to be sure and prevent this from happening? Is there a better way to off load the curl calls so they're not blocking the music and waveform?
Source here: visualization.wavforhue (pertinent code is in Main_gles.cpp.
Thanks!
How can I go about troubleshooting this? My best guess is that when the vis unloads some threads are still working. When the vis reloads the same thread pool is used and there's a segfault. Any way to be sure and prevent this from happening? Is there a better way to off load the curl calls so they're not blocking the music and waveform?
Source here: visualization.wavforhue (pertinent code is in Main_gles.cpp.
Thanks!