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

Error on 0.8.0 #161

Closed
blackrez opened this issue May 20, 2023 · 6 comments
Closed

Error on 0.8.0 #161

blackrez opened this issue May 20, 2023 · 6 comments

Comments

@blackrez
Copy link

blackrez commented May 20, 2023

Hello,

I updated from 0.7.1 to 0.8.0 and I encounter this issue :

Assertion failed: (dynamic_cast<TARGET *>(this)), function Cast, file parse_info.hpp, line 22.

It happen when I create a connection

let db = Connection::open_in_memory()?;

When I go back to 0.7.1, the code works.

My env is the following :

  • rustc 1.69.0 (84c898d65 2023-04-16) (built from a source tarball)
  • cargo 1.69.0 (6e9a83356 2023-04-12)
  • MacOS 13.4
@wangfenjin
Copy link
Collaborator

Create connection? You used the bundled feature or?

@blackrez
Copy link
Author

Yes I use the bundled feature.

@wangfenjin
Copy link
Collaborator

You may try cargo clean first.

It shouldn't happen as I'm also using macOS to develop this crate. I'll try to do some local verification, if you can provide a minimal reproducing example it will be better

@wangfenjin
Copy link
Collaborator

I create a new project locally and verify it works

@wangfenjin
Copy link
Collaborator

If it still fails on your side you need to provide more information

@blackrez
Copy link
Author

I confirm cargo clean solved the issue. I don't if it is possible when a version is upgraded, that can compile the new version of duckdb.

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

2 participants