#746701 w3m: lots of GC Warning: Repeated allocation of very large block on i386

Package:
w3m
Source:
w3m
Description:
WWW browsable pager with excellent tables/frames support
Submitter:
Date:
2022-04-29 04:36:07 UTC
Severity:
normal
Tags:
#746701#5
Date:
2014-05-02 16:45:59 UTC
From:
To:
$ w3m 'http://branch.taipower.com.tw/Content/NoticeBlackout/bulletin.aspx?&SiteID=564732646740712354&MmmID=616371300071172245'
Segmentation fault

#746701#10
Date:
2016-04-10 09:50:55 UTC
From:
To:
Sorry for the late response.

Unreproducible for me, so more information is needed in diagnosing
the cause of the problem.

Thanks,
--
Tatsuya Kinoshita

#746701#17
Date:
2016-04-10 12:40:30 UTC
From:
To:
found 746701 0.5.3-27
retitle 746701 lots of GC Warning: Repeated allocation of very large block
thanks

Here's what I see today
$ w3m -dump 'http://branch.taipower.com.tw/Content/NoticeBlackout/bulletin.aspx?&SiteID=564732646740712354&MmmID=616371300071172245' > /dev/null
Received cookie: ASP.NET_SessionId=ccjmbmyc2nw21k45cp3vdj45
Received cookie: WebLang=
GC Warning: Repeated allocation of very large block (appr. size 753664):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 753664):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 753664):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 753664):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 380928):
        May lead to memory leak and poor performance.

So it still looks bad.

#746701#26
Date:
2016-04-11 10:28:47 UTC
From:
To:
Control: tags -1 - unreproducible
Control: retitle -1 w3m: lots of GC Warning: Repeated allocation of very large block on i386

Reproducible on i386, not on amd64, though fixing seems not so easy.

Thanks,
--
Tatsuya Kinoshita

#746701#35
Date:
2016-04-11 11:19:44 UTC
From:
To:
Any helps/patches are appreciated.

```
$ ls -l large-input-value.html.gz
-rw-r--r-- 1 tats tats 586 Apr 11 20:16 large-input-value.html.gz
$ gzip -d large-input-value.html.gz
$ ls -l large-input-value.html
-rw-r--r-- 1 tats tats 506641 Apr 11 20:09 large-input-value.html
$ head -c 50 large-input-value.html; echo
<input type="hidden" value="xxxxxxxxxxxxxxxxxxxxxx
$ tail -c 50 large-input-value.html
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
$ w3m -dump large-input-value.html >/dev/null
GC Warning: Repeated allocation of very large block (appr. size 184320):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 458752):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 126976):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 319488):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 761856):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 155648):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 380928):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 761856):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 184320):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 458752):
        May lead to memory leak and poor performance.
```

Thanks,
--
Tatsuya Kinoshita

#746701#40
Date:
2021-03-29 12:32:47 UTC
From:
To:
Fixed in the Git repo.

  - https://salsa.debian.org/debian/w3m/-/commit/47a2a5514b67c0c6a7650368cf8908fa5003aa9f

Thanks,
--
Tatsuya Kinoshita

