Debug version crashes

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.

Re: Debug version crashes

Postby naoki5 » Tue Sep 17, 2019 1:04 am

Please tell me if the cause has been clarified.
Has it been fixed in the latest branch?
naoki5
Expert
 
Posts: 105
Joined: Wed Jul 17, 2019 2:44 am

Re: Debug version crashes

Postby BobM » Thu Sep 19, 2019 6:12 pm

I'm seeing the same crash stack with cef_binary_76.1.13+gf19c584+chromium-76.0.3809.132_windows32 cefclient.exe debug build when opening speedtest.net, when the page is about to start the upload speed test.
(Also, to link cefclient I had to remove the CEF_USE_SANDBOX or else errors with missing MD5... functions.)
Is there any more progress on this issue?
Thanks, Bob

Code: Select all
>   libcef.dll!logging::LogMessage::~LogMessage() Line 937   C++
    libcef.dll!CefPostDataElementImpl::Set(const network::DataElement & element) Line 1572   C++
    libcef.dll!CefPostDataImpl::Set(const network::ResourceRequestBody & body) Line 1294   C++
    libcef.dll!CefRequestImpl::Set(const network::ResourceRequest * request, unsigned __int64 identifier) Line 510   C++
    libcef.dll!net_service::`anonymous namespace'::InterceptedRequestHandlerWrapper::MakeRequest(const network::ResourceRequest * request, __int64 request_id, bool read_only) Line 0   C++
    libcef.dll!net_service::`anonymous namespace'::InterceptedRequestHandlerWrapper::GetHandler(const net_service::RequestId & id, network::ResourceRequest * request, bool * intercept_only, scoped_refptr<CefRequestImpl> & requestPtr) Line 1038   C++
    libcef.dll!net_service::`anonymous namespace'::InterceptedRequestHandlerWrapper::OnBeforeRequest(const net_service::RequestId & id, network::ResourceRequest * request, bool request_was_redirected, base::OnceCallback<void (bool, bool)> callback, base::OnceCallback<void (int)> cancel_callback) Line 446   C++
    libcef.dll!net_service::InterceptedRequest::Restart() Line 365   C++
    libcef.dll!net_service::ProxyURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader> loader, int routing_id, int request_id, unsigned int options, const network::ResourceRequest & request, mojo::InterfacePtr<network::mojom::URLLoaderClient> client, const net::MutableNetworkTrafficAnnotationTag & traffic_annotation) Line 1168   C++
    libcef.dll!network::mojom::URLLoaderFactoryStubDispatch::Accept(network::mojom::URLLoaderFactory * impl, mojo::Message * message) Line 217   C++
    libcef.dll!network::mojom::URLLoaderFactoryStub<mojo::RawPtrImplRefTraits<network::mojom::URLLoaderFactory> >::Accept(mojo::Message * message) Line 128   C++
    libcef.dll!mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message * message) Line 0   C++
    libcef.dll!mojo::FilterChain::Accept(mojo::Message * message) Line 40   C++
    libcef.dll!mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message * message) Line 320   C++
    libcef.dll!mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::internal::MultiplexRouter::MessageWrapper * message_wrapper, mojo::internal::MultiplexRouter::ClientCallBehavior client_call_behavior, base::SequencedTaskRunner * current_task_runner) Line 874   C++
    libcef.dll!mojo::internal::MultiplexRouter::Accept(mojo::Message * message) Line 598   C++
    libcef.dll!mojo::FilterChain::Accept(mojo::Message * message) Line 40   C++
    libcef.dll!mojo::Connector::DispatchMessageW(mojo::Message message) Line 508   C++
    libcef.dll!mojo::Connector::ReadAllAvailableMessages() Line 584   C++
    libcef.dll!mojo::Connector::OnHandleReadyInternal(unsigned int result) Line 421   C++
    libcef.dll!base::internal::Invoker<base::internal::BindState<void (heap_profiling::mojom::ProfilingService_GetProfiledPids_ProxyToResponder::*)(const std::__1::vector<unsigned long,std::__1::allocator<unsigned long> > &) __attribute__((thiscall)),std::__1::unique_ptr<heap_profiling::mojom::ProfilingService_GetProfiledPids_ProxyToResponder,std::__1::default_delete<heap_profiling::mojom::ProfilingService_GetProfiledPids_ProxyToResponder> > >,void (const std::__1::vector<unsigned long,std::__1::allocator<unsigned long> > &)>::RunOnce(base::internal::BindStateBase * base, const std::__1::vector<unsigned long,std::__1::allocator<unsigned long> > & unbound_args) Line 645   C++
    libcef.dll!mojo::SimpleWatcher::DiscardReadyState(const base::RepeatingCallback<void (unsigned int)> & callback, unsigned int result, const mojo::HandleSignalsState & state) Line 194   C++
    libcef.dll!base::internal::Invoker<base::internal::BindState<void (*)(const base::RepeatingCallback<void (unsigned int)> &, unsigned int, const mojo::HandleSignalsState &),base::RepeatingCallback<void (unsigned int)> >,void (unsigned int, const mojo::HandleSignalsState &)>::Run(base::internal::BindStateBase * base, unsigned int unbound_args, const mojo::HandleSignalsState & unbound_args) Line 654   C++
    libcef.dll!mojo::SimpleWatcher::OnHandleReady(int watch_id, unsigned int result, const mojo::HandleSignalsState & state) Line 293   C++
    libcef.dll!mojo::SimpleWatcher::Context::Notify(unsigned int result, MojoHandleSignalsState signals_state, unsigned int flags) Line 118   C++
    libcef.dll!mojo::SimpleWatcher::Context::CallNotify(const MojoTrapEvent * event) Line 61   C++
    libcef.dll!mojo::core::WatcherDispatcher::InvokeWatchCallback(unsigned int context, unsigned int result, const mojo::core::HandleSignalsState & state, unsigned int flags) Line 94   C++
    libcef.dll!mojo::core::Watch::InvokeCallback(unsigned int result, const mojo::core::HandleSignalsState & state, unsigned int flags) Line 79   C++
    libcef.dll!mojo::core::RequestContext::~RequestContext() Line 73   C++
    libcef.dll!mojo::core::NodeChannel::OnChannelMessage(const void * payload, unsigned int payload_size, std::__1::vector<mojo::PlatformHandle,std::__1::allocator<mojo::PlatformHandle> > handles) Line 700   C++
    libcef.dll!mojo::core::Channel::TryDispatchMessage(base::span<const char,4294967295> buffer, unsigned int * size_hint) Line 791   C++
    libcef.dll!mojo::core::Channel::OnReadComplete(unsigned int bytes_read, unsigned int * next_read_size_hint) Line 692   C++
    libcef.dll!mojo::core::`anonymous namespace'::ChannelWin::OnIOCompleted(base::MessagePumpForIO::IOContext * context, unsigned long bytes_transfered, unsigned long error) Line 234   C++
    libcef.dll!base::MessagePumpForIO::WaitForIOCompletion(unsigned long timeout, base::MessagePumpForIO::IOHandler * filter) Line 688   C++
    libcef.dll!base::MessagePumpForIO::DoRunLoop() Line 637   C++
    libcef.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate) Line 77   C++
    libcef.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool application_tasks_allowed, base::TimeDelta timeout) Line 470   C++
    libcef.dll!base::RunLoop::RunWithTimeout(base::TimeDelta timeout) Line 161   C++
    libcef.dll!base::RunLoop::Run() Line 130   C++
    libcef.dll!base::Thread::Run(base::RunLoop * run_loop) Line 242   C++
    libcef.dll!content::BrowserProcessSubThread::IOThreadRun(base::RunLoop * run_loop) Line 159   C++
    libcef.dll!content::BrowserProcessSubThread::Run(base::RunLoop * run_loop) Line 116   C++
    libcef.dll!base::Thread::ThreadMain() Line 312   C++
    libcef.dll!base::`anonymous namespace'::ThreadFunc(void * params) Line 100   C++
BobM
Mentor
 
Posts: 72
Joined: Wed May 11, 2016 4:28 pm

Re: Debug version crashes

Postby ndesktop » Fri Sep 20, 2019 12:41 am

Tested with my custom CEF build, x64 debug with cefclient --url=speedtest.net --enable-logging --v=1
No crashes for me on either speedtest.net or msn.com following the scenario (click on news then on MSN logo).
Attachments
17010.zip
cefclient log
(169.35 KiB) Downloaded 400 times
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: Debug version crashes

Postby naoki5 » Fri Sep 20, 2019 2:44 am

I downloaded and built "Windows 64-bit Builds CEF 76.1.13".
I tried with that cefclient and crashed as well.

I also did a speed test on "speedtest.net" and cefclient crashed when the upload speed test started.
I tried with CEF 75 and the results were the same.
naoki5
Expert
 
Posts: 105
Joined: Wed Jul 17, 2019 2:44 am

Re: Debug version crashes

Postby ndesktop » Fri Sep 20, 2019 4:20 am

If you download the client distribution from spotify it crashes as well?
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: Debug version crashes

Postby magreenblatt » Fri Sep 20, 2019 4:48 am

Thanks for the details. I'm able to reproduce the crash on the upload portion of the speed test. I've filed issue #2765.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Debug version crashes

Postby naoki5 » Fri Sep 20, 2019 4:50 am

ndesktop wrote:If you download the client distribution from spotify it crashes as well?

http://opensource.spotify.com/cefbuilds/index.html

I downloaded "Sample Application".
However, the download contains only the release version.
If I run that cefclient it doesn't crash.
The crash only happens in the debug version.
naoki5
Expert
 
Posts: 105
Joined: Wed Jul 17, 2019 2:44 am

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 25 guests