[Home]

Summary:ASTERISK-09944: Segmentation fault
Reporter:Francesco Romano (francesco_r)Labels:
Date Opened:2007-07-24 09:03:55Date Closed:2007-08-08 08:40:46
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Addons/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt_full.txt
( 1) bt_full2.txt
( 2) bt_full3.txt
( 3) bt_full4.txt
Description:I have random core dumps using asterisk 1.2.22.
I have attached a full bt.
Comments:By: Brett Bryant (bbryant) 2007-07-24 09:31:26

Can you recompile with don't optimize and post any configs which may be relevant?

To compile with don't optimize: make menuselect -> compiler flags -> dont optimize
Then make, and reinstall

This will help us get more info out of your backtrace.

By: Jason Parker (jparker) 2007-07-24 09:55:39

If this is 1.2, you need to do `make clean` then `make dont-optimize`

By: Francesco Romano (francesco_r) 2007-07-24 11:18:25

It's already compiled with make dont-optimize.

By: Steve Murphy (murf) 2007-07-24 11:21:40

It's dying in free in ast_var_delete in ast_channel_free;


This implicates a memory/pointer corruption in the channel vars stuff?

By: Francesco Romano (francesco_r) 2007-07-24 13:10:01

I have uploaded another bt from another machine but upgraded recently to 1.2.22. Before was 1.2.19 and i didn't have crash, but small other problems with misdn channel. So i have upgraded hoping resolve, but now asterisk segfault...

By: Francesco Romano (francesco_r) 2007-07-26 14:50:57

Another backtraces from the 2 machines

By: Joshua C. Colp (jcolp) 2007-08-08 08:40:45

1.2 has now entered a security fixes only state. If this issue also exists in 1.4, feel free to reopen this bug.