QTWebengine crash with: unable to find resource: 16079

Станислав stassse at mail.ru
Fri Jan 27 08:07:01 GMT 2023


Hello.
 
I install from git:
Qt5 5.15.2
QtWebengine 5.15.12
sip 5.5.0
PyQt.sip 12.8.1
PyQt5 5.15.8
PyQtWebEngine 5.15.6
 
Start QWebEngineView from python a have error :
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[166522:166522:0125/152904.831324:WARNING:resource_bundle.cc(1094)] unable to find resource: 16079
[166522:166522:0125/152904.831396:FATAL:resource_bundle.cc(1095)] Check failed: false. 
#0 0x7ff19007d63b base::debug::CollectStackTrace()
#1 0x7ff18fea65a7 base::debug::StackTrace::StackTrace()
#2 0x7ff18fea655e base::debug::StackTrace::StackTrace()
#3 0x7ff18fe83432 logging::LogMessage::~LogMessage()
#4 0x7ff18fe83b9c logging::LogMessage::~LogMessage()
#5 0x7ff18fe8b4c1 logging::CheckError::~CheckError()
#6 0x7ff191900eaf ui::ResourceBundle::GetLocalizedStringImpl()
#7 0x7ff1918ff0ae ui::ResourceBundle::GetLocalizedString()
#8 0x7ff1918ed43e l10n_util::GetStringUTF16()
#9 0x7ff18f8dd4d2 pdf_extension_util::(anonymous namespace)::AddCommonStrings()
#10 0x7ff18f8dd74a pdf_extension_util::AddStrings()
#11 0x7ff189707303 extensions::ComponentExtensionResourceManagerQt::ComponentExtensionResourceManagerQt()
#12 0x7ff189716994 extensions::ExtensionsBrowserClientQt::ExtensionsBrowserClientQt()
#13 0x7ff18953054b QtWebEngineCore::BrowserMainPartsQt::PreMainMessageLoopRun()
#14 0x7ff19472d85e content::BrowserMainLoop::PreMainMessageLoopRun()
#15 0x7ff194739e13 base::internal::FunctorTraits<>::Invoke<>()
#16 0x7ff1947390c8 base::internal::InvokeHelper<>::MakeItSo<>()
#17 0x7ff194737e81 _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE7RunImplIS6_St5tupleIJS8_EEJLm0EEEEiOT_OT0_St16integer_sequenceImJXspT1_EEE
#18 0x7ff194735fb1 base::internal::Invoker<>::RunOnce()
#19 0x7ff18b174d5f _ZNO4base12OnceCallbackIFivEE3RunEv
#20 0x7ff194dd679e content::StartupTaskRunner::RunAllTasksNow()
#21 0x7ff19472d2a7 content::BrowserMainLoop::CreateStartupTasks()
#22 0x7ff19473b2bd content::BrowserMainRunnerImpl::Initialize()
#23 0x7ff1896b5a80 QtWebEngineCore::WebEngineContext::WebEngineContext()
#24 0x7ff1896b3326 QtWebEngineCore::WebEngineContext::current()
#25 0x7ff1896927e6 QtWebEngineCore::WebContentsAdapter::WebContentsAdapter()
#26 0x7ff1a00dbefe QSharedPointer<>::create<>()
#27 0x7ff1a00cc27d QWebEnginePagePrivate::QWebEnginePagePrivate()
#28 0x7ff1a00ce84e QWebEnginePage::QWebEnginePage()
#29 0x7ff1a00e7dd2 QWebEngineView::page()
#30 0x7ff1a00e7ea2 QWebEngineView::setHtml()
#31 0x7ff1a0146ff0 (/usr/lib/python3/dist-packages/PyQt5/QtWebEngineWidgets.so+0x26fef)
#32 0x00000053f350 (/usr/bin/python3.9+0x53f34f)
#33 0x00000051d89b _PyObject_MakeTpCall
#34 0x0000005175ba _PyEval_EvalFrameDefault
#35 0x000000528b63 _PyFunction_Vectorcall
#36 0x000000537b80 (/usr/bin/python3.9+0x537b7f)
#37 0x00000051d6f5 _PyObject_MakeTpCall
#38 0x0000005170e4 _PyEval_EvalFrameDefault
#39 0x0000005106ed (/usr/bin/python3.9+0x5106ec)
#40 0x000000510497 _PyEval_EvalCodeWithName
#41 0x0000005f5be3 PyEval_EvalCode
#42 0x000000619de7 (/usr/bin/python3.9+0x619de6)
#43 0x000000615610 (/usr/bin/python3.9+0x61560f)
#44 0x000000619d79 (/usr/bin/python3.9+0x619d78)
#45 0x000000619816 PyRun_SimpleFileExFlags
#46 0x00000060d4e3 Py_RunMain
#47 0x0000005ea6e9 Py_BytesMain
#48 0x7ff1a5a03d0a __libc_start_main
#49 0x0000005ea5ea _start

