-
Notifications
You must be signed in to change notification settings - Fork 16
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
Illegal class number with inject_snap error handling #50
Comments
Thank for you for the nice example. The problem is that Possible solutions:
(3) seems best. One question is how soon is this needed? |
Ahh I was getting close then. I did find that shared memory buffer.
Not urgent, I don't think it needs to hold up 10.0.0 What about a modified version of option 1? Say:
I don't think it matters so much if |
Come to think of it, does |
I looked at passing a buffer back from a program in In the meantime. inject_snap could changed to print the (non-expanded) error message so there is less cosmetic damage. At least the expanded version goes into the log. That should be okay for beta2. I am inclined to keep |
Sounds good
To quote Knuth, "premature optimization is the root of all evil (or at least most of it)" :) If it results in easier to manage code, I think we can afford a few milliseconds on the error path. |
This partially adddresses #50 until a more complete solution is available.
Of course. :) I just wonder if it is more work to redo it entirely rather than fix the (now admittedly outdated) optimization. Anyway for the time being, I have pushed a change that completes the first step:
|
If the snap command given to
inject_snap
generates an error, the code to print the message back to the user hits an error eg:Seen on both 32 and 64bit FSL10.
The text was updated successfully, but these errors were encountered: