lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Re: "internal error" after 2.8.6dev.15->2.8.6dev.17 upgra


From: OpenMacNews
Subject: Re: [Lynx-dev] Re: "internal error" after 2.8.6dev.15->2.8.6dev.17 upgrade on OSX
Date: Sun, 05 Mar 2006 16:38:45 -0800
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.3.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hi thomas,

w/ 'out of the box' lynx2.8.6dev.17.tar.gz, i reproducibly get the:

        "internal error while caching 1st tagspec of 0 lexeme"

error on execute.

> It could also be related to the compiler optimization (though it's not been
> that frequent that I find one of _those_ anymore).  Building with -O or -g
> rather than -O2 might change the behavior.

i tried various CFLAG debug (-g on/off) & optimization level (-O, -O1,
- -O2, -O3) combos ... alas, no change.

after examining:

        diff -u LYPrettySrc.c_ORIG LYPrettySrc.c_MOD

and noting 'nothing earthshattering', i started cycling through
step-by-step changes ... and found that simply adding/changing *one*
item, i.e.:

===========================================================
${EDITOR} src/LYPrettySrc.c

@@ -187,7 +187,10 @@
             HT_tagspec *head = NULL, *tail = NULL;
             HT_tagspec **slot = (isstart ? lexeme_start : lexeme_end) + lexeme;
        
             while (!stop) {
+++             CTRACE((tfp, "...state %d\n", state));
                switch (state) {
===========================================================

is sufficient for the error to vanish ...  i.e., lynx operates as normal.

!?

> If I had this sort of symptom on Linux, I'd take a quick look with
valgrind,
> just to see if it could report any problems with references to
uninitialized
> memory, etc.  I don't know what tools you have available on OS X, though.

as for 'valgrind' ... have to figure out what *it* does to be able to
figure out what you specifically want done on OSX.  i have a fairly
complete set of dev tools ... just a matter of getting a handle on what
is happening here :-/

cheers,


richard



- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Darwin)

iEYEAREDAAYFAkQLhJUACgkQlffdvTZxCMaJUACfeRbNt542kA3JK39uWmh6tA9t
640An0EPJppMbLAlybdDb+DGQXSPq2iv
=/fqn
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]