Your message dated Thu, 04 Jan 2018 16:07:27 +0000
with message-id <[email protected]>
and subject line Bug#880542: fixed in wget 1.19.2-2
has caused the Debian Bug report #880542,
regarding wget: crash (SIGSEGV) when downloading a manual page from manpages.d.o
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.)


-- 
880542: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880542
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wget
Version: 1.19.2-1
Severity: normal
Usertags: crash
Control: affects -1 + debian-goodies

When I run `dman interfaces` I get a core dump from wget.

Here is some discussion from #debian-devel about the issue:

<pabs> anyone else running buster/sid get a core dump from wget when running 
`dman interfaces`?
<kilobyte> pabs: in wget sources, the crash is at src/http.c:3715 -- "type" is 
Content-Type or 0 if there's no such header
<pabs> kilobyte: that matches my backtrace, thanks for confirming
<kilobyte> pabs: 「wget -vd -O /dev/null 
https://dyn.manpages.debian.org/sid/interfaces.5.en.gz」 confirms there's indeed 
Content-Encoding: gzip but no Content-Type
<kilobyte> pabs: and the fix is obvious

Here is some debugging output from gdb and wget:

$ gdb -batch -n -ex 'set pagination off' -ex run -ex bt -ex 'thread apply all 
bt full' --args wget -vd -O /dev/null 
https://dyn.manpages.debian.org/sid/interfaces.5.en.gz
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Setting --output-document (outputdocument) to /dev/null
DEBUG output created by Wget 1.19.2 on linux-gnu.

URI encoding = ‘UTF-8’
--2017-11-02 09:16:17--  https://dyn.manpages.debian.org/sid/interfaces.5.en.gz
Certificates loaded: 148
Resolving dyn.manpages.debian.org (dyn.manpages.debian.org)... 194.177.211.202, 
5.153.231.44, 2001:648:2ffc:deb::211:202, ...
Caching dyn.manpages.debian.org => 194.177.211.202 5.153.231.44 
2001:648:2ffc:deb::211:202 2001:41c8:1000:21::21:44
Connecting to dyn.manpages.debian.org 
(dyn.manpages.debian.org)|194.177.211.202|:443... connected.
Created socket 4.
Releasing 0x00005555557fd7b0 (new refcount 1).

---request begin---
GET /sid/interfaces.5.en.gz HTTP/1.1
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Accept: */*
Accept-Encoding: gzip
Host: dyn.manpages.debian.org
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 307 Temporary Redirect
Date: Thu, 02 Nov 2017 01:16:20 GMT
Server: Apache
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Referrer-Policy: no-referrer
X-Xss-Protection: 1
Strict-Transport-Security: max-age=15552000
Public-Key-Pins: pin-sha256="3T9ypiCPJdEeUOpKSooGJ1IpFbKsl/ktH0dV/wygJMk="; 
pin-sha256="xV7KmbTUH6WeUjOC5Tv7gsOpie45AvOH8/vjaIBsBxk="; max-age=5184000
Content-Length: 74
Content-Type: text/html; charset=utf-8
X-Clacks-Overhead: GNU Terry Pratchett
Location: https://manpages.debian.org/unstable/ifupdown2/interfaces.5.en.gz
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Language: en

---response end---
307 Temporary Redirect
Registered socket 4 for persistent reuse.
Parsed Strict-Transport-Security max-age = 15552000, includeSubDomains = false
Updated HSTS host: dyn.manpages.debian.org:443 (max-age: 15552000, 
includeSubdomains: false)
URI content encoding = ‘utf-8’
Location: https://manpages.debian.org/unstable/ifupdown2/interfaces.5.en.gz 
[following]
Skipping 74 bytes of body: [<a 
href="/unstable/ifupdown2/interfaces.5.en.gz">Temporary Redirect</a>.

] done.
URI content encoding = None
--2017-11-02 09:16:20--  
https://manpages.debian.org/unstable/ifupdown2/interfaces.5.en.gz
Resolving manpages.debian.org (manpages.debian.org)... 130.89.148.14, 
128.31.0.62, 149.20.4.15, ...
Caching manpages.debian.org => 130.89.148.14 128.31.0.62 149.20.4.15 
5.153.231.4 2001:41c8:1000:21::21:4 2001:4f8:1:c::15 2001:67c:2564:a119::148:14
Connecting to manpages.debian.org (manpages.debian.org)|130.89.148.14|:443... 
connected.
Created socket 5.
Releasing 0x0000555555bf5100 (new refcount 1).

---request begin---
GET /unstable/ifupdown2/interfaces.5.en.gz HTTP/1.1
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Accept: */*
Accept-Encoding: gzip
Host: manpages.debian.org
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 200 OK
Date: Thu, 02 Nov 2017 01:16:22 GMT
Server: Apache
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Referrer-Policy: no-referrer
X-Xss-Protection: 1
Strict-Transport-Security: max-age=15552000
Public-Key-Pins: pin-sha256="m2r9mfIa+ot6bIIC0bCt/7KZ1ych/f8QY3gk9cqUWqs="; 
pin-sha256="35f/cSfa9he3sUJgp1wZT9gzbI7/zH10hlT/utpEziU="; max-age=5184000
Last-Modified: Tue, 14 Mar 2017 22:06:14 GMT
ETag: "8ba-54ab8094c8180"
Accept-Ranges: bytes
Content-Length: 2234
Cache-Control: max-age=3600
Expires: Thu, 02 Nov 2017 02:16:22 GMT
Vary: Accept-Encoding
X-Clacks-Overhead: GNU Terry Pratchett
Surrogate-Key: klecker
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Encoding: gzip
Content-Language: en

