Anonymous | Login | Signup for a new account | 2022-08-19 13:20 EEST |
Main | My View | View Issues | Change Log | Roadmap | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0000415 | [Yate - Yet Another Telephony Engine] module | crash | always | 2016-12-01 08:17 | 2016-12-01 08:17 | |||||||
Reporter | diger | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | SVN | |||||||||
Summary | 0000415: Segmentation fault in use dbpbx module | |||||||||||
Description |
During the call the program crashes: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 808875400 (LWP 101273/yate)] TelEngine::String::assign (this=0x7fffffb88ac8, value=0x800000000 <Error reading address 0x800000000: Bad address>, len=-1) at String.cpp:452 452 if (len && value && *value) { (gdb) (gdb) bt #0 TelEngine::String::assign (this=0x7fffffb88ac8, value=0x800000000 <Error reading address 0x800000000: Bad address>, len=-1) at String.cpp:452 0000001 0x0000000804a921b1 in TelEngine::CallInfo::copyParams (this=0x809812080, original=@0x808822020, clear=false) at multiroute.cpp:47 0000002 0x0000000804a92959 in TelEngine::MultiRouter::received (this=0x8020eb000, msg=@0x808822020, id=0) at multiroute.cpp:155 |
|||||||||||
Additional Information |
This patch fixes the problem: Index: libs/ypbx/multiroute.cpp =================================================================== --- libs/ypbx/multiroute.cpp (revision 6150) +++ libs/ypbx/multiroute.cpp (working copy) @@ -152,7 +152,7 @@ } else if ((id == Route) || (id == Execute)) { info = new CallInfo(chanid,call); - info->copyParams(msg,false,"module","address","billid","caller","called","callername",0); + info->copyParams(msg,false,"module","address","billid","caller","called","callername",NULL); m_list.append(info); first = true; DDebug(DebugInfo,"MultiRouter built '%s' @ %p for %p", @@ -196,7 +196,7 @@ bool MultiRouter::msgDisconnected(Message& msg, CallInfo& info) { - info.copyParams(msg,true,"reason","error",0); + info.copyParams(msg,true,"reason","error",NULL); Message* m = buildExecute(info,msg.getBoolValue("reroute")); if (m) { m->userData(info.call()); |
|||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
|
There are no notes attached to this issue. |
Copyright © 2000 - 2008 Mantis Group |