raspberry pi threading problem
Posted: Tue Mar 19, 2024 10:05 pm
I'm new to Linux so I don't really know what I'm doing, but....
I've taken a program that I wrote for windows and trying to make it work in linux. The problem I've run into is that in some threads, I get "Invalid Memory access" and array out of bounds crashes in places that just can't be. For instance on a line of code that checks a global integer as true of false or on a array that the index is well within bounds. The threads work fine in windows, so I have no clue.
And I'm using the latest PB with the c++ back end.
Any thoughts are appreciated
Russ
I've taken a program that I wrote for windows and trying to make it work in linux. The problem I've run into is that in some threads, I get "Invalid Memory access" and array out of bounds crashes in places that just can't be. For instance on a line of code that checks a global integer as true of false or on a array that the index is well within bounds. The threads work fine in windows, so I have no clue.
And I'm using the latest PB with the c++ back end.
Any thoughts are appreciated
Russ