Opened 5 years ago

Closed 22 months ago

Last modified 22 months ago

#12317 closed Bug Report - Crash (fixed)

mythfrontend crashes on exit

Reported by: Jay Foster <jayfoster@…> Owned by: Jonatan Lindblad
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.27.4
Severity: medium Keywords: SIGSEGV
Cc: Ticket locked: no

Description

After booting up, mythfrontend->mythfrontend.real starts. After the frontend menu is displayed, press ESC and select exit. mythfrontend reports that it crashed and will be restarted. Rinse and repeat. The second time, mythfronted exited, but apport generated a crash report. Unknown if this crash report was for the first crash (delayed) or not.

The crash report states: Title: mythfrontend.real crashed with SIGSEGV in QBuffer::buffer()

The crash report contains a core image and back traces. It is 27MB is size (too large to upload). whoopsie reportedly uploaded it to Ubuntu.

Attachments (1)

fe_crash_bt.txt (70.1 KB) - added by Jay Foster <jayfoster@…> 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by Jay Foster <jayfoster@…>

Attachment: fe_crash_bt.txt added

comment:1 Changed 23 months ago by Jonatan Lindblad

Owner: set to Jonatan Lindblad
Status: newassigned

comment:2 Changed 22 months ago by Jonatan Lindblad <jlindblad@…>

Resolution: fixed
Status: assignedclosed

In 3eccd6152b0f468df16906e2472fd879a18a54b9/mythtv:

MythSystem?: Make sure to clean up objects properly

In case MythSystemLegacy?{Unix, Windows}::m_parent had already been
deleted when a process exited, a dangling QBuffer pointer could be left
in MythSystemLegacyIOHandler. If this pointer was accessed, for example
in MythSystemLegacyIOHandler::HandleRead?, it could cause a crash.

Fixes #12317

comment:3 Changed 22 months ago by Jonatan Lindblad <jlindblad@…>

In 3411d57e8014cd8423ac7e832d8648be4ec7d65d/mythtv:

MythSystem?: Make sure to clean up objects properly

In case MythSystemLegacy?{Unix, Windows}::m_parent had already been
deleted when a process exited, a dangling QBuffer pointer could be left
in MythSystemLegacyIOHandler. If this pointer was accessed, for example
in MythSystemLegacyIOHandler::HandleRead?, it could cause a crash.

Fixes #12317

(cherry picked from commit 3eccd6152b0f468df16906e2472fd879a18a54b9)

comment:4 Changed 22 months ago by Jonatan Lindblad <jlindblad@…>

In c14349b0c424c1d1dcde52a6b662c0ee968177eb/mythtv:

MythSystem?: Make sure to clean up objects properly

In case MythSystemLegacy?{Unix, Windows}::m_parent had already been
deleted when a process exited, a dangling QBuffer pointer could be left
in MythSystemLegacyIOHandler. If this pointer was accessed, for example
in MythSystemLegacyIOHandler::HandleRead?, it could cause a crash.

Fixes #12317

(cherry picked from commit 3eccd6152b0f468df16906e2472fd879a18a54b9)

Note: See TracTickets for help on using tickets.