pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45431: (re-)alpine will crash when compiled with pthreads



>Number:         45431
>Category:       pkg
>Synopsis:       (re-)alpine will crash when compiled with pthreads
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 05 19:00:01 +0000 2011
>Originator:     Christopher M. Fuhrman
>Release:        NetBSD 5.1
>Organization:
>Environment:
NetBSD scuzzbuilder 5.1 NetBSD 5.1 (GENERIC) #0: Sat Nov  6 13:19:33 UTC 2010  
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/GENERIC
 amd64

>Description:
re-alpine will crash when attempting to invoke a third-party program, such as a 
web-browser or GnuPG encryption client only when it is compiled with pthreads 
(i.e., compiled _without_ --without-pthreads.
>How-To-Repeat:
Install either re-alpine or alpine via pkgsrc and open an email containing a 
web address or another third-party link (e.g., http://www.netbsd.org/ or 
http://www.google.com)

The program will then crash with the following output:

Problem detected: "Received abort signal(sig=11)".
Alpine Exiting.


       Attempting to save debug file to /home/cfuhrman/.pine-crash

Alpine can only then be killed via kill -9
>Fix:
Re-compile (re-)alpine _without_ pthreads under NetBSD.  All patches listed 
here are based off the pkgsrc-2011Q3 tree:

--PATCH FOR ALPINE--

--- Makefile.~1.24.~    2011-07-08 11:08:52.000000000 -0700
+++ Makefile    2011-10-05 11:50:36.000000000 -0700
@@ -28,7 +28,7 @@
 MAKE_JOBS_SAFE=         no
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
-.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M4.99.*) && 
empty(OS_VERSION:M[5-9]*)
+.if ${OPSYS} == "NetBSD"
 CONFIGURE_ARGS+= --without-pthread
 .endif
 
--PATCH FOR RE-ALPINE--

--- Makefile.~1.2.~     2010-01-17 04:02:25.000000000 -0800
+++ Makefile    2011-10-05 11:37:39.000000000 -0700
@@ -29,7 +29,7 @@
 MAKE_JOBS_SAFE=         no
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
-.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M4.99.*) && 
empty(OS_VERSION:M[5-9]*)
+.if ${OPSYS} == "NetBSD"
 CONFIGURE_ARGS+= --without-pthread
 .endif
 



Home | Main Index | Thread Index | Old Index