Can I ask about FATAL and WARNING log?

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.

Can I ask about FATAL and WARNING log?

Postby mung » Fri Aug 31, 2018 1:41 am

Hi ~

Window7, CEF 3.3440.1805.gbe00f9, used multi_thread_message_loop and subProcess in OSRMode.

Can I ask about FATAL and WARNING log?

I got a log message and call stack.

---- When I try to shutdown -----------------------------------------------------
[0831/145129.430:WARNING:discardable_shared_memory_manager.cc(431)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. The will be leaked.
and
[0831/145129.587:FATAL:keyed_service_base_factory.cc(56)] Check failed: (sequence_checker_).CalledOnalideSequence().

fatal.jpg
fatal.jpg (77.6 KiB) Viewed 5426 times

---- ~When I try to shutdown -----------------------------------------------------

What is Mojo? When I got the log, what do I check things?

Actually, I have some problem, When I Minimize and Restore device in My D3D application.

so, while I looking for a solve way, I got the log.

I think some memory is leaked in CEF.

But, I don't know what I wrong?

Step is
open a OSRMode web browser in d3d application fullscreen mode ->
Try Minimizing window (Alt + Tab) ->
Clicked Minimized icon (try to restore d3d application) ->

When I while the step, often happened crash.

I can't try the step in cefSample. the sample is not a D3D application.

Could you advise me What should I check?

Thank you.
mung
Mentor
 
Posts: 58
Joined: Wed Jan 04, 2017 12:20 am

Re: Can I ask about FATAL and WARNING log?

Postby Czarek » Fri Aug 31, 2018 1:49 am

You have to free CEF references before calling CefShutdown.
What is the stack trace for your crash?
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: Can I ask about FATAL and WARNING log?

Postby mung » Fri Aug 31, 2018 2:42 am

Czarek wrote:You have to free CEF references before calling CefShutdown.
What is the stack trace for your crash?


You can see the First problem in CefClient (build project).
I didn't create any web browser.
Just I executed CefInitialize() and CefShutdown.

You can see the call stack that is in upside image.
and You can see in CefClient --off-screen-rendering-enabled --multi-threaded-message-loop x64 debug.
Just start and click the 'X' button in the title.

The second problem(My crash d3d application)'s call stack is not exactly.
It is some different call stack maybe memory leak that is because.

I will share the CallStack after I collect information.
mung
Mentor
 
Posts: 58
Joined: Wed Jan 04, 2017 12:20 am

Re: Can I ask about FATAL and WARNING log?

Postby Czarek » Fri Aug 31, 2018 4:03 am

In general, if the issue doesn't occur in Release mode then there is a small chance that it is going to be fixed.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: Can I ask about FATAL and WARNING log?

Postby mung » Fri Aug 31, 2018 4:38 am

Czarek wrote:In general, if the issue doesn't occur in Release mode then there is a small chance that it is going to be fixed.



I'm sorry, I can't understand.

Do you mean it is not a problem?
Or it is going to be fixed?

I'm sorry I'm not good at English.

The second problem occurs in Release mode too.

Thank you :)
mung
Mentor
 
Posts: 58
Joined: Wed Jan 04, 2017 12:20 am

Re: Can I ask about FATAL and WARNING log?

Postby Czarek » Fri Aug 31, 2018 4:50 am

I guess the checks that fail in Debug mode are in Chromium code. Looks like the first issue is already reported in CEF tracker:
https://bitbucket.org/chromiumembedded/ ... 5275-fatal
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: Can I ask about FATAL and WARNING log?

Postby mung » Fri Aug 31, 2018 4:54 am

Czarek wrote:I guess the checks that fail in Debug mode are in Chromium code. Looks like the first issue is already reported in CEF tracker:
https://bitbucket.org/chromiumembedded/ ... 5275-fatal


Ah, I got it.
Thank you I will share the second problem after collect information.

Thank you :)
mung
Mentor
 
Posts: 58
Joined: Wed Jan 04, 2017 12:20 am

Re: Can I ask about FATAL and WARNING log?

Postby mung » Fri Aug 31, 2018 5:51 am

Czarek wrote:I guess the checks that fail in Debug mode are in Chromium code. Looks like the first issue is already reported in CEF tracker:
https://bitbucket.org/chromiumembedded/ ... 5275-fatal


this call stack is when I got a crash. [case 1]
crash_alttab.jpeg
when I got a crash call stack
crash_alttab.jpeg (120.22 KiB) Viewed 5404 times

It happened crash when my D3D9 application restore.

and it is CefMainThread when I got a case 1.
multithread_loop_cefmainthread.jpeg
when I got a crash call stack cef main thread.
multithread_loop_cefmainthread.jpeg (118.19 KiB) Viewed 5404 times



When I use SingleThreadMessageLoop
SingleThreadMessageLoop.jpeg
single thread messge loop - call stack
SingleThreadMessageLoop.jpeg (100.31 KiB) Viewed 5387 times
mung
Mentor
 
Posts: 58
Joined: Wed Jan 04, 2017 12:20 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 81 guests