Your message dated Wed, 21 Dec 2005 15:36:11 +1030
with message-id <[EMAIL PROTECTED]>
and subject line Bug#344242: wxwidgets "leaks" regfree() symbol, conflicts with
libc
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Dec 2005 03:05:05 +0000
>From [EMAIL PROTECTED] Tue Dec 20 19:05:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from reed.colo.mv.net
([199.125.75.197] helo=bugg.interreality.org ident=Debian-exim)
by spohr.debian.org with esmtp (Exim 4.50)
id 1EouHp-0005ZR-Ey
for [EMAIL PROTECTED]; Tue, 20 Dec 2005 19:05:05 -0800
Received: from [127.0.0.1] (helo=localhost ident=tetron)
by bugg.interreality.org with esmtps
(TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32)
(Exim 4.52)
id 1EouIG-0007nH-MQ
for [EMAIL PROTECTED]; Tue, 20 Dec 2005 22:05:32 -0500
Date: Tue, 20 Dec 2005 22:05:26 -0500 (EST)
From: Peter Amstutz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: wxwidgets "leaks" regfree() symbol, conflicts with libc
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="2110244171-673518937-1135134326=:29914"
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--2110244171-673518937-1135134326=:29914
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: wxwidgets2.6
Version: 2.6.1.2
Debian package of WxWidgets v2.6.1.2 on AMD64 Linux
WxWidgets has its own regular expression library. Among other things, this
library defines the function regfree(). This directly conflicts with the
POSIX regfree() which is provided by libc on Unix platforms. As a result,
it is possible to get into a situation where an application (perhaps one
linking with a 3rd party library or plugin) links to regcomp() and
regexec() provided by libc, but regfree() provided by WxWidgets. This
causes a crash because the WxWidgets regfree() is obviously not compatible
with the libc regcomp().
I can see no good reason for the implementation of regfree() within
WxWidgets to be named that way. Anyone using regular expressions in
WxWidgets should be doing so via the WxWidgets C++ class. The obvious fix
is to simply rename regfree() to something that won't cause a conflict,
such as wx_regfree().
Bug report has already been filed upstream with the proposed fix (attached
patch).
[ Peter Amstutz ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED] ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey: pgpkeys.mit.edu 18C21DF7 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDqMZ5aeHUyhjCHfcRArO6AKCp6HyhlxAw1TmKrV2qfdAaJnb1pQCfQx8k
lNWTKwSAhR6U6RD1OYtEWMQ=
=gs5p
-----END PGP SIGNATURE-----
--2110244171-673518937-1135134326=:29914
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="wx_regfree.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <[EMAIL PROTECTED]>
Content-Description:
Content-Disposition: attachment; filename="wx_regfree.patch"
ZGlmZiAtcnV3IHd4d2lkZ2V0czIuNi0yLjYuMS4yL3NyYy9jb21tb24vcmVn
ZXguY3BwIHd4d2lkZ2V0czIuNi0yLjYuMS4yLXJlZ2ZyZWVmaXgvc3JjL2Nv
bW1vbi9yZWd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fdCAqKTsNCiAgKi8NCiAN
CiANCkBAIC0zMTgsNyArMzE4LDcgQEANCiAjaWZkZWYgX19SRUdfV0lERV9U
DQogaW50IF9fUkVHX1dJREVfRVhFQyBfQU5TSV9BUkdTXygocmVnZXhfdCAq
LCBfX1JFR19DT05TVCBfX1JFR19XSURFX1QgKiwgc2l6ZV90LCBybV9kZXRh
aWxfdCAqLCBzaXplX3QsIHJlZ21hdGNoX3QgW10sIGludCkpOw0KICNlbmRp
Zg0KLXJlX3ZvaWQgcmVnZnJlZSBfQU5TSV9BUkdTXygocmVnZXhfdCAqKSk7
DQorcmVfdm9pZCB3eF9yZWdmcmVlIF9BTlNJX0FSR1NfKChyZWdleF90ICop
KTsNCiBleHRlcm4gc2l6ZV90IHJlZ2Vycm9yIF9BTlNJX0FSR1NfKChpbnQs
IF9fUkVHX0NPTlNUIHJlZ2V4X3QgKiwgY2hhciAqLCBzaXplX3QpKTsNCiAv
KiBhdXRvbWF0aWNhbGx5IGdhdGhlcmVkIGJ5IGZ3ZDsgZG8gbm90IGhhbmQt
ZWRpdCAqLw0KIC8qID09PT09XiFePT09PT0gZW5kIGZvcndhcmRzID09PT09
XiFePT09PT0gKi8NCg==
--2110244171-673518937-1135134326=:29914--
---------------------------------------
Received: (at 344242-done) by bugs.debian.org; 21 Dec 2005 05:07:04 +0000
>From [EMAIL PROTECTED] Tue Dec 20 21:07:04 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ppp213-196.lns1.adl2.internode.on.net ([203.122.213.196]
helo=hank.shelbyville.oz)
by spohr.debian.org with esmtp (Exim 4.50)
id 1EowBr-0001XF-M1
for [EMAIL PROTECTED]; Tue, 20 Dec 2005 21:07:04 -0800
Received: from ron by hank.shelbyville.oz with local (Exim 4.60)
(envelope-from <[EMAIL PROTECTED]>)
id 1EowB1-0003uC-O7; Wed, 21 Dec 2005 15:36:11 +1030
Date: Wed, 21 Dec 2005 15:36:11 +1030
To: Peter Amstutz <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#344242: wxwidgets "leaks" regfree() symbol, conflicts with libc
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.11
From: Ron <[EMAIL PROTECTED]>
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-5.5 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02
Hi,
On Tue, Dec 20, 2005 at 10:05:26PM -0500, Peter Amstutz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Package: wxwidgets2.6
> Version: 2.6.1.2
>
> Debian package of WxWidgets v2.6.1.2 on AMD64 Linux
>
> WxWidgets has its own regular expression library. Among other things, this
> library defines the function regfree(). This directly conflicts with the
> POSIX regfree() which is provided by libc on Unix platforms. As a result,
> it is possible to get into a situation where an application (perhaps one
> linking with a 3rd party library or plugin) links to regcomp() and
> regexec() provided by libc, but regfree() provided by WxWidgets. This
> causes a crash because the WxWidgets regfree() is obviously not compatible
> with the libc regcomp().
>
> I can see no good reason for the implementation of regfree() within
> WxWidgets to be named that way. Anyone using regular expressions in
> WxWidgets should be doing so via the WxWidgets C++ class. The obvious fix
> is to simply rename regfree() to something that won't cause a conflict,
> such as wx_regfree().
>
> Bug report has already been filed upstream with the proposed fix (attached
> patch).
And as you'll note there, it is already reported fixed in the 2.6 branch
of cvs. So I'm closing this now as a housekeeping issue, rather than
marking it pending, as its been amply reported and will be fixed with
the next upload (once a couple of the more serious regressions are
also repaired, but) hopefully soon.
thanks,
Ron
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]