rove

About

Username
rove
Joined
Visits
22
Last Active
Roles
Member

Comments

  • Some  more info: it crashes at:  state->create_next(true) at that point in mbl_mw_datasignal_log. Callstack: ----------------- > MetaWear.Win32.dll!mbl_mw_datasignal_log::__l2::void (void)::__l2::() Line 478 C++   MetaWear.Win32.dll!std::…
  • As requested: - WRITE_CHAR: dumps managedArray in writeCharacteristic - RESPONSE: dumps the response array in notifyHandler  use gyro now: True  use accel now: True  use spill now: True WRITE_CHAR: 11 13 1  WRITE_CHAR: 11 13 1  The thr…
  • Hi Eric,  metabase (installed from the windows store just now) also crashes.... I had one successful run where it even downloaded something and then it's gone. This is with the max. speed metawear gives as our usecase requires it. Another …
  • Hi Eric,  good to see that you've got it running. I assume that you've clicked start/stop streaming which works ok here as well.  Now please press 'start logging' and see the crash. Windows should popup an info box saying that memory is corrup…
  • Hi Eric,  missed some code while doing minimization. Removed it now. Can you try again? Cheers, Ronald.
  • done: https://github.com/ronald-veldema/metawear-example/tree/master/bug-reproduction
  • Hi Eric,  I've a better idea: I created a minimal version of the app that still reproduces it. Simply press the start-logging button and see it crash in the C++ layer. Where can I upload the source code to/email it to? Best regards,  Ron…
  • Hi Eric,  tried this on a win 10 desktop with latest patches, VS2017, DLL from nuget originally. Compiled the metawear C++ lib locally to get debugging going. Accel, gyro are logging simultaneously, a GPIO subscription set up before logging starts…
  • (shortened as much as possible, removed printlns and such)
  • with setup_signals:            mbl_mw_logging_clear_entries(getBoard());             mbl_mw_metawearboard_set_time_for_response(getBoard(), 500);                          IntPtr accSignal = getAccSignal(false);             IntPtr gyroSignal = …
  • void stop_logging() {                 if (useGyro)                 {                     mbl_mw_gyro_bmi160_stop(getBoard());                     mbl_mw_gyro_bmi160_disable_rotation_sampling(getBoard());                 }                 if…
  • It happens very consistently after two/three secs of logging. Preudocode: click-button-handler() {        setup-logging-signals        while (1) { start-logging delay 2 secs stop-logging } } setup_logging_signals() { } s…
  • Hmm, might be memory corruption in your C++ lib... (weird values in *state).