[Kea-users] Kea 1.2 - dhcp4 - libmysqlclient segfault with sname and fname options

Juan Settecase - Interlink S.R.L. juan at interlink.com.ar
Fri Aug 18 15:17:03 UTC 2017


Hi Thomas,

Nice to see your email. Yes of course. I attach valgrind output and 
dhcp4_srv.cc patched.



El 18/08/17 a las 08:26, Thomas Markwalder escribió:
> 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
>> Kea-users at lists.isc.org
>> 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
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170818/b01742d6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: valgrind and dhcp4_srv.cc.zip
Type: application/zip
Size: 28866 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170818/b01742d6/attachment.zip>


More information about the Kea-users mailing list