equal
deleted
inserted
replaced
|
1 Web interface dependencies: |
|
2 - perl >= 5.10 |
|
3 - Mojolicious >= 2.98 |
|
4 - perl-UUID |
|
5 |
|
6 On debian, install libuuid-perl and libmojolicious-perl (from wheezy, the version |
|
7 from squeeze is too old). |
|
8 |
|
9 Edit CrashTest.conf and change the paths to match your environment. |
|
10 |
|
11 Next, you need to get and build the json branch of minidump-stackwalk from here: |
|
12 http://hg.mozilla.org/users/tmielczarek_mozilla.com/minidump-stackwalk |
|
13 |
|
14 Full compilation instructions: |
|
15 $ svn co http://google-breakpad.googlecode.com/svn google-breakpad |
|
16 $ mkdir obj-breakpad |
|
17 $ cd obj-breakpad |
|
18 $ ../google-breakpad/configure && make |
|
19 $ cd ../ |
|
20 $ hg clone http://hg.mozilla.org/users/tmielczarek_mozilla.com/minidump-stackwalk -b json |
|
21 $ cd minidump-stackwalk |
|
22 $ patch -p1 <<EOF 1 ↵ |
|
23 diff --git a/stackwalker.cc b/stackwalker.cc |
|
24 --- a/stackwalker.cc |
|
25 +++ b/stackwalker.cc |
|
26 @@ -250,12 +250,6 @@ |
|
27 case google_breakpad::PROCESS_ERROR_DUPLICATE_REQUESTING_THREADS: |
|
28 str = "ERROR_DUPLICATE_REQUESTING_THREADS"; |
|
29 break; |
|
30 - case google_breakpad::PROCESS_ERROR_NO_MEMORY_FOR_THREAD: |
|
31 - str = "ERROR_NO_MEMORY_FOR_THREAD"; |
|
32 - break; |
|
33 - case google_breakpad::PROCESS_ERROR_NO_STACKWALKER_FOR_THREAD: |
|
34 - str = "ERROR_NO_STACKWALKER_FOR_THREAD"; |
|
35 - break; |
|
36 case google_breakpad::PROCESS_SYMBOL_SUPPLIER_INTERRUPTED: |
|
37 str = "SYMBOL_SUPPLIER_INTERRUPTED"; |
|
38 break; |
|
39 EOF |
|
40 $ make |
|
41 |
|
42 Copy stackwalker to the path configured in CrashTest.conf. |
|
43 |
|
44 No, you can test: |
|
45 ./CrashTest.pl daemon |
|
46 |
|
47 The submit URL is /submit and is compatible with socorro. |
|
48 |