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 loading on Windows Server #122

Closed
szarnyasg opened this issue Aug 23, 2024 · 7 comments
Closed

Crash when loading on Windows Server #122

szarnyasg opened this issue Aug 23, 2024 · 7 comments

Comments

@szarnyasg
Copy link

szarnyasg commented Aug 23, 2024

I ran into a crash when loading H3 on Windows Server 2022, running on an r6i.4xlarge EC2 instance (16 Intel Xeon cores, 128 GB RAM). To reproduce, run the DuckDB v1.0.0 CLI client:

C:\Users\Administrator\Downloads\duckdb_cli-windows-amd64>duckdb -cmd "install h3 from community; load h3;"

C:\Users\Administrator\Downloads\duckdb_cli-windows-amd64>echo %errorlevel%
-1073741819

The output doesn't contain anything but the error code (which is consistently the same).

@marklit
Copy link

marklit commented Aug 23, 2024

The above worked for me on Windows 11 so Windows Server might be different enough to warrant its own testing and not great for uncovering Windows 11 issues.

@isaacbrodsky
Copy link
Owner

Does Windows report that the process crashed? If so, it would be really helpful if you could attach a debugger and find where the crash happens.

I presume everything works OK if the SQL you run is anything other than load h3?

@AntoineGiraudKeyrus
Copy link

AntoineGiraudKeyrus commented Sep 7, 2024

Hi,

Same issue on Windows 11
it just crash after load h3;

how may i attach debugger to give you more feedback ?

image

@AntoineGiraud
Copy link

ps: tried from an other windows 11 computer ... worked fined there ! 🧐
i'll try to reset duckdb on my 1st windows pc & install again h3

PS: congrat's for this great library, can't wait to use it on a side projet on Montreal's bikeshare data 😎

@AntoineGiraud
Copy link

AntoineGiraud commented Sep 11, 2024

Problem solved 🦆🚀

thanks to Microsoft Visual C++ Redistributable update
cf. duckdb/duckdb#13848 (comment)

@carlopi
Copy link
Contributor

carlopi commented Sep 16, 2024

Hi all, this is a variation of this bug: duckdb/duckdb#13848.

I tried to write down what happened and how it can be workarounded or fixed at: duckdb/duckdb#13848 (comment)

If we had connected the dots earlier that might have saved some bugs report, BUT, good thing is that now we know what happened AND how to fix it.

I rebuilt h3 and I am double checking if any other community extension needs rebuilding, but I would consider this solved moving forward.

@szarnyasg
Copy link
Author

This is resolved with v1.1.1, so closing this.

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

6 participants