[Webkit-unassigned] [Bug 160927] New: [EFL][GTK] Script process-linux-coredump is not needed, switch back to use the kernel core dumper instead.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 16 18:10:16 PDT 2016


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

            Bug ID: 160927
           Summary: [EFL][GTK] Script process-linux-coredump is not
                    needed, switch back to use the kernel core dumper
                    instead.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: bugs-noreply at webkitgtk.org, lforschler at apple.com,
                    pnormand at igalia.com
            Blocks: 128928

On r203674 and r203677 a script was added to write to disk the coredumps generated by the WebKit tests.

However, this script is not really needed, because the kernel itself can take care of writing the coredumps to disk directly.

Relying on the kernel core dumper to write the cores to disk has some advantages:

 * Simplifies the handling of coredumps.
 * Avoids running as root a script.
 * The coredump file gets written to disk as the user running the tests, rather than as root.
 * Avoids potential race conditions. On the WebKit Debug bot I found that sometimes when GDB was executed the coredump was still not 100% fully written to disk, and therefore GDB failed with an error saying that the core was truncated. Probably this could be fixed by setting the sysctl core_pipe_limit to a non-zero value. But to seems simpler and safer not piping to a program/script if its not really needed. Since I switched the GTK Debug bot to use the kernel coredumper rather than piping to the script process-linux-coredump I have not found this issue again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160817/f3d562d4/attachment.html>


More information about the webkit-unassigned mailing list