Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live Streaming: Stack Overflow #235

Open
billmeek opened this issue Oct 18, 2013 · 20 comments
Open

Live Streaming: Stack Overflow #235

billmeek opened this issue Oct 18, 2013 · 20 comments
Assignees
Labels
Milestone

Comments

@billmeek
Copy link
Contributor

Pressed See icon, transcoding started. At 86% (on screen display)
got the following Stack Overflow. Says Fatal Exception, but MAF
didn't exit. Backend transcode log completed normally.

10-17 19:19:13.523: I/dalvikvm(10093): threadid=11: stack overflow on call to Ljava/lang/String;.<init>:VLII
10-17 19:19:13.523: I/dalvikvm(10093):   method requires 28+20+20=68 bytes, fp is 0x5abfc32c (44 left)
10-17 19:19:13.523: I/dalvikvm(10093):   expanding stack end (0x5abfc300 to 0x5abfc000)
10-17 19:19:13.523: I/dalvikvm(10093): Shrank stack (to 0x5abfc300, curFrame is 0x5abfc4ac)
10-17 19:19:13.523: W/dalvikvm(10093): threadid=11: thread exiting with uncaught exception (group=0x40da92a0)
10-17 19:19:13.617: I/dalvikvm(10093): Jit: resizing JitTable from 4096 to 8192
10-17 19:19:13.648: E/AndroidRuntime(10093): FATAL EXCEPTION: IntentService[LiveStreamService]
10-17 19:19:13.648: E/AndroidRuntime(10093): java.lang.StackOverflowError
10-17 19:19:13.648: E/AndroidRuntime(10093):    at java.lang.AbstractStringBuilder.toString(AbstractStringBuilder.java:642)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at java.lang.StringBuilder.toString(StringBuilder.java:663)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at org.apache.harmony.luni.lang.reflect.GenericSignatureParser.scanIdentifier(GenericSignatureParser.java:489)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at org.apache.harmony.luni.lang.reflect.GenericSignatureParser.parseClassTypeSignature(GenericSignatureParser.java:294)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at org.apache.harmony.luni.lang.reflect.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:275)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at org.apache.harmony.luni.lang.reflect.GenericSignatureParser.parseFormalTypeParameter(GenericSignatureParser.java:257)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at org.apache.harmony.luni.lang.reflect.GenericSignatureParser.parseOptFormalTypeParameters(GenericSignatureParser.java:237)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at org.apache.harmony.luni.lang.reflect.GenericSignatureParser.parseClassSignature(GenericSignatureParser.java:217)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at org.apache.harmony.luni.lang.reflect.GenericSignatureParser.parseForClass(GenericSignatureParser.java:124)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at java.lang.Class.getTypeParameters(Class.java:1155)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeBindings._resolveBindings(TypeBindings.java:240)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeBindings._resolveBindings(TypeBindings.java:311)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeBindings._resolve(TypeBindings.java:203)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeBindings.findType(TypeBindings.java:121)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeFactory._fromVariable(TypeFactory.java:807)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeFactory._constructType(TypeFactory.java:352)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeFactory.findTypeParameters(TypeFactory.java:288)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeFactory.findTypeParameters(TypeFactory.java:260)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeFactory._fromParamType(TypeFactory.java:776)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeFactory._constructType(TypeFactory.java:346)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.type.TypeBindings.resolveType(TypeBindings.java:102)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.introspect.BasicBeanDescription.resolveType(BasicBeanDescription.java:218)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.constructSettableProperty(BeanDeserializerFactory.java:731)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.addBeanProps(BeanDeserializerFactory.java:558)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.buildBeanDeserializer(BeanDeserializerFactory.java:267)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.createBeanDeserializer(BeanDeserializerFactory.java:171)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:388)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:264)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:143)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:325)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.java:633)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:427)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:295)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.deser.DeserializerCache.hasValueDeserializerFor(DeserializerCache.java:191)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.DeserializationContext.hasValueDeserializerFor(DeserializationContext.java:313)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at com.fasterxml.jackson.databind.ObjectMapper.canDeserialize(ObjectMapper.java:1880)
10-17 19:19:13.648: E/AndroidRuntime(10093):    at org.springframework.http.converter.json.MappingJackson2HttpMessageConvert
10-17 19:19:13.703: I/Process(10093): Sending signal. PID: 10093 SIG: 9
@ghost ghost assigned dmfrey Oct 18, 2013
@dmfrey
Copy link
Contributor

