Projects
home:connyhald:branches:Kolab:3.3:Updates
cyrus-imapd
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 6
View file
ptloader-segfault.patch
Changed
@@ -1,10 +1,33 @@ --- a/ptclient/ldap.c +++ b/ptclient/ldap.c -@@ -1003,6 +1003,7 @@ static int ptsmodule_get_dn( +@@ -888,6 +888,8 @@ static int ptsmodule_get_dn( + LDAPControl c; + LDAPControl *ctrl2; + char *authzid; ++ syslog(LOG_WARNING, "SEGV: ptsmodule_get_dn() Using >= 20125"); ++ + #endif + char *base = NULL, *filter = NULL; + char *domain = NULL; +@@ -901,6 +903,8 @@ static int ptsmodule_get_dn( + + *ret = NULL; + ++ syslog(LOG_WARNING, "SEGV: ptsmodule_get_dn() Using < 20125"); ++ + if (ptsm->ld == NULL) + return PTSM_FAIL; + +@@ -1002,7 +1006,12 @@ static int ptsmodule_get_dn( + if (rc != PTSM_OK) return rc; } ++ ++ // Log parameters to find SIGV ++ syslog(LOG_WARNING, "SEGV: ld: x, base: %s, scope: %i, filter: %s, attrs: x, timeout: %ld.%06d", ++ base, ptsm->scope, filter, ptsm->timeout.tv_sec, ptsm->timeout.tv_usec); -+ syslog(LOG_WARNING, "SIGSEGV: ld: x, base: %s, scope: %i, filter: %s, attrs: x, timeout: x, res: x", base, ptsm->scope, filter); ++ // Next line crashes sometimes rc = ldap_search_st(ptsm->ld, base, ptsm->scope, filter, attrs, 0, &(ptsm->timeout), &res); if (rc != LDAP_SUCCESS) {
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.