---response end---
200 OK
Disabling further reuse of socket 4.
Registered socket 5 for persistent reuse.
Parsed Strict-Transport-Security max-age = 15552000, includeSubDomains = false
Updated HSTS host: manpages.debian.org:443 (max-age: 15552000, 
includeSubdomains: false)

Program received signal SIGSEGV, Segmentation fault.
__strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:32
32      ../sysdeps/x86_64/multiarch/../strchr.S: No such file or directory.
#0  __strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:32
#1  0x000055555557c46e in gethttp (u=u@entry=0x555555beb8a0, 
original_url=original_url@entry=0x5555557f92c0, hs=hs@entry=0x7fffffffdaf0, 
dt=dt@entry=0x7fffffffdef0, proxy=proxy@entry=0x0, 
iri=iri@entry=0x5555557fac20, count=1) at ../../src/http.c:3715
#2  0x000055555557d045 in http_loop (u=u@entry=0x555555beb8a0, 
original_url=original_url@entry=0x5555557f92c0, 
newloc=newloc@entry=0x7fffffffddf8, local_file=local_file@entry=0x7fffffffde00, 
referer=referer@entry=0x0, dt=dt@entry=0x7fffffffdef0, proxy=0x0, 
iri=0x5555557fac20) at ../../src/http.c:4329
#3  0x0000555555588664 in retrieve_url (orig_parsed=0x5555557f92c0, 
origurl=0x5555557f8d50 
"https://dyn.manpages.debian.org/sid/interfaces.5.en.gz";, file=0x7fffffffdef8, 
newloc=0x7fffffffdf00, refurl=0x0, dt=0x7fffffffdef0, recursive=false, 
iri=0x5555557fac20, register_status=true) at ../../src/retr.c:958
#4  0x0000555555561e3d in main (argc=<optimized out>, argv=<optimized out>) at 
../../src/main.c:2110

