[Home]

Summary:ASTERISK-03513: Asterisk seg faults
Reporter:sariabod (sariabod)Labels:
Date Opened:2005-02-14 13:55:23.000-0600Date Closed:2005-02-14 17:50:05.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) backtrace1
Description:asterisk dies every 20 or so minutes. Some new messages I am getting (probably irrelevant):

- Junk at the beginning 49443303
- Warning, flexibel rate not heavily tested!
- chan_zap.c:7337 zt_pri_error: PRI: !! Not good - head of queue has not been transmitted yet
- app_voicemail.c:2231 leave_voicemail: No more messages possible
- channel.c:500 ast_channel_walk_locked: Avoided initial deadlock for 'Agent/2126', 10 retries!



****** ADDITIONAL INFORMATION ******

Program terminated with signal 11, Segmentation fault.
#0  0x080639a9 in ast_change_name (chan=0x404b754c,
   newname=0x40b04f58 "¬\002°@¬\002°@!") at channel.c:2251
2251            manager_event(EVENT_FLAG_CALL, "Rename", "Oldname: %s\r\nNewname                                                         : %s\r\nUniqueid: %s\r\n", tmp, chan->name, chan->uniqueid);
Comments:By: twisted (twisted) 2005-02-14 14:33:49.000-0600

Looks like you're out of space on the filesystem possibly?

- app_voicemail.c:2231 leave_voicemail: No more messages possible

the first 2 are related to mpg123 and are not relevant.

Also, please read the bug posting guidelines, and provide more information, such as a FULL backtrace, not just two lines.

By: sariabod (sariabod) 2005-02-14 14:49:23.000-0600

Program terminated with signal 11, Segmentation fault.
#0  0x080639a9 in ast_change_name (chan=0x404b754c, newname=0x40b04f58 "¬\002°@¬\002°@!") at channel.c:2251
2251            p = original->pvt;
(gdb) bt full
#0  0x080639a9 in ast_change_name (chan=0x404b754c, newname=0x40b04f58 "¬\002°@¬\002°@!") at channel.c:2251
       tmp = "LuK@È{M@¼¯?¾ ZI@°{M@", '\0' <repeats 54 times>, "6?\000@\000\000\000\000\000\000\000\000\000\000È{M@\000\000\000\000\000\000\000\000\236¤\002@\000\000\000\000\022\000\000\000\022\000\000\0006?\000\000j\210\026@Õ\237\002@\236¤\002@\221\202\026@a¡\002@`¯?¾ \000\000B\020\0010@l\0000@\204ë\002@\020\0000@ØD0@|¯?¾jp\002@ \0000@å\000\000\000\020\0000@Õ\237\002@ÐY!@\020\0000@a¡\002@@u\026@\001\000\000\000°M\002@àû?¾\204ë\002@àû?¾°{M@¼¯?¾¯n\002@´¯?¾"...
#1  0x404a005e in ?? ()
No symbol table info available.
#2  0x0815edc8 in ?? ()
No symbol table info available.


As far as diskspace goes, there is 30 some odd gig's left. This system is a brand new install. We were having issues with asterisk randomly crashing with our old system (RH 8). It was decided to create a fresh install in hopes the problem would go away. The system was up all weekend without any problems. We got slammed with phone calls this morning, thats when * started crashing.

By: Mark Spencer (markster) 2005-02-14 14:58:19.000-0600

Sounds like there's a deadlock going on.  Are you sure you did a clean build?  This kind of segfault usually is caused by a mixed build where a structure has changed size.

By: Mark Spencer (markster) 2005-02-14 15:00:56.000-0600

Since this involves a PRI, I think this may be best handled through Digium tech support.  Please call or e-mail support@digium.com.

By: sariabod (sariabod) 2005-02-14 16:26:03.000-0600

I did a clean install (make clean, make, make install). Asterisk was up for about 2 hours before it seg faulted again. Attached is the latest backtrace, I thought I would give it one more try before contacting Digium.

By: sariabod (sariabod) 2005-02-14 16:56:44.000-0600

So maybe it is a PRI issue?

voip*CLI> Feb 14 14:48:55 WARNING[4696]: chan_zap.c:7337 zt_pri_error: PRI: !! Got I-frame while link state 2
Feb 14 14:48:55 WARNING[4696]: chan_zap.c:7337 zt_pri_error: PRI: !! Got I-frame while link state 2
voip*CLI> Feb 14 14:48:55 WARNING[4696]: chan_zap.c:7337 zt_pri_error: PRI: !! Got I-frame while link state 2
Feb 14 14:48:55 WARNING[4696]: chan_zap.c:7337 zt_pri_error: PRI: !! Got I-frame while link state 2

//Crash

On restart
!
Feb 14 14:49:51 WARNING[7764]: chan_zap.c:1971 pri_find_dchan: No D-channels available!  Using Primary on channel anyway 48
!
Feb 14 14:49:51 WARNING[7764]: chan_zap.c:1971 pri_find_dchan: No D-channels available!  Using Primary on channel anyway 48
!
Feb 14 14:49:51 WARNING[7763]: chan_zap.c:1971 pri_find_dchan: No D-channels available!  Using Primary on channel anyway 24
!
Feb 14 14:49:53 WARNING[7763]: chan_zap.c:1971 pri_find_dchan: No D-channels available!  Using Primary on channel anyway 24
!
Feb 14 14:49:53 WARNING[7764]: chan_zap.c:1971 pri_find_dchan: No D-channels available!  Using Primary on channel anyway 48
!
Feb 14 14:49:53 WARNING[7765]: chan_zap.c:1971 pri_find_dchan: No D-channels available!  Using Primary on channel anyway 72
!
Feb 14 14:49:59 WARNING[7765]: chan_zap.c:7337 zt_pri_error: PRI: !! Got reject for frame 10, retransmitting frame 10 now,
updating n_r!
Feb 14 14:49:59 WARNING[7765]: chan_zap.c:7337 zt_pri_error: PRI: !! Got reject for frame 10, retransmitting frame 11 now,
updating n_r!
Feb 14 14:49:59 WARNING[7765]: chan_zap.c:7337 zt_pri_error: PRI: !! Got reject for frame 11, retransmitting frame 11 now,
updating n_r!
Feb 14 14:49:59 WARNING[7765]: chan_zap.c:7337 zt_pri_error: PRI: !! Got reject for frame 11, retransmitting frame 12 now,
updating n_r!
Feb 14 14:49:59 WARNING[7765]: chan_zap.c:7337 zt_pri_error: PRI: !! Got reject for frame 11, retransmitting frame 13 now,
updating n_r!
Feb 14 14:49:59 WARNING[7765]: chan_zap.c:7337 zt_pri_error: PRI: !! Got reject for frame 11, retransmitting frame 14 now,
updating n_r!
Feb 14 14:49:59 WARNING[7765]: chan_zap.c:7337 zt_pri_error: PRI: !! Got reject for frame 12, retransmitting frame 12 now,
updating n_r!
Feb 14 14:49:59 WARNING[7765]: chan_zap.c:7337 zt_pri_error: PRI: !! Got reject for frame 12, retransmitting frame 13 now,
updating n_r!
Feb 14 14:49:59 WARNING[7765]: chan_zap.c:7337 zt_pri_error: PRI: !! Got reject for frame 12, retransmitting frame 14 now,

By: Mark Spencer (markster) 2005-02-14 17:04:42.000-0600

Use support@digium.com.