dmfrey commented Oct 18, 2013

did this happen over an over once it starts?

@billmeek
Copy link
Contributor Author

No, it only fires once.

@dmfrey
Copy link
Contributor

dmfrey commented Oct 18, 2013

does it fire once on every stream you tried?

Does it ever reach 100%?

On Fri, Oct 18, 2013 at 4:18 PM, billmeek [email protected] wrote:

No, it only fires once.


Reply to this email directly or view it on GitHubhttps://github.com//issues/235#issuecomment-26626564
.

My Google Profile http://www.google.com/profiles/dmfrey

@billmeek
Copy link
Contributor Author

I'll retest those. I'm setup and trying a non UTF-8 ProgressDialog.
If you want, I can un-break my backend and test this now.

@dmfrey
Copy link
Contributor

dmfrey commented Oct 18, 2013

no hurry on this. Check it when you can.

On Fri, Oct 18, 2013 at 4:27 PM, billmeek [email protected] wrote:

I'll retest those. I'm setup and trying a non UTF-8 ProgressDialog.
If you want, I can un-break my backend and test this now.


Reply to this email directly or view it on GitHubhttps://github.com//issues/235#issuecomment-26627134
.

My Google Profile http://www.google.com/profiles/dmfrey

@billmeek
Copy link
Contributor Author

Just retried on a 3 min recording, no problem. Did a new one hour show and
it failed: http://pastebin.com/raw.php?i=04rLGyxL . The display on my tablet
is still on 24%. Ah, but if I select another banner and return to it, it's saying
'WATCH IT NOW'.

@billmeek
Copy link
Contributor Author

And, I watched that one hour show OK. So, it appears to be a
display and Stack Overflow issue only.

@dmfrey
Copy link
Contributor

dmfrey commented Oct 20, 2013

i just pushed a new version of the myth services api, 1.0.11. This upgrades jackson to 2.2.3. When available in maven central or pull the code and install manually, re-run your v26 livestreaminfolist tests. If this solves it, then will push code for MAF with this change.

dmfrey pushed a commit that referenced this issue Oct 20, 2013
@billmeek
Copy link
Contributor Author

Can't test, I get the the following:

