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
signature.asc
Description: This is a digitally signed message part

