[OpenSIPS-Devel] [ opensips-Patches-3554950 ] Benchmark Module Deadlock
SourceForge.net
noreply at sourceforge.net
Tue Aug 7 23:42:21 CEST 2012
Patches item #3554950, was opened at 2012-08-06 16:56
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3554950&group_id=232389
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: 1.8.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: David Sanders (dmsanders)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Benchmark Module Deadlock
Initial Comment:
When trying to use the benchmark module from another module (using the API bindings) there appears to be a deadlock when creating a timer. Killing the process and dumping a core revealed the process which called bm_register was stuck waiting for a lock in reset_timer (line 246).
Attached patch provides a fix by initializing the lock when it is first allocated. This removed the deadlock.
----------------------------------------------------------------------
>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2012-08-07 14:42
Message:
Hi David,
Thanks for the patch, I uploaded on SVN trunk, 1.8 and 1.7
Best regards,
Bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3554950&group_id=232389
More information about the Devel
mailing list