bin/144754: cyradm crashes inside

Mikhail T. mi at
Mon Mar 15 04:40:03 UTC 2010

>Number:         144754
>Category:       bin
>Synopsis:       cyradm crashes inside
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 15 04:40:02 UTC 2010
>Originator:     Mikhail T.
>Release:        FreeBSD 8.0-STABLE i386
System: FreeBSD tulik.narawntapu 8.0-STABLE FreeBSD 8.0-STABLE #3: Tue Mar  2 19:35:16 EST 2010     root@:/home/obj/usr/src/sys/TULIK  i386

	I installed fresh mail/cyrus-imapd23 port and tried to run
	`cyradm' (a perl script delivered by Cyrus).

	This causes perl-executable to dump core. Debugger gives the
	following stack:

	0x28250c65 in free () from /lib/
	(gdb) where
	#0  0x28250c65 in free () from /lib/
	#1  0x28876b82 in gss_release_buffer () from /usr/lib/
	#2  0x28876552 in gss_release_name () from /usr/lib/
	#3  0x28872ea9 in gss_init_sec_context () from /usr/lib/
	#4  0x2886b9d2 in gssapi_client_mech_step () from
	#5  0x2866a2a3 in sasl_client_step () from /opt/lib/
	#6  0x2866aee5 in sasl_client_start () from /opt/lib/
	#7  0x2850992e in imclient_authenticate () from
	#8  0x28505e3e in XS_Cyrus__IMAP__authenticate () from
	#9  0x2811883c in Perl_pp_entersub () from
	#10 0x28116ea5 in Perl_runops_standard () from
	#11 0x280bf4f4 in perl_run () from
	#12 0x08048938 in main ()

	Note, that the machine does not have Kerberos configured.

	The problem may be with the sasl2/ doing
	something stupid, but our GSS-API should, probably, be
	smarter than freeing something unallocated (a NULL?)



	Remove (or bzip2) the Cyrus-installed sasl2/ so
	as to exclude from the list of candidates for client-server

More information about the freebsd-bugs mailing list