On 8/8/17 9:32 AM, Juan Settecase - Interlink S.R.L. wrote: > Attach > > > > El 08/08/17 a las 10:16, Juan Settecase - Interlink S.R.L. escribió: >> Hi, >> >> I was working with Marcin Siodelski and we found that kea gets a >> libmysqlclient segfault when it uses mysql host reservation with >> fname and sname options. Marcin did a patch that I applyed but stil >> failing >> >> Marcin is on his deserved vacation and I want to advance forward in >> this issue / fix >> >> If anyone want to get this with me, please write me.I attached to >> this email a zip file with: >> - backtrace output >> - kea-dhcp4.log (severity DEBUG verbosity 99) >> - valgrind output >> - dhcp4_srv.cc patched >> >> Kea 1.2 (dhcp4 only for now) >> Debian 8.9 >> Mysql server is running on same host with Kea. >> libmysqlclient18:amd64 5.5.55-0+deb8u1 >> mysql-server 5.5.55-0+deb8u1 >> segfault appears some minutes after i started kea, segfault appears, >> but now return libmysqlclient: >> lt-kea-dhcp4[17492]: segfault at 451 ip 00007f299715716c sp >> 00007fff90b1d890 error 4 in >> libmysqlclient.so.18.0.0[7f2997124000+2b8000] >> >> Regards! > > > _______________________________________________ > Kea-users mailing list > [email protected] > https://lists.isc.org/mailman/listinfo/kea-users
Hello Juan: Following up with this while Marcin is on vacation. Your zip file did not include the valgrind output, do you have it? I am wondering if it is something specific in one or more of your host entries that is causing the code to choke. Do you have logging "flush" set to false? The attached Kea log shows the last thing it logged was outputting an ACK but your stacktrace shows the segfault to be down in host reservation look up. We have another user who reports a segfault but correlates it to the MySQL server being stopped momentarily for backups. Do you know if anything similar is happening in your environment? What the server is currently coded to do is to exit with an error, if DB connectivity is lost. Thanks, Thomas Markwalder ISC Software Engineering
_______________________________________________ Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
