Opened 3 years ago

Closed 2 years ago

#12768 closed Bug Report - Crash (Fixed)

Seg Fault running over port forwarding X11

Reported by: Peter Bennett <pgbennett@…> Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.28.0
Severity: medium Keywords:
Cc: Ticket locked: no


If you logon to a system using ssh from another machine, then run mythfrontend or mythtv-setup, a seg fault occurs.

If you set paint engine to QT via the frontend on the remote machine the seg fault does not occur, and the window opens successfully, but that means you need access to a physical display on the remote machine to set the paint engine. If paint engine is set to Auto or OpenGL 1 or 2, it gets the seg fault.

It would be good if it could automatically fall back to QT in this case.

Details of the seg fault:

Core was generated by `mythfrontend'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f2e7dd32f29 in QGLFormat::openGLVersionFlags() () from /usr/lib/x86_64-linux-gnu/
[Current thread is 1 (Thread 0x7f2e6fce5900 (LWP 32245))]
(gdb) bt
#0  0x00007f2e7dd32f29 in QGLFormat::openGLVersionFlags() () from /usr/lib/x86_64-linux-gnu/
#1  0x00007f2e8613ead3 in MythRenderOpenGL::Create(QString const&, QPaintDevice*) () from /usr/lib/
#2  0x00007f2e85fa917d in MythMainWindow::Init(QString) () from /usr/lib/
#3  0x000000000046f396 in main ()

Change History (2)

comment:1 Changed 3 years ago by Peter Bennett <pgbennett@…>

Running remotely with option -O ThemePainter?=qt works. That can be used as a workaround for people needing remote access to setup.

comment:2 Changed 2 years ago by Peter Bennett

Resolution: Fixed
Status: newclosed

Fixed in 3db436fd953d1bdc7176b05f3ea05fceccdd1d5a

    Prevent segfault when OpenGL is set on remote X11 session.
    OpenGL fails on a remote session. GUI will revert to QT painter
    when running on a remote X11 session.
Note: See TracTickets for help on using tickets.