bug-texinfo
[Top][All Lists]
Advanced

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

Re: Bug reports for texinfo (and 2 wishes)


From: Norbert Preining
Subject: Re: Bug reports for texinfo (and 2 wishes)
Date: Tue, 7 Feb 2006 12:09:07 +0100
User-agent: Mutt/1.3.28i

On Die, 07 Feb 2006, preining wrote:
> On Mon, 06 Feb 2006, Karl Berry wrote:
> >     $ info/ginfo ./notexistingfile
> > 
> >     and I landed at the manpage of top
> > 
> >     What is wrong here???
> > 
> > Sorry, I can't explain it.  I do get the "No menu item" error, with
> > precisely your invocation.  Comes from line 2551 in session.c, I guess
> > Maybe it's related to the dir file contents somehow (although I can't
> > quite imagine)?  I'll attach mine.
> 
> > Failing that, maybe run under the debugger and see what happens;
> > actually, I guess we'd have to do it simultaneously and see where they
> > diverge.  Yikes.

Ok, I did the following with info from cvs:

$ ./info-cvs --dribble=save.drib ./kojaojfdokaf
q

now the save.drib contains only the q character, as we are interested
only in the start up.

Then I did:
$ gdb ./info-cvs
(gdb) set args --restore=save.drib ./asdkiafdasdf
(gdb) break info_follow_menus
Breakpoint 2 at 0x805d00f: file session.c, line 2472.
(gdb) run
Starting program:
/src/TeX/debian/pkg-texlive/texinfo/bug-examples/info-cvs --restore=save.drib 
./asdkiafdasdf

Breakpoint 2, info_follow_menus (initial_node=0x806f470, menus=0xbfabe55c,
    errstr=0xbfabe4a8, errarg1=0xbfabe4a4, errarg2=0xbfabe4a0)
    at session.c:2472
2472      NODE *node = NULL;

then I step through the function and see, that it goes all the way down
to 
        node = make_manpage_node (first_arg);
in line 2542, after this it goes to "goto maybe_got_node" and skips the
error message you mentioned.

Does your info also go to make_manpage_node and returns a if (node)
true?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
MILWAUKEE (n.)
The melodious whistling, chanting and humming tone of the milwaukee
can be heard whenever a public lavatory is entered. It is the way the
occupants of the cubicles have of telling you there's no lock on their
door and you can't come in.
                        --- Douglas Adams, The Meaning of Liff




reply via email to

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