[w3m-dev-en 00281] gcc -O2 in Linux

From: Ambrose Li (acli@ada.dhs.org)
Date: Mon Nov 13 2000 - 12:10:46 CST

  • Next message: Brandon D. Valentine: "[w3m-dev-en 00282] Re: gcc -O2 in Linux"

    Hi,

    I have recently noticed a very strange thing. On my two Linux boxes
    (egcs 2.90.29 on i486 and gcc 2.8.2 on my broken armv4l box), w3m
    will segfault when certain web pages are viewed if it is compiled
    with -O2, but will not segfault if it is compiled with just -O.
    I do not see this behaviour on Solaris (gcc 2.95.2 on SunOS 5.7,
    Sparc hardware).

    Since I don't have access to any other boxes any more, and my second
    box is broken. I would like to know if other people could verify if
    this is a problem: if it is it would mean either a bug in gcc trigger
    by something done by w3m, or w3m has a bug trigger by gcc -O2.

    A page that will trigger segfault with my -O2-compiled w3m can be
    found as follows:

    - go to http://www.bild.de
    - follow the "News" link at the bottom
    - follow the "Die Flammenh{\"o}lle" link ({\"o} means o with an umlaut;
      it might not appear in w3m depending on the language setting)

    On my boxes, a w3m compiled with gcc -O2 will segfault soon after the
    "Die Flammenh{\"o}lle" link is followed.

    Please send your replies to me privately; I'll post a summary on the
    list if I get replies ^_^

    Regards,

    -- 
    óÕ ¼ß±É  <acli@ada.dhs.org>  http://trends.ca/~acli/
         ALARMED? RAISE THE ALARM!  http://www.adbusters.org/contest/
                        "A good style should show no sign of effort;
    what is written should seem a happy accident." -- Somerset Maugham.
    



    This archive was generated by hypermail 2b29 : Mon Nov 13 2000 - 12:28:04 CST