Open zacqed opened 2 years ago
Turbodbc 4.5.2 is not compatible with pyarrow 8.0. Upgrading to the latest (4.5.5) can help
src/turbodbc/result_sets/double_buffered_result_set.cpp:28
Still leads to the same segfault:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fc92c77e8ca in ?? () from /opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.10.so.1.1
[Current thread is 1 (Thread 0x7fc903fff700 (LWP 286))]
(gdb) bt
#0 0x00007fc92c77e8ca in ?? () from /opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.10.so.1.1
#1 0x00007fc9417fe609 in SQLBindCol (statement_handle=0x7fc9080422c0, column_number=<optimized out>, target_type=<optimized out>, target_value=0x7fc90817fb50, buffer_length=130,
strlen_or_ind=0x7fc908b7fb00) at SQLBindCol.c:327
#2 0x00007fc92d80e231 in cpp_odbc::level2::level1_connector::do_bind_column (this=0x7fc908057390, handle=..., column_id=<optimized out>, column_type=<optimized out>, column_buffer=...)
at src/cpp_odbc/level2/level1_connector.cpp:233
#3 0x00007fc92d8191e4 in turbodbc::result_sets::bound_result_set::rebind (this=0x7fc9080afc88) at src/turbodbc/result_sets/bound_result_set.cpp:62
#4 0x00007fc92d81a244 in turbodbc::result_sets::(anonymous namespace)::reader_thread (read_requests=..., read_responses=..., batches=...)
at src/turbodbc/result_sets/double_buffered_result_set.cpp:28
#5 0x00007fc9416f7ed0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007fc943bfbea7 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007fc943d12def in clone () from /lib/x86_64-linux-gnu/libc.so.6
Environment details:
Turbodbc installation
Turbodbc configuration
On certain occasions gunicorn exits on sql query and a core is generated. I am unable to figure out what is leading to that. The core provides following details:
bt
bt full