On 05/08/16 21:03, Myungho Jung wrote:
I'm testing the program with xen because I could not scroll the screen when using kvm or qemu. Is there a way to scroll screen in the qemu window? Keyboard and mouse are not working in that window. I'm using Ubuntu 16.04.
Use tty output (curses mode or serial console).
I searched addresses of symbols close to the instruction pointer but the RIP is much higher than any symbols in binary. Does anyone assume that where can I get some hint from the message? The same message is shown almost every time at the same point but could not backtrace after do_page_fault(). The stack and address values are fixed for each test except RIP. RIP changes a little bit every time.
Well it probably jumps into some garbage. I can't really give you a recipe for debugging it, but if it's somewhat easy to reproduce, I'd just try single-stepping.
However, in my experience, gdb doesn't seem to work very well against Xen. Use qemu if at all possible.
Can I trace rumprun application using Valgrind or Helgrind? It is multi-threaded program, so helgrind will be helpful.
No.
