Debian Bug report logs - #415132
w3m -dump eats lots of memory and then segfaults

version graph

Package: w3m; Maintainer for w3m is Tatsuya Kinoshita <tats@debian.org>; Source for w3m is src:w3m (PTS, buildd, popcon).

Reported by: Timo Juhani Lindfors <timo.lindfors@iki.fi>

Date: Fri, 16 Mar 2007 11:36:06 UTC

Severity: normal

Tags: unreproducible, upstream, wontfix

Found in versions w3m/0.5.2-2, w3m/0.5.1-5.1

Done: d+deb@vdr.jp

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>:
Bug#415132; Package w3m. (full text, mbox, link).


Acknowledgement sent to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
New Bug report received and forwarded. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Timo Juhani Lindfors <timo.lindfors@iki.fi>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: w3m -dump eats lots of memory and then segfaults
Date: Fri, 16 Mar 2007 13:28:24 +0200
Package: w3m
Version: 0.5.1-5.1
Severity: normal

Steps to reproduce:
1) w3m -dump http://iki.fi/lindi/w3m-htmlgen-1180.html > /dev/null

Expected results:
1) w3m renders web page to /dev/null and exits

Actual results:
1) w3m prints

GC Warning: Out of Memory!  Returning NIL!
Segmentation fault (core dumped)

Please let me know if you are unable to reproduce the problem. I'm
happy to provide more info.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32sauna0
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)



Message sent on to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
Bug#415132. (full text, mbox, link).


Message #8 received at 415132-submitter@bugs.debian.org (full text, mbox, reply):

From: Thomas Dickey <dickey@radix.net>
To: 415132-submitter@bugs.debian.org
Subject: Re: Bug#415132: w3m -dump eats lots of memory and then segfaults
Date: Fri, 16 Mar 2007 09:40:58 -0400
[Message part 1 (text/plain, inline)]
On Fri, Mar 16, 2007 at 12:40:10PM +0100, Timo Juhani Lindfors wrote:
> Package: w3m
> Version: 0.5.1-5.1
> Severity: normal
> 
> Steps to reproduce:
> 1) w3m -dump http://iki.fi/lindi/w3m-htmlgen-1180.html > /dev/null

The page isn't available at this time.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
[Message part 2 (application/pgp-signature, inline)]

Information stored:
Bug#415132; Package w3m. (full text, mbox, link).


Acknowledgement sent to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
Extra info received and filed, but not forwarded. (full text, mbox, link).


Message #13 received at 415132-quiet@bugs.debian.org (full text, mbox, reply):

From: Timo Juhani Lindfors <timo.lindfors@iki.fi>
To: Thomas Dickey <dickey@radix.net>, 415132-quiet@bugs.debian.org
Cc: 415132-submitter@bugs.debian.org
Subject: Re: Bug#415132: w3m -dump eats lots of memory and then segfaults
Date: Fri, 16 Mar 2007 18:31:47 +0200
Hi,

On Fri, Mar 16, 2007 at 09:40:58AM -0400, Thomas Dickey wrote:
> On Fri, Mar 16, 2007 at 12:40:10PM +0100, Timo Juhani Lindfors wrote:
> > Package: w3m
> > Version: 0.5.1-5.1
> > Severity: normal
> > 
> > Steps to reproduce:
> > 1) w3m -dump http://iki.fi/lindi/w3m-htmlgen-1180.html > /dev/null
> 
> The page isn't available at this time.

Aargh. I filed the bug report in the morning and completely forgot
about it when I started to do a total reorganization of the
webservers.. The url should work now but you might still have the old
ip address of lindi.iki.fi in cache.

best regards,
Timo Lindfoirs




Message sent on to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
Bug#415132. (full text, mbox, link).


Bug Marked as found in versions w3m/0.5.2-2. Request was from Timo Juhani Lindfors <timo.lindfors@iki.fi> to control@bugs.debian.org. (Mon, 12 Jul 2010 08:03:08 GMT) (full text, mbox, link).


