Ever since updating from v0.3.2, my Polymer app crashes all the time. The
problem is extremely hard to debug since I don't get any error messages in
the browser console but instead the app crashes completely. This happens
both in mobile safari and in the web view. The only clue that I have is
this log from my cordova app:
Process 15971 stopped
* thread #6: tid = 0x5783c3, 0x36ae071a
WebCore`WebCore::Document::touchEventsChangedTimerFired(WebCore::Timer<WebCore::Document>*)
+ 254, name = 'WebThread', stop reason = EXC_BAD_ACCESS (code=1,
address=0xfffffff9)
frame #0: 0x36ae071a
WebCore`WebCore::Document::touchEventsChangedTimerFired(WebCore::Timer<WebCore::Document>*)
+ 254
WebCore`WebCore::Document::touchEventsChangedTimerFired(WebCore::Timer<WebCore::Document>*)
+ 254:
-> 0x36ae071a: ldr.w r8, [r0]
0x36ae071e: cmp.w r8, #0x0
0x36ae0722: beq 0x36ae07e4 ;
WebCore::Document::touchEventsChangedTimerFired(WebCore::Timer<WebCore::Document>*)
+ 456
0x36ae0724: movs r0, #0x0
I don't know enough about WebCore to get anything from this, but based on
when the crashes occur (usually after updating a model) I suspect that the
problem has something to do with either polymer-expressions or
TemplateBinding.
I'm currently using Polymer 0.4.0 but I think the problem exists since
0.3.3.
If you want to reproduce the problem yourself, go ahead and open
http://maklesoft.github.io/padlock on your iPhone (or iOS simulator) and
follow these steps:
- Choose a master password (you can simply use an empty one)
- Create a record
- Go back
- Create another record
- Switch back and forth between the two records (tap a record to select
it), at some point the app will crash (probably sooner rather than later)
Other ways to reproduce the crash
- Delete a record
- Add a field to a record
- Add a category to a record
I wish I could offer more information, but at this point I am pretty much
clueless. If you want to dig through the code, you can find it at
https://github.com/maklesoft/padlock
I probably don't have to mention that this is a show stopper for me. I
wonder if anybody is having similar problems?
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/42663e2a-7784-4ec9-928f-b5b8f2f1945c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.