[OpenSIPS-Devel] OpenSIPS/master is broken since 2 days ago

2019-06-26 Thread Maxim Sobolev
Hi, I've noticed that OpenSIPS/master is now crashing during our voiptests run since about 2 days ago with the following message: Jun 26 23:50:33 [22691] CRITICAL:core:qm_debug_frag: qm_*: prev. fragm. tail overwritten(646573755f78616d, abcdef657a69735f)[0x7f2eb37a3b30:0x7f2eb37a3b60]

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Bogdan-Andrei Iancu
Let's see if the update solves the problem (btw, it is the same thread as the one related to #1736) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 06/26/2019

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Ben Newlin
Bogdan, I am glad the cause is known at least. :) Is there a ticket I can follow for more information and to be notified of resolution? Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, June 26, 2019 at 7:37 AM To: Ben Newlin , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel]

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Ben Newlin
Bogdan, Strange, I got no notification of your update on that ticket. Still I cannot see how it was fixed a month ago? I was using the 2.4.6 release when I encountered the crash. 2.4.6 was only released 15 days ago. Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, June 26, 2019 at 11:34

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Bogdan-Andrei Iancu
As per ticket, the issue you reported was already fixed, so going for the latest version in 2.4 branchshould be fine with you. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019

[OpenSIPS-Devel] Configuration issue with modparam syntax

2019-06-26 Thread Dan Pascu
It seems that at least the ca_list modparam in tls_mgm doesn't accept a dash in filenames. If I have a modparam like: modparam("tls_mgm", "ca_list", "[default]/etc/opensips/tls/ca-list.pem") then checking the configuration fails with some obscure error that some source_ip element is not

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Ben Newlin
Bogdan, I will test both with the latest and with that specific commit, but I cannot use the latest in production due to the issue I reported in 2.4.6. [1] Perhaps that specific commit is before whatever change is causing that issue. [1] https://github.com/OpenSIPS/opensips/issues/1736 Ben

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Bogdan-Andrei Iancu
Hi Ben, While re-checking some of some data related to your report, I noticed that your opensips version (revision d025b4f61) is a bit old and it is missing some fixes that might be relevant for you (mainly 3a994ceeafc6830a1c3b3f2699a7dc1ea915c83a). Could you grab the latest 2.4 from git

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Bogdan-Andrei Iancu
Oh, just do in gdb: f 2 p *((struct qm_frag*)((char*)(p)-sizeof(struct qm_frag))) In regards to async, I was more talking about the script async() (to try to remove it) , not about the async in the protocols. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

[OpenSIPS-Devel] [OpenSIPS/opensips] 4e258b: Merge pull request #1744 from rrb3942/nofork_daemo...

2019-06-26 Thread Bogdan Andrei IANCU
Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 4e258b17fdc75ff53f88834e42d6148f27a5d35f https://github.com/OpenSIPS/opensips/commit/4e258b17fdc75ff53f88834e42d6148f27a5d35f Author: Bogdan-Andrei Iancu Date: 2019-06-26 (Wed, 26 Jun 2019) Changed

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Ben Newlin
Bogdan, Thanks for the response. I will get the info you need. When you say to print in frame 2, is there some command I must issue to put the current context into frame 2 (or 7 or 8) or do I just issue the command you provided? Apologies, I use GDB very seldomly. Also, while we are using

[OpenSIPS-Devel] [OpenSIPS/opensips] 14cd21: Merge pull request #1744 from rrb3942/nofork_daemo...

2019-06-26 Thread Bogdan Andrei IANCU
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 14cd21560b9e27eb5541edefc73923b3ae64348f https://github.com/OpenSIPS/opensips/commit/14cd21560b9e27eb5541edefc73923b3ae64348f Author: Bogdan Andrei IANCU Date: 2019-06-26 (Wed, 26 Jun 2019) Changed

[OpenSIPS-Devel] [OpenSIPS/opensips] 5ca43f: Only report status if in forking daemon mode

2019-06-26 Thread Bogdan Andrei IANCU
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5ca43f4cc188b21e1039058b31b9bc4865d4ec03 https://github.com/OpenSIPS/opensips/commit/5ca43f4cc188b21e1039058b31b9bc4865d4ec03 Author: Ryan Bullock Date: 2019-06-25 (Tue, 25 Jun 2019) Changed

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Bogdan-Andrei Iancu
Thank you Ben, This backtrace confirms the initial suspicion - I'm trying to find out a way to get it fixed in a more generic way; what you experience is just one face of the problem(with many faces :P)and there are other related reports. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and

[OpenSIPS-Devel] [OpenSIPS/opensips] 714afb: tm: add cid to messages generated by OpenSIPS

2019-06-26 Thread Răzvan Crainea
Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 714afb97fca8dbb183b3453f19b04be227e7655a https://github.com/OpenSIPS/opensips/commit/714afb97fca8dbb183b3453f19b04be227e7655a Author: Razvan Crainea Date: 2019-06-26 (Wed, 26 Jun 2019) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips] a857ef: tm: add cid to messages generated by OpenSIPS

2019-06-26 Thread Răzvan Crainea
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: a857ef10105f43b330a648715a70d905efc503c1 https://github.com/OpenSIPS/opensips/commit/a857ef10105f43b330a648715a70d905efc503c1 Author: Razvan Crainea Date: 2019-06-26 (Wed, 26 Jun 2019) Changed paths:

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Bogdan-Andrei Iancu
Hi Ben, In any of the corefile, in frame 2 could you print p *((struct qm_frag*)((char*)(p)-sizeof(struct qm_frag))) Now, I see that the backtrace via libcurl & libcrypto may go via some error cleanup- see frame #7 and #8- so , do you see any curl error prior to the crash (ideally from

[OpenSIPS-Devel] [OpenSIPS/opensips] a5822b: fix clang warnings

2019-06-26 Thread Răzvan Crainea
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a5822bc46ae14952cb970e62374951aec2b9cc0e https://github.com/OpenSIPS/opensips/commit/a5822bc46ae14952cb970e62374951aec2b9cc0e Author: Razvan Crainea Date: 2019-06-26 (Wed, 26 Jun 2019) Changed