Hello Anton, > (gdb) print/x $rax > $7 = 0x0 > (gdb) print stmt->mysql > $8 = (MYSQL *) 0x0 > (gdb) print *stmt->mysql > Cannot access memory at address 0x0
>> (gdb) list libmysql.c:4134 >> 4134 if (stmt->mysql->options.report_data_truncation) That null pointer seems to be the problem here, as the mysql client dereferences it unconditionally. >> I looked through upstream git history and commits [1] and [2] might be >> related: they disable automatic reconnects. >> No such commit seem to have reached the stretch version of kea-dhcp: >> ./isc-kea-1.1.0/src/lib/dhcpsrv/mysql_connection.cc:138: my_bool >> auto_reconnect = MLM_TRUE; > Hmmm ... but if you disable autoreconnect, doesn't this means each time > you restart your database server for any reason your dhcp server would > become in a not working state and it would require restart also? I fear this needs to be answered by the package maintainers or upstream developers. Kind regards, Bernhard