Opened 10 years ago

Closed 9 years ago

#8026 closed defect (Fixed)

[CRASH] mythtranscode segfault

Reported by: gmembre@… Owned by: beirdo
Priority: minor Milestone: 0.24.1
Component: MythTV - Mythtranscode Version: 0.22-fixes
Severity: medium Keywords: mythtranscode segfault ffmpeg
Cc: Ticket locked: no

Description

Mythtranscode segfault on 1/4 of my recordings. In 0.21, I had a segfault on less than 5% of my recordings.

mythtv_backtrace.txt contains the back trace of the problem
mythtranscode.txt contains the full log of mythtranscode running

Attachments (4)

mythtv_backtrace.txt.bz2 (6.0 KB) - added by gmembre@… 10 years ago.
backtrace
mythtranscode_log00.bz2 (370.8 KB) - added by gmembre@… 10 years ago.
mythtranscode log part 1
mythtranscode_log01.bz2 (370.3 KB) - added by gmembre@… 10 years ago.
mythtranscode log part 2
mythtranscode_log02.bz2 (242.3 KB) - added by gmembre@… 10 years ago.
mythtranscode log part 3

Download all attachments as: .zip

Change History (12)

Changed 10 years ago by gmembre@…

Attachment: mythtv_backtrace.txt.bz2 added

backtrace

Changed 10 years ago by gmembre@…

Attachment: mythtranscode_log00.bz2 added

mythtranscode log part 1

Changed 10 years ago by gmembre@…

Attachment: mythtranscode_log01.bz2 added

mythtranscode log part 2

Changed 10 years ago by gmembre@…

Attachment: mythtranscode_log02.bz2 added

mythtranscode log part 3

comment:1 Changed 10 years ago by Stuart Auchterlonie

Keywords: ffmpeg added
Milestone: 0.22.10.24

This is dying in put_pixels8_mmx which is part of ffmpeg and implemented completed in ASM. You might be lucky that this will be fixed after the ffmpeg resync, but looking at the current ffmpeg sync patchset this function remains unchanged, so i doubt that a resync will fix the problem.

comment:2 Changed 9 years ago by robertm

Milestone: 0.24unknown
Owner: changed from Isaac Richards to janneg
Status: newassigned

Milestoning to unknown, we can infoneed post-ffmpeg-sync.

comment:3 Changed 9 years ago by robertm

Owner: changed from janneg to Janne Grunau

comment:4 Changed 9 years ago by beirdo

Status: assignedinfoneeded
Summary: mythtranscode segfault[CRASH] mythtranscode segfault

Is this still the case after this last ffmpeg resync?

comment:5 Changed 9 years ago by beirdo

Owner: changed from Janne Grunau to beirdo

comment:6 Changed 9 years ago by gmembre@…

Hello

I made a new test this morning with dca8767 and nothing plays at all. Transcoding my file with a seektable doesn't do anything :

$ gdb mythtranscode -c /mnt/big2/tmp/core.mythtranscode 2>&1 | tee mythtv_transcode.txt
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mythtranscode...done.
/mnt/big2/tmp/core.mythtranscode: No such file or directory.
(gdb) set pagination off
(gdb) thread apply all bt
(gdb) run -v most -i /mnt/big2/tmp/transcode/in/Capital\ -\ 2011-01-23,\ 20-34\ -\ Emploi,\ qualite\ de\ vie\ -\ ameliorer\ son\ quotidien,\ c\ est\ possible.nuv -o /mnt/big2/tmp/transcode/transcode/Capital\ -\ 2011-01-23,\ 20-34\ -\ Emploi,\ qualite\ de\ vie\ -\ ameliorer\ son\ quotidien,\ c\ est\ possible.nuv -p 27 -V 16777217 -l 124585,151894-158013,164005-
Starting program: /usr/bin/mythtranscode -v most -i /mnt/big2/tmp/transcode/in/Capital\ -\ 2011-01-23,\ 20-34\ -\ Emploi,\ qualite\ de\ vie\ -\ ameliorer\ son\ quotidien,\ c\ est\ possible.nuv -o /mnt/big2/tmp/transcode/transcode/Capital\ -\ 2011-01-23,\ 20-34\ -\ Emploi,\ qualite\ de\ vie\ -\ ameliorer\ son\ quotidien,\ c\ est\ possible.nuv -p 27 -V 16777217 -l 124585,151894-158013,164005-
[Thread debugging using libthread_db enabled]
Cutting from: 0 to: 0
2011-02-19 10:32:34.302 Using runtime prefix = /usr
2011-02-19 10:32:34.302 Using configuration directory = /home/mythtv/.mythtv
2011-02-19 10:32:34.303 Empty LocalHostName.
[New Thread 0x46c4db70 (LWP 28635)]
[Thread 0x46c4db70 (LWP 28635) exited]
2011-02-19 10:32:34.341 New DB connection, total: 1
2011-02-19 10:32:34.382 Closing DB connection named 'DBManager0'
2011-02-19 10:32:34.415 Enabled verbose msgs: most
2011-02-19 10:32:34.602 New DB connection, total: 2
2011-02-19 10:32:34.609 New DB connection, total: 3
2011-02-19 10:32:34.675 Using protocol version 63
[mpeg4 @ 0x8176610] removing common factors from framerate
[New Thread 0x46c4db70 (LWP 28636)]
[New Thread 0x47374b70 (LWP 28637)]
[New Thread 0x4780bb70 (LWP 28638)]
[New Thread 0x47a0cb70 (LWP 28639)]
[New Thread 0x4915ab70 (LWP 28640)]
[Thread 0x4915ab70 (LWP 28640) exited]
[Thread 0x46c4db70 (LWP 28636) exited]
[Thread 0x47374b70 (LWP 28637) exited]
[Thread 0x4780bb70 (LWP 28638) exited]
[Thread 0x47a0cb70 (LWP 28639) exited]

Program exited normally.

Something wrong with this update :( I'll go through the mailling list.

comment:7 Changed 9 years ago by gmembre@…

Sorry for the noise : my cutlist was wrong (missing 0- at the beginning) and I make a new clean compilation of mythtv : I can play my recordings again. Besides mythtranscode doesn't segfault any more, so the problem seems to be resolved. I'm using the following version :

MythTV Version   : v0.24-184-gdca8767
MythTV Branch    : fixes/0.24
Network Protocol : 63
Library API      : 0.24.20101129-1
QT Version       : 4.6.3

Thanks a lot for your help !

comment:8 Changed 9 years ago by sphery

Milestone: unknown0.24.1
Priority: majorminor
Resolution: Fixed
Status: infoneededclosed

Fixed by recent changes.

Thanks for reporting back.

Note: See TracTickets for help on using tickets.