Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11279 closed Bug Report - Crash (fixed)

Mythbackend SIGFAULT on start

Reported by: fracmak@… Owned by: JYA
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.

Change History (5)

comment:1 Changed 11 years 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 11 years ago by Karl Egly

Priority: criticalminor
Severity: highmedium
Type: Bug Report - GeneralBug 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 11 years ago by JYA

Owner: set to JYA
Status: newaccepted

comment:4 Changed 11 years ago by Jean-Yves Avenard <jyavenard@…>

Resolution: fixed
Status: acceptedclosed

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 11 years ago by JYA

Milestone: unknown0.27
Note: See TracTickets for help on using tickets.