Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11024] iOS: Playing video in fullscreen and landscape results in application crash in iOS 6

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-09-25T17:56:02.000+0000
Affected Version/sRelease 2.1.3
Fix Version/sSprint 2012-19 API, 2012 Sprint 19
ComponentsiOS
Labelsapi, qe-port
ReporterAnirudh Nagesh
AssigneeIngo Muschenetz
Created2012-09-20T11:24:53.000+0000
Updated2013-03-13T14:57:03.000+0000

Description

The customer has reported a crash when video player is played in full screen and landscape mode. ( used to work fine in iOS5). The below is the crash log provided by the customer.
"Sep 20 06:40:12 MyiPhone TestProject[454] <Error>: *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'
*** First throw call stack:
(0x354832a3 0x39e9997f 0x354831c5 0x33e97897 0x33e976a1 0x33edca29 0x33ea2051 0x353d4037 0x32893d91 0x33e35c6d 0x33e303e3 0x33e2f6d5 0x33e2f123 0x352f85a3 0x352f81d3 0x35458173 0x35458117 0x35456f99 0x353c9ebd 0x353c9d49 0x352f72eb 0x33e83301 0x39f9 0x3150)"
Note: I will try to reproduce it with a test case in iOS 6 and also try to get more information on the crash from the customer. Will update the ticket accordingly. Test Case Attached: Run the app.js Change the orientation of the device to observe the crash. Other Observations: The video player controls ( done button ) are much below the status bar if the below controls are used.
mediaControlStyle:Titanium.Media.VIDEO_CONTROL_FULLSCREEN,
scalingMode:Titanium.Media.VIDEO_SCALING_ASPECT_FIT
But looks fine the below controls are used
movieControlMode:Titanium.Media.VIDEO_CONTROL_DEFAULT
scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL

Attachments

FileDateSize
app.js2012-09-24T17:34:02.000+00001269

Comments

  1. Eric Merriman 2012-09-20

    Attempted to reproduce with KitchenSink and: Mountain Lion 10.8.1 Xcode 4.5 GM iOS 6.0 GM for iPad 3 Titanium Studio, build: 2.1.2.201208301612 SDK: 2.1.3.v20120918170114 Awaiting sample code/media and steps.
  2. Anirudh Nagesh 2012-09-24

    Customer has provided the test case. Will be updating the report in another 15min
  3. Vishal Duggal 2012-09-25

    Can not reproduce on latest 2_1_X or master. Tested on IOS sim and iPod running IOS6. The crash log is very similar to what we saw when fixing TIMOB-10973 so it was probably fixed by PR #3017 on 2_1_X and PR #2999 on master
  4. Anshu Mittal 2013-01-15

    Tested with: SDK: 3.0.0 GA Studio: 3.0.1.201212181159 Unable to reproduce the issue.

JSON Source