Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#11412 closed Bug Report - Crash (fixed)

Segfault in MythSystemSignalManager::run()

Reported by: stuartm Owned by: wagnerrp
Priority: critical Milestone: 0.26.1
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

It appears that MythSytem? has been deleted from under the running thread.

#0  0x00007f43f17e41b6 in QSemaphore::release(int) () from /usr/lib64/libQtCore.so.4
#1  0x00007f43fac13961 in MythSystem::Unlock (this=0x0) at mythsystem.h:111
#2  0x00007f43fac13b4a in MythSystemPrivate::Unlock (this=0x3e43680) at mythsystem.h:181
#3  0x00007f43fac0ffe5 in MythSystemSignalManager::run (this=0x1efe530) at system-unix.cpp:539
#4  0x00007f43faafe168 in MThreadInternal::run (this=0x1f02800) at mthread.cpp:79
#5  0x00007f43f17e7dec in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f43f5546ae4 in ?? () from /usr/lib64/nvidia-current/libGL.so.1
#7  0x00007f43f1557b99 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f43f0b070cd in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Attachments (0)

Change History (8)

comment:1 Changed 14 months ago by wagnerrp

  • Owner set to wagnerrp
  • Status changed from new to accepted

comment:2 Changed 14 months ago by Raymond Wagner <rwagner@…>

  • Resolution set to fixed
  • Status changed from accepted to closed

In 9c51ad39a65eee7a3f985a127700fbc8473ffb4e/mythtv:

Make sure forked process has stopped when deleting MythSystem?

This forces a termination in a forked MythSystem? process when the
MythSystem? object is destroyed, preventing a situation where the private
internal object tries to access resources from the no-longer-existent
parent object.

Fixes #11412

comment:3 Changed 14 months ago by Raymond Wagner <rwagner@…>

In 060094b10462c9c5494e66c31f4ad80d4dde6990/mythtv:

Make sure forked process has stopped when deleting MythSystem?

This forces a termination in a forked MythSystem? process when the
MythSystem? object is destroyed, preventing a situation where the private
internal object tries to access resources from the no-longer-existent
parent object.

Fixes #11412
(cherry picked from commit 9c51ad39a65eee7a3f985a127700fbc8473ffb4e)

comment:4 Changed 14 months ago by wagnerrp

  • Milestone changed from unknown to 0.26.1

comment:5 Changed 14 months ago by Raymond Wagner <rwagner@…>

In e1f14a5380886c6ddf95379341aa0f56481b7587/mythtv:

Called methods against wrong object in destructor.

Refs #11412

comment:6 Changed 14 months ago by Raymond Wagner <rwagner@…>

In c3fff6e88c1ab3c9e39483ef5101f83da38acff1/mythtv:

Called methods against wrong object in destructor.

Refs #11412
(cherry picked from commit e1f14a5380886c6ddf95379341aa0f56481b7587)

comment:7 Changed 14 months ago by Raymond Wagner <rwagner@…>

In 5a34add272dff062bd4368ad0cede866c6007a69/mythtv:

Make sure forked process has stopped when deleting MythSystem?

This forces a termination in a forked MythSystem? process when the
MythSystem? object is destroyed, preventing a situation where the private
internal object tries to access resources from the no-longer-existent
parent object.

Fixes #11412

comment:8 Changed 14 months ago by Raymond Wagner <rwagner@…>

In 5ce4394fa7003cbb7db909997c3b54416a4ced46/mythtv:

Called methods against wrong object in destructor.

Refs #11412

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.