Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-10 Thread Timo Klecker
7; Betreff: Re: [SR-Users] Kamailio Crash when modifying username of Request Uri Hi Daniel, yes, stock Kamilio Version 4.1.6 downloaded from http://www.kamailio.org/pub/kamailio/4.1.6/ then built into a custom RPM, due to signing and changing of prefix. Built with: make prefix=/op

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-10 Thread Timo Klecker
6 branch. Kind regards Timo Klecker Von: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Gesendet: Mittwoch, 10. Dezember 2014 11:33 An: Timo Klecker; 'Kamailio (SER) - Users Mailing List' Betreff: Re: AW: AW: [SR-Users] Kamailio Crash when modifying username of Reques

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-10 Thread Daniel-Constantin Mierla
> > > > *Von:*Daniel-Constantin Mierla [mailto:mico...@gmail.com] > *Gesendet:* Dienstag, 9. Dezember 2014 12:46 > *An:* Timo Klecker; 'Kamailio (SER) - Users Mailing List' > *Betreff:* Re: AW: [SR-Users] Kamailio Crash when modifying username > of Request Ur

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-09 Thread Timo Klecker
Users Mailing List' Betreff: Re: AW: [SR-Users] Kamailio Crash when modifying username of Request Uri Hello, On 08/12/14 16:42, Timo Klecker wrote: Hi Daniel, I tried to increase shared memory by setting a parameter in kamctlrc: STARTOPTIONS="-m 64" When recreating

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-09 Thread Daniel-Constantin Mierla
Hello, On 08/12/14 16:42, Timo Klecker wrote: > > Hi Daniel, > > > > I tried to increase shared memory by setting a parameter in kamctlrc: > > STARTOPTIONS="-m 64" > > > > When recreating the crash I counted pv_get_ruri_attr in the logfile > just to see if the shared memory changed anything: >

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-08 Thread Timo Klecker
:mico...@gmail.com] Gesendet: Montag, 8. Dezember 2014 16:25 An: Timo Klecker; 'Kamailio (SER) - Users Mailing List' Betreff: Re: [SR-Users] Kamailio Crash when modifying username of Request Uri Hello, I noticed that there was an issue with the result stored in r-uri and it should be fixe

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-08 Thread Daniel-Constantin Mierla
7:50 /sbin/kamailio[8043]: ERROR: [action.c:805]: > do_action(): ERROR: do_action: bad uri , > dropping packet > > > > And $rU and $ru are null due to parsing-errors. > > > > > > Kind regards > > Timo Klecker > > > > > > *Von:

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-08 Thread Timo Klecker
g-errors. Kind regards Timo Klecker Von: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Gesendet: Freitag, 5. Dezember 2014 18:04 An: Timo Klecker; 'Kamailio (SER) - Users Mailing List' Betreff: Re: AW: AW: AW: AW: AW: [SR-Users] Kamailio Crash when modifying user

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-05 Thread Daniel-Constantin Mierla
; > Timo Klecker > > > > > > *Von:*Daniel-Constantin Mierla [mailto:mico...@gmail.com] > *Gesendet:* Freitag, 5. Dezember 2014 17:40 > *An:* Timo Klecker; 'Kamailio (SER) - Users Mailing List' > *Betreff:* Re: AW: AW: AW: AW: [SR-Users] Kamailio Crash w

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-05 Thread Timo Klecker
Freitag, 5. Dezember 2014 17:40 An: Timo Klecker; 'Kamailio (SER) - Users Mailing List' Betreff: Re: AW: AW: AW: AW: [SR-Users] Kamailio Crash when modifying username of Request Uri I looked at the last gdb trace you sent and the crash is inside syslog() function, which prints a message wi

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-05 Thread Daniel-Constantin Mierla
;> >>> I will provide you with the output of gdb itself, I missed that in >>> the last mail. >>> >>> >>> >>> Greetings >>> >>> Timo >>> >>> >>> >>> >>> >>> *Von:*Dan

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-04 Thread Daniel-Constantin Mierla
w sent the output of: >> >> >> >> gdb --batch --quiet -ex "thread apply all bt full" -ex "quit" >> /sbin/kamailio /core.8933 >> >> >> >> Hope this is what you are looking for. >> >> >>

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-04 Thread Daniel-Constantin Mierla
gt; > > *Von:*Daniel-Constantin Mierla [mailto:mico...@gmail.com] > *Gesendet:* Donnerstag, 4. Dezember 2014 16:47 > *An:* Timo Klecker; 'Kamailio (SER) - Users Mailing List' > *Betreff:* Re: AW: AW: AW: [SR-Users] Kamailio Crash when modifying > username of Request U

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-04 Thread Timo Klecker
Dezember 2014 16:47 An: Timo Klecker; 'Kamailio (SER) - Users Mailing List' Betreff: Re: AW: AW: AW: [SR-Users] Kamailio Crash when modifying username of Request Uri Hello, wondering why not simply sending what I asked for, respectively output for: gdb /path/to/kamailio /path/to/core

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-04 Thread Daniel-Constantin Mierla
d regards, > > Timo > > > > > > *Von:*Daniel-Constantin Mierla [mailto:mico...@gmail.com] > *Gesendet:* Donnerstag, 4. Dezember 2014 16:16 > *An:* Timo Klecker; 'Kamailio (SER) - Users Mailing List' > *Betreff:* Re: AW: AW: [SR-Users] Kamailio Crash when m

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-04 Thread Timo Klecker
Mierla [mailto:mico...@gmail.com] Gesendet: Donnerstag, 4. Dezember 2014 16:16 An: Timo Klecker; 'Kamailio (SER) - Users Mailing List' Betreff: Re: AW: AW: [SR-Users] Kamailio Crash when modifying username of Request Uri Hello, corefiles themselves are useless. I need the backtrace from th

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-04 Thread Daniel-Constantin Mierla
Hello, corefiles themselves are useless. I need the backtrace from them, respectively the output of: gdb /path/to/kamailio /path/to/corefile bt full Cheers, Daniel On 04/12/14 15:56, Timo Klecker wrote: > > Hello Daniel, > > > > yes, with the production config I still get a core, not with the

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-04 Thread Timo Klecker
regards, Timo Klecker Von: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Gesendet: Donnerstag, 4. Dezember 2014 15:18 An: Timo Klecker; 'Kamailio (SER) - Users Mailing List' Betreff: Re: AW: [SR-Users] Kamailio Crash when modifying username of Request Uri Hello, do you still

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-04 Thread Daniel-Constantin Mierla
Hello, do you still get a core file? The easiest to troubleshoot is to get the backtrace from the core with gdb. Setting up a testbed requires more resources, not trivial when out of the office. Cheers, Daniel On 04/12/14 14:21, Timo Klecker wrote: > > Hi Daniel, > > > > I was able to recreate

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-04 Thread Timo Klecker
Hi Daniel, I was able to recreate the Issue with the newer version (4.1.6). Please find attached Kamailio configuration and sip-invite. (Please change modules path according to installation) The attached Kamailio configuration is a (very) simplified configuration we are running in production.

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-01 Thread Daniel-Constantin Mierla
Hello, not sure I got what you tried in the past, but updating the r-uri value was for very long time (perhaps from like 2006) possible by assigning an expression to $ru. like: $ru = "sip:"+$var(user) + "@" + $var(domain); rewrite_uri() function from core worked always with static value as para

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-01 Thread Daniel-Constantin Mierla
Hello, the version is indeed very old -- however, you got a core dump, according to the logs, maybe you can send over the backtrace to see where it crashed. Cheers, Daniel On 28/11/14 18:05, Timo Klecker wrote: > Hi all! > > Our Kamailio (3.1.4) crashed when modifying the username-Part of a Requ

Re: [SR-Users] Kamailio Crash when modifying username of Request Uri

2014-12-01 Thread Will Ferrer
Hi Timo We had some issues changing the $rU as well. In the end we wrote a perl function to do it: sub rewrite_uri { my $m = shift; my $uri = shift; $m->rewrite_ruri($uri); return -1; } Which we call like so: perl_exec("rewrite_uri", ); If I recall correctly, our issue was that

[SR-Users] Kamailio Crash when modifying username of Request Uri

2014-11-28 Thread Timo Klecker
Hi all! Our Kamailio (3.1.4) crashed when modifying the username-Part of a Request URI using: $rU = $(rU{s.strip,6}); Initial Request URI: /sbin/kamailio[40658]: NOTICE: