Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552 FS#495 : Kamailio Crash in WEBSOCKET module

sip-router

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552

SIP Router Project

Tasklist

FS#495 - Kamailio Crash in WEBSOCKET module

Attached to Project: sip-router
Opened by Varghese Paul (varghesepaul87) - Wednesday, 26 November 2014, 08:41 GMT
Last edited by Daniel-Constantin Mierla (miconda) - Wednesday, 03 December 2014, 07:56 GMT
Task Type Bug Report
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi Team,

We got one crash yesterday in our server.

Please find the attached GDB output files. The user is a WEBRTC endpoint and the crash related to web socket module.

Kindly assist and let me know if anyone need more information.

This task depends upon

Closed by  Daniel-Constantin Mierla (miconda)
Wednesday, 03 December 2014, 07:56 GMT
Reason for closing:  Fixed
Comment by Daniel-Constantin Mierla (miconda) - Wednesday, 26 November 2014, 08:50 GMT
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552

Attach also the version details – output of:

 kamailio -v
Comment by Varghese Paul (varghesepaul87) - Wednesday, 26 November 2014, 10:21 GMT
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552

ruser@registrar-1ivuf5b:~$ /usr/sbin/kamailio -v

version: kamailio 4.1.2 (x86_64/linux)

Comment by Daniel-Constantin Mierla (miconda) - Wednesday, 26 November 2014, 11:15 GMT
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552

You have to upgrade to latest 4.1.x (no changes to config or database structure, this should be straightforward) or latest 4.2.x, there were fixes done to this module since release of 4.1.2.

Comment by Varghese Paul (varghesepaul87) - Wednesday, 26 November 2014, 13:10 GMT
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552

ok. Thanks for the update. Can you confirm is this the crash is a known issue and it is fixed in the latest release ?

Comment by Daniel-Constantin Mierla (miconda) - Monday, 01 December 2014, 22:16 GMT
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552

Cannot test that for you, the code you are using it is old. As said, you should use the latest stable in 4.1 or 4.2 branches, specially that it has fixes to the module you reported. If you have an issue with latest stable, it can be investigated, otherwise in an old version an issue can be a matter of side effects from something already fixed.

I am closing this item on the tracker, re-open in case of troubles with the latest stable versions.

Comment by Vitaliy Aleksandrov (Vitaliy) - Wednesday, 03 December 2014, 13:22 GMT
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552

There was a race condition that is fixed in 4.1.3. So it is likely that upgrade will solve your problem.

Loading...