#746701#47
Date:
2022-04-29 04:33:50 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
w3m, 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 746701@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tatsuya Kinoshita <tats@debian.org> (supplier of updated w3m 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 29 Apr 2022 11:55:11 +0900
Source: w3m
Architecture: source
Version: 0.5.3+git20220429-1
Distribution: unstable
Urgency: medium
Maintainer: Tatsuya Kinoshita <tats@debian.org>
Changed-By: Tatsuya Kinoshita <tats@debian.org>
Closes: 746701 832407 838952 862382 870026 900984 934493 953045 996099 1003936 1009766
Changes:
 w3m (0.5.3+git20220429-1) unstable; urgency=medium
 .
   * Update config options
   * Move bzip2 to Suggests
   * Add brotli to Suggests
   * Add compface to Suggests
   * Simplify configure options
   * Remove unneeded compile options
   * Drop old config file handling (closes: #996099)
   * Remove empty maintainer scripts
   * Replace mime-support with media-types and mailcap in Suggests
     (closes: #1009766)
   * Update debian/copyright
   * Update Build-Depends with build profile annotations (closes: #870026)
   * Drop debian/patches
   * Update Standards-Version to 4.6.0
   * New upstream version 0.5.3+git20220429
     - Mention -insecure option as a workaround for SSL error
       (closes: #900984, #934493, #953045)
     - Prevent GC warnings of repeated allocation
       (closes: #746701, #832407, #862382)
     - Fix fail to render over 32767 lines in a table cell (closes: #838952)
     - Updated German translation (closes: #1003936)
Checksums-Sha1:
 d8b3a3e317a5581bf7c4e288c092542d03d65d2c 2080 w3m_0.5.3+git20220429-1.dsc
 3184ecf5ed64b04897793619bdba08e0ea8539ea 1227180 w3m_0.5.3+git20220429.orig.tar.xz
 fca9c3e2956f7e3efcafa4a2eaedf252b83ab0c4 26352 w3m_0.5.3+git20220429-1.debian.tar.xz
 5be925a6a1ff808f92d8eb8bd20b5918e015db0c 9090 w3m_0.5.3+git20220429-1_amd64.buildinfo
Checksums-Sha256:
 9523f9911b64fa053633cd2c567ace7277c2793e601237839dce411331421b0d 2080 w3m_0.5.3+git20220429-1.dsc
 597cda53b95b8cb467d387249d5ae9be31556d42ab5f2abaaa9a42cab5d8b28e 1227180 w3m_0.5.3+git20220429.orig.tar.xz
 9538e1998b8b475ab0a2a4deb30edf90731f4f1213013e57b21b7b97d8a7bcb6 26352 w3m_0.5.3+git20220429-1.debian.tar.xz
 a8e856a0490821f0f42786118e1339b9726b602ddc6a799c6cc8ad0ed023ab50 9090 w3m_0.5.3+git20220429-1_amd64.buildinfo
Files:
 d1e56e38d5d578753a62f23ec2147117 2080 web optional w3m_0.5.3+git20220429-1.dsc
 475a59961a5f0b5fe59b0b7db127db64 1227180 web optional w3m_0.5.3+git20220429.orig.tar.xz
 74d0261b50173eb3eee738f824033777 26352 web optional w3m_0.5.3+git20220429-1.debian.tar.xz
 0b849c8536d3fd3e1f746bc341e49e5f 9090 web optional w3m_0.5.3+git20220429-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEAxxiPZTvHz7xexyE5e+rkAgOpjwFAmJrZgQACgkQ5e+rkAgO
pjwNgw//QEFYY/tsh1l27EsRDjXhKpyuwfMnekKazBlcwBZIi+rXBAdSUMwYw7gN
W0z7q/uqLYoLWOkPNIq2tE+/XSbg7KM+bx7E9kH1yOAlG6zlN6iobLMItaYq2h70
pGqKnY5OQ/nJEwfsJL2o1+c6zzQcqZsU2TJa3Tfe3RxTDDjA5y87KIqnmTo1YF/m
Ek5FIJXwD8Fxu/TSHgPBVB5x7AuldDPRlbxwK3MWksbEdCAYcbhLNlgQ6qykWe0o
+jPcUO24bJfLwgGCWkDbqVqgVKWiCO6SDoyl0Xar7kkGxo4VjzRa1wNIYpTK4bh2
45bF+WHqkK8n2CdWvCprjgxDSb1yM3WHsqmV/qldq6qHNepD9gAqxN6eUV1zvb/U
RnHRYU0BADNlxYbyw1o+r9DPFB+CPpuKBMpVTD9g+HESsBpAmTzPGsJwiRNlJsVP
3FBKstjyyd/2WhAXk2R/XTUzhbZbbam8SFlFDtj/wf5tGrofb9j30szkWZKhySlC
sCqxq5usq5oXtJRhR/gVCZFiRzDpBUST16Twklh/ERYsM8wjiUfseuC0a9WxpEQx
GjfKmA6dQuvJ44pQzhoqlUsyZNRFH+tXds+bP1PeYPXf1X946LKs4AEuvIW/EpbE
0wlIPFoT+oFjTuXc3n71Fgxiy0a+z85WOidDAjX97XgHQELQkmo=
=Oh0M
-----END PGP SIGNATURE-----