[webkit-reviews] review requested: [Bug 119338] [Qt] Adding automatic backtrace generation to qt.py : [Attachment 208915] draft patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 16 04:51:06 PDT 2013
Gábor Ábrahám <abrhm at inf.u-szeged.hu> has asked for review:
Bug 119338: [Qt] Adding automatic backtrace generation to qt.py
https://bugs.webkit.org/show_bug.cgi?id=119338
Attachment 208915: draft patch
https://bugs.webkit.org/attachment.cgi?id=208915&action=review
------- Additional Comments from Gábor Ábrahám <abrhm at inf.u-szeged.hu>
Solution based on the gtk auto backtrace generating, you should do the next
things:
Change /proc/sys/kernel/core_pattern file to:
/path/to/webkit/coredumps/folder/core-pid_%p-_-process_%e
For example in my computer:
/home/abrhm/webkit/WK/coredumps/core-pid_%p-_-process_%e
set the WEBKIT_CORE_DUMPS_DIRECTORY enviromental variable to the same location:
For example in my computer:
export WEBKIT_CORE_DUMPS_DIRECTORY=/home/abrhm/webkit/WK/coredumps/
After this changes if you have debug build and a test crashes, in the
results.html you should see the backtrace in the test crashlog.
Unit test needed.
More information about the webkit-reviews
mailing list