Received signal 6
#0 0x7ff19007d63b base::debug::CollectStackTrace()
#1 0x7ff18fea65a7 base::debug::StackTrace::StackTrace()
#2 0x7ff18fea655e base::debug::StackTrace::StackTrace()
#3 0x7ff19007c257 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#4 0x7ff1a5d65140 (/usr/lib/x86_64-linux-gnu/libpthread-2.31.so+0x1313f)
#5 0x7ff1a5a18ce1 gsignal
#6 0x7ff1a5a02537 abort
#7 0x7ff19007b99d base::debug::(anonymous namespace)::DebugBreak()
#8 0x7ff19007b9b6 base::debug::BreakDebugger()
#9 0x7ff18fe83b02 logging::LogMessage::~LogMessage()
#10 0x7ff18fe83b9c logging::LogMessage::~LogMessage()
#11 0x7ff18fe8b4c1 logging::CheckError::~CheckError()
#12 0x7ff191900eaf ui::ResourceBundle::GetLocalizedStringImpl()
#13 0x7ff1918ff0ae ui::ResourceBundle::GetLocalizedString()
#14 0x7ff1918ed43e l10n_util::GetStringUTF16()
#15 0x7ff18f8dd4d2 pdf_extension_util::(anonymous namespace)::AddCommonStrings()
#16 0x7ff18f8dd74a pdf_extension_util::AddStrings()
#17 0x7ff189707303 extensions::ComponentExtensionResourceManagerQt::ComponentExtensionResourceManagerQt()
#18 0x7ff189716994 extensions::ExtensionsBrowserClientQt::ExtensionsBrowserClientQt()
#19 0x7ff18953054b QtWebEngineCore::BrowserMainPartsQt::PreMainMessageLoopRun()
#20 0x7ff19472d85e content::BrowserMainLoop::PreMainMessageLoopRun()
#21 0x7ff194739e13 base::internal::FunctorTraits<>::Invoke<>()
#22 0x7ff1947390c8 base::internal::InvokeHelper<>::MakeItSo<>()
#23 0x7ff194737e81 _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE7RunImplIS6_St5tupleIJS8_EEJLm0EEEEiOT_OT0_St16integer_sequenceImJXspT1_EEE
#24 0x7ff194735fb1 base::internal::Invoker<>::RunOnce()
#25 0x7ff18b174d5f _ZNO4base12OnceCallbackIFivEE3RunEv
#26 0x7ff194dd679e content::StartupTaskRunner::RunAllTasksNow()
#27 0x7ff19472d2a7 content::BrowserMainLoop::CreateStartupTasks()
#28 0x7ff19473b2bd content::BrowserMainRunnerImpl::Initialize()
#29 0x7ff1896b5a80 QtWebEngineCore::WebEngineContext::WebEngineContext()
#30 0x7ff1896b3326 QtWebEngineCore::WebEngineContext::current()
#31 0x7ff1896927e6 QtWebEngineCore::WebContentsAdapter::WebContentsAdapter()
#32 0x7ff1a00dbefe QSharedPointer<>::create<>()
#33 0x7ff1a00cc27d QWebEnginePagePrivate::QWebEnginePagePrivate()
#34 0x7ff1a00ce84e QWebEnginePage::QWebEnginePage()
#35 0x7ff1a00e7dd2 QWebEngineView::page()
#36 0x7ff1a00e7ea2 QWebEngineView::setHtml()
#37 0x7ff1a0146ff0 (/usr/lib/python3/dist-packages/PyQt5/QtWebEngineWidgets.so+0x26fef)
#38 0x00000053f350 (/usr/bin/python3.9+0x53f34f)
#39 0x00000051d89b _PyObject_MakeTpCall
#40 0x0000005175ba _PyEval_EvalFrameDefault
#41 0x000000528b63 _PyFunction_Vectorcall
#42 0x000000537b80 (/usr/bin/python3.9+0x537b7f)
#43 0x00000051d6f5 _PyObject_MakeTpCall
#44 0x0000005170e4 _PyEval_EvalFrameDefault
#45 0x0000005106ed (/usr/bin/python3.9+0x5106ec)
#46 0x000000510497 _PyEval_EvalCodeWithName
#47 0x0000005f5be3 PyEval_EvalCode
#48 0x000000619de7 (/usr/bin/python3.9+0x619de6)
#49 0x000000615610 (/usr/bin/python3.9+0x61560f)
#50 0x000000619d79 (/usr/bin/python3.9+0x619d78)
#51 0x000000619816 PyRun_SimpleFileExFlags
#52 0x00000060d4e3 Py_RunMain
#53 0x0000005ea6e9 Py_BytesMain
#54 0x7ff1a5a03d0a __libc_start_main
#55 0x0000005ea5ea _start
  r8: 0000000000000000  r9: 00007fff1420f8f0 r10: 0000000000000008 r11: 0000000000000246
 r12: 0000000000000bb4 r13: 0000000000000000 r14: 00007ff19472ed6e r15: 0000000000000000
  di: 0000000000000002  si: 00007fff1420f8f0  bp: 00007fff1420fb40  bx: 00007ff1a59dd740
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007ff1a5a18ce1  sp: 00007fff1420f8f0
  ip: 00007ff1a5a18ce1 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
 
My locale is en-US
 
Where I must find solution ?
 
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230127/61f51b50/attachment-0001.htm>


More information about the PyQt mailing list