Module: sems
Branch: master
Commit: a5a68dfe6f0a65782d02a6db807a9c9108dc56cc
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=a5a68dfe6f0a65782d02a6db807a9c9108dc56cc

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Thu May 23 14:50:06 2013 +0200

core: added stack trace on double-freed RTP packets.

---

 core/AmRtpStream.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/core/AmRtpStream.cpp b/core/AmRtpStream.cpp
index 5508118..5b71a0a 100644
--- a/core/AmRtpStream.cpp
+++ b/core/AmRtpStream.cpp
@@ -1186,6 +1186,7 @@ inline void PacketMem::freePacket(AmRtpPacket* p)
 
   if(!used[idx]) {
     ERROR("freePacket() double free: n_used = %d, idx = %d",n_used,idx);
+    log_stacktrace(L_ERR);
     return;
   }
 

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to