crash in libcef.dll

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

crash in libcef.dll

Postby alien0101 » Wed Aug 06, 2014 5:20 am

Hi

I was trying to run Cefsimple application and getting crash in libcef.dll. Here is stack trace . Any suggestions of how to fix this issue?

libcef.dll!error_handler(int reportType) Line 112 C++
libcef.dll!_CrtDbgReport(int reportType, const char * __formal, const char * __formal, const char * __formal, const char * __formal, ...) Line 133 + 0x9 bytes C++
libcef.dll!printCallSite(const char * file, int line, const char * function) Line 195 + 0x1a bytes C++
libcef.dll!WTFReportError(const char * file, int line, const char * function, const char * format, ...) Line 352 + 0x11 bytes C++
> libcef.dll!WebCore::SimpleFontData::platformGlyphInit() Line 106 + 0x16 bytes C++
libcef.dll!WebCore::SimpleFontData::SimpleFontData(const WebCore::FontPlatformData & platformData, WTF::PassRefPtr<WebCore::CustomFontData> customData, bool isTextOrientationFallback) Line 57 C++
libcef.dll!WebCore::SimpleFontData::create(const WebCore::FontPlatformData & platformData, WTF::PassRefPtr<WebCore::CustomFontData> customData, bool isTextOrientationFallback) Line 62 + 0x33 bytes C++
libcef.dll!WebCore::RemoteFontFaceSource::createFontData(const WebCore::FontDescription & fontDescription) Line 99 + 0x62 bytes C++
libcef.dll!WebCore::CSSFontFaceSource::getFontData(const WebCore::FontDescription & fontDescription) Line 61 + 0x17 bytes C++
libcef.dll!WebCore::CSSFontFace::getFontData(const WebCore::FontDescription & fontDescription) Line 107 + 0x19 bytes C++
libcef.dll!WebCore::CSSSegmentedFontFace::getFontData(const WebCore::FontDescription & fontDescription) Line 150 + 0x2a bytes C++
libcef.dll!WebCore::CSSFontSelector::getFontData(const WebCore::FontDescription & fontDescription, const WTF::AtomicString & familyName) Line 191 + 0x10 bytes C++
libcef.dll!WebCore::FontFallbackList::getFontData(const WebCore::FontDescription & fontDescription, int & familyIndex) Line 166 + 0x2e bytes C++
libcef.dll!WebCore::FontFallbackList::fontDataAt(const WebCore::FontDescription & fontDescription, unsigned int realizedFontIndex) Line 210 + 0x19 bytes C++
libcef.dll!WebCore::FontFallbackList::primaryFontData(const WebCore::FontDescription & fontDescription) Line 125 + 0x10 bytes C++
libcef.dll!WebCore::FontFallbackList::determinePitch(const WebCore::FontDescription & fontDescription) Line 81 + 0xc bytes C++
libcef.dll!WebCore::FontFallbackList::isFixedPitch(const WebCore::FontDescription & fontDescription) Line 76 C++
libcef.dll!WebCore::Font::isFixedPitch() Line 204 C++
libcef.dll!WebCore::RenderText::widthFromCache(const WebCore::Font & f, int start, int len, float xPos, WebCore::TextDirection textDirection, WTF::HashSet<WebCore::SimpleFontData const *,WTF::PtrHash<WebCore::SimpleFontData const *>,WTF::HashTraits<WebCore::SimpleFontData const *>,WTF::DefaultAllocator> * fallbackFonts, WebCore::GlyphOverflow * glyphOverflow) Line 733 + 0x8 bytes C++
libcef.dll!WebCore::RenderText::computePreferredLogicalWidths(float leadWidth, WTF::HashSet<WebCore::SimpleFontData const *,WTF::PtrHash<WebCore::SimpleFontData const *>,WTF::HashTraits<WebCore::SimpleFontData const *>,WTF::DefaultAllocator> & fallbackFonts, WebCore::GlyphOverflow & glyphOverflow) Line 1053 + 0x39 bytes C++
libcef.dll!WebCore::RenderText::computePreferredLogicalWidths(float leadWidth) Line 888 C++
libcef.dll!WebCore::RenderText::trimmedPrefWidths(float leadWidth, float & firstLineMinWidth, bool & hasBreakableStart, float & lastLineMinWidth, bool & hasBreakableEnd, bool & hasBreakableChar, bool & hasBreak, float & firstLineMaxWidth, float & lastLineMaxWidth, float & minWidth, float & maxWidth, bool & stripFrontSpaces, WebCore::TextDirection direction) Line 788 + 0x1d bytes C++
libcef.dll!WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths(WebCore::LayoutUnit & minLogicalWidth, WebCore::LayoutUnit & maxLogicalWidth) Line 1573 C++
libcef.dll!WebCore::RenderBlock::computeIntrinsicLogicalWidths(WebCore::LayoutUnit & minLogicalWidth, WebCore::LayoutUnit & maxLogicalWidth) Line 3498 C++
libcef.dll!WebCore::RenderBlock::computePreferredLogicalWidths() Line 3537 + 0x20 bytes C++
libcef.dll!WebCore::RenderBox::minPreferredLogicalWidth() Line 971 + 0x12 bytes C++
libcef.dll!WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths(WebCore::LayoutUnit & minLogicalWidth, WebCore::LayoutUnit & maxLogicalWidth) Line 1478 + 0x19 bytes C++
libcef.dll!WebCore::RenderBlock::computeIntrinsicLogicalWidths(WebCore::LayoutUnit & minLogicalWidth, WebCore::LayoutUnit & maxLogicalWidth) Line 3498 C++
libcef.dll!WebCore::RenderBlock::computePreferredLogicalWidths() Line 3537 + 0x20 bytes C++
libcef.dll!WebCore::RenderBox::maxPreferredLogicalWidth() Line 983 + 0x12 bytes C++
libcef.dll!WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild(WebCore::RenderBox * child, bool hasInfiniteLineLength, bool relayoutChildren) Line 683 + 0x16 bytes C++
libcef.dll!WebCore::RenderFlexibleBox::computeNextFlexLine(WTF::Vector<WebCore::RenderBox *,0,WTF::DefaultAllocator> & orderedChildren, WebCore::LayoutUnit & sumFlexBaseSize, double & totalFlexGrow, double & totalWeightedFlexShrink, WebCore::LayoutUnit & sumHypotheticalMainSize, bool & hasInfiniteLineLength, bool relayoutChildren) Line 934 C++
libcef.dll!WebCore::RenderFlexibleBox::layoutFlexItems(bool relayoutChildren) Line 705 + 0x28 bytes C++
libcef.dll!WebCore::RenderFlexibleBox::layoutBlock(bool relayoutChildren) Line 258 C++
libcef.dll!WebCore::RenderBlock::layout() Line 1290 + 0x14 bytes C++
libcef.dll!WebCore::RenderObject::layoutIfNeeded() Line 668 + 0x30 bytes C++
libcef.dll!WebCore::RenderBlockFlow::layoutInlineChildren(bool relayoutChildren, WebCore::LayoutUnit & repaintLogicalTop, WebCore::LayoutUnit & repaintLogicalBottom, WebCore::LayoutUnit afterEdge) Line 1733 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockFlow(bool relayoutChildren, WebCore::LayoutUnit & pageLogicalHeight, WebCore::SubtreeLayoutScope & layoutScope) Line 376 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlock(bool relayoutChildren) Line 306 + 0x15 bytes C++
libcef.dll!WebCore::RenderTableCell::layout() Line 251 C++
libcef.dll!WebCore::RenderTableRow::layout() Line 178 C++
libcef.dll!WebCore::RenderObject::layoutIfNeeded() Line 668 + 0x30 bytes C++
libcef.dll!WebCore::RenderTableSection::layout() Line 777 C++
libcef.dll!WebCore::RenderObject::layoutIfNeeded() Line 668 + 0x30 bytes C++
libcef.dll!WebCore::RenderTable::layout() Line 471 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox * child, WebCore::MarginInfo & marginInfo, WebCore::LayoutUnit & previousFloatLogicalBottom, WebCore::LayoutUnit & maxFloatLogicalBottom) Line 548 + 0x12 bytes C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockChildren(bool relayoutChildren, WebCore::LayoutUnit & maxFloatLogicalBottom, WebCore::SubtreeLayoutScope & layoutScope, WebCore::LayoutUnit beforeEdge, WebCore::LayoutUnit afterEdge) Line 918 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockFlow(bool relayoutChildren, WebCore::LayoutUnit & pageLogicalHeight, WebCore::SubtreeLayoutScope & layoutScope) Line 380 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlock(bool relayoutChildren) Line 306 + 0x15 bytes C++
libcef.dll!WebCore::RenderBlock::layout() Line 1290 + 0x14 bytes C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox * child, WebCore::MarginInfo & marginInfo, WebCore::LayoutUnit & previousFloatLogicalBottom, WebCore::LayoutUnit & maxFloatLogicalBottom) Line 548 + 0x12 bytes C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockChildren(bool relayoutChildren, WebCore::LayoutUnit & maxFloatLogicalBottom, WebCore::SubtreeLayoutScope & layoutScope, WebCore::LayoutUnit beforeEdge, WebCore::LayoutUnit afterEdge) Line 918 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockFlow(bool relayoutChildren, WebCore::LayoutUnit & pageLogicalHeight, WebCore::SubtreeLayoutScope & layoutScope) Line 380 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlock(bool relayoutChildren) Line 306 + 0x15 bytes C++
libcef.dll!WebCore::RenderBlock::layout() Line 1290 + 0x14 bytes C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox * child, WebCore::MarginInfo & marginInfo, WebCore::LayoutUnit & previousFloatLogicalBottom, WebCore::LayoutUnit & maxFloatLogicalBottom) Line 548 + 0x12 bytes C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockChildren(bool relayoutChildren, WebCore::LayoutUnit & maxFloatLogicalBottom, WebCore::SubtreeLayoutScope & layoutScope, WebCore::LayoutUnit beforeEdge, WebCore::LayoutUnit afterEdge) Line 918 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockFlow(bool relayoutChildren, WebCore::LayoutUnit & pageLogicalHeight, WebCore::SubtreeLayoutScope & layoutScope) Line 380 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlock(bool relayoutChildren) Line 306 + 0x15 bytes C++
libcef.dll!WebCore::RenderBlock::layout() Line 1290 + 0x14 bytes C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox * child, WebCore::MarginInfo & marginInfo, WebCore::LayoutUnit & previousFloatLogicalBottom, WebCore::LayoutUnit & maxFloatLogicalBottom) Line 548 + 0x12 bytes C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockChildren(bool relayoutChildren, WebCore::LayoutUnit & maxFloatLogicalBottom, WebCore::SubtreeLayoutScope & layoutScope, WebCore::LayoutUnit beforeEdge, WebCore::LayoutUnit afterEdge) Line 918 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlockFlow(bool relayoutChildren, WebCore::LayoutUnit & pageLogicalHeight, WebCore::SubtreeLayoutScope & layoutScope) Line 380 C++
libcef.dll!WebCore::RenderBlockFlow::layoutBlock(bool relayoutChildren) Line 306 + 0x15 bytes C++
libcef.dll!WebCore::RenderBlock::layout() Line 1290 + 0x14 bytes C++
libcef.dll!WebCore::FrameView::performLayout(WebCore::RenderObject * rootForThisLayout, bool inSubtreeLayout) Line 799 + 0x12 bytes C++
libcef.dll!WebCore::FrameView::layout(bool allowSubtree) Line 965 C++
libcef.dll!WebCore::FrameView::updateLayoutAndStyleIfNeededRecursive() Line 2808 C++
libcef.dll!WebCore::FrameView::updateLayoutAndStyleForPainting() Line 2779 C++
libcef.dll!WebCore::PageAnimator::updateLayoutAndStyleForPainting() Line 75 C++
libcef.dll!blink::PageWidgetDelegate::layout(WebCore::Page * page) Line 74 C++
libcef.dll!blink::WebViewImpl::layout() Line 1669 + 0x14 bytes C++
libcef.dll!content::RenderWidgetCompositor::Layout() Line 592 + 0x1d bytes C++
libcef.dll!cc::LayerTreeHost::Layout() Line 257 + 0x15 bytes C++
libcef.dll!cc::ThreadProxy::BeginMainFrame(scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> > begin_main_frame_state) Line 888 C++
libcef.dll!base::internal::RunnableAdapter<void (__thiscall cc::ThreadProxy::*)(scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> >)>::Run(cc::ThreadProxy * object, scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> > a1) Line 190 + 0x38 bytes C++
libcef.dll!base::internal::InvokeHelper<1,void,base::internal::RunnableAdapter<void (__thiscall cc::ThreadProxy::*)(scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> >)>,void __cdecl(base::WeakPtr<cc::ThreadProxy> const &,scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> >)>::MakeItSo(base::internal::RunnableAdapter<void (__thiscall cc::ThreadProxy::*)(scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> >)> runnable, const base::WeakPtr<cc::ThreadProxy> & weak_ptr, scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> > a2) Line 909 + 0x37 bytes C++
libcef.dll!base::internal::Invoker<2,base::internal::BindState<base::internal::RunnableAdapter<void (__thiscall cc::ThreadProxy::*)(scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> >)>,void __cdecl(cc::ThreadProxy *,scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> >),void __cdecl(base::WeakPtr<cc::ThreadProxy>,base::internal::PassedWrapper<scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> > >)>,void __cdecl(cc::ThreadProxy *,scoped_ptr<cc::ThreadProxy::BeginMainFrameAndCommitState,base::DefaultDeleter<cc::ThreadProxy::BeginMainFrameAndCommitState> >)>::Run(base::internal::BindStateBase * base) Line 1253 + 0x43 bytes C++
libcef.dll!base::Callback<void __cdecl(void)>::Run() Line 401 + 0xe bytes C++
libcef.dll!base::MessageLoop::RunTask(const base::PendingTask & pending_task) Line 451 C++
libcef.dll!base::MessageLoop::DeferOrRunPendingTask(const base::PendingTask & pending_task) Line 464 C++
libcef.dll!base::MessageLoop::DoWork() Line 575 + 0xc bytes C++
libcef.dll!base::MessagePumpForUI::DoRunLoop() Line 218 + 0x1d bytes C++
libcef.dll!base::MessagePumpWin::RunWithDispatcher(base::MessagePump::Delegate * delegate, base::MessagePumpDispatcher * dispatcher) Line 65 + 0xf bytes C++
libcef.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate) Line 47 + 0x1c bytes C++
libcef.dll!base::MessageLoop::RunHandler() Line 399 + 0x2a bytes C++
libcef.dll!base::RunLoop::Run() Line 50 C++
libcef.dll!base::MessageLoop::Run() Line 293 C++
libcef.dll!base::Thread::Run(base::MessageLoop * message_loop) Line 173 C++
libcef.dll!base::Thread::ThreadMain() Line 225 + 0x16 bytes C++
libcef.dll!base::`anonymous namespace'::ThreadFunc(void * params) Line 78 + 0xe bytes C++
kernel32.dll!753d338a()
alien0101
Techie
 
Posts: 11
Joined: Tue Jul 29, 2014 5:09 am

Re: crash in libcef.dll

Postby magreenblatt » Wed Aug 06, 2014 8:22 am

This is a debug assertion in Blink. You can use a release build of libcef.dll with the debug build of your application to work around the problem.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: crash in libcef.dll

Postby alien0101 » Wed Aug 06, 2014 1:06 pm

Thanks for reply.

I am getting one more crash in debug build in cefInitialize
libcef.dll!base::debug::BreakDebugger() Line 107 C++
libcef.dll!logging::LogMessage::~LogMessage() Line 659 C++
libcef.dll!content::ContentMainRunnerImpl::Initialize(const content::ContentMainParams & params) Line 753 C++
libcef.dll!CefContext::Initialize(const CefMainArgs & args, const CefStructBase<CefSettingsTraits> & settings, CefRefPtr<CefApp> application, void * windows_sandbox_info) Line 277 + 0x30 bytes C++
libcef.dll!CefInitialize(const CefMainArgs & args, const CefStructBase<CefSettingsTraits> & settings, CefRefPtr<CefApp> application, void * windows_sandbox_info) Line 124 + 0x23 bytes C++
libcef.dll!cef_initialize(const _cef_main_args_t * args, const _cef_settings_t * settings, _cef_app_t * application, void * windows_sandbox_info) Line 165 + 0x24 bytes C++


Any idea about this crash?
alien0101
Techie
 
Posts: 11
Joined: Tue Jul 29, 2014 5:09 am

Re: crash in libcef.dll

Postby magreenblatt » Wed Aug 06, 2014 3:20 pm

What CEF version? Have you made any changes to cefsimple or passed any command-line flags?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 35 guests