Web interface dependencies:
- perl >= 5.10
- Mojolicious >= 2.98
- perl-UUID
- jquery
On debian, install libuuid-perl and libmojolicious-perl (from wheezy, the version
from squeeze is too old), and libjs-jquery (from wheezy too).
Edit CrashTest.conf and change the paths to match your environment.
Next, you need to get and build the json branch of minidump-stackwalk from here:
http://hg.mozilla.org/users/tmielczarek_mozilla.com/minidump-stackwalk
Full compilation instructions:
$ svn co http://google-breakpad.googlecode.com/svn google-breakpad
$ mkdir obj-breakpad
$ cd obj-breakpad
$ ../google-breakpad/configure && make
$ cd ../
$ hg clone http://hg.mozilla.org/users/tmielczarek_mozilla.com/minidump-stackwalk -b json
$ cd minidump-stackwalk
$ patch -p1 <<EOF
diff --git a/stackwalker.cc b/stackwalker.cc
--- a/stackwalker.cc
+++ b/stackwalker.cc
@@ -250,12 +250,6 @@
case google_breakpad::PROCESS_ERROR_DUPLICATE_REQUESTING_THREADS:
str = "ERROR_DUPLICATE_REQUESTING_THREADS";
break;
- case google_breakpad::PROCESS_ERROR_NO_MEMORY_FOR_THREAD:
- str = "ERROR_NO_MEMORY_FOR_THREAD";
- break;
- case google_breakpad::PROCESS_ERROR_NO_STACKWALKER_FOR_THREAD:
- str = "ERROR_NO_STACKWALKER_FOR_THREAD";
- break;
case google_breakpad::PROCESS_SYMBOL_SUPPLIER_INTERRUPTED:
str = "SYMBOL_SUPPLIER_INTERRUPTED";
break;
EOF
$ make
Copy stackwalker to the path configured in CrashTest.conf.
No, you can test:
./CrashTest.pl daemon
The submit URL is /submit and is compatible with socorro.