Hi Daniel, See pastebin url below for the backtrace. https://pastebin.com/tTUUk4YH
Hopefully I did it the right way. Please let me know if you need anything else. FYI, Kamailio is running inside of a docker container. version: kamailio 5.2.1 (x86_64/linux) flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled with gcc 6.3.0 I can easily replicate this, but to be sure I've saved the core file locally on my machine. Regards, Grant On Thu, May 2, 2019 at 10:05 AM Daniel-Constantin Mierla <[email protected]> wrote: > > 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 > > [email protected] > > 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 > _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
