FATAL:platform_channel.cc(89)] Check failed: . : Access is d

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

FATAL:platform_channel.cc(89)] Check failed: . : Access is d

Postby hyzerfool » Fri Feb 14, 2025 9:48 am

We had a crash report come in where the critical issue seems to be in CreateChannel in platform_channel.cc.
Code: Select all
  *remote_endpoint = PlatformHandle(base::win::ScopedHandle(
      ::CreateFileW(pipe_name.c_str(), kDesiredAccess, 0, &security_attributes,
                    OPEN_EXISTING, kFlags, nullptr)));
  PCHECK(remote_endpoint->is_valid());

The log shows:
Code: Select all
[17168:39748:0211/160407.780:FATAL:platform_channel.cc(89)] Check failed: . : Access is denied. (0x5)

I assume the "." is related to GetPipeNameFromServerName, which returns:
Code: Select all
 return L"\\\\.\\pipe\\mojo." + server_name;

But so far I've failed to figure out what could lead to this happening. This is on a customer's computer which is probably pretty locked down, security-wise, but they've used our software for many years and I've never seen this issue before.

It's possible the error came while closing one of the multiple CEF browsers we use.

Any suggestions would be greatly appreciated!

Here's the callstack down to CheckError:
Code: Select all
libcef.dll!logging::CheckError::~CheckError() Line 344   C++   Symbols loaded.
[Inline Frame] libcef.dll!mojo::`anonymous namespace'::CreateChannel(mojo::PlatformHandle * local_endpoint, mojo::PlatformHandle * remote_endpoint) Line 89   C++   Symbols loaded.
libcef.dll!mojo::PlatformChannel::PlatformChannel() Line 178   C++   Symbols loaded.
[Inline Frame] libcef.dll!std::__Cr::construct_at(mojo::PlatformChannel * __location=0x000054f4006ded60) Line 41   C++   Symbols loaded.
[Inline Frame] libcef.dll!std::__Cr::__construct_at(mojo::PlatformChannel * __location=0x000054f4006ded60) Line 49   C++   Symbols loaded.
[Inline Frame] libcef.dll!std::__Cr::__optional_storage_base<mojo::PlatformChannel,0>::__construct() Line 363   C++   Symbols loaded.
[Inline Frame] libcef.dll!std::__Cr::optional<mojo::PlatformChannel>::emplace() Line 756   C++   Symbols loaded.
libcef.dll!content::internal::ChildProcessLauncherHelper::LaunchOnLauncherThread() Line 283   C++   Symbols loaded.
[Inline Frame] libcef.dll!base::OnceCallback<void ()>::Run() Line 156   C++   Symbols loaded.
libcef.dll!base::TaskAnnotator::RunTaskImpl(base::PendingTask & pending_task={...}) Line 203   C++   Symbols loaded.
[Inline Frame] libcef.dll!base::TaskAnnotator::RunTask(perfetto::StaticString event_name, base::PendingTask & pending_task, base::internal::TaskTracker::RunTaskImpl::<lambda_0> && args) Line 90   C++   Symbols loaded.
[Inline Frame] libcef.dll!base::internal::TaskTracker::RunTaskImpl(base::internal::Task & task, const base::TaskTraits & traits={...}, base::internal::TaskSource * task_source=0x000054f4000c21c0, const base::internal::SequenceToken & token={...}) Line 679   C++   Symbols loaded.
libcef.dll!base::internal::TaskTracker::RunBlockShutdown(base::internal::Task & task={...}, const base::TaskTraits & traits={...}, base::internal::TaskSource * task_source=0x000054f4000c21c0, const base::internal::SequenceToken & token={...}) Line 672   C++   Symbols loaded.
[Inline Frame] libcef.dll!base::internal::TaskTracker::RunTaskWithShutdownBehavior(base::internal::Task & task, const base::TaskTraits & traits, base::internal::TaskSource * task_source=0x000054f4000c21c0, const base::internal::SequenceToken & token) Line 697   C++   Symbols loaded.
[Inline Frame] libcef.dll!base::internal::TaskTracker::RunTask(base::internal::Task task={...}, base::internal::TaskSource * task_source=0x000054f4000c21c0, const base::TaskTraits & traits) Line 521   C++   Symbols loaded.
libcef.dll!base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource task_source) Line 416   C++   Symbols loaded.
libcef.dll!base::internal::WorkerThread::RunWorker() Line 436   C++   Symbols loaded.
libcef.dll!base::internal::WorkerThread::RunDedicatedWorker() Line 342   C++   Symbols loaded.

And for completeness, here's the rest of the log file. The crash dump timestamp was 16:04:08.
Code: Select all
[17168:5996:0211/160252.372:WARNING:chrome_main_delegate.cc(745)] This is Chrome version 128.0.6613.138 (not a warning)
[17168:5996:0211/160252.501:WARNING:account_consistency_mode_manager.cc(77)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[17168:23140:0211/160252.536:ERROR:tcp_socket_win.cc(365)] bind() returned an error: An attempt was made to access a socket in a way forbidden by its access permissions. (0x271D)
[17168:23140:0211/160252.538:ERROR:tcp_socket_win.cc(365)] bind() returned an error: An attempt was made to access a socket in a way forbidden by its access permissions. (0x271D)
[17168:23140:0211/160252.538:ERROR:devtools_http_handler.cc(319)] Cannot start http server for devtools.
[17168:16772:0211/160255.550:WARNING:browser_info.cc(345)] Returning a speculative frame for [7,5]
[17168:5996:0211/160255.889:WARNING:browser_info.cc(345)] Returning a speculative frame for [7,5]
[17168:5996:0211/160255.889:WARNING:browser_info.cc(345)] Returning a speculative frame for [7,5]
[17168:5996:0211/160255.889:WARNING:browser_info.cc(345)] Returning a speculative frame for [7,5]
[17168:5996:0211/160255.889:WARNING:browser_info.cc(345)] Returning a speculative frame for [7,5]
[17168:39748:0211/160407.780:FATAL:platform_channel.cc(89)] Check failed: . : Access is denied. (0x5)
hyzerfool
Techie
 
Posts: 37
Joined: Wed May 13, 2015 2:37 pm

Re: FATAL:platform_channel.cc(89)] Check failed: . : Access

Postby ndesktop » Sat Feb 15, 2025 1:34 am

Maybe server_name ends up empty for some reason? That maybe would explain the "Check failed: . " message.
ndesktop
Master
 
Posts: 894
Joined: Thu Dec 03, 2015 10:10 am

Re: FATAL:platform_channel.cc(89)] Check failed: . : Access

Postby hyzerfool » Wed Feb 19, 2025 9:40 am

Thanks for the response - I'll go bang on that idea and see if I can figure out what would make that happen.
hyzerfool
Techie
 
Posts: 37
Joined: Wed May 13, 2015 2:37 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 59 guests