[Home]

Summary:ASTERISK-15372: segmentation fault
Reporter:Giedrius (voipas)Labels:
Date Opened:2009-12-28 00:43:36.000-0600Date Closed:2010-01-06 10:15:00.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_dial
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) output.txt
Description:Hello,

 I've created IVR solution with asterisk, but noticed that everyday it restarts with segmentation fault cause.

 Could you please check what is wrong here...
Thanks
Comments:By: Giedrius (voipas) 2009-12-29 22:37:02.000-0600

This is output of asterisk:
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449 __ast_pthread_mutex_lock: pbx.c line 7945 (pbx_builtin_getvar_helper): Error obtaining mutex: Invalid argument
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532 __ast_pthread_mutex_unlock: pbx.c line 7967 (pbx_builtin_getvar_helper): mutex '&chan->lock_dont_use' freed more times than we've locked!
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549 __ast_pthread_mutex_unlock: pbx.c line 7967 (pbx_builtin_getvar_helper): Error releasing mutex: Invalid argument
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449 __ast_pthread_mutex_lock: pbx.c line 8020 (pbx_builtin_setvar_helper): Error obtaining mutex: Invalid argument
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532 __ast_pthread_mutex_unlock: pbx.c line 8058 (pbx_builtin_setvar_helper): mutex '&chan->lock_dont_use' freed more times than we've locked!
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549 __ast_pthread_mutex_unlock: pbx.c line 8058 (pbx_builtin_setvar_helper): Error releasing mutex: Invalid argument
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449 __ast_pthread_mutex_lock: pbx.c line 7945 (pbx_builtin_getvar_helper): Error obtaining mutex: Invalid argument
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532 __ast_pthread_mutex_unlock: pbx.c line 7967 (pbx_builtin_getvar_helper): mutex '&chan->lock_dont_use' freed more times than we've locked!
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549 __ast_pthread_mutex_unlock: pbx.c line 7967 (pbx_builtin_getvar_helper): Error releasing mutex: Invalid argument
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449 __ast_pthread_mutex_lock: channel.c line 481 (ast_check_hangup_locked): Error obtaining mutex: Invalid argument
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532 __ast_pthread_mutex_unlock: channel.c line 483 (ast_check_hangup_locked): mutex '&chan->lock_dont_use' freed more times than we've locked!
[Dec 30 06:35:24] ERROR[30531]: /usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549 __ast_pthread_mutex_unlock: channel.c line 483 (ast_check_hangup_locked): Error releasing mutex: Invalid argument

By: Giedrius (voipas) 2009-12-29 22:39:18.000-0600

The problem appears when a caller side hangups the call during announcement:
Dial(SIP/trunk-out/28${ProviderId}${ServiceID}${CCDEST},60,gwA(${Cprompt})U(check-redirect-record^${FilePrefix}^${FilePAth}^${CALLUNIQUEID}^${StepLevel}^${DestSource}^${Node}));

By: Leif Madsen (lmadsen) 2010-01-04 10:51:00.000-0600

Are you able to reproduce this on the latest version of Asterisk 1.6.0? Your version is several months old.

By: Giedrius (voipas) 2010-01-06 09:50:38.000-0600

Seems to be ok with latest version...
you can close ticket

By: Leif Madsen (lmadsen) 2010-01-06 10:15:00.000-0600

Fixed in later version of Asterisk. Thanks to the reporter for following up!