Hi folks!As you probably know if you work on macOS, --single-process fails a CHECK at startup on macOS and has not worked for quite a while (I think at least a year). Does anyone actually depend on this switch & behavior? Would anyone be sad if we removed it?
-- elly--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/29e94d02-a8d7-4e69-8c47-95390fb3f19cn%40chromium.org.
--
On Wed, Mar 17, 2021 at 10:15 AM Elly Fong-Jones <elly...@chromium.org> wrote:Hi folks!As you probably know if you work on macOS, --single-process fails a CHECK at startup on macOS and has not worked for quite a while (I think at least a year). Does anyone actually depend on this switch & behavior? Would anyone be sad if we removed it?IIRC there are quite a few browser tests which depend on the switch. They would have to be rewritten or we'd lose test coverage.
Is the CHECK on macOS not possible to fix?
-- elly--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/29e94d02-a8d7-4e69-8c47-95390fb3f19cn%40chromium.org.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAGN7qDCgQ801aPd7Y8yLuHkojpA2gb-HKc0uoi-8dXbqM87Cuw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CADBxrieRUMQciJ5k-yHpyj5-WgbDObhyfvPMU1GNFnDxxVnL2A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAKARY_n-MAMxEWEkqLfMinkTycLVe8vXMo4uik3CZvBB5DCp1w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAJL3UpQQpgwHgVD2sZ2uepshjp4MyRckCExrUOzYhhKjR_9WXQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAJL3UpQQpgwHgVD2sZ2uepshjp4MyRckCExrUOzYhhKjR_9WXQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAJL3UpQzByp4akE3Ny3VeP54PTHN7DXSh76nu0wZfptQU%3DPvGQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAHOQ7J93BR4aKEm8wChm9XvSRWP4r0W-OzqVXggRwfiov9k7DA%40mail.gmail.com.
It's a matter of convenience. The last I checked, debugging child processes outside of Windows is still a bit painful.
I think this depends on scenarios. There are scenarios (e.g. oopif) where --single-process has problems, but it is suitable for most of my scenarios and I have never encountered any problem. For scenarios where --single-process is not suitable, I will use LOG(ERROR) and base::debug::StackTrace().Print().
Is there a better / more automated way to do this than --renderer-startup-dialog + --no-sandbox? I particularly don't enjoy running with the second flag :)
But to your point: if you need to debug something that happens during startup, then --renderer-startup-dialog works for me. Otherwise, I just attach to the running process.On Wed, Mar 17, 2021 at 1:37 PM Stefan Zager <sza...@google.com> wrote:On Wed, Mar 17, 2021 at 1:34 PM Daniel Cheng <dch...@chromium.org> wrote:Is there a better / more automated way to do this than --renderer-startup-dialog + --no-sandbox? I particularly don't enjoy running with the second flag :)"Enjoy" is maybe not so relevant. If it's the typing that offends you, I recommend an alias, bash function, or script. That's what I do.
DanielOn Wed, Mar 17, 2021 at 12:23 PM Stefan Zager <sza...@google.com> wrote:On Wed, Mar 17, 2021 at 12:21 PM Daniel Cheng <dch...@chromium.org> wrote:It's a matter of convenience. The last I checked, debugging child processes outside of Windows is still a bit painful.I debug primarily on Linux, and I don't find it to be painful at all.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAHOQ7J_CZyCAstg%3Dot%2BSH9geDg2FExsO%3DRFBDpbnSzXHqB1pUw%40mail.gmail.com.
On Wed, Mar 17, 2021 at 1:25 PM Xianzhu Wang <wangx...@chromium.org> wrote:I think this depends on scenarios. There are scenarios (e.g. oopif) where --single-process has problems, but it is suitable for most of my scenarios and I have never encountered any problem. For scenarios where --single-process is not suitable, I will use LOG(ERROR) and base::debug::StackTrace().Print().Mentioning OOPIF in connection with --single-process is a sure way to get my hackles up :)I have spent a *lot* of time debugging OOPIF issues which disappear when you use --single-process. How can you debug an IPC race condition in --single-process?
On Wed, Mar 17, 2021 at 1:36 PM Stefan Zager <sza...@google.com> wrote:On Wed, Mar 17, 2021 at 1:25 PM Xianzhu Wang <wangx...@chromium.org> wrote:I think this depends on scenarios. There are scenarios (e.g. oopif) where --single-process has problems, but it is suitable for most of my scenarios and I have never encountered any problem. For scenarios where --single-process is not suitable, I will use LOG(ERROR) and base::debug::StackTrace().Print().Mentioning OOPIF in connection with --single-process is a sure way to get my hackles up :)I have spent a *lot* of time debugging OOPIF issues which disappear when you use --single-process. How can you debug an IPC race condition in --single-process?Definitely I can't and won't use --single-process to debug OOPIF issues or IPC race conditions. However, --single-process is simply more convenient for scenarios where it doesn't have problems. In most cases, it's easy to rule out OOPIF/IPC issues before starting debugging an issue.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CADBxricZrF0gVJZhi7iCY4zy3tcMw-2Qyt_BcmO3PG-HwmUe%3Dg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CADBxricZrF0gVJZhi7iCY4zy3tcMw-2Qyt_BcmO3PG-HwmUe%3Dg%40mail.gmail.com.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/7f7a637f-d72b-4ade-9a34-ed2e224bcfb4n%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMGbLiFCfwTFg3BTiX7cU14L1A86pnf5Nn4mkDx0TdH8FaMymw%40mail.gmail.com.
I'll just say a few final words and then slink back to my cave...Maintaining --single-process is itself a tax on productivity and a pile of (IMO needless) complexity in the code base. The only justification for it is "developer convenience" in debugging
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAHOQ7J_dhd9HG-kbUqdb1HOP71Q%2BDoo%2BaV0tZYdFdZ4zc52h3Q%40mail.gmail.com.
On Thu, Mar 18, 2021 at 4:28 PM 'Stefan Zager' via Chromium-dev <chromi...@chromium.org> wrote:I'll just say a few final words and then slink back to my cave...Maintaining --single-process is itself a tax on productivity and a pile of (IMO needless) complexity in the code base. The only justification for it is "developer convenience" in debuggingI shall throw out there that CEF (Chromium Embedded Framework) exposes single process as an option, and the overhead and forced asynchronicity (the App can talk synchronously to the renderer on its thread) would break a lot of apps. Getting rid of this mode would pin a lot of CEF users at an old Chrome.Not that we make product decisions around this, just to say I know this goes beyond debugging and tests (which are single process for the same reasons as these CEF apps really, plus the ability to inject C++ into the renderer process in tests).
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAHtyhaRsmRpM4Uqv8Gj77tZaj%2B46bwjAF16hApBKrOTEsMoy-A%40mail.gmail.com.