Re: [sr-dev] [kamailio/kamailio] dialog: segfault with db_mode = 1 and broken SIP message (#1899)

2019-04-04 Thread Daniel-Constantin Mierla
Closed #1899. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1899#event-2252598180___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] dialog: segfault with db_mode = 1 and broken SIP message (#1899)

2019-04-04 Thread Daniel-Constantin Mierla
Should be fixed in the latest versions of git branches, pushed back also to 5.0. Anyhow, as 5.0 is getting officially out of maintenance, it is recommended to upgrade to 5.1.x or 5.2.x. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

Re: [sr-dev] [kamailio/kamailio] dialog: segfault with db_mode = 1 and broken SIP message (#1899)

2019-03-21 Thread Bastian Triller
log messages from before the crash: ``` ERROR: [core/parser/msg_parser.c:96]: get_hdr_field(): bad header ERROR: [core/parser/msg_parser.c:330]: parse_headers(): bad header field [a=sendrecv#015#012] ERROR: dialog [dlg_handlers.c:190]: populate_leg_info(): failed to parse headers ERROR: dialog

Re: [sr-dev] [kamailio/kamailio] dialog: segfault with db_mode = 1 and broken SIP message (#1899)

2019-03-21 Thread Daniel-Constantin Mierla
Can you get the output with gdb for: ``` frame 0 list info locals p *cell ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] dialog: segfault with db_mode = 1 and broken SIP message (#1899)

2019-03-21 Thread Bastian Triller
### Description `dialog` module is configured with `db_mode` 1 (realtime). When receiving following broken SIP `200` response (missing 6 bytes between header and body), Kamailio crashes: ``` SIP/2.0 200 OK Via: SIP/2.0/UDP 1.2.3.4;branch=z9hG4bKa185.ad1e5804a90a4f79fa2b09b3b2118053.0 Via: