Binaries produced by the www/kannel port (e.g. bearerbox) coredump during the initialization (Segmentation fault) on amd64 under 8-STABLE. I've tracked the problem down to the files/patch-af file (which patches the gwlib/gwthread-pthread.c file). This patch contains an obvious variable type error: + int stack_size; + pthread_attr_getstacksize(&thread_attr, &stack_size); However, 2nd argument of the pthread_attr_getstacksize() must have type size_t *, not int *. On amd64 those types have different sizes (as distinct from i386 where the problem doesn't manifest itself). How-To-Repeat: Install www/kannel on amd64 and try to run e.g. bearerbox.
Responsible Changed From-To: freebsd-ports-bugs->sunpoet I will take it.
sunpoet 2010-10-16 09:17:20 UTC FreeBSD ports repository Modified files: www/kannel Makefile www/kannel/files patch-af Log: - Eliminate coredump on amd64 - Bump PORTREVISION PR: ports/151436 Submitted by: Dmitry Pryanishnikov <lynx.ripe@gmail.com> Approved by: pgollucci (mentor, implicit) Revision Changes Path 1.34 +1 -1 ports/www/kannel/Makefile 1.4 +1 -1 ports/www/kannel/files/patch-af _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!