Bug 47399

Summary: [Qt] Web process cannot be debugged if it crashes in initialization
Product: WebKit Reporter: Kimmo Kinnunen <kimmo.t.kinnunen>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, abecsi, commit-queue, eric, kbalazs, ossy, webkit.review.bot, zoltan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Make it possible to attach gdb before web process is intialized.
none
Make it possible to attach gdb before web process is intialized.
kenneth: review+, commit-queue: commit-queue-
Rebase the previous patch to trunk. none

Description Kimmo Kinnunen 2010-10-08 00:50:04 PDT
The initialization web process is hard to debug if it crashes in initialization. Mac gdb can be set waiting for the processes to be launched, but on Linux gdb this is cumbersome.

The web process should wait some time before starting the initialization, so gdb can be attached to the process.
Comment 1 Kimmo Kinnunen 2010-10-08 01:15:48 PDT
Created attachment 70207 [details]
Make it possible to attach gdb before web process is intialized.
Comment 2 Kimmo Kinnunen 2010-10-08 03:17:12 PDT
Comment on attachment 70207 [details]
Make it possible to attach gdb before web process is intialized.

Uploaded wrong patch, fails to build.
Comment 3 Kimmo Kinnunen 2010-10-08 03:28:27 PDT
Created attachment 70219 [details]
Make it possible to attach gdb before web process is intialized.
Comment 4 WebKit Commit Bot 2010-10-13 05:00:54 PDT
Comment on attachment 70219 [details]
Make it possible to attach gdb before web process is intialized.

Rejecting patch 70219 from commit-queue.

Failed to run "['./WebKitTools/Scripts/webkit-patch', '--status-host=queues.webkit.org', 'apply-attachment', '--force-clean', '--non-interactive', '--quiet', 70219]" exit_code: 2
Cleaning working directory
Updating working directory
Logging in as commit-queue@webkit.org...
Fetching: https://bugs.webkit.org/attachment.cgi?id=70219&action=edit
Fetching: https://bugs.webkit.org/show_bug.cgi?id=47399&ctype=xml
Processing 1 patch from 1 bug.
Processing patch 70219 from bug 47399.
Failed to run "[u'/Projects/CommitQueue/WebKitTools/Scripts/svn-apply', u'--reviewer', u'Kenneth Rohde Christiansen', u'--force']" exit_code: 1

Full output: http://queues.webkit.org/results/4449005
Comment 5 Eric Seidel (no email) 2010-10-14 11:38:50 PDT
This needs an updated patch which applies to tip of tree.
Comment 6 Kimmo Kinnunen 2010-10-28 01:37:39 PDT
Created attachment 72160 [details]
Rebase the previous patch to trunk.
Comment 7 WebKit Commit Bot 2010-10-28 02:02:47 PDT
Comment on attachment 72160 [details]
Rebase the previous patch to trunk.

Clearing flags on attachment: 72160

Committed r70760: <http://trac.webkit.org/changeset/70760>
Comment 8 WebKit Commit Bot 2010-10-28 02:02:53 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 WebKit Review Bot 2010-10-28 03:43:17 PDT
http://trac.webkit.org/changeset/70760 might have broken GTK Linux 32-bit Release
The following tests are not passing:
inspector/audits-panel-functional.html