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 17 months ago

Closed 9 months ago

Last modified 9 months ago

#11279 closed Bug Report - Crash (fixed)

Mythbackend SIGFAULT on start

Reported by: fracmak@… Owned by: jyavenard
Priority: minor Milestone: 0.27
Component: MythTV - General Version: 0.26-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Crash report filed

https://bugs.launchpad.net/mythbuntu/+bug/1087908

It seems to be happening somewhere in the scheduler, log statements lead me to believe it's in FillRecordingDir?.

Is happening with the Ubuntu 12.04.1 and the latest 0.26-fixes branch.

Attachments (0)

Change History (5)

comment:1 Changed 17 months ago by fracmak@…

I've figured out more details. It seems post reboot, my HD-PVR got reassigned to /dev/video0 where it used to be /dev/video1. /dev/video1 is now my pcHDTV HD5000 cx8800 which I don't use. Once I switched the encoder back to the correct video device, the server starts up correctly again.

comment:2 Changed 10 months ago by dekarl

  • Priority changed from critical to minor
  • Severity changed from high to medium
  • Type changed from Bug Report - General to Bug Report - Crash

appears to be a NULL pointer dereference in http://code.mythtv.org/cgit/mythtv/tree/mythtv/programs/mythbackend/mainserver.cpp#n4419

reset ticket properties to default while here

comment:3 Changed 9 months ago by jyavenard

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

comment:4 Changed 9 months ago by Jean-Yves Avenard <jyavenard@…>

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

In 0a639d9bdf6612fdf827b123cd2a2f23d0600156/mythtv:

Do not use QMap::operator[] unless map definitely contains the key

QMap::operator[] would add here a NULL entry in the list of cards which would later cause a null dereference.

Fixes #11279

comment:5 Changed 9 months ago by jyavenard

  • Milestone changed from unknown to 0.27

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.