Opened 12 years ago
Closed 11 years ago
Last modified 11 years ago
#11452 closed Bug Report - Crash (fixed)
mythpreviewgen SEGFAULT
Reported by: | Kenni Lund [kenni a kelu dot dk] | Owned by: | JYA |
---|---|---|---|
Priority: | blocker | Milestone: | 0.27 |
Component: | MythTV - Video Decoding | Version: | 0.26-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I'm seeing mythpreviewgen segfaults more or less on a daily basis on 0.26-fixes. I'm attaching a backtrace extracted from a core dump together with the corresponding mythpreviewgen log file. The segfault was in LWP 26415.
I'll attach some more backtraces once I experience them.
Version: v0.26.0-112-g77259c5
Attachments (12)
Change History (25)
Changed 12 years ago by
Attachment: | 01_mythpreview_backtrace_core.1363091143.500.26381.mythpreviewgen.txt added |
---|
Changed 12 years ago by
Attachment: | 01_mythpreviewgen.20130312122530.26381.log added |
---|
Changed 12 years ago by
Attachment: | 02_mythpreview_backtrace_core.1363115725.500.30436.mythpreviewgen.txt added |
---|
Changed 12 years ago by
Attachment: | 03_mythpreview_backtrace_core.1363120631.500.31328.mythpreviewgen.txt added |
---|
Changed 12 years ago by
Attachment: | 04_mythpreview_backtrace_core.1363121923.500.31592.mythpreviewgen.txt added |
---|
Changed 12 years ago by
Attachment: | 05_mythpreview_backtrace_core.1363121925.500.31638.mythpreviewgen.txt added |
---|
Changed 12 years ago by
Attachment: | 06_mythpreview_backtrace_core.1363121928.500.31687.mythpreviewgen.txt added |
---|
Changed 12 years ago by
Attachment: | 07_mythpreview_backtrace_core.1363121930.500.31726.mythpreviewgen.txt added |
---|
Changed 12 years ago by
Attachment: | 08_mythpreview_backtrace_core.1363121930.500.31794.mythpreviewgen.txt added |
---|
Changed 12 years ago by
Attachment: | 09_mythpreview_backtrace_core.1363121934.500.31882.mythpreviewgen.txt added |
---|
Changed 12 years ago by
Attachment: | 10_mythpreview_backtrace_core.1363121958.500.32510.mythpreviewgen.txt added |
---|
comment:1 Changed 12 years ago by
comment:2 Changed 11 years ago by
Component: | MythTV - Mythpreviewgen → MythTV - Video Decoding |
---|
The segfaults are all occurring within the video decoding libraries. Is this something that should get passed upstream to FFmpeg?
comment:3 Changed 11 years ago by
Owner: | set to JYA |
---|---|
Status: | new → assigned |
comment:4 Changed 11 years ago by
Status: | assigned → infoneeded |
---|
please try with 0.27 and report if it's fixed
comment:5 Changed 11 years ago by
had another idea.. can you change the playback profile to set the maximum number of CPU to just 1?
comment:6 Changed 11 years ago by
I upgraded to master on the 21st of August and it wasn't fixed in that checkout. I'll test with the playback setting on Monday.
comment:7 Changed 11 years ago by
can you provide more information about the type of codec used in those recordings.. and provide a sample of a file , long enough to try running mythpreviewgen on it and attempt to reproduce your problem.
thanks
comment:8 Changed 11 years ago by
Hi Jya
The recordings are H.264 with AC-3 recorded with a HDHR from DVB-C. I've extracted a 30MB sample from one of the recordings which causes the crash. Running mythpreviewgen directly on the sample causes the crash as well:
mythpreviewgen --infile mythpreviewgen_crash_11452.mpg
You can download the sample from here (doesn't require login, just click Files->Download): https://docs.google.com/file/d/0B-_nZameGeN-ZkhCdUFGRlRfVVk/edit?usp=sharing
Unfortunately, I don't have access to a working frontend at the moment, so I'm unable to test with max. CPU set to 1.
comment:9 Changed 11 years ago by
Milestone: | unknown → 0.27 |
---|---|
Priority: | minor → critical |
Kenni, can you try the attached patch?
Changed 11 years ago by
Attachment: | 0174-Player-Delete-decoder-after-decoder-thread-stopped.patch added |
---|
Possible fix
comment:10 Changed 11 years ago by
Stuart, the patch from Lawrence fixes the issue. I don't get any segfaults, even when running mythpreviewgen against all of my 430 recordings :) Thanks..
(and thanks to you Jya for pinpointing the core issue).
comment:11 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | infoneeded → closed |
comment:13 Changed 11 years ago by
Priority: | critical → blocker |
---|
Well, that was easy...scrolling down the list of some of the recordings on my frontend, caused ~25 mythpreviewgen segfaults/coredumps in 2 minutes :) I've extracted and attached 10 backtraces.