WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
193848
Make sure WTF::generateObjectIdentifier() internal counter does not get duplicated
https://bugs.webkit.org/show_bug.cgi?id=193848
Summary
Make sure WTF::generateObjectIdentifier() internal counter does not get dupli...
Chris Dumez
Reported
2019-01-25 15:18:16 PST
Make sure WTF::generateObjectIdentifier() internal counter does not get duplicated at each call site. This can lead to hard to debug duplicate identifiers such as the one in
Bug 193761
.
Attachments
Patch
(29.17 KB, patch)
2019-01-25 15:22 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(29.08 KB, patch)
2019-01-29 08:58 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(29.08 KB, patch)
2019-01-29 09:14 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2019-01-25 15:22:45 PST
Created
attachment 360173
[details]
Patch
Chris Dumez
Comment 2
2019-01-28 16:27:26 PST
ping review?
youenn fablet
Comment 3
2019-01-28 17:12:46 PST
I guess a unit test could be written. Not sure whether worth it.
WebKit Commit Bot
Comment 4
2019-01-28 20:02:28 PST
Comment on
attachment 360173
[details]
Patch Rejecting
attachment 360173
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'apply-attachment', '--no-update', '--non-interactive', 360173, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Logging in as
commit-queue@webkit.org
... Fetching:
https://bugs.webkit.org/attachment.cgi?id=360173&action=edit
Fetching:
https://bugs.webkit.org/show_bug.cgi?id=193848
&ctype=xml&excludefield=attachmentdata Processing 1 patch from 1 bug. Processing patch 360173 from
bug 193848
. Fetching:
https://bugs.webkit.org/attachment.cgi?id=360173
Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Youenn Fablet']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 25 diffs from patch file(s). patching file Source/WTF/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebKit/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WTF/WTF.xcodeproj/project.pbxproj Hunk #1 succeeded at 83 (offset -3 lines). Hunk #2 succeeded at 415 (offset -3 lines). Hunk #3 succeeded at 1035 (offset 4 lines). Hunk #4 FAILED at 1555. 1 out of 4 hunks FAILED -- saving rejects to file Source/WTF/WTF.xcodeproj/project.pbxproj.rej patching file Source/WTF/wtf/CMakeLists.txt patching file Source/WTF/wtf/ObjectIdentifier.cpp patching file Source/WTF/wtf/ObjectIdentifier.h patching file Source/WebCore/dom/Document.cpp Hunk #1 succeeded at 536 (offset 1 line). patching file Source/WebCore/dom/MessageChannel.cpp patching file Source/WebCore/dom/ScriptExecutionContext.cpp patching file Source/WebCore/history/HistoryItem.cpp patching file Source/WebCore/loader/DocumentLoader.cpp patching file Source/WebCore/page/DOMWindow.cpp patching file Source/WebCore/platform/Process.cpp patching file Source/WebCore/workers/service/ServiceWorkerJobData.cpp patching file Source/WebCore/workers/service/server/RegistrationDatabase.cpp Hunk #1 succeeded at 400 (offset 1 line). patching file Source/WebCore/workers/service/server/SWServer.cpp patching file Source/WebCore/workers/service/server/SWServerRegistration.cpp patching file Source/WebCore/workers/service/server/SWServerToContextConnection.cpp patching file Source/WebKit/Platform/IPC/Connection.cpp patching file Source/WebKit/UIProcess/ChildProcessProxy.h patching file Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.cpp patching file Source/WebKit/UIProcess/WebBackForwardList.cpp patching file Source/WebKit/UIProcess/WebProcessPool.cpp Hunk #1 succeeded at 260 (offset 2 lines). patching file Source/WebKit/WebProcess/MediaStream/UserMediaPermissionRequestManager.cpp Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Youenn Fablet']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output:
https://webkit-queues.webkit.org/results/10932595
Chris Dumez
Comment 5
2019-01-29 08:58:51 PST
Created
attachment 360463
[details]
Patch
Chris Dumez
Comment 6
2019-01-29 09:14:19 PST
Created
attachment 360465
[details]
Patch
WebKit Commit Bot
Comment 7
2019-01-29 09:50:59 PST
Comment on
attachment 360465
[details]
Patch Clearing flags on attachment: 360465 Committed
r240661
: <
https://trac.webkit.org/changeset/240661
>
WebKit Commit Bot
Comment 8
2019-01-29 09:51:00 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9
2019-01-29 09:51:28 PST
<
rdar://problem/47635445
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug