[asterisk-bugs] [Asterisk 0015852]: Hints/extension state random in 1.6.0.15

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 28 05:56:39 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15852 
====================================================================== 
Reported By:                amorsen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15852
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0.14 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-08 10:31 CDT
Last Modified:              2009-09-28 05:56 CDT
====================================================================== 
Summary:                    Hints/extension state random in 1.6.0.15
Description: 
I am getting lots of these:

  == Extension Changed 771[Hints] new state Ringing for Notify User
785-000413233e36-1 
  == Extension Changed 772[Hints] new state Idle for Notify User
792-00041327d17e-1 

The hint extension seems fairly random, and every time it obviously
notifies all watchers. The state also seems random. Nothing is happening on
the system to explain this behaviour.

The problem appears on the three different production systems temporarily
running 1.6.15. My test system with only 4 connected phones does not
exhibit the problem, unfortunately.

1.6.13 is fine; I have downgraded back to that for now. 1.6.1.6 is fine
too.

I tried reverting these two changes: r205414:r205415 r204753:r204754. No
improvement.
====================================================================== 

---------------------------------------------------------------------- 
 (0111407) amorsen (reporter) - 2009-09-28 05:56
 https://issues.asterisk.org/view.php?id=15852#c111407 
---------------------------------------------------------------------- 
I caught it in valgring in 1.6.0.16rc1:

==6808== Conditional jump or move depends on uninitialised value(s)
==6808==    at 0x4551B6: ast_devstate_aggregate_result (in
/usr/sbin/asterisk)
==6808==    by 0x48C59C: (within /usr/sbin/asterisk)
==6808==    by 0x48C6BB: (within /usr/sbin/asterisk)
==6808==    by 0x492715: (within /usr/sbin/asterisk)
==6808==    by 0x49B9C7: (within /usr/sbin/asterisk)
==6808==    by 0x1B198105: (within
/usr/lib64/asterisk/modules/pbx_config.so)
==6808==    by 0x1B19A26A: (within
/usr/lib64/asterisk/modules/pbx_config.so)
==6808==    by 0x1B19A3E8: (within
/usr/lib64/asterisk/modules/pbx_config.so)
==6808==    by 0x47B430: (within /usr/sbin/asterisk)
==6808==    by 0x47BB93: load_modules (in /usr/sbin/asterisk)
==6808==    by 0x42E413: main (in /usr/sbin/asterisk)

Here are disassemblies around the first two addresses mentioned. I can
provide more information if you want it:

0x00000000004551e6 <ast_devstate_aggregate_result+54>:	jne    0x455209
<ast_devstate_aggregate_result+89>
0x00000000004551e8 <ast_devstate_aggregate_result+56>:	and    $0x1,%edx
0x00000000004551eb <ast_devstate_aggregate_result+59>:	mov    $0x5,%al
0x00000000004551ed <ast_devstate_aggregate_result+61>:	jne    0x455209
<ast_devstate_aggregate_result+89>
0x00000000004551ef <ast_devstate_aggregate_result+63>:	nop
0x00000000004551f0 <ast_devstate_aggregate_result+64>:	mov    $0x1,%eax
0x00000000004551f5 <ast_devstate_aggregate_result+69>:	retq   



0x000000000048c4e0 <ast_extension_state2+0>:	push   %r12
0x000000000048c4e2 <ast_extension_state2+2>:	push   %rbp
0x000000000048c4e3 <ast_extension_state2+3>:	push   %rbx
0x000000000048c4e4 <ast_extension_state2+4>:	sub    $0x70,%rsp
0x000000000048c4e8 <ast_extension_state2+8>:	mov    %fs:0x28,%rax



0x000000000048c590 <ast_extension_state2+176>:	callq  0x455110
<ast_devstate_aggregate_add>
0x000000000048c595 <ast_extension_state2+181>:	mov    %rsp,%rdi
0x000000000048c598 <ast_extension_state2+184>:	callq  0x4551b0
<ast_devstate_aggregate_result>
0x000000000048c59d <ast_extension_state2+189>:	mov    %eax,%edx
0x000000000048c59f <ast_extension_state2+191>:	xor    %eax,%eax
0x000000000048c5a1 <ast_extension_state2+193>:	cmp    $0x8,%edx 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-28 05:56 amorsen        Note Added: 0111407                          
======================================================================




More information about the asterisk-bugs mailing list