Bug 688272 - [abrt] claws-mail-3.7.8-6.fc13: ldap_unbind_ext: Process /usr/bin/claws-mail was killed by signal 11 (SIGSEGV)
Summary: [abrt] claws-mail-3.7.8-6.fc13: ldap_unbind_ext: Process /usr/bin/claws-mail ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: claws-mail
Version: 13
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a66481cca376fd068cc7eade6fc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-16 17:07 UTC by parli-rhbug
Modified: 2011-03-30 20:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-30 20:16:32 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (14.80 KB, text/plain)
2011-03-16 17:07 UTC, parli-rhbug
no flags Details

Description parli-rhbug 2011-03-16 17:07:18 UTC
abrt version: 1.1.14
architecture: i686
Attached file: backtrace
cmdline: claws-mail
comment: The actual connection to the LDAP server is a port-forwarded connection using ssh. No errors were seen in the terminal window running the ssh connection.
component: claws-mail
crash_function: ldap_unbind_ext
executable: /usr/bin/claws-mail
kernel: 2.6.34.7-66.fc13.i686.PAE
package: claws-mail-3.7.8-6.fc13
rating: 4
reason: Process /usr/bin/claws-mail was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)
time: 1300292602
uid: 1003

How to reproduce
-----
1. Compose a new message
2. Type in the address to look up in the To: line
3. Hit tab to look up the address in the directory
4. Click on the Address icon to open up address dialog
5. Left-click on the LDAP address book icon to look at the settings

claws-mail crashes at that point.

Comment 1 parli-rhbug 2011-03-16 17:07:28 UTC
Created attachment 485794 [details]
File: backtrace

Comment 2 Michael Schwendt 2011-03-17 22:37:55 UTC
> claws-mail crashes at that point.

Always?

Could you attach the output of "claws-mail --debug" when reproducing the crash?

Somehow it passes on an invalid LDAP connection handle to the openldap library (ldap_unbind_ext) which triggers an assertion.

| static gint ldapqry_disconnect( LdapQuery *qry ) {
| 	/* Disconnect */
| 	if( qry->ldap ) ldap_unbind_ext( qry->ldap, NULL, NULL );
| 	qry->ldap = NULL;
| ...

| #0  ldap_unbind_ext (ld=0x29, sctrls=0x0, cctrls=0x0)
|     at ../../../libraries/libldap/unbind.c:46
| 46		assert( LDAP_VALID( ld ) );

Comment 3 parli-rhbug 2011-03-30 20:16:32 UTC
Sorry, I discovered the problem. I did *not* have the LDAP server set to use the correct port-forwarded port in the SSH session. That is, it was trying to open a port that didn't exist. I'm going to close it as NOTABUG.


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