multi_threaded_message_loop Crash

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.

multi_threaded_message_loop Crash

Postby sproc » Tue Jul 22, 2014 10:54 am

Hi,

I am using CEF in my application to render web content. I used CEF using multi_threaded_message_loop=true. But whenever I try to quit my application it crashes. It always do in Debug mode but is intermittent in Release. I tried to verify the same in cefclient.sln and could reproduce the issue. Following is the stack trace that may help:

> libcef.dll!base::debug::`anonymous namespace'::SymbolContext::OutputTraceToStream(const void * const * trace, unsigned __int64 count, std::basic_ostream<char,std::char_traits<char> > * os) Line 100 + 0x24 bytes C++
libcef.dll!base::debug::StackTrace::OutputToStream(std::basic_ostream<char,std::char_traits<char> > * os) Line 268 C++
libcef.dll!logging::LogMessage::~LogMessage() Line 569 C++
libcef.dll!content::GpuProcessTransportFactory::~GpuProcessTransportFactory() Line 156 C++
libcef.dll!content::GpuProcessTransportFactory::`scalar deleting destructor'() + 0x2c bytes C++
libcef.dll!content::ImageTransportFactory::Terminate() Line 39 + 0x32 bytes C++
libcef.dll!content::BrowserMainLoop::ShutdownThreadsAndCleanUp() Line 784 C++
libcef.dll!content::BrowserMainRunnerImpl::Shutdown() Line 152 C++
libcef.dll!`anonymous namespace'::CefUIThread::CleanUp() Line 133 C++
libcef.dll!base::Thread::ThreadMain() Line 232 C++


What do I need to do in my application to get rid of this problem?
sproc
Techie
 
Posts: 10
Joined: Wed Jun 04, 2014 12:53 pm

Re: multi_threaded_message_loop Crash

Postby icemoon » Wed Jul 23, 2014 5:58 am

try i wrote yestoday:
viewtopic.php?f=6&t=11968

then,if you use other ui engine, you should close all web before cefquitloop
icemoon
Newbie
 
Posts: 2
Joined: Tue Jul 22, 2014 3:16 am

Re: multi_threaded_message_loop Crash

Postby magreenblatt » Tue Jul 29, 2014 10:00 am

sproc wrote:What do I need to do in my application to get rid of this problem?

Use a Release build of libcef. This is https://code.google.com/p/chromiumembed ... il?id=1170.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 36 guests