Thread 1 (Thread 0x7ffff7fad780 (LWP 28817)):
#0  __strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:32
No locals.
#1  0x000055555557c46e in gethttp (u=u@entry=0x555555beb8a0, 
original_url=original_url@entry=0x5555557f92c0, hs=hs@entry=0x7fffffffdaf0, 
dt=dt@entry=0x7fffffffdef0, proxy=proxy@entry=0x0, 
iri=iri@entry=0x5555557fac20, count=1) at ../../src/http.c:3715
        p = <optimized out>
        req = 0x555555beb7f0
        type = 0x0
        user = 0x0
        passwd = 0x0
        proxyauth = <optimized out>
        statcode = <optimized out>
        write_error = <optimized out>
        contlen = 2234
        contrange = 0
        conn = <optimized out>
        fp = <optimized out>
        err = <optimized out>
        retval = <optimized out>
        hsts_params = <optimized out>
        max_age = <optimized out>
        include_subdomains = <optimized out>
        sock = <optimized out>
        auth_finished = false
        basic_auth_finished = false
        ntlm_seen = false
        using_ssl = <optimized out>
        head_only = false
        cond_get = false
        head = <optimized out>
        resp = 0x555555bf5980
        hdrval = 
"gzip\000Alive\000\000\000\000\000\000\240\270\276UUU\000\000n\257\204\366\377\177\000\000
 
\005\267\366\377\177\000\000\240\330\377\377\377\177\000\000[\000\000\000\000\000\000\000
 
\005\267\366\377\177\000\000@Ķ\366\377\177\000\000<\360\203\366\377\177\000\000\200",
 '\000' <repeats 15 times>, 
"\200\000\000\000\000\000\000\000\177\022XUUU\000\000`\331\377\377\377\177\000\000Y\024XUUU\000\000V\331\377\377\377\177\000\000\\\331\377\377\377\177\000\001--2017-11-02
 09:16:20--  https://manpages.debian.org/unst";...
        message = 0x555555c04870 "OK"
        warc_enabled = false
        warc_tmp = <optimized out>
        warc_timestamp_str = " 
\005\267\366\377\177\000\000h\r\000\000\000\000\000\000\000\271\266\366\377"
        warc_request_uuid = 
"\240\330\377\377\377\177\000\000b\233\204\366\377\177\000\000\377\377\377\377\000\000\000\000
 
\005\267\366\377\177\000\000[\000\000\000\000\000\000\000\240\330\377\377\377\177\000"
        warc_ip = 0x0
        warc_payload_offset = <optimized out>
        keep_alive = true
        chunked_transfer_encoding = false
        inhibit_keep_alive = <optimized out>
        body_data_size = <optimized out>
#2  0x000055555557d045 in http_loop (u=u@entry=0x555555beb8a0, 
original_url=original_url@entry=0x5555557f92c0, 
newloc=newloc@entry=0x7fffffffddf8, local_file=local_file@entry=0x7fffffffde00, 
referer=referer@entry=0x0, dt=dt@entry=0x7fffffffdef0, proxy=0x0, 
iri=0x5555557fac20) at ../../src/http.c:4329
        count = 1
        got_head = false
        time_came_from_head = false
        got_name = true
        tms = 0x5555557d4f60 <output> "2017-11-02 09:16:20"
        tmrate = <optimized out>
        err = <optimized out>
        ret = TRYLIMEXC
        tmr = -1
        hstat = {len = 0, contlen = -1, restval = 0, res = -1, rderrmsg = 0x0, 
newloc = 0x0, remote_time = 0x555555bed720 "Tue, 14 Mar 2017 22:06:14 GMT", 
error = 0x555555bf5000 "OK", statcode = 200, message = 0x555555c04890 "OK", 
rd_size = 0, dltime = 0, referer = 0x0, local_file = 0x555555bf4fa0 
"/dev/null", existence_checked = true, timestamp_checked = false, 
orig_file_name = 0x0, orig_file_size = 0, orig_file_tstamp = 0, local_encoding 
= ENC_GZIP, remote_encoding = ENC_NONE, temporary = false}
        st = {st_dev = 8389765627371934293, st_ino = 8026380341519609445, 
st_nlink = 67, st_mode = 174419567, st_uid = 0, st_gid = 4139170048, __pad0 = 
32767, st_rdev = 140737329303916, st_size = 140737488346240, st_blksize = 
140737329303916, st_blocks = 97, st_atim = {tv_sec = 144, tv_nsec = 20}, 
st_mtim = {tv_sec = 210453397511, tv_nsec = 0}, st_ctim = {tv_sec = 66, tv_nsec 
= 93824999149424}, __glibc_reserved = {0, 0, 66}}
        send_head_first = false
        force_full_retrieve = false
#3  0x0000555555588664 in retrieve_url (orig_parsed=0x5555557f92c0, 
origurl=0x5555557f8d50 
"https://dyn.manpages.debian.org/sid/interfaces.5.en.gz";, file=0x7fffffffdef8, 
newloc=0x7fffffffdf00, refurl=0x0, dt=0x7fffffffdef0, recursive=false, 
iri=0x5555557fac20, register_status=true) at ../../src/retr.c:958
        result = NOCONERROR
        url = 0x555555bf5630 
