Skip to content

Preview crashes when using Web engine rendering #676

@artojarvinen

Description

@artojarvinen

I'm running ReText 8.0.2 on Ubuntu 24.04.3 LTS. I open a new document, leave it empty, click on preview, get a white window for a while and then ReText crashes. This is what the console says:

arto@Hal:~/Drive/Dev/cms/docs$ retext
Using configuration file: /home/arto/.config/ReText project/ReText.conf
WebEngineContext used before QtWebEngineCore::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
qt.webenginecontext:

GL Type: disabled
Surface Type: OpenGL
Surface Profile: NoProfile
Surface Version: 2.0
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: no

Init Parameters:

  • application-name ReText
  • browser-subprocess-path /usr/lib/qt6/libexec/QtWebEngineProcess
  • disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
  • disable-gpu
  • disable-setuid-sandbox
  • disable-speech-api
  • enable-features NetworkServiceInProcess,TracingServiceInProcess
  • enable-threaded-compositing
  • in-process-gpu
  • use-gl disabled

QRhiGles2: Failed to create temporary context
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QRhiGles2: Failed to create temporary context
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QQuickWidget: Failed to get a QRhi from the top-level widget's window
QQuickWidget::resizeEvent() no QRhi
QRhiGles2: Failed to create temporary context
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QQuickWidget: Failed to get a QRhi from the top-level widget's window
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/share/retext/ReText/converterprocess.py", line 72, in _converter_process_func
job = receiveObject(conn_child)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/retext/ReText/converterprocess.py", line 41, in receiveObject
sizeBuf = recvall(sock, 4)
^^^^^^^^^^^^^^^^
File "/usr/share/retext/ReText/converterprocess.py", line 34, in recvall
raise EOFError('Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly?')
EOFError: Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly?
Segmentation fault (core dumped)

If I can be of further assistance, please let me know. Thank you for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions