Your message dated Sun, 24 Jun 2012 07:17:48 +0000
with message-id <[email protected]>
and subject line Bug#673691: fixed in dansguardian 2.10.1.1-5
has caused the Debian Bug report #673691,
regarding Subject: dansguardian: AMD64 version runs but does nothing on AMD64 
arch.
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 [email protected]
immediately.)


-- 
673691: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673691
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dansguardian
Version: 2.10.1.1-4
Severity: important

Dear Maintainer,
Dansguardian seems not to work on AMD64 systems. I'm sure its not a dansguardian problem and that some other package has broken DG. Looking as strace's it looks like a memory problem, but I this exact same problem on 2 different boxes, both with AMD CPU's

This stuck out when stracing the dansguardian binary:

"mmap(NULL, 8507392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f06ffcde000
mremap(0x7f06ffcde000, 8507392, 8572928, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 8572928, 8638464, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 8638464, 8704000, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 8704000, 8769536, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 8769536, 8835072, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 8835072, 8900608, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 8900608, 8966144, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 8966144, 9031680, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9031680, 9097216, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9097216, 9162752, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9162752, 9228288, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9228288, 9297920, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9297920, 9363456, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9363456, 9428992, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9428992, 9494528, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9494528, 9560064, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9560064, 9625600, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9625600, 9691136, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9691136, 9756672, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9756672, 9822208, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9822208, 9887744, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9887744, 9953280, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 9953280, 10018816, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10018816, 10084352, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10084352, 10149888, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10149888, 10215424, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10215424, 10280960, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10280960, 10350592, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10350592, 10416128, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10416128, 10481664, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10481664, 10547200, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10547200, 10612736, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10612736, 10678272, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 10678272, 10743808, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 11071488, 11137024, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 11137024, 11202560, MREMAP_MAYMOVE) = 0x7f06ff4b1000
mremap(0x7f06ff4b1000, 11202560, 11141120, MREMAP_MAYMOVE) = 0x7f06ff4b1000"

Then when you try to look at a web page you see this message in the browser:
"Connection Interrupted
The document contains no data.
The network link was interrupted while negotiating a connection. Please try again."

The output from strace when getting a page looks like this:
"Process 5255 attached - interrupt to quit
select(5, [4], NULL, NULL, {245, 578796}) = 1 (in [4], left {240, 516085})
recvfrom(4, "\0", 1, 0, NULL, NULL)     = 1
accept(6, {sa_family=AF_INET, sin_port=htons(52019), sin_addr=inet_addr("127.0.0.1")}, [16]) = 3
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
select(5, NULL, [4], NULL, {10, 0})     = 1 (out [4], left {9, 999995})
sendto(4, "K", 1, 0, NULL, 0)           = 1
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5
setsockopt(5, SOL_TCP, TCP_NODELAY, [1], 4) = 0
connect(5, {sa_family=AF_INET, sin_port=htons(3128), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
select(4, [3], NULL, NULL, {14, 0})     = 1 (in [3], left {13, 938797})
recvfrom(3, "GET http://www.aa.nu/ HTTP/1.1\r\n"..., 1024, 0, NULL, NULL) = 394 mmap(NULL, 228473534089793536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) mmap(NULL, 228473534089793536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x32bb37802358000)                  = 0x2349000
mmap(NULL, 228473534089924608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
close(5)                                = 0
close(3)                                = 0
select(5, NULL, [4], NULL, {15, 0})     = 1 (out [4], left {14, 999993})
sendto(4, "2\n", 2, 0, NULL, 0)         = 2
select(5, [4], NULL, NULL, {360, 0}"


As a work around you can install the 32 bit version. Download the binary run alien -t the create the tar extract the binary, and copy to /usr/sbin
Install ia32-libs-gtk.
Download the 32 bit versions of libtommath.so.0 and libclamav.so.6 and extract them in the same way. I extracted these and appended .ia32 to the end so they didn't conflict with the x64 libs, then removed the x64 links and linked to the 32 bit ones.

Any ideas?
Jon

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.3.6 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dansguardian depends on:
ii  adduser      3.113+nmu2
ii  clamav       0.97.3+dfsg-2.1
ii  libbz2-1.0   1.0.6-1
ii  libc6        2.13-32
ii  libclamav6   0.97.3+dfsg-2.1
ii  libgcc1      1:4.7.0-8
ii  libpcre3     1:8.30-5
ii  libstdc++6   4.7.0-8
ii  libtommath0  0.42.0-1
ii  perl         5.14.2-10
ii  zlib1g       1:1.2.7.dfsg-1

dansguardian recommends no packages.

Versions of packages dansguardian suggests:
ii  clamav-freshclam  0.97.3+dfsg-2.1
ii  squid             2.7.STABLE9-4.1

-- Configuration Files:
/etc/dansguardian/dansguardian.conf changed:
reportinglevel = 3
languagedir = '/etc/dansguardian/languages'
language = 'ukenglish'
loglevel = 2
logexceptionhits = 2
logfileformat = 1
filterip =
filterport = 8888
proxyip = 127.0.0.1
proxyport = 3128
accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl'
nonstandarddelimiter = on
usecustombannedimage = on
custombannedimagefile = '/usr/share/dansguardian/transparent1x1.gif'
filtergroups = 1
filtergroupslist = '/etc/dansguardian/lists/filtergroupslist'
bannediplist = '/etc/dansguardian/lists/bannediplist'
exceptioniplist = '/etc/dansguardian/lists/exceptioniplist'
showweightedfound = on
weightedphrasemode = 2
urlcachenumber = 1000
urlcacheage = 900
scancleancache = on
phrasefiltermode = 2
preservecase = 0
hexdecodecontent = off
forcequicksearch = off
reverseaddresslookups = off
reverseclientiplookups = off
logclienthostnames = off
createlistcachefiles = on
maxuploadsize = -1
maxcontentfiltersize = 256
maxcontentramcachescansize = 2000
maxcontentfilecachescansize = 20000
filecachedir = '/tmp'
deletedownloadedtempfiles = on
initialtrickledelay = 20
trickledelay = 10
downloadmanager = '/etc/dansguardian/downloadmanagers/fancy.conf'
downloadmanager = '/etc/dansguardian/downloadmanagers/default.conf'
contentscannertimeout = 60
contentscanexceptions = off
recheckreplacedurls = off
forwardedfor = off
usexforwardedfor = off
logconnectionhandlingerrors = on
logchildprocesshandling = off
maxchildren = 120
minchildren = 8
minsparechildren = 4
preforkchildren = 6
maxsparechildren = 32
maxagechildren = 500
maxips = 0
ipcfilename = '/tmp/.dguardianipc'
urlipcfilename = '/tmp/.dguardianurlipc'
ipipcfilename = '/tmp/.dguardianipipc'
nodaemon = off
nologger = off
logadblocks = off
loguseragent = off
softrestart = off
mailer = '/usr/sbin/sendmail -t'


-- no debconf information




--- End Message ---
--- Begin Message ---
Source: dansguardian
Source-Version: 2.10.1.1-5

We believe that the bug you reported is fixed in the latest version of
dansguardian, which is due to be installed in the Debian FTP archive:

dansguardian_2.10.1.1-5.diff.gz
  to main/d/dansguardian/dansguardian_2.10.1.1-5.diff.gz
dansguardian_2.10.1.1-5.dsc
  to main/d/dansguardian/dansguardian_2.10.1.1-5.dsc
dansguardian_2.10.1.1-5_amd64.deb
  to main/d/dansguardian/dansguardian_2.10.1.1-5_amd64.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexander Wirt <[email protected]> (supplier of updated dansguardian 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 24 Jun 2012 09:02:21 +0200
Source: dansguardian
Binary: dansguardian
Architecture: source amd64
Version: 2.10.1.1-5
Distribution: unstable
Urgency: low
Maintainer: Alexander Wirt <[email protected]>
Changed-By: Alexander Wirt <[email protected]>
Description: 
 dansguardian - Web content filtering
Closes: 544654 597961 647870 667664 673691
Changes: 
 dansguardian (2.10.1.1-5) unstable; urgency=low
 .
   * [0a5a03b] Add support for "status" action to init.d script.
     Thanks to Peter Eisentraut for the patch (Closes: #647870)
   * [f41be8c] Don't allocate memory up to reg.re_nsub (Closes: #667664, 
#673691)
   * [2ebb4bb] Remove obsolete preinst script (Closes: #597961)
   * [3d01758] Document grouphandling for clamdscan (Closes: #544654)
   * [0da0019] Add versioned dpatch dependency
   * [05242c0] wrap-and-sort
   * [817abff] Use dh9 for hardening
Checksums-Sha1: 
 2748baf4c5ee8999887277e83dd57a26b676519d 1271 dansguardian_2.10.1.1-5.dsc
 e565daa24f9bfa383ea44e1ea5ab4d595891d202 23219 dansguardian_2.10.1.1-5.diff.gz
 1caf197e46659e267efe2ff2cf6facba1f994afb 473182 
dansguardian_2.10.1.1-5_amd64.deb
Checksums-Sha256: 
 45707e73ad26b2ab26d90caf5c33037af0fd7cfe68b5d6af3ffea880dd500246 1271 
dansguardian_2.10.1.1-5.dsc
 f211ae3e5e0ff5511e019b5eef6b43a2bf5573b8332d1d0b8418315ba3b432b1 23219 
dansguardian_2.10.1.1-5.diff.gz
 2df2d83343ca88304900ce819774691ba371c651726ee5ef3616bbe7483d9970 473182 
dansguardian_2.10.1.1-5_amd64.deb
Files: 
 5123021d3f52e9b00560a2d5e85d9495 1271 web optional dansguardian_2.10.1.1-5.dsc
 7a5f5e539dde31e2a51dad4e7ad01a73 23219 web optional 
dansguardian_2.10.1.1-5.diff.gz
 c325dcf3942ce5b1fc508565593bf214 473182 web optional 
dansguardian_2.10.1.1-5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk/mu9YACgkQ01u8mbx9Agq3DgCgocf8XqwyjgW8TjeZP0CRqvj3
Dk0AoMDNqfm+ZYZCAz+hKwn6KAciNC2D
=9eXv
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to