Closed magreenblatt closed 8 years ago
Original comment by syed idris shah (Bitbucket: idrissha, GitHub: idrissha).
Here is the pull request that should fix the crash: https://bitbucket.org/chromiumembedded/cef/pull-requests/35/fix-the-google-docs-crash-issue-1764/diff
What OS and CEF version? What is the symbolized stack trace for the crash?
Original comment by syed idris shah (Bitbucket: idrissha, GitHub: idrissha).
Here is the backtrace:
Program received signal SIGSEGV, Segmentation fault. 0x00007fffebfb8b5f in CefBrowserHostImpl::TitleWasSet (this=0xbe4ca0, entry=0x0, explicit_set=true) at ../../cef/libcef/browser/browser_host_impl.cc:2804 2804 OnTitleChange(entry->GetTitle()); Missing separate debuginfos, use: debuginfo-install PackageKit-gtk3-module-1.0.6-1.fc21.x86_64 adwaita-gtk2-theme-3.14.2.2-1.fc21.x86_64 gvfs-1.22.4-2.fc21.x86_64 libXScrnSaver-1.2.2-8.fc21.x86_64 libcanberra-0.30-7.fc21.x86_64 libcanberra-gtk2-0.30-7.fc21.x86_64 libtdb-1.3.1-1.fc21.x86_64 libtool-ltdl-2.4.2-31.fc21.x86_64 systemd-libs-216-25.fc21.x86_64 (gdb) bt
title="L\000o\000a\000d\000i\000n\000g\000.\000.\000.\000") at ../../content/browser/web_contents/web_contents_impl.cc:3578
at ../../content/browser/web_contents/web_contents_impl.cc:4104
(void (ppapi::proxy::PPB_Graphics3D_Proxy::*)(ppapi::proxy::PPB_Graphics3D_Proxy * const, const ppapi::HostResource &, int)) 0x7ffff2c8c780 <content::RenderFrameHostImpl::OnUpdateTitle(std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> > const&, blink::WebTextDirection)>, arg=...) at ../../base/tuple.h:254
(void (content::RenderFrameHostImpl::*)(content::RenderFrameHostImpl * const, const std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> > &, blink::WebTextDirection)) 0x7ffff2c8c780 <content::RenderFrameHostImpl::OnUpdateTitle(std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> > const&, blink::WebTextDirection)>, arg=...) at ../../base/tuple.h:261
(void (content::RenderFrameHostImpl::*)(content::RenderFrameHostImpl * const, const std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> > &, blink::WebTextDirection)) 0x7ffff2c8c780 <content::RenderFrameHostImpl::OnUpdateTitle(std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> > const&, blink::WebTextDirection)>)
at ../../content/common/frame_messages.h:805
at ../../content/browser/frame_host/render_frame_host_impl.cc:467
at ../../content/browser/renderer_host/render_process_host_impl.cc:1611
at ../../ipc/ipc_channel_proxy.cc:288
at ../../base/bind_internal.h:176
at ../../base/message_loop/message_loop.cc:475
at ../../base/message_loop/message_loop.cc:484
at ../../base/message_loop/message_pump_glib.cc:313
at ../../cef/libcef/browser/browser_message_loop.cc:27
at ../../cef/tests/cefclient/browser/main_message_loop_std.cc:15
---Type
at ../../cef/tests/cefclient/cefclient_gtk.cc:124
According to WebContentsImpl::UpdateTitleForEntry the |entry| argument to CefBrowserHostImpl::TitleWasSet will be NULL if if a page is created via window.open and never navigated. If |entry| is NULL we can call WebContentsImpl::GetTitle() which should return the |page_title_when_no_navigationentry| value.
This is further complicated by the recent popup changes in master. See #1289/simultaneous-popups-are-cancelled#comment-23787382.
Fixed in master revision 26e68c3 (bb) and 2526 branch revision 3fb1b92 (bb).
Original report by syed idris shah (Bitbucket: idrissha, GitHub: idrissha).
Steps to reproduce:
Run cefclient with the command: ./out/Debug/cefclient --no-sandbox --register-pepper-plugins="/opt/google/chrome/PepperFlash/libpepflashplayer.so;application/x-shockwave-flash" --ppapi-flash-path="/opt/google/chrome/PepperFlash/libpepflashplayer.so"
Login to mail.google.com. Go to google drive.
Open jpg files.
Click on top "open with: " and select any app: (like: Pixlr Express).
Cefclient crashes.