[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ncurses 20170617 causes SIGTRAP on Windows 10 / MinGW-w64
From: |
Allen Hewes |
Subject: |
ncurses 20170617 causes SIGTRAP on Windows 10 / MinGW-w64 |
Date: |
Sun, 18 Jun 2017 16:41:33 +0000 |
Hi Thomas,
Thanks for the new snapshot 20170617! It does fix the empty data
structure member but now it looks like it's trying to free some memory
that isn't allocated:
#5 0x00000000007672de in really_free_termtype (ptr=0x132698f0,
freeStrings=<optimized out>)
at ../../../../src/ncurses-6.0-20170617/ncurses/tinfo/free_ttype.c:53
No locals.
#6 0x00000000007673a6 in _nc_free_termtype2 (ptr=0xbc46ff085ffd0000,
address@hidden)
at ../../../../src/ncurses-6.0-20170617/ncurses/tinfo/free_ttype.c:81
Here's the full backtrace:
(gdb) run
Starting program: C:\mingw64\bin\gdbt.exe --tui
[New Thread 19256.0x3370]
[New Thread 19256.0x53c0]
[New Thread 19256.0x4578]
[New Thread 19256.0x2b68]
warning: Critical error detected c0000374
Thread 1 received signal SIGTRAP, Trace/breakpoint trap.
0x00007ff9f0b18243 in ntdll!RtlpNtMakeTemporaryKey () from
C:\WINDOWS\SYSTEM32\ntdll.dll
(gdb) bt full
#0 0x00007ff9f0b18243 in ntdll!RtlpNtMakeTemporaryKey () from
C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#1 0x00007ff9f0b18bda in ntdll!RtlpNtMakeTemporaryKey () from
C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#2 0x00007ff9f0ac5b9a in ntdll!RtlRaiseStatus () from
C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#3 0x00007ff9f0a5c8b3 in ntdll!RtlFreeHeap () from
C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#4 0x00007ff9edfa9dac in msvcrt!free () from C:\WINDOWS\System32\msvcrt.dll
No symbol table info available.
#5 0x00000000007672de in really_free_termtype (ptr=0x132698f0,
freeStrings=<optimized out>)
at ../../../../src/ncurses-6.0-20170617/ncurses/tinfo/free_ttype.c:53
No locals.
#6 0x00000000007673a6 in _nc_free_termtype2 (ptr=0xbc46ff085ffd0000,
address@hidden)
at ../../../../src/ncurses-6.0-20170617/ncurses/tinfo/free_ttype.c:81
No locals.
#7 0x0000000000758691 in drv_CanHandle (TCB=0x13269840, tname=0xa116d4
<_rl_possible_control_prefixes+244> "dumb",
errret=0x130efb6c) at
../../../../src/ncurses-6.0-20170617/ncurses/tinfo/tinfo_driver.c:182
result = false
status = -1
termp = 0x13269840
sp = 0x0
#8 0x000000000075295b in _nc_get_driver (address@hidden,
address@hidden <_rl_possible_control_prefixes+244> "dumb",
address@hidden)
at ../../../../src/ncurses-6.0-20170617/ncurses/base/lib_driver.c:67
code = -1
i = 1
res = 0x8cffe0 <_nc_TINFO_DRIVER>
use = 0x0
#9 0x000000000074aee1 in _nc_setupterm_ex (address@hidden,
tname=<optimized out>,
address@hidden <_rl_possible_control_prefixes+244> "dumb",
address@hidden, address@hidden,
address@hidden) at
../../../../src/ncurses-6.0-20170617/ncurses/tinfo/lib_setup.c:719
my_tcb = 0x13269840
TCB = 0x13269840
termp = 0x13269840
code = -1
#10 0x000000000074b2ee in tgetent_sp (sp=0x0,
bufp=0x13268820
"\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º"...,
address@hidden <_rl_possible_control_prefixes+244> "dumb")
at ../../../../src/ncurses-6.0-20170617/ncurses/tinfo/lib_termcap.c:103
rc = -1
n = <optimized out>
found_cache = false
termp = 0x0
#11 0x000000000074bd8b in tgetent (bufp=<optimized out>,
address@hidden <_rl_possible_control_prefixes+244> "dumb")
at ../../../../src/ncurses-6.0-20170617/ncurses/tinfo/lib_termcap.c:207
No locals.
#12 0x00000000006660e0 in _rl_init_terminal_io
(address@hidden) at
../../../src/readline-7.0/terminal.c:488
term = 0xa116d4 <_rl_possible_control_prefixes+244> "dumb"
buffer = 0x13268000
"\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º\rd-º"...
tty = 0
tgetent_ret = <optimized out>
#13 0x000000000066649d in rl_reset_terminal
(address@hidden) at
../../../src/readline-7.0/terminal.c:631
No locals.
#14 0x0000000000612574 in init_page_info () at
../../../../src/gdb-7.12.1/gdb/utils.c:1717
rows = 0
cols = 0
#15 0x0000000000611644 in gdb_init (argv0=<optimized out>) at
../../../../src/gdb-7.12.1/gdb/top.c:2197
No locals.
#16 0x0000000000546bea in captured_main (address@hidden) at
../../../../src/gdb-7.12.1/gdb/main.c:865
context = 0x130efe20
argc = 2
argv = 0x13264730
quiet = 0
set_args = 0
inhibit_home_gdbinit = 0
symarg = 0x0
execarg = 0x0
pidarg = 0x0
corearg = 0x0
pid_or_core_arg = 0x0
cdarg = 0x0
ttyarg = 0x0
---Type <return> to continue, or q <return> to quit---
print_help = 0
print_version = 0
print_configuration = 0
cmdarg_vec = 0x0
cmdarg_p = <optimized out>
dirarg = 0x13264ee0
dirsize = 1
ndir = 0
system_gdbinit = 0x13263e50 "ÿ\a"
home_gdbinit = 0x4e211f <save_cleanups()+16> "HƒÄ(AHƒì(H\215\r!å="
local_gdbinit = 0x13263e50 "ÿ\a"
i = <optimized out>
save_auto_load = 321275696
objfile = <optimized out>
pre_stat_chain = 0x988660 <sentinel_cleanup>
#17 0x00000000005473b7 in gdb_main (address@hidden) at
../../../../src/gdb-7.12.1/gdb/main.c:1159
No locals.
#18 0x00000000004015e8 in main (argc=2, argv=0x13264730) at
../../../../src/gdb-7.12.1/gdb/gdb.c:32
args = {argc = 2, argv = 0x13264730, interpreter_p = 0x933030
"console"}
- ncurses 20170617 causes SIGTRAP on Windows 10 / MinGW-w64,
Allen Hewes <=