Summary: | SIGSEGV in tui_async_resize_screen -> rl_resize_terminal on SIGWINCH with non-tty stdin/stdout | ||
---|---|---|---|
Product: | gdb | Reporter: | Michael Pratt <mpratt> |
Component: | gdb | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anudeephomes247, ashish.lumar2902, lsix, mark, tromey, tulzakasi |
Priority: | P2 | ||
Version: | HEAD | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | 2020-08-09 00:00:00 |
Description
Michael Pratt
2020-05-27 21:11:10 UTC
FWIW this seems to work ok with git gdb. There have been many TUI changes since 8.3, including in the readline initialization area. Could you try git gdb and see if it works? I'm still seeing the same behavior at 3eb651743e06fb360687a26be87bc6b710fc7066 ("Implement missing powerpc mtspr and mfspr extended insns"). $ gdb/gdb -nx -batch -ex 'run' --args sleep 60 </dev/null 2>&1 | cat Python Exception <type 'exceptions.ImportError'> No module named gdb: gdb/gdb: warning: Could not load the Python gdb module from `/usr/local/share/gdb/python'. Limited Python support is available from the _gdb module. Suggest passing --data-directory=/path/to/gdb/data-directory. zsh: abort gdb/gdb -nx -batch -ex 'run' --args sleep 60 < /dev/null 2>&1 | zsh: done cat $ pkill -WINCH gdb Same crash location: (top-gdb) bt #0 __GI___fileno (fp=0x0) at fileno.c:35 #1 0x000055d06e689d40 in rl_resize_terminal () at terminal.c:368 #2 0x000055d06e634c0b in tui_async_resize_screen (arg=<optimized out>) at tui/tui-win.c:541 #3 0x000055d06e358ee2 in invoke_async_signal_handlers () at async-event.c:206 #4 0x000055d06e751e4e in gdb_do_one_event () at event-loop.cc:172 #5 0x000055d06e6126cc in wait_sync_command_done () at top.c:526 #6 0x000055d06e612e32 in maybe_wait_sync_command_done (was_sync=0) at top.c:543 #7 execute_command (p=<optimized out>, p@entry=<error reading variable: value has been optimized out>, from_tty=<error reading variable: value has been optimized out>) at top.c:670 #8 0x000055d06e4f3b50 in catch_command_errors (command=<optimized out>, arg=<optimized out>, from_tty=<optimized out>) at main.c:457 #9 0x000055d06e4f5119 in captured_main_1 (context=<optimized out>) at main.c:1218 #10 0x000055d06e4f59bb in captured_main (data=<optimized out>) at main.c:1268 #11 gdb_main (args=<optimized out>) at main.c:1268 #12 0x000055d06e31dd9c in main (argc=<optimized out>, argv=<optimized out>) at gdb.c:32 https://www.homes247.in https://www.homes247.in/property/bangalore/bagaluru/prestige-finsbury-park-594 https://www.homes247.in/property/bangalore/banashankari-6th-stage/prestige-primrose-hills-675 https://www.homes247.in/property/bangalore/begur-road/assetz-canvas-and-cove-637 https://www.homes247.in/property/bangalore/sarjapur-road/bren-champions-square-7 https://www.homes247.in/property/bangalore/mysore-road/brigade-panorama-74 https://www.homes247.in/property/bangalore/whitefield/brigade-lakefront-9 https://www.homes247.in/property/bangalore/hebbal/brigade-caladium-427 https://www.homes247.in/property/bangalore/hoodi/godrej-air-8 https://www.homes247.in/property/bangalore/hoodi/godrej-air-nxt-483 https://www.homes247.in/property/bangalore/sarjapur-road/godrej-24-516 https://www.homes247.in/bangalore/builder/ahad-builders-13 https://www.homes247.in/bangalore/builder/frontier-shelters-80 https://www.homes247.in/bangalore/builder/puravankara-limited-29 https://www.homes247.in/bangalore/builder/sobha-limited-2 https://www.homes247.in/bangalore/builder/salarpuria-sattva-group-36 https://www.homes247.in/bangalore/builder/mahaveer-group-28 https://www.homes247.in/bangalore/builder/embassy-group-81 https://www.homes247.in/bangalore/builder/brigade-group-9 https://www.homes247.in/bangalore/builder/godrej-properties-21 https://www.homes247.in/bangalore/builder/address-maker-65 Godrej Ananda is the most best property of North of Bangalore. https://www.godrej-ananda.co/ https://www.godrej-ananda.co/price/ Find Words In A Sentence. Learn How To Use Specific Word In A Sentence Using Sentence Maker. Make Sentence From Words Online. Find sentence examples and see how specific words like can be used in sentences. https://inasentence.me/instantaneously-in-a-sentence Fixed in commit 72994b6028360eccb5d25b39d2e18b386d091426. |