[Webkit-unassigned] [Bug 119338] [Qt] Adding automatic backtrace generation to qt.py

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 16 04:51:06 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119338


Gábor Ábrahám <abrhm at inf.u-szeged.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #208915|                            |review?
               Flag|                            |




--- Comment #1 from Gábor Ábrahám <abrhm at inf.u-szeged.hu>  2013-08-16 04:50:39 PST ---
Created an attachment (id=208915)
 --> (https://bugs.webkit.org/attachment.cgi?id=208915&action=review)
draft patch

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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list