You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I start using MatLogger in one of my projects.
When I terminate the process (ctrl+c) that uses matlogger, sometimes I get the following message before the process terminates:
libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
And in this case, I cannot read generated .mat file inside the matlab (even if its size is not 0 kb!)
And I suspect it is related t MatLogger, since before I did not have this error, and MatLogger is using mutex.
However, in other cases I have the following prints inside the terminal:
XBot::MatAppender::~MatAppender()
Flusher thread exiting.. Written 0.0 MB
Flushed all data for file 'myData.mat'
So, I wanted to know what is the correct way to close the logger, and finally call its destructor.
Do I need to flush the available data in YARP::RFModule::close method by calling flush_available_data()method? or I should use reset() method ?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi,
I start using MatLogger in one of my projects.
When I terminate the process (ctrl+c) that uses matlogger, sometimes I get the following message before the process terminates:
And in this case, I cannot read generated
.mat
file inside the matlab (even if its size is not 0 kb!)And I suspect it is related t MatLogger, since before I did not have this error, and MatLogger is using mutex.
However, in other cases I have the following prints inside the terminal:
So, I wanted to know what is the correct way to close the logger, and finally call its destructor.
Do I need to flush the available data in YARP::RFModule::close method by calling
flush_available_data()
method? or I should usereset()
method ?Thank you.
The text was updated successfully, but these errors were encountered: