WildernessLabs / Meadow_Issues

Public repo for bugs and issues with Meadow
15 stars 0 forks source link

mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error code '142'" #391

Closed adrianstevens closed 5 months ago

adrianstevens commented 9 months ago

Running the GNSS Tracker demo app produces the following output:

Running App
Run...
BMI270:        X:0.0g, Y:0.0g, Z:1.0g
mono_coop_cond_wait Cannot transition thread 0x37 from STATE_BLO
CKING with DO_BLOCKING
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
BME688:        27.0C, 27%, 1016mbar
mono_coop_cond_wait Cannot transition thread 0x98 from STATE_BLO
CKING with DO_BLOCKING
mono_os_cond_wait: pthread_cond_wait failed with "Error code '14
2'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
SCD40:         27.0C, 29%, 547ppm
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
GNSS Position: lat: [49.00° 13.96' 0.00"N], long: [123.00° 10.81' 0.00"W]
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
mono_os_mutex_trylock: pthread_mutex_trylock failed with "Error
code '142'" (142)
Solar Voltage: 0 volts
adrianstevens commented 9 months ago

Apparently happens on Clima as well.

This suggests to me it could be a serial port related issue.

doingnz commented 9 months ago

@adrianstevens made any progress tracking down this issue?

I tested with 1.5.0.1 with Clima and it runs the application. With 1.5.0.3 and 1.5.0.6 it will not run the Clima application

bryancostanich commented 5 months ago

Wondering if this is System.Text.Json and is the same error as #494

adrianstevens commented 5 months ago

this was from the round-robin testing and is fixed - closing issue