10-20 12:18:46.078: D/dalvikvm(23629): GC_CONCURRENT freed 1204K, 23% free 8860K/11463K, paused 2ms+3ms
10-20 12:18:46.288: E/RecordedHelperV26(23629): process : non UTF-8 exception 
10-20 12:18:46.288: E/RecordedHelperV26(23629): org.mythtv.services.api.MythServiceApiRuntimeException: org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629):  at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279] (through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629):  at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279] (through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"]); nested exception is org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629):  at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279] (through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629):  at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279] (through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"])
10-20 12:18:46.288: E/RecordedHelperV26(23629):     at org.mythtv.services.api.v026.impl.DvrTemplate.getRecordedList(DvrTemplate.java:352)
10-20 12:18:46.288: E/RecordedHelperV26(23629):     at org.mythtv.service.dvr.v26.RecordedHelperV26.downloadRecorded(RecordedHelperV26.java:210)
10-20 12:18:46.288: E/RecordedHelperV26(23629):     at org.mythtv.service.dvr.v26.RecordedHelperV26.process(RecordedHelperV26.java:126)
10-20 12:18:46.288: E/RecordedHelperV26(23629):     at org.mythtv.service.dvr.RecordedService.onHandleIntent(RecordedService.java:103)
10-20 12:18:46.288: E/RecordedHelperV26(23629):     at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
10-20 12:18:46.288: E/RecordedHelperV26(23629):     at android.os.Handler.dispatchMessage(Handler.java:99)
10-20 12:18:46.288: E/RecordedHelperV26(23629):     at android.os.Looper.loop(Looper.java:137)
10-20 12:18:46.288: E/RecordedHelperV26(23629):     at android.os.HandlerThread.run(HandlerThread.java:60)
10-20 12:18:46.288: E/RecordedHelperV26(23629): Caused by: org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629):  at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279] (through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629):  at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279] (through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"])
10-20 12:18:46.288: E/RecordedHelperV26(23629):     at org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.readInternal(MappingJackson2HttpMessageConverter.java:126)
10-20 12:18:46.288: E/RecordedHelperV26(23629):     at org.springframework.http.converter.AbstractHttpMessageConverter.read(A

@dmfrey
Copy link
Contributor

dmfrey commented Oct 21, 2013

Looks like the commfree attribute of the channel coming back is not the
same as what is mapped in the v26 branch of the services api.
On Oct 20, 2013 8:28 PM, "billmeek" [email protected] wrote:

Can't test, I get the the following:

10-20 12:18:46.078: D/dalvikvm(23629): GC_CONCURRENT freed 1204K, 23% free 8860K/11463K, paused 2ms+3ms
10-20 12:18:46.288: E/RecordedHelperV26(23629): process : non UTF-8 exception
10-20 12:18:46.288: E/RecordedHelperV26(23629): org.mythtv.services.api.MythServiceApiRuntimeException: org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629): at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279](through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629): at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279](through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"]); nested exception is org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629): at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279](through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629): at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279](through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"])
10-20 12:18:46.288: E/RecordedHelperV26(23629): at org.mythtv.services.api.v026.impl.DvrTemplate.getRecordedList(DvrTemplate.java:352)
10-20 12:18:46.288: E/RecordedHelperV26(23629): at org.mythtv.service.dvr.v26.RecordedHelperV26.downloadRecorded(RecordedHelperV26.java:210)
10-20 12:18:46.288: E/RecordedHelperV26(23629): at org.mythtv.service.dvr.v26.RecordedHelperV26.process(RecordedHelperV26.java:126)
10-20 12:18:46.288: E/RecordedHelperV26(23629): at org.mythtv.service.dvr.RecordedService.onHandleIntent(RecordedService.java:103)
10-20 12:18:46.288: E/RecordedHelperV26(23629): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
10-20 12:18:46.288: E/RecordedHelperV26(23629): at android.os.Handler.dispatchMessage(Handler.java:99)
10-20 12:18:46.288: E/RecordedHelperV26(23629): at android.os.Looper.loop(Looper.java:137)
10-20 12:18:46.288: E/RecordedHelperV26(23629): at android.os.HandlerThread.run(HandlerThread.java:60)
10-20 12:18:46.288: E/RecordedHelperV26(23629): Caused by: org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629): at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279](through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of java.lang.Integer from String value 'false': not a valid Integer value
10-20 12:18:46.288: E/RecordedHelperV26(23629): at [Source: java.util.zip.GZIPInputStream@41589df0; line: 1, column: 1279](through reference chain: org.mythtv.services.api.v026.beans.ProgramList["ProgramList"]->org.mythtv.services.api.v026.beans.Programs["Programs"]->org.mythtv.services.api.v026.beans.Program["Channel"]->org.mythtv.services.api.v026.beans.ChannelInfo["CommFree"])
10-20 12:18:46.288: E/RecordedHelperV26(23629): at org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.readInternal(MappingJackson2HttpMessageConverter.java:126)
10-20 12:18:46.288: E/RecordedHelperV26(23629): at org.springframework.http.converter.AbstractHttpMessageConverter.read(A


Reply to this email directly or view it on GitHubhttps://github.com//issues/235#issuecomment-26687020
.

@billmeek
Copy link
Contributor Author

Could it be that's because I'm faking it. My BEs are really 0.28-pre.

@dmfrey
Copy link
Contributor

dmfrey commented Oct 21, 2013

Might be. I don't get that failure when using Joseph Fry's json in the unit
tests. Maybe we open it up to the beta testers to try out.
On Oct 20, 2013 9:19 PM, "billmeek" [email protected] wrote:

Could it be that's because I'm faking it. My BEs are really 0.28-pre.


Reply to this email directly or view it on GitHubhttps://github.com//issues/235#issuecomment-26688175
.

@billmeek
Copy link
Contributor Author

FYI, Upcoming fails with "CommFree", Recording Rules are OK, Gallery is OK and Guide fails with an NPE:

10-20 12:23:25.048: V/DvrNavigationDrawerActivity(23464): onPrepareOptionsMenu : exit
10-20 12:23:25.058: D/AndroidRuntime(23464): Shutting down VM
10-20 12:23:25.058: W/dalvikvm(23464): threadid=1: thread exiting with uncaught exception (group=0x40c471f8)
10-20 12:23:25.058: E/AndroidRuntime(23464): FATAL EXCEPTION: main
10-20 12:23:25.058: E/AndroidRuntime(23464): java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
10-20 12:23:25.058: E/AndroidRuntime(23464):    at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at java.util.ArrayList.get(ArrayList.java:304)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at org.mythtv.client.ui.dvr.GuideFragment.onActivityCreated(GuideFragment.java:145)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1486)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:947)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1460)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:440)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at android.os.Handler.handleCallback(Handler.java:605)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at android.os.Handler.dispatchMessage(Handler.java:92)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at android.os.Looper.loop(Looper.java:137)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at android.app.ActivityThread.main(ActivityThread.java:4507)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at java.lang.reflect.Method.invokeNative(Native Method)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at java.lang.reflect.Method.invoke(Method.java:511)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:978)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
10-20 12:23:25.058: E/AndroidRuntime(23464):    at dalvik.system.NativeStart.main(Native Method)
10-20 12:23:42.028: I/Process(23464): Sending signal. PID: 23464 SIG: 9

@billmeek
Copy link
Contributor Author

Arrgh, it's a 0.28-pre issue. This is the 1st protocol preventing my faking 0.27 MAF
as 0.28. Thought I'd have to grep through thousands of lines looking for a change.

commit 7c6cd810db7901bafb374d852e70034739000e24
Author: Stuart Morgan <[email protected]>
Date:   Fri Oct 18 20:28:18 2013 +0100

    Change CommFree from an int to a bool

@dmfrey
Copy link
Contributor

dmfrey commented Oct 21, 2013

I will drop a build out there and let the native 26ers try it out, unless
you think there is a reason not too.
On Oct 20, 2013 10:11 PM, "billmeek" [email protected] wrote:

Arrgh, it's a 0.28-pre issue. This is the 1st protocol preventing my
faking 0.27 MAF
as 0.28. Thought I'd have to grep through thousands of lines looking for a
change.

commit 7c6cd810db7901bafb374d852e70034739000e24
Author: Stuart Morgan [email protected]
Date: Fri Oct 18 20:28:18 2013 +0100

Change CommFree from an int to a bool


Reply to this email directly or view it on GitHubhttps://github.com//issues/235#issuecomment-26689286
.

@billmeek
Copy link
Contributor Author

Probably OK, I'm transcoding on my other machine now and it's at 11%.
This is the case that originally got to 86% before failing, so I won't
really know for while (and it's on my machine that's doing real recording
too and transcoding at 17! fps, make that a LONG while.)

@billmeek
Copy link
Contributor Author

Fired at 13%. As before, clicking on another banner and then returning restored the
progress display. I'm now at 20%.

10-20 21:34:11.234: I/dalvikvm(32208): threadid=11: stack overflow on call to Ljava/lang/ref/ReferenceQueue;.poll:L
10-20 21:34:11.234: I/dalvikvm(32208): method requires 16+20+0=36 bytes, fp is 0x5acea30c (12 left)
10-20 21:34:11.234: I/dalvikvm(32208): expanding stack end (0x5acea300 to 0x5acea000)
10-20 21:34:11.234: I/dalvikvm(32208): Shrank stack (to 0x5acea300, curFrame is 0x5acea3fc)
10-20 21:34:11.234: D/dalvikvm(32208): Failed creating an annotation
10-20 21:34:11.234: W/dalvikvm(32208): threadid=11: thread exiting with uncaught exception (group=0x40da92a0)
10-20 21:34:11.320: E/AndroidRuntime(32208): FATAL EXCEPTION: IntentService[LiveStreamService]
10-20 21:34:11.320: E/AndroidRuntime(32208): java.lang.StackOverflowError
10-20 21:34:11.320: E/AndroidRuntime(32208): at java.util.WeakHashMap.poll(WeakHashMap.java:569)
10-20 21:34:11.320: E/AndroidRuntime(32208): at java.util.WeakHashMap.get(WeakHashMap.java:473)
10-20 21:34:11.320: E/AndroidRuntime(32208): at org.apache.harmony.lang.annotation.AnnotationFactory.getElementsDescription(AnnotationFactory.java:62)
10-20 21:34:11.320: E/AndroidRuntime(32208): at org.apache.harmony.lang.annotation.AnnotationFactory.(AnnotationFactory.java:115)
10-20 21:34:11.320: E/AndroidRuntime(32208): at org.apache.harmony.lang.annotation.AnnotationFactory.createAnnotation(AnnotationFactory.java:97)
10-20 21:34:11.320: E/AndroidRuntime(32208): at java.lang.reflect.Method.getDeclaredAnnotations(Native Method)
10-20 21:34:11.320: E/AndroidRuntime(32208): at java.lang.reflect.Method.getDeclaredAnnotations(Method.java:267)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.introspect.AnnotatedClass._constructMethod(AnnotatedClass.java:743)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.introspect.AnnotatedClass._addMemberMethods(AnnotatedClass.java:599)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.introspect.AnnotatedClass.resolveMemberMethods(AnnotatedClass.java:416)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.introspect.AnnotatedClass.memberMethods(AnnotatedClass.java:243)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addMethods(POJOPropertiesCollector.java:457)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collect(POJOPropertiesCollector.java:233)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.collectProperties(BasicClassIntrospector.java:142)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:81)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:11)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.DeserializationConfig.introspect(DeserializationConfig.java:507)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:329)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:267)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:247)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:146)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:305)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.java:634)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:438)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:298)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:247)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:146)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:305)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:151)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:23)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:309)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.java:634)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:438)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:298)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:247)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:146)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:305)
10-20 21:34:11.320: E/AndroidRuntime(32208): at com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.
10-20 21:34:11.406: I/Process(32208): Sending signal. PID: 32208 SIG: 9

@dmfrey
Copy link
Contributor

dmfrey commented Oct 26, 2013

@billmeek are you getting the stackoverflow with now that you are running native v0.28?

@billmeek
Copy link
Contributor Author

Yes. But, the stack looks a bit different from the one in the initial post here.
The failure below was on my 10" tablet running Android 4.0.4. Previous
ones were on my 7" tablet on 4.1.2. I changed because the 7" one is
a bit under powered compared to the 10" one. Failed at 33%. and
again at 90%. In both cases, the display had turned off. In the end,
the transcode completed and I'm watching the recording now.

10-26 15:06:01.828: V/EpisodeFragment(29158): onResume : enter
10-26 15:06:01.828: V/EpisodeFragment(29158): onResume : exit
10-26 15:06:04.908: I/dalvikvm(29158): Jit: resizing JitTable from 4096 to 8192
10-26 15:06:06.588: D/BounceScrollRunnableDefault(29158): start(0.0), mBounceExtent:-86.0
10-26 15:06:06.588: D/BounceScrollRunnableDefault(29158): mBounceExtentCoef = -86.0
10-26 15:06:08.338: V/LiveStreamHelperV26(29347): load : enter
10-26 15:06:08.468: I/dalvikvm(29347): threadid=11: stack overflow on call to Ljava/lang/Object;.equals:ZL
10-26 15:06:08.468: I/dalvikvm(29347):   method requires 12+20+0=32 bytes, fp is 0x56b38314 (20 left)
10-26 15:06:08.468: I/dalvikvm(29347):   expanding stack end (0x56b38300 to 0x56b38000)
10-26 15:06:08.468: I/dalvikvm(29347): Shrank stack (to 0x56b38300, curFrame is 0x56b387ac)
10-26 15:06:08.468: W/dalvikvm(29347): threadid=11: thread exiting with uncaught exception (group=0x40c471f8)
10-26 15:06:08.528: E/AndroidRuntime(29347): FATAL EXCEPTION: IntentService[LiveStreamService]
10-26 15:06:08.528: E/AndroidRuntime(29347): java.lang.StackOverflowError
10-26 15:06:08.528: E/AndroidRuntime(29347):    at java.util.ArrayList.contains(ArrayList.java:335)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.util.ClassUtil._addSuperTypes(ClassUtil.java:45)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.util.ClassUtil._addSuperTypes(ClassUtil.java:51)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.util.ClassUtil._addSuperTypes(ClassUtil.java:53)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.util.ClassUtil._addSuperTypes(ClassUtil.java:53)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.util.ClassUtil._addSuperTypes(ClassUtil.java:53)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.util.ClassUtil.findSuperTypes(ClassUtil.java:35)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.util.ClassUtil.findSuperTypes(ClassUtil.java:30)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.introspect.AnnotatedClass.construct(AnnotatedClass.java:138)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forClassAnnotations(BasicClassIntrospector.java:113)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forClassAnnotations(BasicClassIntrospector.java:11)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.DeserializationConfig.introspectClassAnnotations(DeserializationConfig.java:438)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.cfg.MapperConfig.introspectClassAnnotations(MapperConfig.java:255)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.findTypeDeserializer(BasicDeserializerFactory.java:1149)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.findPropertyTypeDeserializer(BasicDeserializerFactory.java:1289)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.resolveType(BasicDeserializerFactory.java:1521)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.constructSettableProperty(BeanDeserializerFactory.java:738)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.addBeanProps(BeanDeserializerFactory.java:559)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.buildBeanDeserializer(BeanDeserializerFactory.java:267)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.createBeanDeserializer(BeanDeserializerFactory.java:168)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:405)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:354)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:267)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:247)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:146)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:305)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:151)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:23)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:309)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.java:634)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:438)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:298)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:247)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:146)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:305)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.java:634)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:438)
10-26 15:06:08.528: E/AndroidRuntime(29347):    at com.fasterxml.jackson.databind.dese

dmfrey pushed a commit that referenced this issue Dec 3, 2013
issue #235

upgraded mythtv-services-api with upgraded fasterxml json libraries
dmfrey pushed a commit that referenced this issue Dec 5, 2013
issue #242

upgraded mythtv services api to v1.0.13
@dmfrey
Copy link
Contributor

dmfrey commented Dec 6, 2013

@pot8oe has been able to reproduce this on v26 backend with the newly generated v26 mythtv services api. Tested on nexus 7 (2013) running android kit kat. He is gonna try the same thing with an emulator not running kit kat.

Jackson devs believe it is an android issue, not a jackson issue.

I have not been able to reproduce on mythtv .27 backend on any of my devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants