[asterisk-bugs] [Asterisk 0012523]: res_ldap (or chan_sip?) produces SegFault

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 25 10:41:37 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12523 
====================================================================== 
Reported By:                blacktux
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12523
Category:                   Resources/res_config_ldap
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 114638 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-25-2008 06:25 CDT
Last Modified:              04-25-2008 10:41 CDT
====================================================================== 
Summary:                    res_ldap (or chan_sip?) produces SegFault
Description: 
Hello,

I've got a Problem with res_config_ldap. :-(

I configured extconfig.conf and  res_ldap.conf for my LDAP Database and
when I try to authenticate the Phone, Asterisk crashed with a segfault. 

I'm not sure if res_config_ldap causes the seg fault, because the last
Message looks like chan_sip:

Asterisk Ready.
  == Parsing '/etc/asterisk/cli.conf':   == Found
*CLI> [Apr 25 12:23:42] NOTICE[14301]: chan_sip.c:19867 build_peer: The
'username' field for sip peers has been deprecated in favor of the term
'defaultuser'
    -- Registered SIP 'alehmann' at 10.0.111.100 port 2048 expires 3600
       > Saved useragent "snom360/7.1.30" for peer alehmann
Segmentation fault

My settings are very small and only for testing the LDAP Connect. Maybe
the Problem is, that something missing??

What I've done:

- Testing 1.6.0 Branch
- Testing cvs Branc
- Testing 1.6.0-beta8
- Testing with Snom-360 Phone and Kphone 
- Testing on Gentoo and Debian 4.0 (both AMD64)

When I try to authenticate with a wrong Password, the Message says "wrong
Password", the SegFault only occured with the right Password. 

Any Help would be great





====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 04-25-08 10:41  
---------------------------------------------------------------------- 
I still want to see a backtrace from beta8, rather than this backtrace,
which is clearly from an earlier version. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-25-08 10:41  Corydon76      Note Added: 0086014                          
======================================================================




More information about the asterisk-bugs mailing list