snare / voltron

A hacky debugger UI for hackers
MIT License
6.16k stars 414 forks source link

Voltron views do not appear at all, no blank screen, just a disappearing cursor. #265

Open bitshiftnetau opened 4 years ago

bitshiftnetau commented 4 years ago

Executing 'voltron view disasm/stack/bp' doesn't even render a blank screen, just another line in the terminal with no blinking cursor and then Ctrl+c out of that screws the whole terminal and entering any command doesn't show any text or cursor.

Distro: Arch Linux kernel: 4.19.91-1-lts python: Python 3.8.0 arm toolchain: 7.2_2017q4 (using arm-none-eabi-gdb-py)

localhost:5555 connects but shows no view in the main window (Is is supposed to?)

Tmuxp: gscreenshot_2019-12-24-123828

Running voltron directly from bash: gscreenshot_2019-12-24-123752

Tests: gscreenshot_2019-12-24-123728

Voltron loaded in GDB gscreenshot_2019-12-24-123502

bitshiftnetau commented 4 years ago

It seems that arm toolchain 7.2 does not work with Voltron for one reason or another. Nothing displays, nothing crashes, nothing happens. That's fine.

However, compiled with gcc 8.3 and debugged with gdb v9.2 and still getting segfaults when launching with tmuxp.

dwizzzle commented 4 years ago

i am hitting same issue in ubuntu 19.04 on x64 targets:

GDB: GNU gdb (Ubuntu 8.2.91.20190405-0ubuntu3) 8.2.91.20190405-git Kernel: 5.0.0-37-generic #40-Ubuntu GCC: gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1) Python 3.7.3 (default, Oct 7 2019, 12:56:13) [GCC 8.3.0] on linux