Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(509)

Issue 1053873003: Guard socket file descriptor in UDPSocketLibevent (Closed)

Created:
5 years, 8 months ago by Sergey Ulanov
Modified:
5 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@close
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Guard socket file descriptor in UDPSocketLibevent Now UDPSocketLibevent enables file descriptor guard for all UDP sockets to make sure they are not closed from anywhere else except UDPSocketLibevent::Close(). This is necessary to debug the linked bug BUG=461246 Committed: https://crrev.com/509aba26b3c3d65cebb1647cb03d8ad1db10eb28 Cr-Commit-Position: refs/heads/master@{#323624}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : !iOS #

Total comments: 1

Patch Set 6 : fix ios compilation #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -0 lines) Patch
M net/udp/udp_socket_libevent.cc View 1 2 3 4 5 6 4 chunks +82 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (12 generated)
Sergey Ulanov
This doesn't generate crash reports, but I see the following message from Crashpad: [0401/151214:WARNING:exception_snapshot_mac.cc(71)] exception_code_0 ...
5 years, 8 months ago (2015-04-01 22:41:56 UTC) #3
Mark Mentovai
Can you patch https://codereview.chromium.org/1050313003 into crashpad and let me know if it starts generating crash ...
5 years, 8 months ago (2015-04-02 02:00:01 UTC) #4
Mark Mentovai
https://codereview.chromium.org/1053873003/diff/20001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): https://codereview.chromium.org/1053873003/diff/20001/net/udp/udp_socket_libevent.cc#newcode61 net/udp/udp_socket_libevent.cc:61: // to be defined here. Drive the point home ...
5 years, 8 months ago (2015-04-02 14:37:06 UTC) #5
Sergey Ulanov
On 2015/04/02 02:00:01, Mark Mentovai wrote: > Can you patch https://codereview.chromium.org/1050313003 into crashpad and let ...
5 years, 8 months ago (2015-04-02 17:36:51 UTC) #6
Mark Mentovai
OK, I’ll try to get this into Crashpad and roll Chrome to an updated Crashpad ...
5 years, 8 months ago (2015-04-02 17:42:39 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/1053873003/diff/20001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): https://codereview.chromium.org/1053873003/diff/20001/net/udp/udp_socket_libevent.cc#newcode61 net/udp/udp_socket_libevent.cc:61: // to be defined here. On 2015/04/02 14:37:06, Mark ...
5 years, 8 months ago (2015-04-02 18:05:43 UTC) #8
Sergey Ulanov
On 2015/04/02 17:42:39, Mark Mentovai wrote: > OK, I’ll try to get this into Crashpad ...
5 years, 8 months ago (2015-04-02 18:09:21 UTC) #9
Mark Mentovai
Awesome, Sergey. LGTM with these changes. https://codereview.chromium.org/1053873003/diff/40001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): https://codereview.chromium.org/1053873003/diff/40001/net/udp/udp_socket_libevent.cc#newcode80 net/udp/udp_socket_libevent.cc:80: void* g_libsystem_handle = ...
5 years, 8 months ago (2015-04-02 18:21:57 UTC) #10
Sergey Ulanov
https://codereview.chromium.org/1053873003/diff/40001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): https://codereview.chromium.org/1053873003/diff/40001/net/udp/udp_socket_libevent.cc#newcode80 net/udp/udp_socket_libevent.cc:80: void* g_libsystem_handle = nullptr; On 2015/04/02 18:21:57, Mark Mentovai ...
5 years, 8 months ago (2015-04-02 18:28:19 UTC) #11
Sergey Ulanov
+rvargas for src/net OWNERS approval
5 years, 8 months ago (2015-04-02 18:29:15 UTC) #13
rvargas (doing something else)
rbstmp lgtm
5 years, 8 months ago (2015-04-02 18:33:10 UTC) #14
Mark Mentovai
LGTM
5 years, 8 months ago (2015-04-02 18:52:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1053873003/80001
5 years, 8 months ago (2015-04-02 18:54:18 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/11427)
5 years, 8 months ago (2015-04-02 19:46:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1053873003/100001
5 years, 8 months ago (2015-04-02 20:50:47 UTC) #22
Mark Mentovai
https://codereview.chromium.org/1053873003/diff/100001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): https://codereview.chromium.org/1053873003/diff/100001/net/udp/udp_socket_libevent.cc#newcode175 net/udp/udp_socket_libevent.cc:175: #if defined(OS_MACOSX) && !defined(OS_IOS) here and on line 208 ...
5 years, 8 months ago (2015-04-02 21:00:57 UTC) #23
Sergey Ulanov
On 2015/04/02 21:00:57, Mark Mentovai wrote: > https://codereview.chromium.org/1053873003/diff/100001/net/udp/udp_socket_libevent.cc > File net/udp/udp_socket_libevent.cc (right): > > https://codereview.chromium.org/1053873003/diff/100001/net/udp/udp_socket_libevent.cc#newcode175 ...
5 years, 8 months ago (2015-04-02 21:02:35 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1053873003/120001
5 years, 8 months ago (2015-04-02 21:02:42 UTC) #27
Mark Mentovai
LGTM
5 years, 8 months ago (2015-04-02 21:04:04 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/11494) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 8 months ago (2015-04-02 21:16:57 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1053873003/130001
5 years, 8 months ago (2015-04-02 21:59:38 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:130001)
5 years, 8 months ago (2015-04-03 05:24:45 UTC) #34
commit-bot: I haz the power
5 years, 8 months ago (2015-04-03 20:32:12 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/509aba26b3c3d65cebb1647cb03d8ad1db10eb28
Cr-Commit-Position: refs/heads/master@{#323624}

Powered by Google App Engine
This is Rietveld 408576698