"https://manpages.debian.org/unstable/ifupdown2/interfaces.5.en.gz";
        location_changed = <optimized out>
        iri_fallbacked = false
        dummy = 0
        mynewloc = 0x0
        proxy = <optimized out>
        u = 0x555555beb8a0
        proxy_url = <optimized out>
        up_error_code = 0
        local_file = 0x5555557ddbe0 "/dev/null"
        redirection_count = 1
        method_suspended = false
        saved_body_data = 0x0
        saved_method = 0x0
        saved_body_file_name = 0x0
#4  0x0000555555561e3d in main (argc=<optimized out>, argv=<optimized out>) at 
../../src/main.c:2110
        dt = 8
        url_err = 0
        filename = 0x0
        redirected_URL = 0x0
        iri = 0x5555557fac20
        url_parsed = 0x5555557f92c0
        url = <optimized out>
        t = 0x7fffffffde70
        p = <optimized out>
        i = <optimized out>
        ret = <optimized out>
        longindex = -1
        nurl = <optimized out>
        retconf = <optimized out>
        argstring_length = <optimized out>
        use_userconfig = <optimized out>
        append_to_log = <optimized out>
        timer = 0x5555557f57d0
        start_time = 1.9399999999999999e-07

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), 
LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages wget depends on:
ii  libc6        2.24-17
ii  libgnutls30  3.5.16-1
ii  libidn2-0    2.0.2-5
ii  libnettle6   3.3-2
ii  libpcre3     2:8.39-4
ii  libpsl5      0.18.0-4
ii  libuuid1     2.30.2-0.1
ii  zlib1g       1:1.2.8.dfsg-5

Versions of packages wget recommends:
ii  ca-certificates  20170717

