Hi!
I have some strange crashes in the CURL module that I’ve been working on. Yesterday I heard from a customer that use the http_query function in the utils module that they get a lot of crashes too, so unfortunately it’s something I copied from the http_query module that cause the crash.
I haven’t yet gotten any dump files from them, but in one case I have all core dumps pointing to
the neighbourhood of the code where the module assigning the result of the query to the PV variable.
I’ll continue working on this and will try to repeat it on my own systems so I can track it down, but if anyone else have been using http_query and got crashes, please let me know and we can possibly work on this together.
/O
Hi all,
Just decided to upgrade my infrastructure do Debian Jessie.
Installed latest stable kamailio from deb package and latest siremis (4.2).
Anyway, everything seems ok until I try logging in.
I presume that siremis 4.2 is not compatible with php 5.6. Is this correct?
Any plans on updating siremis so it can work with newer software?
Cheers,
Peter
Here's the error:
[{"target":"ERROR","content":"
\n[2015-11-17 11:07:55 (GMT)] An exception occurred while executing this
script:
\nError message: #8192, Non-static method BizSystem::getConfiguration()
should not be called statically, assuming $this from incompatible
context<\/font>
\nScript name and line number of error:
\/var\/www\/html\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php:268<\/font>
\n
*function:<\/b> errorHandler ( 8192, \"Non-static method
BizSystem::getConfiguration() should not be ca...\",
\"\/var\/www\/html\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj_Abstract...\",
268, Array(0) ) @
\/var\/www\/html\/siremis-4.2.0\/openbiz\/bin\/sysheader.inc
117\nfunction:<\/b> userErrorHandler ( 8192, \"Non-static method
BizSystem::getConfiguration() should not be ca...\",
\"\/var\/www\/html\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj_Abstract...\",
268, Array(0) ) @
\/var\/www\/html\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php
268\nfunction:<\/b> setQuoteIdentifiers ( ) @
\/var\/www\/html\/siremis-4.2.0\/openbiz\/bin\/data\/BizDataObj_Abstract.php
177\n*
Here's the php version:
php -v
PHP 5.6.14-0+deb8u1 (cli) (built: Oct 4 2015 16:13:10)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend
Technologies
Cnxcc call termination is not working anymore since commit 265dc95aac8eb4b5cee7992dde55ff08c92a7ac5. That commit introduced the call to DLGCB_TERMINATED callbacks for the locally generated BYE, which leads to a deadlock in cnxcc when it tries to end the calls because the credit (money or time) is exhausted.
This patch introduces a new structure cnxcc_lock which implements re-entrant locks.
As a side question I'm wondering if, since other modules need re-entrant locks, this structure should be defined in lock_ops.h like the other kamailio's locks.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/398
-- Commit Summary --
* cnxcc: make cnxcc locks re-entrant
-- File Changes --
M modules/cnxcc/cnxcc_check.c (33)
M modules/cnxcc/cnxcc_mod.c (182)
M modules/cnxcc/cnxcc_mod.h (56)
M modules/cnxcc/cnxcc_redis.c (4)
M modules/cnxcc/cnxcc_rpc.c (26)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/398.patchhttps://github.com/kamailio/kamailio/pull/398.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/398