zhangqd / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Libcef crash on click select html component #1264

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open cefclient (I have compiled it VS2012)
2. Go to http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select
3. click to result html select
4. Kaboom!

What is the expected output? What do you see instead?
open select menu but it crash

What version of the product are you using? On what operating system?
the problem is present on 3.1916.1685 and 3.1750.1679 (3.1750.1631 work fine) 
Windows 7 64bit

Please provide any additional information below.
libcef is downloaded from http://cefbuilds.com/

Original issue reported on code.google.com by gchiocc...@gmail.com on 2 May 2014 at 4:30

GoogleCodeExporter commented 9 years ago
The DCHECK(rwh->IsRenderView()); in RenderViewHost::From is failing.

Call stack from 3.1916.1683:

    libcef.dll!base::debug::BreakDebugger() Line 107    C++
    libcef.dll!logging::LogMessage::~LogMessage() Line 659  C++
>   libcef.dll!content::RenderViewHost::From(content::RenderWidgetHost * rwh) 
Line 173    C++
    libcef.dll!content::RenderWidgetHostViewAura::OnPaint(gfx::Canvas * canvas) Line 2690   C++
    libcef.dll!aura::Window::Paint(gfx::Canvas * canvas) Line 936   C++
    libcef.dll!aura::Window::OnPaintLayer(gfx::Canvas * canvas) Line 1330   C++
    libcef.dll!ui::Layer::PaintContents(SkCanvas * sk_canvas, const gfx::Rect & clip, gfx::RectF * opaque) Line 666 C++
    libcef.dll!cc::ContentLayerPainter::Paint(SkCanvas * canvas, const gfx::Rect & content_rect, gfx::RectF * opaque) Line 30   C++
    libcef.dll!cc::ContentLayerUpdater::PaintContents(SkCanvas * canvas, const gfx::Point & origin, float contents_width_scale, float contents_height_scale, gfx::Rect * resulting_opaque_rect) Line 73 C++
    libcef.dll!cc::BitmapContentLayerUpdater::PrepareToUpdate(const gfx::Rect & content_rect, const gfx::Size & tile_size, float contents_width_scale, float contents_height_scale, gfx::Rect * resulting_opaque_rect) Line 80  C++
    libcef.dll!cc::TiledLayer::UpdateTileTextures(const gfx::Rect & update_rect, const gfx::Rect & paint_rect, int left, int top, int right, int bottom, cc::ResourceUpdateQueue * queue, const cc::OcclusionTracker<cc::Layer> * occlusion) Line 487   C++
    libcef.dll!cc::TiledLayer::UpdateTiles(int left, int top, int right, int bottom, cc::ResourceUpdateQueue * queue, const cc::OcclusionTracker<cc::Layer> * occlusion, bool * updated) Line 350   C++
    libcef.dll!cc::TiledLayer::Update(cc::ResourceUpdateQueue * queue, const cc::OcclusionTracker<cc::Layer> * occlusion) Line 764  C++
    libcef.dll!cc::ContentLayer::Update(cc::ResourceUpdateQueue * queue, const cc::OcclusionTracker<cc::Layer> * occlusion) Line 100    C++
    libcef.dll!cc::LayerTreeHost::PaintLayerContents(const cc::RenderSurfaceLayerList & render_surface_layer_list, cc::ResourceUpdateQueue * queue, bool * did_paint_content, bool * need_more_updates) Line 1003   C++
    libcef.dll!cc::LayerTreeHost::UpdateLayers(cc::Layer * root_layer, cc::ResourceUpdateQueue * queue) Line 840    C++
    libcef.dll!cc::LayerTreeHost::UpdateLayers(cc::ResourceUpdateQueue * queue) Line 735    C++
    libcef.dll!cc::SingleThreadProxy::CommitAndComposite(base::TimeTicks frame_begin_time, const gfx::Rect & device_viewport_damage_rect, bool for_readback, cc::LayerTreeHostImpl::FrameData * frame) Line 470 C++
    libcef.dll!cc::SingleThreadProxy::CompositeImmediately(base::TimeTicks frame_begin_time) Line 400   C++
    libcef.dll!cc::LayerTreeHost::Composite(base::TimeTicks frame_begin_time) Line 714  C++
    libcef.dll!ui::Compositor::Draw() Line 312  C++
    libcef.dll!base::internal::RunnableAdapter<void (__thiscall ui::Compositor::*)(void)>::Run(ui::Compositor * object) Line 134    C++
    libcef.dll!base::internal::InvokeHelper<1,void,base::internal::RunnableAdapter<void (__thiscall ui::Compositor::*)(void)>,void __cdecl(base::WeakPtr<ui::Compositor> const &)>::MakeItSo(base::internal::RunnableAdapter<void (__thiscall ui::Compositor::*)(void)> runnable, const base::WeakPtr<ui::Compositor> & weak_ptr) Line 883  C++
    libcef.dll!base::internal::Invoker<1,base::internal::BindState<base::internal::RunnableAdapter<void (__thiscall ui::Compositor::*)(void)>,void __cdecl(ui::Compositor *),void __cdecl(base::WeakPtr<ui::Compositor>)>,void __cdecl(ui::Compositor *)>::Run(base::internal::BindStateBase * base) Line 1169  C++
    libcef.dll!base::Callback<void __cdecl(void)>::Run() Line 401   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 C++
    libcef.dll!base::MessagePumpForUI::DoRunLoop() Line 218 C++
    libcef.dll!base::MessagePumpWin::RunWithDispatcher(base::MessagePump::Delegate * delegate, base::MessagePumpDispatcher * dispatcher) Line 65    C++
    libcef.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate) Line 47    C++
    libcef.dll!base::MessageLoop::RunHandler() Line 399 C++
    libcef.dll!base::RunLoop::Run() Line 50 C++
    libcef.dll!base::MessageLoop::Run() Line 293    C++
    libcef.dll!CefBrowserMessageLoop::RunMessageLoop() Line 28  C++
    libcef.dll!CefRunMessageLoop() Line 178 C++
    libcef.dll!cef_run_message_loop() Line 264  C++
    cefclient.exe!CefRunMessageLoop() Line 255  C++
    cefclient.exe!wWinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, wchar_t * lpCmdLine, int nCmdShow) Line 143    C++

Original comment by magreenb...@gmail.com on 2 May 2014 at 4:43

GoogleCodeExporter commented 9 years ago
Trunk revision 1656 seems to be the culprit.

Original comment by magreenb...@gmail.com on 2 May 2014 at 6:44

GoogleCodeExporter commented 9 years ago
Fixed in 1750 branch revision 1687, 1918 branch revision 1688 and trunk 
revision 1689.

Original comment by magreenb...@gmail.com on 2 May 2014 at 8:28

GoogleCodeExporter commented 9 years ago
Issue 1266 has been merged into this issue.

Original comment by magreenb...@gmail.com on 6 May 2014 at 3:16

GoogleCodeExporter commented 9 years ago
Issue 1267 has been merged into this issue.

Original comment by magreenb...@gmail.com on 6 May 2014 at 3:16