Opened 12 years ago

Closed 10 years ago

#4143 closed defect (invalid)

mythtranscode segfault

Reported by: michael bishop <clever@…> Owned by: cpinkham
Priority: critical Milestone: 0.22
Component: mythtranscode Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

http://clever.mine.nu:82/mythpaste/transcodesegfault/[[BR]]

most of the output is from running the crashit script
nearly all input(except db settings) should be in the folder
backtrace is also there(in gdb.txt)

3 different .nuv files(frame grabber card) are causing mythtranscode to fault
when reproducing with the problem with the same file it crashes at 8.7mb of output, same behavior with the other files

file plays fine in mythfrontend

running 14809 trunk

Attachments (2)

gdb.txt (13.1 KB) - added by michael bishop <clever@…> 12 years ago.
backtrace
transcodebt-17738M-trunk.txt (9.7 KB) - added by michael bishop <clever@…> 11 years ago.
2nd bt after the qt4 upgrade

Download all attachments as: .zip

Change History (18)

Changed 12 years ago by michael bishop <clever@…>

Attachment: gdb.txt added

backtrace

comment:1 Changed 12 years ago by stuartm

Milestone: unknown0.21

comment:2 Changed 12 years ago by stuartm

Priority: minorcritical

comment:3 Changed 12 years ago by cpinkham

Can you please provide a URL for a sample file? It just has to be large enough to trigger the fault.

comment:4 Changed 12 years ago by cpinkham

Owner: changed from Isaac Richards to cpinkham
Status: newassigned

comment:5 Changed 12 years ago by cpinkham

Milestone: 0.210.22

comment:6 Changed 12 years ago by cpinkham

Milestone: 0.22unknown

Changing this milestone back to unknown. If we have enough info to fix the bug before 0.21, it will go in.

comment:7 Changed 12 years ago by stuartm

Status: assignedinfoneeded

comment:8 Changed 12 years ago by stuartm

Still waiting on the requested sample file.

comment:9 Changed 12 years ago by michael bishop <clever@…>

http://clever.mine.nu:81/1028_20071106120000.nuv
i remember trying to produce a smaller chunk but that simply gave a segfault with a totaly diff backtrace
i also cant reproduce it anymore because qt4 is causing mythtranscode to segfault on EVERYTHING(no ticket for it yet)

comment:10 Changed 12 years ago by anonymous

yup, with qt4 it's segfaulting on everything here too

comment:11 Changed 12 years ago by michael bishop <clever@…>

qt4 segfault is fixed, havent retested this one in ages though

comment:12 Changed 12 years ago by michael bishop <clever@…>

/proc/PID/fdinfo/# might be usefull for figuring out how deep into reading the file it is
i'll try to reproduce it and cut that much out

Changed 11 years ago by michael bishop <clever@…>

2nd bt after the qt4 upgrade

comment:13 Changed 11 years ago by michael bishop <clever@…>

attached a 2nd backtrace of the bug still happening, now with qt4, same call path

MythTV Version   : 17738M
MythTV Branch    : trunk
Library API      : 0.22.20080707-1
Network Protocol : 40
QT Version       : 4.3.2

comment:14 Changed 11 years ago by stuartm

Milestone: unknown0.22
Status: infoneededassigned

comment:15 Changed 11 years ago by michael bishop <clever@…>

i watched the file in mythfrontend a while ago and theres a large scrambled junk from when the framegrabber buffer overflowed

probly dont need to fix the problem since its a 'corrupted' video file

comment:16 Changed 10 years ago by cpinkham

Resolution: invalid
Status: assignedclosed

Closing ticket per user's comment. If the problem is still occurring with current trunk the ticket can be reopened so we can try to get this fixed before 0.22.

Note: See TracTickets for help on using tickets.