bug-texinfo
[Top][All Lists]
Advanced

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

Segmentation Fault on sequenced input.


From: Evan Carroll
Subject: Segmentation Fault on sequenced input.
Date: Thu, 05 May 2005 01:58:04 -0500
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

To whomever it may concern.

The symptoms for the bug below were announced in the #debian IRC channel on freenode.net by a user with the alias of ‘bluebell,’ this has been tested and confirmed by me MAY 4 05, with info v4.7.

When you open any node with a 'Next Pointer' and move more than one node away from the top of the document, and then issue the '[' hotkey to move back, up in the document info segfaults. The strace output for this sequence is attached as 'strace.ouput'. Excerpt from 'strace.output' is as follows:

write(1, "\33[25;1HMoving Prev in this windo"..., 34) = 34
stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, ...}) = 0 stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, ...}) = 0
write(1, "\33[25;8Hto `Prev\'s last menu item"..., 33) = 33
stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, ...}) = 0 stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 3549 detached

An example of this can be seen by viewing the info, info page; and entering in the sequence 'n', 'n', ']'. You can additionally add one more 'n' to have a sequence of three, etc.

Evan Carroll
address@hidden
www.EvanCarroll.com
Process 3549 attached - interrupt to quit
read(0, "n", 1)                         = 1
write(1, "\33[25;1H\33[K", 10)          = 10
stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, 
...}) = 0
stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, 
...}) = 0
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[1;25HGetting Started,  Next: E"..., 63) = 63
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[2;1Hop", 8)               = 8
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[3;1H\33[K", 9)            = 9
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[4;1H1 Getting Started\33[K", 26) = 26
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[5;1H*****************", 23) = 23
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[6;1H\33[K", 9)            = 9
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[7;1HThis first part of the Inf"..., 78) = 78
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[8;1Hof Info.  The second part "..., 77) = 77
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[9;1Hcommands, and how to write"..., 73) = 73
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[10;1HThe third part briefly ex"..., 78) = 78
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[11;1Hfiles.\33[K", 16)    = 16
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[12;1H\33[K", 10)          = 10
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[13;1H* Menu:", 14)        = 14
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[14;1H\33[K", 10)          = 10
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[15;1H* Help-Small-Screen::   S"..., 65) = 65
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[16;1H* Help::                H"..., 46) = 46
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[17;1H* Help-P::              R"..., 61) = 61
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[18;3HHelp-^L::             The"..., 63) = 63
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[19;1H* Help-Inv::            I"..., 60) = 60
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[20;3HHelp-M::              Men"..., 37) = 37
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[21;3HHelp-Xref::           Fol"..., 58) = 58
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[22;3HHelp-Int::            Som"..., 63) = 63
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[23;3HHelp-Q::              Qui"..., 45) = 45
write(1, "\33[24;1H\33[7m--zz-Info: (info.info"..., 95) = 95
write(1, "\33[1;1H", 6)                 = 6
ioctl(0, FIONREAD, [0])                 = 0
read(0, "n", 1)                         = 1
stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, 
...}) = 0
stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, 
...}) = 0
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[1;25HExpert Info,  Next: Creat"..., 63) = 63
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[2;1Hng Started,  Up: Top", 26) = 26
ioctl(0, FIONREAD, [0])                 = 0
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[4;1H2 Info for Experts", 24) = 24
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[5;18H*", 8)               = 8
ioctl(0, FIONREAD, [0])                 = 0
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[7;6Hchapter describes various "..., 71) = 71
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[8;1Husing a stand-alone Info r"..., 77) = 77
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[9;1Hto it, which are documente"..., 75) = 75
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[10;1H(info-stnd)Top.)\33[K", 26) = 26
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[11;1H\33[K", 10)          = 10
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[12;1H   This chapter also expl"..., 76) = 76
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[13;1HTexinfo file.  (However, "..., 72) = 72
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[14;1Hbetter, since you can use"..., 77) = 77
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[15;1Hformats, such as HTML and"..., 72) = 72
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[16;1Hfiles.)  *Note Overview o"..., 56) = 56
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[17;1H\33[K", 10)          = 10
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[18;3HMenu:\33[K", 15)     = 15
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[19;1H\33[K", 10)          = 10
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[20;3HAdvanced::             Ad"..., 70) = 70
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[21;3HInfo Search::          Ho"..., 81) = 81
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[22;3HAdd::                  De"..., 78) = 78
ioctl(0, FIONREAD, [0])                 = 0
write(1, "\33[23;1H                         "..., 66) = 66
write(1, "\33[24;1H\33[7m--zz-Info: (info.info"..., 95) = 95
write(1, "\33[1;1H", 6)                 = 6
ioctl(0, FIONREAD, [0])                 = 0
read(0, "[", 1)                         = 1
write(1, "\33[25;1HMoving Prev in this windo"..., 34) = 34
stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, 
...}) = 0
stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, 
...}) = 0
write(1, "\33[25;8Hto `Prev\'s last menu item"..., 33) = 33
stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, 
...}) = 0
stat64("/usr/share/info/info.info.gz", {st_mode=S_IFREG|0644, st_size=20606, 
...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 3549 detached

Attachment: business.vcf
Description: Vcard


reply via email to

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