Segfault while running very-simple-cef

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.

Segfault while running very-simple-cef

Postby DMEW » Tue Sep 13, 2016 11:22 am

Hello, Im running the following CEF C API example on my linux machine.

https://github.com/cztomczak/cefcapi/bl ... in_linux.c

I compile it correctly, but it segfaults at runtime during "cef_initialization". I am unable to run this against a debug version of libcef.so because of OTHER issues during debug compilation. So here is a stack trace from Release mode after the segfault:

(gdb) backtrace
#0 __memcpy_sse2_unaligned ()
at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:35
#1 0x00007ffff31700ee in cef_string_utf8_set () from ./libcef.so
#2 0x00007ffff3105898 in CefContext::Initialize(CefMainArgs const&, CefStructBase<CefSettingsTraits> const&, CefRefPtr<CefApp>, void*) () from ./libcef.so
#3 0x00007ffff3105814 in CefInitialize(CefMainArgs const&, CefStructBase<CefSettingsTraits> const&, CefRefPtr<CefApp>, void*) () from ./libcef.so
#4 0x00007ffff1f8a128 in cef_initialize () from ./libcef.so
#5 0x0000000000401850 in main (argc=1, argv=0x7fffffffdee8) at main_linux.c:43

Any body have an idea whats going on?

Thanks in advance
DMEW
Newbie
 
Posts: 4
Joined: Tue Sep 13, 2016 11:20 am

Re: Segfault while running very-simple-cef

Postby magreenblatt » Tue Sep 13, 2016 12:04 pm

Are you using the CEF version required by that example?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Segfault while running very-simple-cef

Postby DMEW » Tue Sep 13, 2016 7:31 pm

thanks..probably what it is. Im scrapping cef C api and just interacting with libcef_dll_wrapper
DMEW
Newbie
 
Posts: 4
Joined: Tue Sep 13, 2016 11:20 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 93 guests