wget suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: wget
Source-Version: 1.19.2-2

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

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.
Noël Köthe <[email protected]> (supplier of updated wget 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: SHA512

Format: 1.8
Date: Thu, 04 Jan 2018 17:10:07 +0100
Source: wget
Binary: wget wget-udeb
Architecture: source amd64
Version: 1.19.2-2
Distribution: unstable
Urgency: medium
Maintainer: Noël Köthe <[email protected]>
Changed-By: Noël Köthe <[email protected]>
Description:
 wget       - retrieves files from the web
 wget-udeb  - retrieves files from the web (udeb)
Closes: 813158 880542
Changes:
 wget (1.19.2-2) unstable; urgency=medium
 .
   * fixed segfault with upstream patch. closes: Bug#813158, #880542
     wget_813158fixsegfault.patch
   * corrected debian/watch
   * debian/control: updated Standard-Version to 4.1.3; no changes needed
Checksums-Sha1:
 fb04865a55d668cc3965f2b8e44a75884d08179c 2170 wget_1.19.2-2.dsc
 57d23bae80cf4ff57300d0143f7eb39998bb973a 28504 wget_1.19.2-2.debian.tar.xz
 6df4d137b4a1fedc6446088139beb19e5a79069e 465680 wget-dbgsym_1.19.2-2_amd64.deb
 b7231285bf8c915cbd56a975b273cb313174326e 152108 wget-udeb_1.19.2-2_amd64.udeb
 a4b01b616f38815710438f44f12e34eda35b7b76 7342 wget_1.19.2-2_amd64.buildinfo
 bfa0dea16968e46a15e2eb6c98cc1dc16fe4860b 868268 wget_1.19.2-2_amd64.deb
Checksums-Sha256:
 649ef3bf0b5871cd52060657e81aaadf3797ebe849e933c866972712a56bc140 2170 
wget_1.19.2-2.dsc
 4691421ae8b8a7bbc67cd7125b19390819b973cd7cdad0d117cc79f699eda534 28504 
wget_1.19.2-2.debian.tar.xz
 8075abf0db4347466716c7d49c228a11bf2cf5bc3e15d3f699b1509173bd4612 465680 
wget-dbgsym_1.19.2-2_amd64.deb
 25b475092f4814a6ea765fb4f8da8536a83e2ba5a9918291bbe9a947391f9b37 152108 
wget-udeb_1.19.2-2_amd64.udeb
 b3e416a6cffc5b9f2e12a8579b251311fd703e5cce05d7a264e17a2a4b789eec 7342 
wget_1.19.2-2_amd64.buildinfo
 7122dd7756b0248e3144009110f6e5d2fd1077b6245b4248ced576b36c6159e9 868268 
wget_1.19.2-2_amd64.deb
Files:
 83cc6d633177f9bc3675adb6f03c14fc 2170 web important wget_1.19.2-2.dsc
 3c80a5422e82053bcfb94a17e6cef7d0 28504 web important 
wget_1.19.2-2.debian.tar.xz
 dc5935046aafe52c12196acd1c3a8cde 465680 debug optional 
wget-dbgsym_1.19.2-2_amd64.deb
 506212f9e04ab5c4119bdb40dcea94c0 152108 debian-installer optional 
wget-udeb_1.19.2-2_amd64.udeb
 5806dca97698e4c2046c6eb0f6e4acfd 7342 web important 
wget_1.19.2-2_amd64.buildinfo
 2c28fbb476e40585853f7f79186c7b34 868268 web important wget_1.19.2-2_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpF5AXAxsgPE/8VIXaMB4voj4DNoFAlpOSMIACgkQaMB4voj4
DNp57g/+I5emmYdhmmcoJrsmcdRLQkHXh8SrDtvptDSw1yGxBJZjNI5rsbiuzybN
j6+35zCzzfj+o7lVad9Wsed6J7qYAXBcsayy4SlzAdQpf+9EHXVzjS1jyKTBEW4C
2Ozp4cogPt590Z4GRBxA/Qa3wO5WSqWpgMjtVvNY8CpAyqw2dYyJSAw2CaOLyDMD
mcIVZoJyEVZTKUqSD51iw+xKyV+pI6DbKQA07p3RROEqqqtSfBUTz/muFrLkefA3
mZlFyrJvXbhXoZC2Lrtoek6zsBeHjHF7De9bgrMk9AcBrwri6/x+HHOmXoFQW5Lz
N277vnJ2+FDaWpN07StmAPu2ERVKJWMIMlg1gUDvBx4IIVTB0XVzWcqAbeZgWpZ/
cDZnoM8udiZIUz+JhA3gmO5JAgSe426iUOmwxa+vR0G8CC+U+TZdrfz+JF6Oepbw
dt9nGz571qxQa92g6pw2rofPQgK6cRlCMNw2vg7ouOXiEKFQjq25wGF/wtXJ8QAH
jYPtk02k9x1VmYEPAKi2nYoCkvsJ/CP0UviC3DgIOSgW4znTGlXuDXvFxyIOyvYP
qtrM0i8gVzx638Jj0vUsjwrqAi8cuMZkLQThVkaYqfWxkNtQLAfFP0NSp7KFXyia
fnZqI8WQfxDMJ4jV+hb2Ow+LNiVWwtrDclXsRsfLnn2VZXyn4OI=
=fQf4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to