[OpenSER-Devel] [ openser-Bugs-1778408 ] SL Modules crash when openSER compiled without -DSTATISTICS

SourceForge.net noreply at sourceforge.net
Tue Aug 28 10:05:00 CEST 2007


Bugs item #1778408, was opened at 2007-08-21 12:02
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1778408&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.2.x
Status: Open
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Cedric LECOURT (clecourt)
Assigned to: Bogdan (bogdan_iancu)
Summary: SL Modules crash when openSER compiled without -DSTATISTICS

Initial Comment:
This bug occurs When openser is compiled without -DSTATICSTICS defined in Makefile.defs.

In this case ,the whole program crashes when dealing with the first SIP request it receives.

The SL module is responsive of this fact : with sl_enabled_stats not changed (ie still having its default value of 1), the tries to update statistics which are not available because it was not defined at compilation time.

This bug occurs on 1.2.1-notls. A look at the current subversion trunk show that that it should also occur in the developpment version.

Please find attach a patch to sk_func.c that respects the not defined -DSTATISTICS

Best regards,
Cedric LECOURT

----------------------------------------------------------------------

>Comment By: Bogdan (bogdan_iancu)
Date: 2007-08-28 11:05

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Cedric,

I made a different fix on the SVN (for 1.2) - the problem was not in the
SL module, but in the statistics core.

Please update and test.

Thanks and regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1778408&group_id=139143



More information about the Devel mailing list