Bug 47399 - [Qt] Web process cannot be debugged if it crashes in initialization
Summary: [Qt] Web process cannot be debugged if it crashes in initialization
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-08 00:50 PDT by Kimmo Kinnunen
Modified: 2010-10-28 03:43 PDT (History)
8 users (show)

See Also:


Attachments
Make it possible to attach gdb before web process is intialized. (1.65 KB, patch)
2010-10-08 01:15 PDT, Kimmo Kinnunen
no flags Details | Formatted Diff | Diff
Make it possible to attach gdb before web process is intialized. (1.72 KB, patch)
2010-10-08 03:28 PDT, Kimmo Kinnunen
kenneth: review+
commit-queue: commit-queue-
Details | Formatted Diff | Diff
Rebase the previous patch to trunk. (1.79 KB, patch)
2010-10-28 01:37 PDT, Kimmo Kinnunen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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