Your message dated Fri, 07 Oct 2011 07:47:08 +0000
with message-id <e1rc59a-0001na...@franck.debian.org>
and subject line Bug#643866: fixed in electric-fence 2.1.19
has caused the Debian Bug report #643866,
regarding electric-fence: FTBFS on GNU/kFreeBSD
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
643866: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643866
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: electric-fence
Version: 2.1.18
Severity: serious
Tags: patch
Hi.
Please apply the patch bellow to handle both SIGBUS and SIGSEGV faults
simultaneously on FreeBSD based architectures.
You might consider to catch both SIGBUS and SIGSEGV on all architectures.
Petr
--- a/eftest.c
+++ b/eftest.c
@@ -12,11 +12,10 @@
*/
#ifndef PAGE_PROTECTION_VIOLATED_SIGNAL
-#ifdef __FreeBSD_kernel__
-#define PAGE_PROTECTION_VIOLATED_SIGNAL SIGBUS
-#else
-#define PAGE_PROTECTION_VIOLATED_SIGNAL SIGSEGV
+#if defined(__FreeBSD_kernel__) || defined(__FreeBSD__)
+#define EXTRA_PAGE_PROTECTION_VIOLATED_SIGNAL SIGBUS
#endif
+#define PAGE_PROTECTION_VIOLATED_SIGNAL SIGSEGV
#endif
struct diagnostic {
@@ -44,6 +43,9 @@
)
{
signal(PAGE_PROTECTION_VIOLATED_SIGNAL, SIG_DFL);
+#ifdef EXTRA_PAGE_PROTECTION_VIOLATED_SIGNAL
+ signal(EXTRA_PAGE_PROTECTION_VIOLATED_SIGNAL, SIG_DFL);
+#endif
siglongjmp(env, 1);
}
@@ -53,10 +55,16 @@
if ( sigsetjmp(env,1) == 0 ) {
int status;
- signal(PAGE_PROTECTION_VIOLATED_SIGNAL
- ,segmentationFaultHandler);
+ signal(PAGE_PROTECTION_VIOLATED_SIGNAL,
segmentationFaultHandler);
+#ifdef EXTRA_PAGE_PROTECTION_VIOLATED_SIGNAL
+ signal(EXTRA_PAGE_PROTECTION_VIOLATED_SIGNAL,
segmentationFaultHandler);
+#endif
+
status = (*test)();
signal(PAGE_PROTECTION_VIOLATED_SIGNAL, SIG_DFL);
+#ifdef EXTRA_PAGE_PROTECTION_VIOLATED_SIGNAL
+ signal(EXTRA_PAGE_PROTECTION_VIOLATED_SIGNAL, SIG_DFL);
+#endif
return status;
}
else
--- End Message ---
--- Begin Message ---
Source: electric-fence
Source-Version: 2.1.19
We believe that the bug you reported is fixed in the latest version of
electric-fence, which is due to be installed in the Debian FTP archive:
electric-fence_2.1.19.dsc
to main/e/electric-fence/electric-fence_2.1.19.dsc
electric-fence_2.1.19.tar.gz
to main/e/electric-fence/electric-fence_2.1.19.tar.gz
electric-fence_2.1.19_i386.deb
to main/e/electric-fence/electric-fence_2.1.19_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 643...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthew Vernon <matt...@debian.org> (supplier of updated electric-fence package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 07 Oct 2011 08:38:44 +0100
Source: electric-fence
Binary: electric-fence
Architecture: source i386
Version: 2.1.19
Distribution: unstable
Urgency: low
Maintainer: Matthew Vernon <matt...@debian.org>
Changed-By: Matthew Vernon <matt...@debian.org>
Description:
electric-fence - A malloc(3) debugger
Closes: 643866
Changes:
electric-fence (2.1.19) unstable; urgency=low
.
* patch from Petr Salinger to handle both SIGBUS and SIGSEGV in eftest.c
on FreeBSD-based architectures (Closes: #643866)
Checksums-Sha1:
3e545c306325ae1a5ec82b4057c4851e1371b075 1361 electric-fence_2.1.19.dsc
03add597aeed729d0a7fa6ebd3b04b40e89c875b 30894 electric-fence_2.1.19.tar.gz
dec024d75644c16d292b226a0e33a44f6d27a7b1 22184 electric-fence_2.1.19_i386.deb
Checksums-Sha256:
20dc6d3735456bd0085a9a1e66cfb2570da9c1e92fac76e6c449ce52a2ea5649 1361
electric-fence_2.1.19.dsc
d19e257eff5e34722782dd5a0da81a9ff668759e113cd327a3e9600dda4ab055 30894
electric-fence_2.1.19.tar.gz
d8bec98e98de4f141b2f6e226c66c8121c421b60dea44a57ad508264ebdf8456 22184
electric-fence_2.1.19_i386.deb
Files:
aff558164ae534aad23f6709ccc7b7ec 1361 devel extra electric-fence_2.1.19.dsc
fa611217e8b2b832dbcf7e2cafd39d54 30894 devel extra electric-fence_2.1.19.tar.gz
a79899523dc1f2a499c1d2c77cc0b6e2 22184 devel extra
electric-fence_2.1.19_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIVAwUBTo6s1BL00hyPamPIAQiUpA/9EYnNiAXEGeqbmON5N0NXExzlASdDI/Zv
UJQY+2ufAXIYGBuIFHFlY/RKLK/wqNZPpXYJMhEBSwNSFOdt6MxKi29OmUg8e8TR
njJdcPCBZY3KUS7lI+yYN36/b12Bh95FWrn9ueVCAxC1JpWeh6uXOcvq/6LL8qw3
E2SHnBu68RfIyyUzpf+YxIKHJS4fEaZSRKoDYdq1E9H0A7p0rkz87Uwa1SLAdy6J
iNbW/c6NQx+hAeMzjutxqhb0MBBEtykEM3V+PkITqhmN5wvcj9yolcGGHCZ6ZWgK
9MplAXldgwRmdfx6rHwzKxpd+rcVv+Ax5tTJI3lRUUE1h/rfRqIxX3bnzBBN0r3a
k3HgDGkxEUpKoXM4BM8nlC2Futr0MrFWKa//BZj4OrZ2mi+XaB4iB4DedUjVnq6Q
E1EJ1qoxbQgU0AzH6IfPTBmErh/uAwgqKIP0JXQUhTbHe3j7olxVGFbf+dFnxryX
eb0zHoHaPFXqzf8wSCKPczTumOr1phuFyUCz55jOi45RGkpZvmBcXGKKmSrD0bUL
kD0Rzzd64GTW6BW/uBXKs0i7hTaSes2DswfQIG+3uEK13oEW2scvkXAWii5WQtVR
nQwGKytREDcJ1rElEM3gerZjUiNSEpjKgmmYVmmRDrkLvjlmdcsfRFStiWXFFNmH
evQh2ls8sgU=
=OeFk
-----END PGP SIGNATURE-----
--- End Message ---