[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-readline] sigsegv in terminal.c function get_term_capabilities()
From: |
Dennis Clarke |
Subject: |
[Bug-readline] sigsegv in terminal.c function get_term_capabilities() |
Date: |
Thu, 7 Feb 2019 03:31:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Thunderbird/65.0 |
This has been tricky to isolate but after building and trying bash 5.0.2
and then bash 4.4.23 I get the exact same sigsegv in the same place with
both :
address@hidden dbx
/usr/local/build/bash-4.4.18-023_SunOS5.10_sparc64vii+.001/bash
Reading bash
Reading ld.so.1
Reading libreadline.so.8
Reading libhistory.so.8
Reading libcurses.so.1
Reading libintl.so.8.1.5
Reading libiconv.so.2.6.0
Reading libc.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libdl.so.1
(dbx) run
Running: bash
(process id 19243)
Reading libc_psr.so.1
signal SEGV (no mapping at the fault address) in strcpy at
0xffffffff7e13c2e8
0xffffffff7e13c2e8: strcpy+0x00e8: ldx [%o2 + %o3], %o1
Current function is get_term_capabilities
430 *(tc_strings[i].tc_value) = tgetstr ((char
*)tc_strings[i].tc_var, bp);
(dbx)
Well then the whole terminal session is dead and I can not do much of
anything there. Setting a breakpoint at 429 doesn't help as, again,
the terminal is now a dead brick.
So curious what steps to take here?
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
- [Bug-readline] sigsegv in terminal.c function get_term_capabilities(),
Dennis Clarke <=