Examining vmcore with crash (very) often means to look at multiple outputs at once, which in console enviroment simply is not easily achievable. Since last hackweek, there is a "crashgui", but this is not as extensible as it could be. It may be useful to have the possibility to look at certain crash outputs using just web browser.

At least these functions would be useful:

  • look up a symbol

  • list a disassembly of a function

  • struct xxx [yyy]

  • get memory dump

It would certainly be fancy to be able to click from dis -l to line:number, but don't be too greedy.

The solution would consist of writing a crash extension with functionality of waiting for being called, fetching certain outputs and packing them into web-readable format (JSON probably) and sending them over a socket. Interface of this extension is yet to be determined.

Another part is that this could be joined with managing multiple running crash sessions, preparing debuginfo files and so on. So one could type for example:


to get to second vmcore of 866555.

Status at the end of Hackweek 10:

The project is in status of working proof of concept - it enables you to:

  • view kernel log

  • click at functions in Call trace and view their disassembly (and navigate by mouse within jumps & calls in it)

  • view structure declarations (and the nested structures too)

  • from declarations, jump to structure instances in memory

If anybody is interested, I'll put running demo somewhere. Example screen looks like this: screen

Though it was real fun, I've had too high expectations of what crash is able to offer. I've ended up with just passing crash/gdb outputs to JavaScript frontend.

Looking for hackers with the skills:


This project is part of:

Hack Week 10


  • over 10 years ago: ptesarik liked this project.
  • over 10 years ago: alnovak started this project.
  • over 10 years ago: Nijel liked this project.
  • over 10 years ago: alnovak added keyword "crash" to this project.
  • over 10 years ago: alnovak originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    This project is one of its kind!