[Webkit-unassigned] [Bug 105156] New: [EFL] Process launcher uses system() for wrapping the WebProcess when using WEB_PROCESS_CMD_PREFIX

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 17 02:18:09 PST 2012


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

           Summary: [EFL] Process launcher uses system() for wrapping the
                    WebProcess when using WEB_PROCESS_CMD_PREFIX
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit EFL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tmpsantos at gmail.com
                CC: gyuyoung.kim at samsung.com, kenneth at webkit.org,
                    demarchi at webkit.org


Using system() will keep one extra UIProcess (in the example bellow, MiniBrowser) waiting and execute the shell. It waste memory that we sometimes cannot afford when debugging in a mobile environment.

WEB_PROCESS_CMD_PREFIX="xterm -title WebProcess -e gdb --args" bin/MiniBrowser

1000      7681 10.2  1.1 286572 92612 pts/0    SLl+ 12:12   0:01 bin/MiniBrowser
1000      7685  0.0  0.5 242876 47124 pts/0    S+   12:12   0:00 bin/MiniBrowser
1000      7686  0.0  0.0   2240   544 pts/0    S+   12:12   0:00 sh -c xterm -title WebProcess -e gdb --args /opt/tmpsantos/projects/webkit-efl-2/
1000      7687  0.1  0.0  11496  5776 pts/0    S+   12:12   0:00 xterm -title WebProcess -e gdb --args /opt/tmpsantos/projects/webkit-efl-2/WebKit
1000      7695 87.3  5.9 1345076 491764 pts/4  Rs+  12:12   0:09 gdb --args /opt/tmpsantos/projects/webkit-efl-2/WebKitBuild/Debug/bin/WebProcess
1000      7698  0.4  0.3 168344 32672 pts/4    t    12:12   0:00 /opt/tmpsantos/projects/webkit-efl-2/WebKitBuild/Debug/bin/WebProcess 27

-- 
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