New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corrupt $DLG_end_reason #489
Comments
Hello, Looks like a memory corruption - I have not been able to reproduce this on my end. Best Regards, |
I have recompiled with DBG_QM_MALLOC and memlog=1, however now Opensips crashes on startup, I am not sure if this is related or not, but here is the information anyway:
|
Also:
|
Hello, When running with DBG_QM_MALLOC, OpenSIPS will use more memory ( from your logs the HTTPD module does not have enough memory to start ) - so please increase the SHM and PKG values. Best Regards, |
I have a 1GB machine and set SHM & PKG to 400MB with 1 process running and it still crashes. |
Just for the record, I have tested the 2.1.1 stable version and this problem is still happening after only a few (less than 100) calls. |
Hi @digipigeon ! How easy is to reproduce this? can you do it in reliable way ? Also, where in the script do you access the $DLG_end_reason ? |
@digipigeon , any update here - is the latest 2.1 and 2.2 still suffering from this problem ? Also, a tricky question - where in the script do you use the $DLG_end_reason variable ? maybe the context of the dialog does not existing anymore when you try to access the variable. |
This problem is no longer present in 2.2 |
After upgrading to 2.1 the $DLG_end_reason variable does not behave correctly, e.g
Instead of receiving Upstream BYE or Downstream BYE, the following have been observed:
_QIofalzca3BYE
as6d72287aYE
as6d8a1de36BYE
as172d526d BYE
as217299fb BYE
nVrhXc31g8eBYE
as217299fb BYE
as6213fd80 BYE
as457d4de4 BYE
as6213fd80 BYE
as6d103339 BYE
as3bf8833deBYE
Upstream BYEYE
as67a55fd9 BYE
as55cefbb5 BYE
as457d4de4 BYE
as6d72287aYE
as172d526d BYE
Upstream BYEYE
The text was updated successfully, but these errors were encountered: