Highlighted

Ios app crash with EXC_RESOURCES

Community Beginner ,
Mar 06, 2017

Copy link to clipboard

Copied

Environment:

Air 23,

Ios 9.3.5, iPhone 4s.

We have application that plays a lot of live h.263 video streams at the same time via flash.net.NetStream and flash.media.Video.

After about 30-minutes ongoing playback (with periodic closing and opening streams) the app crashes. I can see crash logs:

-------

Incident Identifier: E16AF7DF-17F0-4BEA-BA6D-5923ECABB656

CrashReporter Key: f8afdd41c1cdbdee0d0f321fae9a8acb291e970e

Hardware Model: iPhone4,1

Process: abc [389]

Path: /var/containers/Bundle/Application/ABAF98E0-037F-4EC8-A71A-1A27FCBEA037/abc.app/abc

Identifier: abc

Version: 8.0.0 (1.0.0)

Code Type: ARM (Native)

Parent Process: launchd [1]

Date/Time: 2017-03-06 15:37:06.06 +0200

Launch Time: 2017-03-06 15:24:24.24 +0200

OS Version: iOS 9.3.5 (13G36)

Report Version: 104

Exception Type: EXC_RESOURCE

Exception Subtype: WAKEUPS

Exception Message: (Limit 150/sec) Observed 0/sec over 300 secs

Exception Note: NON-FATAL CONDITION (this is NOT a crash)

Triggered by Thread: 2

Many thread backtraces go here, but i point more important

Thread 2 name : BackgroundThread

There are few of NetConnection, NetStreamDataFeeder and a lot of nameless threads (i guess this is because our ios app symbolication not implemented properly)

-------

As apple docs say, this exception happens when:

The exception subtype WAKEUPS indicates that threads in the process are being woken up too many times per second, which forces the CPU to wake up very often and consumes battery life.

Technical Note TN2151: Understanding and Analyzing Application Crash Reports

As I know, i can't control threads from my as3 code.

Any suggestions would be very valuable, because apple would not approve the app with those crashes.

We try run application with Air 25, but it still crashes, but much longer, up to 1.5 hour.

Crashes do not happen with any Android device

TOPICS
Performance issues

Views

814

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Ios app crash with EXC_RESOURCES

Community Beginner ,
Mar 06, 2017

Copy link to clipboard

Copied

Environment:

Air 23,

Ios 9.3.5, iPhone 4s.

We have application that plays a lot of live h.263 video streams at the same time via flash.net.NetStream and flash.media.Video.

After about 30-minutes ongoing playback (with periodic closing and opening streams) the app crashes. I can see crash logs:

-------

Incident Identifier: E16AF7DF-17F0-4BEA-BA6D-5923ECABB656

CrashReporter Key: f8afdd41c1cdbdee0d0f321fae9a8acb291e970e

Hardware Model: iPhone4,1

Process: abc [389]

Path: /var/containers/Bundle/Application/ABAF98E0-037F-4EC8-A71A-1A27FCBEA037/abc.app/abc

Identifier: abc

Version: 8.0.0 (1.0.0)

Code Type: ARM (Native)

Parent Process: launchd [1]

Date/Time: 2017-03-06 15:37:06.06 +0200

Launch Time: 2017-03-06 15:24:24.24 +0200

OS Version: iOS 9.3.5 (13G36)

Report Version: 104

Exception Type: EXC_RESOURCE

Exception Subtype: WAKEUPS

Exception Message: (Limit 150/sec) Observed 0/sec over 300 secs

Exception Note: NON-FATAL CONDITION (this is NOT a crash)

Triggered by Thread: 2

Many thread backtraces go here, but i point more important

Thread 2 name : BackgroundThread

There are few of NetConnection, NetStreamDataFeeder and a lot of nameless threads (i guess this is because our ios app symbolication not implemented properly)

-------

As apple docs say, this exception happens when:

The exception subtype WAKEUPS indicates that threads in the process are being woken up too many times per second, which forces the CPU to wake up very often and consumes battery life.

Technical Note TN2151: Understanding and Analyzing Application Crash Reports

As I know, i can't control threads from my as3 code.

Any suggestions would be very valuable, because apple would not approve the app with those crashes.

We try run application with Air 25, but it still crashes, but much longer, up to 1.5 hour.

Crashes do not happen with any Android device

TOPICS
Performance issues

Views

815

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 06, 2017 0
Adobe Employee ,
Mar 06, 2017

Copy link to clipboard

Copied

Hi,

Have you tried using iOS10 ?

Thanks,

Adobe AIR Team

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 06, 2017 0
Community Beginner ,
Mar 09, 2017

Copy link to clipboard

Copied

Hi!

Yes, I try Ios 10.2.1 and seems like it works fine

iPhone 4s with Air 22 works quite longer, two hours without any crash (I did not check the time until crash), so I stick with this version for now. I will use air 25+ later, so I think this topic can be closed.

Thanks for your attention!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 09, 2017 0