[Galaxy S II Android Development] phini:
Hi! Does anyone have any problems with calls? From time to time, when I end the call with my wired headphones my device hangs and restarts(only the UI i think.. dont see boot animation).

I can't reproduce the error now at home with adb connected, but I've discovered error:

10-15 21:59:39.116: A/WindowManager(3720): Unhandled exception in Window Manager
10-15 21:59:39.116: A/WindowManager(3720): java.lang.IllegalArgumentException: Animation duration cannot be negative
10-15 21:59:39.116: A/WindowManager(3720):	at android.view.animation.Animation.setDuration(Animation.java:429)
10-15 21:59:39.116: A/WindowManager(3720):	at android.view.animation.Animation.<init>(Animation.java:234)
10-15 21:59:39.116: A/WindowManager(3720):	at android.view.animation.AlphaAnimation.<init>(AlphaAnimation.java:40)
10-15 21:59:39.116: A/WindowManager(3720):	at android.view.animation.AnimationUtils.createAnimationFromXml(AnimationUtils.java:116)
10-15 21:59:39.116: A/WindowManager(3720):	at android.view.animation.AnimationUtils.createAnimationFromXml(AnimationUtils.java:114)
10-15 21:59:39.116: A/WindowManager(3720):	at android.view.animation.AnimationUtils.createAnimationFromXml(AnimationUtils.java:91)
10-15 21:59:39.116: A/WindowManager(3720):	at android.view.animation.AnimationUtils.loadAnimation(AnimationUtils.java:72)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.wm.AppTransition.loadAnimation(AppTransition.java:314)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.wm.WindowStateAnimator.applyAnimationLocked(WindowStateAnimator.java:1563)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.wm.WindowState.showLw(WindowState.java:1065)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.wm.WindowState.showLw(WindowState.java:1032)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.internal.policy.impl.PhoneWindowManager.finishPostLayoutPolicyLw(PhoneWindowManager.java:4037)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:8811)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:7987)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:7929)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.wm.WindowManagerService.executeAppTransition(WindowManagerService.java:3784)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.am.ActivityStack.completeResumeLocked(ActivityStack.java:1300)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.am.ActivityStack.resumeTopActivityLocked(ActivityStack.java:1838)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.am.ActivityStack.resumeTopActivityLocked(ActivityStack.java:1482)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.am.ActivityStack.completePauseLocked(ActivityStack.java:1226)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.am.ActivityStack.activityPaused(ActivityStack.java:1123)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.am.ActivityManagerService.activityPaused(ActivityManagerService.java:4665)
10-15 21:59:39.116: A/WindowManager(3720):	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:422)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1812)
10-15 21:59:39.116: A/WindowManager(3720):	at android.os.Binder.execTransact(Binder.java:388)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.SystemServer.init1(Native Method)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.server.SystemServer.main(SystemServer.java:1172)
10-15 21:59:39.116: A/WindowManager(3720):	at java.lang.reflect.Method.invokeNative(Native Method)
10-15 21:59:39.116: A/WindowManager(3720):	at java.lang.reflect.Method.invoke(Method.java:525)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:743)
10-15 21:59:39.116: A/WindowManager(3720):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:559)
10-15 21:59:39.116: A/WindowManager(3720):	at dalvik.system.NativeStart.main(Native Method)

Do you want me to file a new issue or is it known and harmless(stack)?

About that crash, is it known? Its been there for a few weeks I think.

Currently I'm using 14-10-2013 nightly with stock kernel.