bug-texinfo
[Top][All Lists]
Advanced

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

makeinfo --xml segfaults with empty @top


From: Patrice Dumas
Subject: makeinfo --xml segfaults with empty @top
Date: Fri, 12 Mar 2004 17:42:00 +0100
User-agent: Mutt/1.4.1i

Hi,

>From cvs.
makeinfo --xml segfaults with this simple program

@node Top
@top
 
node
 
@bye

Seems that the @top without argument is faulty (without @top
or with arg there is no segfault).
Here is the bt in gdb:


(gdb) set args --xml simple.texi
(gdb) run
Starting program: /usr/local/bin/makeinfo --xml simple.texi
 
Program received signal SIGSEGV, Segmentation fault.
0x00e83513 in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0  0x00e83513 in strlen () from /lib/tls/libc.so.6
#1  0x08068fc0 in xstrdup (string=0x0) at xstrdup.c:32
#2  0x08063098 in sectioning_underscore (cmd=0x806f43f "unnumbered")
    at sectioning.c:355
#3  0x08063a29 in cm_unnumbered () at sectioning.c:718
#4  0x080638f1 in cm_top () at sectioning.c:645
#5  0x0805b1bb in read_command () at makeinfo.c:2036
#6  0x0805b698 in reader_loop () at makeinfo.c:2201
#7  0x0805a6ae in convert_from_loaded_file (name=0xbff2a9bd "simple.texi")
    at makeinfo.c:1650
#8  0x08059deb in convert_from_file (name=0xbff2a9bd "simple.texi")
    at makeinfo.c:1357
#9  0x08059145 in main (argc=3, argv=0xbfe83d64) at makeinfo.c:822

Pat

Attachment: simple.texi
Description: TeXInfo document


reply via email to

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