-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Debug error when multiple categories added in file_paths #8312
Comments
Build the osquery with configurationType as Release and this works without any error. That concludes that there is no issue in config. |
This looks like a parsing error in osquery; the assert is: |
@sreeroop I'm not able to trigger that assert here (I'm testing on macOS but it shouldn't matter). Would you be able to attach a debugger to osquery and get a stack trace for that assert? I'm a bit puzzled because if that's the assert, it seems like it's using the |
I'm surprised that it's not occurring in your system. I have tried 2 different osquery versions and got it from both of them. Anyways Attaching the SS below. Since I'm a beginner I don't have a clear picture what this means.(I hope attaching picture is okay.) Can you please check these and let know, if this has what you are looking for? If it's not there, please tell me how to get these. PS: I've search for .pdb file. But couldn't find one. TIA |
It's also strange that you don't have a PDB file, or symbols in the stack trace if you did a debug build. You did display the right thing (the call stack), but I'm confused on why it's all addresses and not function names. Also if you could just copy the whole content as text of the call stack tab at the bottom, it would be helpful in case we only get addresses. |
cmake config
call stack
|
Bug report
What operating system and version are you using?
Windows 11 22H2 (It's a VM)
What version of osquery are you using?
5.12.1 ( I got the same error in 5.8.2 as well )
What steps did you take to reproduce the issue?
Cloned the repo. Then build & install the code (debug package) using Visual Studio 2019 and copied the install directory to VM's 'Program Files' directory.
Used the following config
then ran
osqueryd --flagfile flag-path --config_path config-path --verbose
What did you expect to see?
Expected the osquery to work without any error.
What did you see instead?
Got the following error from rapidjson
Note : Getting this error only if I pass multiple categories in config. If I just give one category it won't throw this error. And the config is a valid json.
The text was updated successfully, but these errors were encountered: