StackOverflowError - Android

You must Login before you can answer or comment on any questions.

Hi Appcelerator Community,

we have big problems getting our App running on Android lower than 4.0. We get on older Android devices a StackOverflowError.

Please find attached 2 links to the log files.

Device: http://pastie.org/4889839 Emulator: http://pastie.org/4889846

Any help would be highly appreciated. Any hint or clue what this error could be causing?

Thanks, Marco

— asked 8 months ago by Marco Schierhorn
2 Comments
  • It seems to be a problem with older Android versions (<=2.3)

    — commented 8 months ago by Marco Schierhorn

  • I've been experiencing this same issue using 2.1.4 GA. Did anyone ever figure out anything for this?

    — commented 4 months ago by Patrick Lind

1 Answer

Does allocating a bigger stack size helpful ? Add Something like:

<property name="ti.android.threadstacksize" type="int">51200</property>
to your tiapp.xml can help...

I don't know the default threadstacksize though...

— answered 3 months ago by Francois Stephany
answer permalink
1 Comment
  • Apparently if ti.android.threadstacksizeis not defined in your manifest, Titanium will allocate 16*1024. See DEFAULT_THREAD_STACK_SIZE in KrollRuntime.java.

    — commented 3 months ago by Francois Stephany

Your Answer

Think you can help? Login to answer this question!