|Summary:||ASTERISK-09537: asterisk crash few minutes after startup|
|Reporter:||Eldad Ran (eldadran)||Labels:|
|Date Opened:||2007-05-29 02:55:14||Date Closed:||2007-07-11 19:59:06|
|Environment:||Attachments:||( 0) bt_1.4.2.txt|
( 1) compiler_switc.jpg
( 2) crash_310507.txt
( 3) crash_trunk_110607.txt
( 4) release1.4.4.txt
( 5) svn_branch_1.4.txt
( 6) zvn_300507.txt
|Description:||I was using 1.4.2, and I needed a fix to the manager http, So I've upgarded to 1.4.4, this one got crashed, so I downloaded the svn version, and it crashed as well.|
For now got back to 1.4.2 and all is fine.
****** ADDITIONAL INFORMATION ******
See the attached gdb outputs
|Comments:||By: Joshua C. Colp (jcolp) 2007-05-29 09:49:08|
These backtraces look like they were optimized. Can you confirm that the DONT_OPTIMIZE option was selected in make menuselect in the Compiler Flags section?
By: Eldad Ran (eldadran) 2007-05-29 10:22:12
Only LOADABLE_MODULES flag is set , the rest of the flags are not set
By: Jason Parker (jparker) 2007-05-29 10:53:57
You'll need to enable the DONT_OPTIMIZE option, and get a new backtrace.
By: Eldad Ran (eldadran) 2007-05-30 02:39:07
Still crash, I've attached trace, and menuselect snapshot
By: Joshua C. Colp (jcolp) 2007-05-30 11:11:38
Please try 1.4 as of revision 66602. Thanks!
By: Eldad Ran (eldadran) 2007-05-31 04:47:37
it crash again after updating, see the new gdb file
By: Joshua C. Colp (jcolp) 2007-05-31 10:16:53
Do a make clean and rebuild. It still looks like this is optimized and not everything was recompiled.
By: Eldad Ran (eldadran) 2007-06-09 13:13:19
Just added a new trace, the 1.4.2, crashed as well, and making make clean on the trunk or the 1.4.4, didn't realy help at all.
I'm adding this trace to this ticket, as it looks all are comming from the same source string.h:35, but with different calling functions.
By: Eldad Ran (eldadran) 2007-06-11 03:12:49
This time, I've completely updated the system, then recompile libpri(1.4), zaptel(1.4.3) and asterisk (trunk). and i still have the same problem.
I've made sure that the DONT OPTIMZE flag is on, but no luck, it seems that the problem is some where in the Zap/pseudo or a general Zap think, I see that in show channels the zaptel cahnnels are shown as ***UNKNOWN***.
By: Eldad Ran (eldadran) 2007-06-11 03:31:59
I think I'm up on something, chan_zap.so is an old one, and the chan_zap on make menuselect of asterisk is unavailable. I have this line on the buttom:
Depends on: res_smdi(M), zaptel_vldtmf(E), zaptel(E), tonezone(
how can I make it avilable?
By: Eldad Ran (eldadran) 2007-06-11 04:45:14
Resolved the chan_zap.so issue, and all is working, sorry for the hassle.
By: Joshua C. Colp (jcolp) 2007-06-11 06:43:59
Boom. Closed! Always make sure to check for old modules laying around... they can wreak havoc.