Opened 16 years ago

Closed 16 years ago

#5003 closed defect (fixed)

Backend crashes on 0.21-fixes SVN 16578

Reported by: mb@… Owned by: Anduin Withers
Priority: major Milestone: 0.21.1
Component: mythtv Version: 0.21-fixes
Severity: medium Keywords: segfault backend
Cc: Ticket locked: no

Description

I am getting segmentation faults on a regular basis with the 0.21-fixes branch on my gentoo based mythtv (made my own overlay) older svn-versions of 0.21-fixes had the same problem so I "upgraded" on my own and made a debug version. When crashed with gdb attached I am getting the attached backtrace.

If I need to give you further information, please tell me.

Attachments (2)

crash-mythtv-0.21-fixes-svnp16578-backtrace.txt (35.0 KB) - added by mb@… 16 years ago.
Backtraces from gdb crash from 2008-03-19 svn16578
5003.patch (424 bytes) - added by Anduin Withers 16 years ago.
Handle entryInfoList returning 0

Download all attachments as: .zip

Change History (8)

Changed 16 years ago by mb@…

Backtraces from gdb crash from 2008-03-19 svn16578

Changed 16 years ago by Anduin Withers

Attachment: 5003.patch added

Handle entryInfoList returning 0

comment:1 Changed 16 years ago by Anduin Withers

The attached patch should fix it. In the future, backtraces should be generated following the steps here (roughly): http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2 . While it is usually obvious which thread caused the SIGSEGV, having the thread id makes the initial search faster.

comment:2 Changed 16 years ago by mb@…

Thank you. It fixes the bug. When does this patch make it into 0.21-fixes?

comment:3 Changed 16 years ago by Anduin Withers

Owner: changed from Isaac Richards to Anduin Withers
Status: newassigned

comment:4 Changed 16 years ago by Anduin Withers

(In [16741]) References #5003

Handle the case where vidDir.isReadable() was true but vidDir.entryIndoList() returned 0.

comment:5 Changed 16 years ago by Anduin Withers

Milestone: unknown0.21.1

comment:6 Changed 16 years ago by Anduin Withers

Resolution: fixed
Status: assignedclosed

(In [16962]) Closes #5003

Merges [16741] from trunk.

Original commit message:

Handle the case where vidDir.isReadable() was true but vidDir.entryIndoList() returned 0.

Note: See TracTickets for help on using tickets.