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

Crash when using MegaApi with a null basePath parameter #2643

Open
oviradoi opened this issue May 24, 2023 · 0 comments
Open

Crash when using MegaApi with a null basePath parameter #2643

oviradoi opened this issue May 24, 2023 · 0 comments

Comments

@oviradoi
Copy link

It seems that when I try to use the MegaApi object with a NULL value for the basePath parameter, the app will crash after loading the filesystem. The crash is caused by an assertion in NodeManager::saveNodeInDb.

You can reproduce this with the testmega example app, since it uses a NULL value for basePath.

If I use a non-null value, everything works fine.

I'm not sure if this behavior is expected or not, since the docs say that if we pass a NULL value, the SDK won't use any local cache. I know passing NULL worked fine in an older build of the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant