-
Notifications
You must be signed in to change notification settings - Fork 191
Description
(gdb)
#0 0x00007fffe9eb7f8c in ImmediateCrash () at ../../base/immediate_crash.h:176
#1 close() () at ../../base/files/scoped_file_linux.cc:107
#2 0x00007fffe9ed3344 in WriteFile() () at ../../base/files/file_util_posix.cc:1016
#3 0x00007fffe9eb9d16 in AdjustOOMScore() () at ../../base/process/memory_linux.cc:103
#4 0x00007fffe4364647 in AdjustLinuxOOMScore () at ../../chrome/app/chrome_main_delegate.cc:337
#5 SandboxInitialized() () at ../../chrome/app/chrome_main_delegate.cc:1785
#6 0x00007fffe97bfb31 in Initialize() () at ../../content/app/content_main_runner_impl.cc:1044
#7 0x00007fffe97bd5bf in ContentMainInitialize() () at ../../content/app/content_main.cc:286
#8 0x00007fffe4250c38 in ContentMainInitialize() () at ../../cef/libcef/browser/main_runner.cc:455
#9 0x00007fffe425098c in Initialize() () at ../../cef/libcef/browser/main_runner.cc:280
#10 0x00007fffe4230bbe in Initialize() () at ../../cef/libcef/browser/context.cc:491
#11 0x00007fffe42307f4 in CefInitialize() () at ../../cef/libcef/browser/context.cc:315
#12 0x00007fffe411281b in cef_initialize() () at ../../cef/libcef_dll/libcef_dll.cc:114
#13 0x00007ffff533cf6d in CefInitialize(CefMainArgs const&, CefStructBase const&, scoped_refptr, void*) (args=..., settings=..., application=..., windows_sandbox_info=0x0)
at /home/hughluo/work/QCefView/.build/linux.x86_64/_deps/cefviewcore-src/dep/cef_binary_126.2.18+g3647d39+chromium-126.0.6478.183_linux64/libcef_dll/wrapper/libcef_dll_wrapper.cc:102
#14 0x00007ffff52c7e14 in QCefContextPrivate::initializeCef(QCefConfig const*) (this=0x42739e0, config=0x7fffffffda78) at /home/hughluo/work/QCefView/src/linux/details/QCefContextPrivate_linux.cpp:47
#15 0x00007ffff5295af2 in QCefContextPrivate::initialize(QCefConfig const*) (this=0x42739e0, config=0x7fffffffda78) at /home/hughluo/work/QCefView/src/details/QCefContextPrivate.cpp:48
#16 0x00007ffff52894f0 in QCefContext::init(QCefConfig const*) (this=0x426fda0, config=0x7fffffffda78) at /home/hughluo/work/QCefView/src/QCefContext.cpp:108
#17 0x00007ffff52890a0 in QCefContext::QCefContext(QCoreApplication*, int, char**, QCefConfig const*) (this=0x426fda0, app=0x4184800, argc=1, argv=0x7fffffffdc98, config=0x7fffffffda78) at /home/hughluo/work/QCefView/src/QCefContext.cpp:15
#18 0x0000000000463588 in Application::Application(int&, char**) ()
#19 0x00000000005c7830 in main ()
对应的源代码如下:
QCefConfig cefConfig;
cefConfig.setLogLevel(QCefConfig::LOGSEVERITY_DISABLE);
cefConfig.setWindowlessRenderingEnabled(true);
cefConfig.setBackgroundColor(QColor(255, 255, 255)); // 设置白色背景防止黑屏
m_pCefContext = new QCefContext(m_pQApp, argc, argv, &cefConfig);
麻烦帮忙看看是什么原因,如何解决