Opened 13 years ago
Closed 12 years ago
Last modified 12 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)
by , 13 years ago
| Attachment: | 01_mythpreview_backtrace_core.1363091143.500.26381.mythpreviewgen.txt added |
|---|
by , 13 years ago
| Attachment: | 01_mythpreviewgen.20130312122530.26381.log added |
|---|
by , 13 years ago
| Attachment: | 02_mythpreview_backtrace_core.1363115725.500.30436.mythpreviewgen.txt added |
|---|
by , 13 years ago
| Attachment: | 03_mythpreview_backtrace_core.1363120631.500.31328.mythpreviewgen.txt added |
|---|
by , 13 years ago
| Attachment: | 04_mythpreview_backtrace_core.1363121923.500.31592.mythpreviewgen.txt added |
|---|
by , 13 years ago
| Attachment: | 05_mythpreview_backtrace_core.1363121925.500.31638.mythpreviewgen.txt added |
|---|
by , 13 years ago
| Attachment: | 06_mythpreview_backtrace_core.1363121928.500.31687.mythpreviewgen.txt added |
|---|
by , 13 years ago
| Attachment: | 07_mythpreview_backtrace_core.1363121930.500.31726.mythpreviewgen.txt added |
|---|
by , 13 years ago
| Attachment: | 08_mythpreview_backtrace_core.1363121930.500.31794.mythpreviewgen.txt added |
|---|
by , 13 years ago
| Attachment: | 09_mythpreview_backtrace_core.1363121934.500.31882.mythpreviewgen.txt added |
|---|
by , 13 years ago
| Attachment: | 10_mythpreview_backtrace_core.1363121958.500.32510.mythpreviewgen.txt added |
|---|
comment:1 by , 13 years ago
comment:2 by , 12 years ago
| 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 by , 12 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:4 by , 12 years ago
| Status: | assigned → infoneeded |
|---|
please try with 0.27 and report if it's fixed
comment:5 by , 12 years ago
had another idea.. can you change the playback profile to set the maximum number of CPU to just 1?
comment:6 by , 12 years ago
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 by , 12 years ago
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 by , 12 years ago
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 by , 12 years ago
| Milestone: | unknown → 0.27 |
|---|---|
| Priority: | minor → critical |
Kenni, can you try the attached patch?
by , 12 years ago
| Attachment: | 0174-Player-Delete-decoder-after-decoder-thread-stopped.patch added |
|---|
Possible fix
comment:10 by , 12 years ago
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 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | infoneeded → closed |
comment:13 by , 12 years ago
| 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.