Issue with scylla-driver version 3.29.3 on Windows 11, Python 3.12.9
Hi,
I was integrating scylla-driver version 3.29.3 in a project under Windows 11 Python 3.12.9 and it always crashed with code 0xC0000409 in a call to cluster.connect().
Here is the sample code:
from cassandra.cluster import Cluster
print("Creating the cluster")
cluster = Cluster(["localhost"], port=9042)
print("Conecting...")
session = cluster.connect()
print("OK, no crash")
I created a fresh and minimalistic virtual environment (under PS):
py -m venv .venv
.\.venv\Scripts\activate
pip install scylla-driver
These are the modules:
Package Version
------------- -------
click 8.2.1
colorama 0.4.6
geomet 1.1.0
pip 25.1.1
PyYAML 6.0.2
scylla-driver 3.29.3
The output from running the script is:
(.venv) PS C:\cass>py .\cass-tst-1.txt
Creating the cluster
Conecting...
(.venv) PS C:\cass>$LastExitCode
-1073740791
All versions from 3.28.2 to 3.29.3 crash.
Version scylla-driver==3.28.0 does not crash:
(.venv) PS C:\cass>py .\cass-tst-1.txt
Creating the cluster
Conecting...
OK, no crash
Any clues about the cause for this behaviour? BR
Can we have stacktrace of the crash ?
Can we have stacktrace of the crash ?
It simply crashes, no stacktrace. Surrounding the code with try...except does not capture the crash, no exception is thrown.
try catch won't help, program is being terminated by OS.
Thanks for reporting. Unfortunately it will take some time to get it investigated.