Bug 886140 - updating cyrus-sasl.x86_64 to 0:2.1.25-2.fc18 results in segmentation fault when using ldapsearch
Summary: updating cyrus-sasl.x86_64 to 0:2.1.25-2.fc18 results in segmentation fault w...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cyrus-sasl
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-11 15:42 UTC by Jason Montleon
Modified: 2013-05-29 15:57 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-29 15:57:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
abrt output of cyrus-sasl-gssapi crash in sasl_gss_encode() (447.73 KB, application/octet-stream)
2012-12-13 16:22 UTC, Derek Warren
no flags Details

Description Jason Montleon 2012-12-11 15:42:35 UTC
Description of problem:
Using ldapsearch with the latest cyrus-sasl and cyrus-sasl-gssapi packages results in a segmentation fault

Version-Release number of selected component (if applicable):
cyrus-sasl.x86_64 0:2.1.25-2.fc18                                            
cyrus-sasl-devel.x86_64 0:2.1.25-2.fc18                                      
cyrus-sasl-gssapi.x86_64 0:2.1.25-2.fc18                                     
cyrus-sasl-lib.i686 0:2.1.25-2.fc18                                          
cyrus-sasl-lib.x86_64 0:2.1.25-2.fc18                                        
cyrus-sasl-md5.x86_64 0:2.1.25-2.fc18                                        
cyrus-sasl-plain.x86_64 0:2.1.25-2.fc18  

How reproducible:
Always

Steps to Reproduce:
1. Install Fedora 18
2. Upgrade to 0:2.1.25-2 packages
3. Try to do an ldapsearch using gssapi
  
Actual results:
query results in segmentation fault

Expected results:
query completes successfully

Additional info:
Downgrading:
  cyrus-sasl.x86_64 0:2.1.25-2.fc18                                            
  cyrus-sasl-devel.x86_64 0:2.1.25-2.fc18                                      
  cyrus-sasl-gssapi.x86_64 0:2.1.25-2.fc18                                     
  cyrus-sasl-lib.i686 0:2.1.25-2.fc18                                          
  cyrus-sasl-lib.x86_64 0:2.1.25-2.fc18                                        
  cyrus-sasl-md5.x86_64 0:2.1.25-2.fc18                                        
  cyrus-sasl-plain.x86_64 0:2.1.25-2.fc18                                      

To:
  cyrus-sasl.x86_64 0:2.1.23-36.fc18                                           
  cyrus-sasl-devel.x86_64 0:2.1.23-36.fc18                                     
  cyrus-sasl-gssapi.x86_64 0:2.1.23-36.fc18                                    
  cyrus-sasl-lib.i686 0:2.1.23-36.fc18                                         
  cyrus-sasl-lib.x86_64 0:2.1.23-36.fc18                                       
  cyrus-sasl-md5.x86_64 0:2.1.23-36.fc18                                       
  cyrus-sasl-plain.x86_64 0:2.1.23-36.fc18  

results in searches working as expected again.

Comment 1 Petr Lautrbach 2012-12-11 15:52:26 UTC
Could you provide a core dump and/or full backtrace?

Comment 3 Derek Warren 2012-12-13 16:22:34 UTC
Created attachment 663044 [details]
abrt output of cyrus-sasl-gssapi crash in sasl_gss_encode()

Comment 4 Derek Warren 2012-12-13 16:22:51 UTC
This Cyrus bug report may be relevant:
https://bugzilla.cyrusimap.org/show_bug.cgi?id=3445

I'm seeing the same behaviour here when SSSD tries to do an ldap_sasl_bind() to our Win2K8 R2 AD DC.

Downgrading as outlined above fixed the issue for me as well.

Attaching ABRT output including a coredump and backtrace.

Comment 5 Petr Lautrbach 2012-12-20 15:40:00 UTC
Yes, this is relevant to the Cyrus bug. At the same time, I overlooked two constants change in header files. Due to this change, openldap and maybe two other projects need to be rebuilt. So I've unpushed cyrus-sasl-2.1.25-2 from F18.

I'll push 2.1.26 to Rawhide soon and I'll send an announce to the other project maintainers that rebuild is needed.

Thanks for investigation.

Comment 6 Petr Lautrbach 2013-05-29 15:57:23 UTC
cyrus-sasl-2.1.25-2.fc18 was unpushed from Fedora releases.


Note You need to log in before you can comment on or make changes to this bug.