[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
info: infinite(?) loop with LC_ALL=C
From: |
Hilmar Preuße |
Subject: |
info: infinite(?) loop with LC_ALL=C |
Date: |
Mon, 14 Nov 2022 23:13:52 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
Hi,
another issue for TeXinfo 7.0. This is texinfo 7.0 +
fc756d9128170d92cfacb367e2622c991b1ea5c7
b13b687f6358af61b9fe3a04f50f7824ba38ccef
40ec4f80ba9875cb801390bf7a2fed4371c6c4dc
I'm able to reproduce on Debian unstable, texinfo 7.0 is in experimental.
Hilmar
--- original report ---
This seems to hang forever:
$ LC_ALL=C info python3.10 -n 'Other Language Changes<3>'
Backtrace:
#0 0xf7c23be5 in iconv (cd=0x578d17a0, inbuf=0x56661668 <inptr>,
inbytesleft=0xff9565b8, outbuf=0xff956548, outbytesleft=0xff956544) at
./iconv/iconv.c:32
#1 0x56644a19 in text_buffer_iconv (buf=0x56661614 <output_buf>,
iconv_state=0x578d17a0, inbuf=0x56661668 <inptr>,
inbytesleft=0xff9565b8)at ./info/util.c:357
#2 0x56634757 in copy_converting (n=373) at ./info/scan.c:702
#3 copy_input_to_output (n=n@entry=373) at ./info/scan.c:870
#4 0x566358eb in copy_input_to_output (n=373) at ./info/scan.c:1554
#5 scan_node_contents (node=0x578d16b0, fb=0x5726cc20,
tag_ptr=0xf7ee512c) at ./info/scan.c:1554
#6 0x56633e01 in info_node_of_tag_ext (fb=fb@entry=0x5726cc20,
tag_ptr=<optimized out>, fast=fast@entry=0) at ./info/nodes.c:1289
#7 0x56634137 in info_node_of_tag (tag_ptr=<optimized out>,
fb=0x5726cc20) at ./info/nodes.c:1329
#8 0x566342c1 in info_get_node_with_defaults (filename_in=0x5726c7b0
"/usr/share/info/python3.10.info.gz", nodename_in=0x578cc420 "Other
Language Changes<3>", defaults=0x0) at ./info/nodes.c:996
#9 0x5663c836 in info_select_reference (window=0x578cd590,
entry=0x578cc400) at ./info/session.c:2066
#10 0x5664163e in begin_multiple_window_info_session
(error=<optimizedout>, references=<optimized out>) at ./info/session.c:126
#11 info_session (ref_list=0x5728f290, user_filename=0x0, error=0x0)
at ./info/session.c:214
#12 0x56624c91 in main (argc=<optimized out>, argv=<optimized out>)
at ./info/info.c:1082
Worse, when I change the terminal size while it's running, it segfaults.
Backtrace:
#0 0x5661ca96 in window_make_modeline
(window=window@entry=0x582a0b30) at ./info/window.c:904
#1 0x5661d16f in window_make_modeline (window=0x582a0b30) at
./info/window.c:862
#2 0x565ff1a9 in display_update_one_window (win=0x582a0b30) at
./info/display.c:678
#3 0x565ff2cb in display_update_display () at ./info/display.c:86
#4 0x566188f1 in redisplay_after_signal () at ./info/signals.c:138
#5 0x56618b25 in reset_info_window_sizes () at ./info/signals.c:149
#6 info_signal_proc (sig=28) at ./info/signals.c:289
#7 <signal handler called>
#8 __gconv (cd=0x582a50c0, inbuf=0x56638668 <inptr>,
inbufend=0xf5c8676e "*note reversed(): 242. (Contributed by Rémi
Lapeyre in\n bpo-33462(6).)\n\n * The syntax allowed for keyword
names in function calls was further\n restricted. In particular,
‘f((keyword)=ar"..., outbuf=0xfffa4b28, outbufend=0x582b024d"",
irreversible=0xfffa4ac8) at ./iconv/gconv.c:86
#9 0xf7c23c5e in iconv (cd=0x582a50c0, inbuf=0x56638668 <inptr>,
inbytesleft=0xfffa4b98, outbuf=0xfffa4b28, outbytesleft=0xfffa4b24) at
./iconv/iconv.c:51
#10 0x5661ba19 in text_buffer_iconv (buf=0x56638614 <output_buf>,
iconv_state=0x582a50c0, inbuf=0x56638668 <inptr>,
inbytesleft=0xfffa4b98)at ./info/util.c:357
#11 0x5660b757 in copy_converting (n=373) at ./info/scan.c:702
#12 copy_input_to_output (n=n@entry=373) at ./info/scan.c:870
#13 0x5660c8eb in copy_input_to_output (n=373) at ./info/scan.c:1554
#14 scan_node_contents (node=0x582a4fe0, fb=0x57c634a0,
tag_ptr=0xf7bbf12c) at ./info/scan.c:1554
#15 0x5660ae01 in info_node_of_tag_ext (fb=fb@entry=0x57c634a0,
tag_ptr=<optimized out>, fast=fast@entry=0) at ./info/nodes.c:1289
#16 0x5660b137 in info_node_of_tag (tag_ptr=<optimized out>,
fb=0x57c634a0) at ./info/nodes.c:1329
#17 0x5660b2c1 in info_get_node_with_defaults (filename_in=0x57c4fff0
"/usr/share/info/python3.10.info.gz", nodename_in=0x582a05c0 "Other
Language Changes<3>", defaults=0x0) at ./info/nodes.c:996
#18 0x56613836 in info_select_reference (window=0x582a0b30,
entry=0x582a05a0) at ./info/session.c:2066
#19 0x5661863e in begin_multiple_window_info_session
(error=<optimizedout>, references=<optimized out>) at ./info/session.c:126
#20 info_session (ref_list=0x57c63390, user_filename=0x0, error=0x0)
at ./info/session.c:214
#21 0x565fbc91 in main (argc=<optimized out>, argv=<optimized out>)
at ./info/info.c:1082
-- System Information:
Architecture: i386
Versions of packages info depends on:
ii libc6 2.36-5
ii libtinfo6 6.3+20220423-2
ii install-info 6.8-6+b1
--
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- info: infinite(?) loop with LC_ALL=C,
Hilmar Preuße <=