NetBSD Problem Report #39755
From dholland@eecs.harvard.edu Fri Oct 17 05:05:09 2008
Return-Path: <dholland@eecs.harvard.edu>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 3C2EB63BCFC
for <gnats-bugs@gnats.NetBSD.org>; Fri, 17 Oct 2008 05:05:09 +0000 (UTC)
Message-Id: <20081017050240.079B0F968@tanaqui.eecs.harvard.edu>
Date: Fri, 17 Oct 2008 01:02:39 -0400 (EDT)
From: dholland@eecs.harvard.edu
Reply-To: dholland@eecs.harvard.edu
To: gnats-bugs@gnats.NetBSD.org
Subject: textproc/libxml2 2.7.2 breaks mod_php with apache 1.3
X-Send-Pr-Version: 3.95
>Number: 39755
>Category: pkg
>Synopsis: textproc/libxml2 2.7.2 breaks mod_php with apache 1.3
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 17 05:10:00 +0000 2008
>Closed-Date: Fri Oct 17 16:07:54 +0000 2008
>Last-Modified: Wed Nov 26 11:15:02 +0000 2008
>Originator: David A. Holland
>Release: NetBSD 4.0_STABLE (of 20080715)
>Organization:
>Environment:
System: NetBSD bantha 4.0_STABLE NetBSD 4.0_STABLE (BANTHA) #8: Sat May 24 03:13:01 EDT 2008 root@bantha:/usr/src/sys/arch/i386/compile/BANTHA i386
Architecture: i386
Machine: i386
>Description:
Starting apache configured to use ap-php yields SIGABRT during startup
with no error message.
These are the versions:
apache-1.3.41
ap13-php5-5.2.6nb1
libxml2-2.7.2
Reverting to 20081011 (libxml2-2.7.1nb1) avoids the problem.
The problem looks like the usual issue when threaded and
non-threaded code is combined:
# gdb /usr/pkg/sbin/httpd
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...(no debugging symbols found)
(gdb) r -DSSL
Starting program: /usr/pkg/sbin/httpd -DSSL
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Program received signal SIGABRT, Aborted.
0xbbafe23f in kill () from /usr/lib/libc.so.12
(gdb) where
#0 0xbbafe23f in kill () from /usr/lib/libc.so.12
#1 0xbbb00293 in __libc_mutex_unlock () from /usr/lib/libc.so.12
#2 0xbbb9a80b in malloc () from /usr/lib/libc.so.12
#3 0xbb908b0f in php_create_dir () from /usr/pkg/lib/httpd/mod_php5.so
#4 0x08072c43 in ap_single_module_configure ()
#5 0x0806ee43 in load_module ()
#6 0x08073d7b in ap_handle_command ()
#7 0x080740c7 in ap_srm_command_loop ()
#8 0x0807466a in ap_process_resource_config ()
#9 0x08074a36 in ap_read_config ()
#10 0x0807d6bf in main ()
(gdb)
Looking at __libc_mutex_unlock suggests that this is because it's
getting to thread stubs when the global threaded flag is set.
>How-To-Repeat:
Install, configure, start apache.
>Fix:
Dunno. Happened on a production machine, so I couldn't spend time
digging around.
Also, wouldn't it be better for that libc abort to print some kind of
message in the common case? (Perhaps if isatty(STDERR_FILENO) is true?)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: drochner@NetBSD.org
State-Changed-When: Fri, 17 Oct 2008 16:07:54 +0000
State-Changed-Why:
fixed (was an accident in the last update)
From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39755 CVS commit: pkgsrc/textproc/libxml2
Date: Fri, 17 Oct 2008 16:06:04 +0000 (UTC)
Module Name: pkgsrc
Committed By: drochner
Date: Fri Oct 17 16:06:04 UTC 2008
Modified Files:
pkgsrc/textproc/libxml2: Makefile
Log Message:
restore the without-threads config arg which I accidentally commented
out in the last update, bump PKGREVISION
fixes PR pkg/39755 by David A. Holland
To generate a diff of this commit:
cvs rdiff -r1.97 -r1.98 pkgsrc/textproc/libxml2/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Tyler R. Retzlaff" <rtr@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39755 CVS commit: [pkgsrc-2008Q3] pkgsrc/textproc/libxml2
Date: Wed, 26 Nov 2008 11:12:10 +0000 (UTC)
Module Name: pkgsrc
Committed By: rtr
Date: Wed Nov 26 11:12:10 UTC 2008
Modified Files:
pkgsrc/textproc/libxml2 [pkgsrc-2008Q3]: Makefile distinfo
pkgsrc/textproc/libxml2/patches [pkgsrc-2008Q3]: patch-af
Added Files:
pkgsrc/textproc/libxml2/patches [pkgsrc-2008Q3]: patch-ag patch-ah
Log Message:
pullup ticket #2596 - requested by tron
libxml2: update and patch package for security fixes
revisions pulled up:
pkgsrc/textproc/libxml2/Makefile 1.97,1.98,1.99
pkgsrc/textproc/libxml2/distinfo 1.69,1.70
pkgsrc/textproc/libxml2/patches/patch-af r0,1.3
pkgsrc/textproc/libxml2/patches/patch-ag r0,1.5
pkgsrc/textproc/libxml2/patches/patch-ah 1.3
Module Name: pkgsrc
Committed By: drochner
Date: Thu Oct 16 13:31:57 UTC 2008
Modified Files:
pkgsrc/textproc/libxml2: Makefile distinfo
Removed Files:
pkgsrc/textproc/libxml2/patches: patch-af patch-ag
Log Message:
update to 2.7.2
changes:
-Portability fix: fix solaris compilation problem, fix compilation
if XPath is not configured in
-Bug fixes: nasty entity bug introduced in 2.7.0, restore old behaviour
when saving an HTML doc with an xml dump function,
HTML UTF-8 parsing bug, fix reader custom error handlers
-Improvement: xmlSave options for more flexibility to save
as XML/HTML/XHTML, handle leading BOM in HTML documents
------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: drochner
Date: Fri Oct 17 16:06:04 UTC 2008
Modified Files:
pkgsrc/textproc/libxml2: Makefile
Log Message:
restore the without-threads config arg which I accidentally commented
out in the last update, bump PKGREVISION
fixes PR pkg/39755 by David A. Holland
------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: tron
Date: Mon Nov 24 13:59:16 UTC 2008
Modified Files:
pkgsrc/textproc/libxml2: Makefile distinfo
Added Files:
pkgsrc/textproc/libxml2/patches: patch-af patch-ag patch-ah
Log Message:
Add fixes for security vulnerabilities reported in CVE-2008-4225 and
CVE-2008-4226 from "libxml2" SVN repository. Bump package revision.
To generate a diff of this commit:
cvs rdiff -r1.94.4.1 -r1.94.4.2 pkgsrc/textproc/libxml2/Makefile
cvs rdiff -r1.66.4.1 -r1.66.4.2 pkgsrc/textproc/libxml2/distinfo
cvs rdiff -r1.1.2.2 -r1.1.2.3 pkgsrc/textproc/libxml2/patches/patch-af
cvs rdiff -r0 -r1.2.18.1 pkgsrc/textproc/libxml2/patches/patch-ag
cvs rdiff -r0 -r1.2.22.1 pkgsrc/textproc/libxml2/patches/patch-ah
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.