Crash {port_exit,memory_allocation_failed} in odbc with MSSQL #9302
Labels
bug
Issue is reported as a bug
help wanted
Issue not worked on by OTP; help wanted from the community
team:PS
Assigned to OTP team PS
Describe the bug
It seems the change proposed in #7000 and merged in 53ef5df introduces some problem which produces a crash:
To Reproduce
Elements required to trigger the problem:
I tried to reduce as much as possible the reproduction steps, but maybe it can be triggered with more simple table definition, or other databases.
How to reproduce the problem using my example:
test.sh
Test success with Erlang 25.3
Test failure with Erlang 27.2
Expected behavior
The msqql server really sends the response, as seen by sniffing the traffic with
sudo tcpflow -i lo -Cg port 1433
. And that response is similar when using an old and a new Erlang version, so why does odbc crash?If there's any problem in the SQL query, or in the MSSQL response, erlang should log a clear explanation about the problem.
Affected versions
Erlang/OTP 26.0-rc3 and higher, including 27.2
By reverting that commit into 27.2, the problem disappears.
Additional context
Other reports related to this problem:
The text was updated successfully, but these errors were encountered: