[Kea-users] Problem with KEA crash

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] Problem with KEA crash

Torbjörn Eklöv
Hello, I have tried KEA 1.2.0 1.3.0 and 1.4.0.tar.gz and 1.4.0-git now and it always crashes whith this

kea-dhcp6: /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = isc::dhcp::HWAddr; typename boost::detail::sp_member_access<T>::type = isc::dhcp::HWAddr*]: Assertion `px != 0' failed.

I have a Ubuntu 18.04 and have done ./configure --enable-debug && make && make install && ldconfig
Then I have compiled the https://github.com/zorun/kea-hook-runscript and enabled it with my own “debug.sh”. I copied the kea-hook-runscript.so to /usr/local/lib and run the ldconfig then
If I remove the hook-library from the config it is stable. I need the Option 37 and Option 18 information and the logging alternative with debug level 55 produce to much log.

Any hints?

/Tobbe

_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Problem with KEA crash

Francis Dupont
You defer a null shared pointer. The only way to understand what happens
is to use a debugger (if you run from build directory add "libtool
--mode=execute " before so Kea libraries can be found).

Regards

Francis Dupont <[hidden email]>
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Problem with KEA crash

Roman Buchert
In reply to this post by Torbjörn Eklöv
Hello,
i've had the same problem with the crash. There is a bug in
kea-hook-runscript. You can found a (hopefully) fixed version in my fork
under https://github.com/RomanBuchert/kea-hook-runscript

have fun!
roman



--
Sent from: http://kea-users.7364.n8.nabble.com/
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users