Subject: | mysql_server_prepare causes SIGSEGV |
Date: | Wed, 6 Dec 2017 13:08:40 +0300 |
To: | bug-DBD-mysql [...] rt.cpan.org |
From: | Yuriy Zhilovets <yuriy.zhilovets [...] gmail.com> |
Symptoms are the same as in
https://rt.cpan.org/Public/Bug/Display.html?id=83497
GDB shows:
dbdimp.c:3554
for (i = mysql_stmt_field_count(stmt) - 1; i >=0; --i) {
enum_type = mysql_to_perl_type(stmt->fields[i].type);
here i = 1 but stmt->fields == 0x0
DBD 4.043, but the same on the DBD 4.041 from the system distribution
Perl 5, version 24, subversion 1 (v5.24.1) built for
x86_64-linux-gnu-thread-multi
OS Debian GNU/Linux 9.2 (stretch)
DB 10.2.11-MariaDB-10.2.11+maria~stretch
I guess that the problem lies in the Maria itself, because there was no
issues in Maria 10.2.9