[Home]

Summary:ASTERISK-18695: CLONE - Asterisk Crash when Realtime LDAP extensions not found
Reporter:Vittorio Manfredini (vitsoft)Labels:
Date Opened:2011-10-08 15:38:41Date Closed:2011-11-01 09:06:02
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Resources/res_config_ldap
Versions:1.8.4 1.8.7.0 Frequency of
Occurrence
Related
Issues:
is a clone ofASTERISK-17704 Asterisk Crash when Realtime LDAP extensions not found
Environment:Attachments:( 0) backtrace.txt
( 1) backtrace.txt
( 2) backtrace-threads.txt
( 3) debug.txt
( 4) gdb.txt
Description:Asterisk Crash when Realtime LDAP extensions not found

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

substituted: string: 'ou=sip,dc=airebullas,dc=es' => 'ou=sip,dc=airebullas,dc=es'
basedn: 'ou=sip,dc=airebullas,dc=es' => 'ou=sip,dc=airebullas,dc=es'
Everything seems fine.
name='exten' value='h'
name='context' value='from-phone'
name='priority' value='1'
Could not find any entry matching (&(objectClass=AsteriskExtension)(AstExtension=h)(AstContext=from-phone)(AstPriority=1)) in base dn ou=sip,dc=airebullas,dc=es.
substituted: string: 'ou=sip,dc=airebullas,dc=es' => 'ou=sip,dc=airebullas,dc=es'
basedn: 'ou=sip,dc=airebullas,dc=es' => 'ou=sip,dc=airebullas,dc=es'
Everything seems fine.
name='exten LIKE' value='\_%'
name='context' value='from-phone'
name='priority' value='1'
Could not find any entry matching (&(objectClass=AsteriskExtension)(AstExtension=_*)(AstContext=from-phone)(AstPriority=1)) in base dn ou=sip,dc=airebullas,dc=es.
Segmentation fault (core dumped)
Comments:By: Paul Belanger (pabelanger) 2011-10-10 15:16:03.629-0500

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace



By: Vittorio Manfredini (vitsoft) 2011-10-11 02:07:47.992-0500

This is the backtrace. I found a workaround disabling pattern search in the switch command.
The problem seek to be in pbx_realtime.c on line 192

By: Leif Madsen (lmadsen) 2011-11-01 09:06:02.650-0500

Closing this issue since it is a clone/duplicate of another issue.