Hello,
can you get a core file for this case?
Set `ulimit -c unlimited` before starting Kamailio as root and run again.
Once you have the core file, get the backtrace with gdb.
Cheers,
Daniel
On 01.05.19 20:26, Grant Bagdasarian wrote:
Hello,
I was trying out the auth_ephemeral module inside the xhttp
event_route in Python KEMI, and discovered a possible bug.
https://pastebin.com/4Ghumfis
The following will result in the stack smash error. Whenever I leave
out the unixtimestamp the
module will complain about not being able to convert to an int, which
make sense, but doesn't lead to a stack smash error and a complete
crash of Kamailio.
KSR.auth_ephemeral.autheph_authenticate("1576734089:grant", "1234").
According to the documentation this module can only be used in
REQUEST_ROUTE, but I found a presentation online which also used this
module and that particular function in event_route, which is what I
need for WebSocket authentication.
Hope this helps. Please let me know if you need more information.
Regards,
Grant
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 --
www.kamailioworld.com