Severity set to 'important' from 'normal' Request was from d+deb@vdr.jp to control@bugs.debian.org. (Wed, 28 Jul 2010 07:15:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Tatsuya Kinoshita <tats@debian.org>:
Bug#415132; Package w3m. (Thu, 12 Aug 2010 03:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to d+deb@vdr.jp:
Extra info received and forwarded to list. Copy sent to Tatsuya Kinoshita <tats@debian.org>. (Thu, 12 Aug 2010 03:39:02 GMT) (full text, mbox, link).


Message #25 received at 415132@bugs.debian.org (full text, mbox, reply):

From: d+deb@vdr.jp
To: 415132@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: w3m -dump eats lots of memory and then segfaults
Date: Thu, 12 Aug 2010 12:36:20 +0900
[Message part 1 (text/plain, inline)]
tags 415132 + moreinfo
thanks

I cannot reproduce this problem.
I use w3m 0.5.2-9, libgc1c2 1:7.1-3 and 1:6.8-1.2.
I do not get GC Warning and no SEGV.

Upstream maintainer says get GC Warning but no SEGV.

If this problem still exists,
please show dependency libraries version, especially libgc.
-- 
Regards,
	dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
[signature.asc (application/pgp-signature, inline)]

Added tag(s) moreinfo. Request was from d+deb@vdr.jp to control@bugs.debian.org. (Thu, 12 Aug 2010 03:39:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Tatsuya Kinoshita <tats@debian.org>:
Bug#415132; Package w3m. (Mon, 08 Nov 2010 07:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
Extra info received and forwarded to list. Copy sent to Tatsuya Kinoshita <tats@debian.org>. (Mon, 08 Nov 2010 07:21:03 GMT) (full text, mbox, link).


Message #32 received at 415132@bugs.debian.org (full text, mbox, reply):

From: Timo Juhani Lindfors <timo.lindfors@iki.fi>
To: 415132@bugs.debian.org
Cc: d+deb@vdr.jp, 415132-submitter@bugs.debian.org, Thomas Dickey <dickey@radix.net>
Subject: Re: w3m -dump eats lots of memory and then segfaults
Date: Mon, 08 Nov 2010 09:19:05 +0200
[ Sorry for the late reply, I never got your email that asked for more
info. Please remember to use 415132-submitter@bugs.debian.org if you
want me to get the emails.]

Seems that today w3m just gets killed by the out of memory
killer. (And amazingly it also causes so much swapping that the
network ups tools (nut) timeouts which might be a bug in nut):

lindi@pulsar:~$ w3m -dump http://iki.fi/lindi/w3m-htmlgen-1180.html > /dev/null

Broadcast Message from nut@pulsar
        (somewhere) at 9:10 ...

Communications with UPS antcon@localhost lost


Broadcast Message from nut@pulsar
        (somewhere) at 9:10 ...

Communications with UPS receiver@localhost lost

Killed

Broadcast Message from nut@pulsar
        (somewhere) at 9:10 ...

Communications with UPS receiver@localhost established


Broadcast Message from nut@pulsar
        (somewhere) at 9:10 ...

Communications with UPS antcon@localhost established

lindi@pulsar:~$ free
             total       used       free     shared    buffers     cached
Mem:        256460      18096     238364          0        452       7152
-/+ buffers/cache:      10492     245968
Swap:       248996       7056     241940

lindi@pulsar:~$ for i in w3m $(dpkg-query -W -f '${Depends}' w3m | tr ',' '\n' | awk '{print $1}'); do dpkg-query -W $i; done
w3m     0.5.2-2+lenny1
libc6   2.7-18lenny6
libgc1c2        1:6.8-1.1
libgpm2 1.20.4-3.1
libncurses5     5.7+20081213-1
libssl0.9.8     0.9.8g-15+lenny8
zlib1g  1:1.2.3.3.dfsg-12
lindi@pulsar:~$ dmesg|tail -n200|grep -v IN=
[1124596.547610] upsd invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0
[1124596.554992] Pid: 1940, comm: upsd Not tainted 2.6.26-2-686 #1
[1124596.560993]  [<c01591be>] oom_kill_process+0x4f/0x195
[1124596.567567]  [<c01595e8>] out_of_memory+0x14e/0x17f
[1124596.573154]  [<c015b550>] __alloc_pages_internal+0x2b8/0x34e
[1124596.579132]  [<c015b5f2>] __alloc_pages+0x7/0x9
[1124596.583903]  [<c015cf68>] __do_page_cache_readahead+0x86/0x163
[1124596.590076]  [<c015d37f>] do_page_cache_readahead+0x3d/0x4a
[1124596.595949]  [<c0158a5e>] filemap_fault+0x164/0x35a
[1124596.601173]  [<c0131a29>] __wake_up_bit+0x29/0x2e
[1124596.606180]  [<c0161eba>] __do_fault+0x42/0x34d
[1124596.611011]  [<c0174696>] do_sync_read+0xbf/0xfe
[1124596.615888]  [<c01640ab>] handle_mm_fault+0x30c/0x6dd
[1124596.621320]  [<c0115bab>] do_page_fault+0x2a3/0x5c0
[1124596.626496]  [<c0175277>] sys_read+0x3c/0x63
[1124596.631013]  [<c0115908>] do_page_fault+0x0/0x5c0
[1124596.636003]  [<c02ba20a>] error_code+0x72/0x78
[1124596.640735]  [<c02b0000>] quirk_via_cx700_pci_parking_caching+0xb/0xd4
[1124596.647553]  =======================
[1124596.651361] Mem-info:
[1124596.653863] DMA per-cpu:
[1124596.656251] CPU    0: hi:    0, btch:   1 usd:   0
[1124596.660284] Normal per-cpu:
[1124596.663292] CPU    0: hi:   90, btch:  15 usd:  75
[1124596.668083] Active:27448 inactive:33982 dirty:0 writeback:0 unstable:0
[1124596.668094]  free:739 slab:934 mapped:13 pagetables:244 bounce:0
[1124596.681038] DMA free:1068kB min:124kB low:152kB high:184kB active:6128kB inactive:5748kB present:16256kB pages_scanned:18698 all_unreclaimable? yes
[1124596.694486] lowmem_reserve[]: 0 238 238 238
[1124596.700035] Normal free:1888kB min:1908kB low:2384kB high:2860kB active:103664kB inactive:130180kB present:243840kB pages_scanned:3507 all_unreclaimable? no
[1124596.713283] lowmem_reserve[]: 0 0 0 0
[1124596.718311] DMA: 1*4kB 1*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1068kB
[1124596.728808] Normal: 0*4kB 2*8kB 1*16kB 0*32kB 1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1888kB
[1124596.739579] 124 total pagecache pages
[1124596.743446] Swap cache: add 136926, delete 136926, find 25898/31513
[1124596.749939] Free swap  = 0kB
[1124596.753053] Total swap = 248996kB
[1124596.767552] 65536 pages of RAM
[1124596.770850] 0 pages of HIGHMEM
[1124596.774450] 1421 reserved pages
[1124596.777817] 44 pages shared
[1124596.781115] 0 pages swap cached
[1124596.784105] 0 pages dirty
[1124596.786956] 0 pages writeback
[1124596.790322] 13 pages mapped
[1124596.793540] 934 pages slab
[1124596.796462] 244 pages pagetables
[1124596.799922] Out of memory: kill process 32084 (bash) score 79849 or a child
[1124596.806933] Killed process 32092 (w3m)





Message sent on to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
Bug#415132. (Mon, 08 Nov 2010 07:21:07 GMT) (full text, mbox, link).


Severity set to 'normal' from 'important' Request was from d+deb@vdr.jp to control@bugs.debian.org. (Fri, 11 Nov 2011 01:57:03 GMT) (full text, mbox, link).


Added tag(s) unreproducible. Request was from d+deb@vdr.jp to control@bugs.debian.org. (Fri, 11 Nov 2011 01:57:03 GMT) (full text, mbox, link).


Message sent on to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
Bug#415132. (Fri, 11 Nov 2011 01:57:06 GMT) (full text, mbox, link).


Message #42 received at 415132-submitter@bugs.debian.org (full text, mbox, reply):

From: d+deb@vdr.jp
To: control@bugs.debian.org
Cc: 415132-submitter@bugs.debian.org
Subject: Re: w3m -dump eats lots of memory and then segfaults
Date: Fri, 11 Nov 2011 10:53:27 +0900
[Message part 1 (text/plain, inline)]
severity 415132 normal
tags 415132 unreproducible moreinfo
thanks

Sorry for the tooooo late reply.

Upstream maintainer said got GC Warning but no SEGV.
I did not get GC warning and no SEGV.
Here is my unstable environment.

% for i in w3m $(dpkg-query -W -f '${Depends}' w3m | tr ',' '\n' | awk '{print $1}'); do dpkg-query -W $i; done
w3m     0.5.3-4
libc6   2.13-21
libgc1c2        1:7.1-8
libgpm2 1.20.4-4
libncurses5     5.9-4
libssl1.0.0     1.0.0e-2.1
libtinfo5       5.9-4
zlib1g  1:1.2.3.4.dfsg-3
%
-- 
Regards,
	dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Tatsuya Kinoshita <tats@debian.org>:
Bug#415132; Package w3m. (Fri, 11 Nov 2011 10:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
Extra info received and forwarded to list. Copy sent to Tatsuya Kinoshita <tats@debian.org>. (Fri, 11 Nov 2011 10:57:10 GMT) (full text, mbox, link).


Message #47 received at 415132@bugs.debian.org (full text, mbox, reply):

From: Timo Juhani Lindfors <timo.lindfors@iki.fi>
To: d+deb@vdr.jp
Cc: 415132@bugs.debian.org
Subject: Re: Bug#415132: w3m -dump eats lots of memory and then segfaults
Date: Fri, 11 Nov 2011 12:56:04 +0200
d+deb@vdr.jp writes:
> Upstream maintainer said got GC Warning but no SEGV.

Maybe it depends on how much memory you have? I had only 128 MB at that
time I think.

-Timo




Information forwarded to debian-bugs-dist@lists.debian.org, Tatsuya Kinoshita <tats@debian.org>:
Bug#415132; Package w3m. (Mon, 14 Nov 2011 06:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to d+deb@vdr.jp:
Extra info received and forwarded to list. Copy sent to Tatsuya Kinoshita <tats@debian.org>. (Mon, 14 Nov 2011 06:21:04 GMT) (full text, mbox, link).


Message #52 received at 415132@bugs.debian.org (full text, mbox, reply):

From: d+deb@vdr.jp
To: Timo Juhani Lindfors <timo.lindfors@iki.fi>
Cc: 415132@bugs.debian.org
Subject: Re: Bug#415132: w3m -dump eats lots of memory and then segfaults
Date: Mon, 14 Nov 2011 15:18:40 +0900
[Message part 1 (text/plain, inline)]
Hi,

On Fri, Nov 11, 2011 at 12:56:04PM +0200, Timo Juhani Lindfors wrote:
> > Upstream maintainer said got GC Warning but no SEGV.
> 
> Maybe it depends on how much memory you have? I had only 128 MB at that
> time I think.

I have 2G memory.  I think w3m does not considere so low memory,
so I am afraid that it will not fix.  If you need fix absolutely,
I will forward it again.
-- 
Regards,
	dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Tatsuya Kinoshita <tats@debian.org>:
Bug#415132; Package w3m. (Mon, 14 Nov 2011 07:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
Extra info received and forwarded to list. Copy sent to Tatsuya Kinoshita <tats@debian.org>. (Mon, 14 Nov 2011 07:06:03 GMT) (full text, mbox, link).


Message #57 received at 415132@bugs.debian.org (full text, mbox, reply):

From: Timo Juhani Lindfors <timo.lindfors@iki.fi>
To: d+deb@vdr.jp
Cc: 415132@bugs.debian.org
Subject: Re: Bug#415132: w3m -dump eats lots of memory and then segfaults
Date: Mon, 14 Nov 2011 09:04:37 +0200
d+deb@vdr.jp writes:
> I have 2G memory.  I think w3m does not considere so low memory,
> so I am afraid that it will not fix.  If you need fix absolutely,
> I will forward it again.

128 MB is all the memory that my openmoko phone has. But don't worry,
I've already switched to lighter browsers like elinks, midori and
chromium ;-)

-Timo




Removed tag(s) moreinfo. Request was from d+deb@vdr.jp to control@bugs.debian.org. (Mon, 14 Nov 2011 08:00:03 GMT) (full text, mbox, link).


Added tag(s) upstream and wontfix. Request was from d+deb@vdr.jp to control@bugs.debian.org. (Mon, 14 Nov 2011 08:00:04 GMT) (full text, mbox, link).


Reply sent to d+deb@vdr.jp:
You have taken responsibility. (Mon, 14 Nov 2011 08:00:06 GMT) (full text, mbox, link).


Notification sent to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
Bug acknowledged by developer. (Mon, 14 Nov 2011 08:00:07 GMT) (full text, mbox, link).


Message #66 received at 415132-done@bugs.debian.org (full text, mbox, reply):

From: d+deb@vdr.jp
To: Timo Juhani Lindfors <timo.lindfors@iki.fi>
Cc: 415132-done@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#415132: w3m -dump eats lots of memory and then segfaults
Date: Mon, 14 Nov 2011 16:56:58 +0900
[Message part 1 (text/plain, inline)]
tags 415132 - moreinfo
tags 415132 + upstream wontfix
thanks

On Mon, Nov 14, 2011 at 09:04:37AM +0200, Timo Juhani Lindfors wrote:
> > I have 2G memory.  I think w3m does not considere so low memory,
> > so I am afraid that it will not fix.  If you need fix absolutely,
> > I will forward it again.
> 
> 128 MB is all the memory that my openmoko phone has. But don't worry,
> I've already switched to lighter browsers like elinks, midori and
> chromium ;-)

OK, I mark upstream wontfix and close it at present.
But I will forward it again for hope to fix in future.
I am apologize to have troubled you so much.
-- 
Regards,
	dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 13 Dec 2011 07:34:41 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jun 5 03:07:49 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.