[asterisk-bugs] [Asterisk 0015497]: asterisk crashes once per day

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 14 02:18:17 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15497 
====================================================================== 
Reported By:                voipas
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15497
Category:                   General
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.5 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-14 02:16 CDT
Last Modified:              2009-07-14 02:18 CDT
====================================================================== 
Summary:                    asterisk crashes once per day
Description: 
Hello,

   My asterisk crashes always once per day. I'm attaching you core dump. I
hope it can help you.
====================================================================== 

---------------------------------------------------------------------- 
 (0107705) voipas (reporter) - 2009-07-14 02:18
 https://issues.asterisk.org/view.php?id=15497#c107705 
---------------------------------------------------------------------- 
The ouput errors/warnings:
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449
__ast_pthread_mutex_lock: app_queue.c line 3153 (setup_transfer_datastore):
Error obtaining mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532
__ast_pthread_mutex_unlock: app_queue.c line 3167
(setup_transfer_datastore): mutex '&qe->chan->lock_dont_use' freed more
times than we've locked!
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549
__ast_pthread_mutex_unlock: app_queue.c line 3167
(setup_transfer_datastore): Error releasing mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449
__ast_pthread_mutex_lock: channel.c line 1678 (__ast_answer): Error
obtaining mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532
__ast_pthread_mutex_unlock: channel.c line 1688 (__ast_answer): mutex
'&chan->lock_dont_use' freed more times than we've locked!
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549
__ast_pthread_mutex_unlock: channel.c line 1688 (__ast_answer): Error
releasing mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449
__ast_pthread_mutex_lock: app_queue.c line 3864 (try_calling): Error
obtaining mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532
__ast_pthread_mutex_unlock: app_queue.c line 3870 (try_calling): mutex
'&qe->chan->lock_dont_use' freed more times than we've locked!
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549
__ast_pthread_mutex_unlock: app_queue.c line 3870 (try_calling): Error
releasing mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449
__ast_pthread_mutex_lock: channel.c line 1755 (ast_deactivate_generator):
Error obtaining mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532
__ast_pthread_mutex_unlock: channel.c line 1765 (ast_deactivate_generator):
mutex '&chan->lock_dont_use' freed more times than we've locked!
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549
__ast_pthread_mutex_unlock: channel.c line 1765 (ast_deactivate_generator):
Error releasing mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449
__ast_pthread_mutex_lock: file.c line 122 (ast_stopstream): Error obtaining
mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532
__ast_pthread_mutex_unlock: file.c line 137 (ast_stopstream): mutex
'&tmp->lock_dont_use' freed more times than we've locked!
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549
__ast_pthread_mutex_unlock: file.c line 137 (ast_stopstream): Error
releasing mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/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!
[Jul 14 09:45:48] ERROR[13419]:
/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
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449
__ast_pthread_mutex_lock: channel.c line 1557 (ast_softhangup): Error
obtaining mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449
__ast_pthread_mutex_lock: channel.c line 974 (ast_queue_frame): Error
obtaining mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532
__ast_pthread_mutex_unlock: channel.c line 1012 (ast_queue_frame): mutex
'&chan->lock_dont_use' freed more times than we've locked!
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549
__ast_pthread_mutex_unlock: channel.c line 1012 (ast_queue_frame): Error
releasing mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532
__ast_pthread_mutex_unlock: channel.c line 1559 (ast_softhangup): mutex
'&chan->lock_dont_use' freed more times than we've locked!
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549
__ast_pthread_mutex_unlock: channel.c line 1559 (ast_softhangup): Error
releasing mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449
__ast_pthread_mutex_lock: channel.c line 1582 (ast_hangup): Error obtaining
mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532
__ast_pthread_mutex_unlock: channel.c line 1643 (ast_hangup): mutex
'&chan->lock_dont_use' freed more times than we've locked!
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549
__ast_pthread_mutex_unlock: channel.c line 1643 (ast_hangup): Error
releasing mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]: channel.c:1275 ast_channel_free: Unable to
find channel in list to free. Assuming it has already been done.
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449
__ast_pthread_mutex_lock: channel.c line 1279 (ast_channel_free): Error
obtaining mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532
__ast_pthread_mutex_unlock: channel.c line 1280 (ast_channel_free): mutex
'&chan->lock_dont_use' freed more times than we've locked!
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549
__ast_pthread_mutex_unlock: channel.c line 1280 (ast_channel_free): Error
releasing mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:449
__ast_pthread_mutex_lock: channel.c line 1289 (ast_channel_free): Error
obtaining mutex: Invalid argument
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:532
__ast_pthread_mutex_unlock: channel.c line 1290 (ast_channel_free): mutex
'&chan->lock_dont_use' freed more times than we've locked!
[Jul 14 09:45:48] ERROR[13419]:
/usr/src/asterisk-1.6.0.5/include/asterisk/lock.h:549
__ast_pthread_mutex_unlock: channel.c line 1290 (ast_channel_free): Error
releasing mutex: Invalid argument
[Jul 14 09:45:48] WARNING[13419]: channel.c:1293 ast_channel_free: Channel
'' may not have been hung up properly 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-14 02:18 voipas         Note Added: 0107705                          
======================================================================




More information about the asterisk-bugs mailing list