Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metro_stop error from pthread #769

Open
markwheeler opened this issue Mar 23, 2019 · 3 comments

Comments

Projects
None yet
5 participants
@markwheeler
Copy link
Collaborator

commented Mar 23, 2019

I often see this error in maiden when I short press key 1 to return to the menu from within a script. I think it only happens the first time returning to the menu. Not sure if it's related to something about metro use in a script(?)
v2 beta 190320

metro_stop(): pthread_cancel() failed; error: 
specified thread does not exist

Have seen this when running awake, ui demo, etc.

@markwheeler markwheeler added the 2.0 label Mar 23, 2019

@tehn tehn removed the 2.0 label Mar 23, 2019

@tehn

This comment has been minimized.

Copy link
Member

commented Mar 23, 2019

this message has been present since v1. i haven't been able to locate the exact cause yet. no ill effects seen however.

@catfact catfact changed the title Metro stop error when returning to menu from script metro_stop error from pthread Apr 7, 2019

@ranch-verdin

This comment has been minimized.

Copy link
Collaborator

commented Apr 7, 2019

Think I have seen a problem correlated with the error message in question.

Observed running some variant of this script (https://gist.github.com/ranch-verdin/7c641533185167eee0d14ca264c3692a) running in conjunction with 'sgynth the DSP host' running 'sgynth the groovebox'.

Sometimes one or more of the metros failed to start when reloading the script, and think that behaviour was correlated with the same error message. Sorry this is all a bit vague, I will try to reduce to a minimal test case at some point...

@catfact catfact added bug matron labels Apr 7, 2019

@ngwese

This comment has been minimized.

Copy link
Member

commented Apr 9, 2019

i triggered this error last night while i was doing some basic script dev. didn’t try to isolate a repro case but i believe it started after i ran a script which started a metro outside of init and lacked code to stop the metro or cleanup in general. after running that script i started a new script, each time i ran the new script i’d see that pthread error which got me thinking the menu/script cleanup logic was trying to cleanup metro state left over from the first errant script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.