Closed wdoekes closed 9 years ago
Hi Walter,
Is there a way to reproduce the scenario ? can you reproduce it somehow ? If you still have the core file, is there any chance to get access to it ?
Thanks and regards, Bogdan
Walter, thanks for the access to the code - I found the reason for the crash (related to concurrent access to a part of the transaction structure - the "reply" pointer of UAC) - I will dig in for a fix, but it does not seem to be an easy one :)
Regards, Bogdan
Hello,
We had a very similar crash earlier this week also on a 1.7 release. A CANCEL and a 500 response arrived at opensips at almost exactly the same time.
I assume that based on what you have discovered that this issue could still present itself in newer versions. Is that correct?
Thanks, Mike
Bogdan, since this bug was also confirmed in 1.11, we can assume it is present in 1.8, 1.9 and 1.10. Do you think this also exists in 1.6? I am asking because I am trying to upgrade from 1.6 to 1.11. But with the crashes, I am considering in delaying this upgrade till we get a fix. But if the bug is likely to exist in 1.6 then I would not delay the upgrade. Regards, Takeshi
@MayamaTakeshi , this bug is present even before 1.4 release. So, the upgrade will not change anything from this perspective. Regards, Bogdan
This was fixed today via 271c7b on master, 75106d on 2.1, 156fba on 1.11, 6457b8 on 1.10 and e5ab62 on 1.8.
Hi. I'm running opensips 1.7 r9016. Sorry for not upgrading.
But, as far as I can tell, no updates have been made to modules/tm since then that have fixed this issue I experienced (once).
The following happens (sipcaparseye output):
(customer attempts to call, gets auth request)
(auth is correct, call is forwarded to pbx)
(number-does-not-exist tones are played)
(customer cancels)
(simultaneously pbx sends 404)
(and here we crash)
Backtrace says:
So.. how come
rpl
is non-zero inbuild_local
, while it is zero in the caller struct. Has it been cleared/freed by another process in the mean time?Is there anything else I can get you?
Regards, Walter Doekes OSSO B.V.