Modify

Ticket #10875 (new Bug Report - Crash)

Opened 11 months ago

Last modified 2 months ago

AirPlay video playback causes MythFrontend to segfault

Reported by: Mark Canup <markcanup@…> Owned by: jyavenard
Priority: minor Milestone: unknown
Component: MythTV - Video Playback Version: Unspecified
Severity: medium Keywords: airplay
Cc: Ticket locked: no

Description

I am running Mythbuntu 12.04 with MythTV v0.25.1-49-g65913e7. I am attempting to playing video from an iPhone 4 with iOS 5.1.1 (9B206) on Verizon.

I have MYTHTV_AIRPLAY set and can play video fine through AirPlay? if initiated from the YouTube? app. However, when I attempt to play a video I recorded from my "Camera Roll" in the Photos app, it causes MythTV to segfault. Near as I can tell this is related to not being able to decode QuickTime?/MOV files but I haven't been able to find any documentation on how to enable that, and it seems like it shouldn't cause a segfault regardless.

To recreate the issue, I start /usr/bin/mythfrontend from the command line (with "export MYTHTV_AIRPLAY=1" already set in my .profile). I leave MythTV on the main menu. Then, on my iPhone, I go to "Camera Roll" and select a video to play. I can see my MythTV system as an output location from my iPhone, and choose it. The iPhone says it is playing through AirPlay?, but the MythTV frontend hangs and eventually crashes after about 10 seconds.

I'm attaching three files (1) the console output from when I was running mythfrontend until the segfault occurred, (2) the log in /var/log/mythtv/mythfrontend.log for the same time period, which is similar but not exactly the same, and (3) the output of mythfrontend --version.

Attachments

mythfrontend--version.txt (873 bytes) - added by Mark Canup <markcanup@…> 11 months ago.
mythfrontend.console.log (4.8 KB) - added by Mark Canup <markcanup@…> 11 months ago.
mythfrontend.log (64.6 KB) - added by Mark Canup <markcanup@…> 11 months ago.
mythfrontend_gdb.log.zip (4.2 KB) - added by mike@… 9 months ago.
GDB output with backtrace
sample.3gp (27.9 KB) - added by mike@… 9 months ago.
AirPlay? on MythTV cannot play this file
sample_sorenson.mov (80.5 KB) - added by mike@… 9 months ago.
MythTV will crash if this file is played after playing sample.3gp
mythfrontend_0.26_gdb-immediate crash.log (18.6 KB) - added by kalifg@… 2 months ago.
Crashes immediately
mythfrontend_0.26_gdb-pause then crash.log (21.8 KB) - added by kalifg@… 2 months ago.
Pauses then crashes

Change History

Changed 11 months ago by Mark Canup <markcanup@…>

Changed 11 months ago by Mark Canup <markcanup@…>

Changed 11 months ago by Mark Canup <markcanup@…>

comment:1 Changed 11 months ago by Mark Canup <markcanup@…>

I also noticed the following in dmesg:

[ 672.751310] mythfrontend.re[3047]: segfault at 128c ip 00007f02cec2ff17 sp 00007fff2d0ccfa8 error 4 in libmythtv-0.25.so.0.25.0[7f02ce7a5000+944000]

comment:2 Changed 11 months ago by beirdo

  • Owner set to jyavenard
  • Status changed from new to assigned

Please attach the full backtrace of the coredump created. (as in thread apply all bt full)

comment:3 Changed 11 months ago by beirdo

  • Status changed from assigned to infoneeded

comment:4 Changed 9 months ago by jyavenard

  • Status changed from infoneeded to closed
  • Resolution set to Works for me

no further info provided, and it works fine for me

Changed 9 months ago by mike@…

GDB output with backtrace

Changed 9 months ago by mike@…

AirPlay? on MythTV cannot play this file

Changed 9 months ago by mike@…

MythTV will crash if this file is played after playing sample.3gp

comment:5 Changed 9 months ago by mike@…

  • Status changed from closed to new
  • Resolution Works for me deleted

I've attached three files:

mythfrontend_gdb.log.zip: This is the output from GDB from startup to the crash with a backtrace. I'm running Mythbuntu and just updated 8/18/2012 7am EDT. Version information is in the log. The backtrace has whatever symbol information is provided in the binary from the Mythbuntu distribution.

sample.3gp: After startup, I attempted to play this file through AirPlay? first. It didn't crash, but it failed to play. The frontend's log shows repeated attempts to play it.

sample_sorenson.mov: Attempting to play this file after sample.3gp results in the crash.

Note that other types of video files play fine. Please let me know if you need more information.

comment:6 Changed 9 months ago by jyavenard

  • Status changed from new to infoneeded_new

Provide a backtrace using master/0.26

This code is no longer relevant in 0.26

comment:7 Changed 9 months ago by mike@…

Are no more fixes going into version 0.25?

comment:8 Changed 9 months ago by jyavenard

No

comment:9 Changed 9 months ago by mike@…

Then my work is done here.

comment:10 Changed 9 months ago by wagnerrp

  • Status changed from infoneeded_new to closed
  • Resolution set to Works for me

comment:11 Changed 2 months ago by kalifg@…

I have the same exact problem using 0.26 on a 12.04 Mythbuntu system (upgraded to latest mythfrontend in the PPA).

comment:12 Changed 2 months ago by jyavenard

Then provide a backtrace and logs.

Changed 2 months ago by kalifg@…

Crashes immediately

Changed 2 months ago by kalifg@…

Pauses then crashes

comment:13 Changed 2 months ago by kalifg@…

There seem to be three different failure modes, all with the same file.

  1. Sometimes the frontend doesn't log any connection at all
  2. Sometimes the frontend crashes immediately
  3. Sometimes the frontend pauses before crashing. This one at least logs some info about not having the proper decoder.

I have attached the logs of running mythfrontend.real from startup to segfault for 2 & 3. The file I am using is 174MB; if it would be helpful I can try to create a file small enough to upload that still triggers the segfault.

Please let me know if there's any other information I can provide. I really appreciate your work.

comment:14 Changed 2 months ago by jyavenard

  • Status changed from closed to new
  • Resolution Works for me deleted

did you install the debugging symbols? the backtrace is very incomplete..

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.