Bug#1013283: info: "info" crashes with "aborted" message, in any attempt to run it.
Hi Hilmar,
----- Em 21 de Jun de 2022, em 11:40, Hilmar Preuße hille42@web.de escreveu:
> Am 21.06.2022 um 15:19 teilte hudson@hudsonlacerda.com mit:
>
> Hi,
>
>> It is a typo in pt_BR:
>>
>> bug: no command <get-inffo-help-node>
>>
> Sorry, I don't understand.
"bug: no command <get-inffo-help-node>" is the message the new[1] info package generates.
[1] ( https://freeshell.de/~hille42/1013283/ )
It is consistent with previous gdb backtracing:
Reading symbols from info...
[New LWP 75227]
Core was generated by `info info'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
49 ../sysdeps/unix/sysv/linux/raise.c: Arquivo ou diretório inexistente.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1 0x00007fbc02d12546 in __GI_abort () at abort.c:79
#2 0x000055eefe344862 in replace_in_documentation (
string=0x7fbc02f27174 "Bem vindo à versão Info %s. Digite \\[get-help-window] p/ ajuda,\\[get-inffo-help-node] p/ tut$
#3 0x000055eefe34dad7 in display_startup_message () at ./info/session.c:187
#4 0x000055eefe34db23 in info_session (ref_list=0x55ef000105e0, user_filename=0x0, error=0x0) at ./info/session.c:208
#5 0x000055eefe342eee in main (argc=0, argv=0x7fffdaefa2b8) at ./info/info.c:1079
(gdb)
>
> 1. Does fixing the typo solved the issue?
I do not know which file the typo cames from,
but I think fixing the translation typo would fix the issue — only until the next typo.
> 2. Did you update the info package to solve the issue?
Yes. Now it just displays for a short time this message:
"bug: no command <get-inffo-help-node>"
> 3. Were both actions needed?
I did not test a fixed translation, but I presume yes, both are needed.
>
> I've seen the typo but I don't see a relationship to the crash. I
> understand, that the typo could be solved, but a typo in the translation
> file should not lead to a program crash.
Maybe it was explicitly coded to abort() [2] ?
if (!command)
- abort ();
[2] ( https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=04f7ed5ce647050f28106b589217fb2509626d38 )
Best regards,
Hudson
>
> Hilmar
> --
> sigfault
Reply to: