[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #33501 [Applications/Tor Browser]: tba fails to reattach window
#33501: tba fails to reattach window
------------------------------------------+------------------------
Reporter: traumschule | Owner: tbb-team
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Keywords: tbb-mobile
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------------------+------------------------
Tor Browser Alpha (Android) 68.5.0 sometimes without clear pattern fails
to reattach window and gets black after some seconds.
- `WindowManager: Failed to create surface control` and
`mDrawState=NO_SURFACE` stick out
- if `avc: denied` means and `untrusted_app` are related it could be
about permissions?
{{{
03-02 13:13:14.266 1749 1749 I UiThreadMonitor: setAwake 14371 4505 66
03-02 13:13:14.539 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:14.540 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:14.540 1267 1287 E NotificationService: Suppressing
notification by user request. key =
0|org.torproject.torbrowser_alpha|1|null|10334
03-02 13:13:14.675 658 658 E audit : type=1400
audit(1583154794.660:42723): avc: denied { ioctl } for pid=29406
comm="libTor.so" path="socket:[1656816]" dev="sockfs" ino=1656816
ioctlcmd=894b scontext=u:r:untrusted_app:s0:c78,c257,c512,c768
tcontext=u:r:untrusted_app:s0:c78,c257,c512,c768 tclass=tcp_socket
permissive=0 SEPF_SM-J610FN_9_0011 audit_filtered
03-02 13:13:14.728 1267 2116 V WindowManager: Relayout Window{10553b7 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp}:
viewVisibility=0 req=720x1480 {(0,0)(fillxfill) sim={adjust=resize
forwardNavigation} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x10302fe
03-02 13:13:14.741 1267 2116 E SurfaceComposerClient:
SurfaceComposerClient::createSurface error No such file or directory
03-02 13:13:14.742 1267 2116 D WindowManager: createSurfaceLocked,
exception occurs, mWin=Window{10553b7 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp},
surface(parent)=Surface(name=10553b7
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp)/@0x17c31c1,
caller=com.android.server.wm.WindowManagerService.createSurfaceControl:2794
com.android.server.wm.WindowManagerService.relayoutWindow:2479
com.android.server.wm.Session.relayoutForTranslate:302
android.view.IWindowSession$Stub.onTransact:518
com.android.server.wm.Session.onTransact:186
03-02 13:13:14.744 1267 2116 E WindowManager: at
com.android.server.wm.WindowStateAnimator.createSurfaceLocked(WindowStateAnimator.java:634)
03-02 13:13:14.744 1267 2116 W WindowManager: Failed to create surface
control for Window{10553b7 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp}
03-02 13:13:14.765 1267 2116 D WindowManager: finishDrawingWindow:
Window{10553b7 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp}
mDrawState=NO_SURFACE
03-02 13:13:14.771 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:14.771 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:14.771 1267 1287 E NotificationService: Suppressing
notification by user request. key =
0|org.torproject.torbrowser_alpha|1|null|10334
03-02 13:13:15.548 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:15.549 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:15.549 1267 1287 E NotificationService: Suppressing
notification by user request. key =
0|org.torproject.torbrowser_alpha|1|null|10334
03-02 13:13:16.542 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:16.543 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:16.543 1267 1287 E NotificationService: Suppressing
notification by user request. key =
0|org.torproject.torbrowser_alpha|1|null|10334
03-02 13:13:17.588 11553 11572 D ContactsProvider_EventLog:
contents_sample_state: [STORAGE Contacts(CE) Profile(CE) SAProfile(CE)
CallLog(CE) ]
03-02 13:13:18.586 1267 1301 V WindowManager: * AppWindowToken{fe2fce
token=Token{6809cc9 ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp t7855}}},
allDrawn=false
03-02 13:13:18.598 1267 1301 D RemoteAnimationController:
createAnimationAdapter(): token=AppWindowToken{fe2fce token=Token{6809cc9
ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp t7855}}}
03-02 13:13:18.598 1267 1301 I WindowManager: Cancelling animation
restarting=true, leash=null, surface=Surface(name=AppWindowToken{fe2fce
token=Token{6809cc9 ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad, parent=Surface(name=Task=7855)/@0x2e224e2
03-02 13:13:18.598 1267 1301 I WindowManager: Reparenting to leash,
surface=Surface(name=AppWindowToken{fe2fce token=Token{6809cc9
ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad
03-02 13:13:18.599 493 667 I SurfaceFlinger: id=7905 createSurf
(2960x2960),2 flag=4, Surface(name=AppWindowToken{fe2fce
token=Token{6809cc9 ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad - animation-leash#0
03-02 13:13:18.600 1267 1301 D WindowManager: makeSurface duration=2
leash=Surface(name=Surface(name=AppWindowToken{fe2fce token=Token{6809cc9
ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad - animation-leash)/@0xcb6c73b
03-02 13:13:18.600 1267 1301 D SurfaceControl: reparent is called,
sc=Surface(name=AppWindowToken{fe2fce token=Token{6809cc9
ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad, newParentHandle=android.os.BinderProxy@d28fe58,
transaction=android.view.SurfaceControl$Transaction@65833a9
03-02 13:13:18.609 1267 1301 D RemoteAnimationController: Add
token=AppWindowToken{fe2fce token=Token{6809cc9 ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp t7855}}}
03-02 13:13:18.629 1267 1301 I RemoteAnimationController:
token=AppWindowToken{fe2fce token=Token{6809cc9 ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp t7855}}}
03-02 13:13:18.629 1267 1301 I RemoteAnimationController:
leash=Surface(name=Surface(name=AppWindowToken{fe2fce token=Token{6809cc9
ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad - animation-leash)/@0xcb6c73b
03-02 13:13:18.767 1749 1749 I UiThreadMonitor: setAwake 14372 4501 68
03-02 13:13:18.997 1267 1721 I WindowManager: reset, Reparenting to
original parent, shouldDeferScheduleAnimation=false, destroyLeash=true,
surface=Surface(name=4e4df57
com.android.systemui.ImageWallpaper)/@0x20eecd3,
parent=Surface(name=WallpaperWindowToken{1114368
token=android.os.Binder@74fb68b})/@0xab55010,
parentNativeHandle=android.os.BinderProxy@54ff1ed,
caller=com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:97
com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4
com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:104
com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4
com.android.server.wm.RemoteAnimationController.onAnimationFinished:283
03-02 13:13:18.998 1267 1721 D SurfaceControl: destroy(transaction),
animation-leash is destroyed, sc=Surface(name=Surface(name=4e4df57
com.android.systemui.ImageWallpaper)/@0x20eecd3 - animation-
leash)/@0x8034bb1,
transaction=android.view.SurfaceControl$Transaction@7d1832f,
caller=com.android.server.wm.SurfaceAnimator.reset:344
com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:97
com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4
com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:104
com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4
com.android.server.wm.RemoteAnimationController.onAnimationFinished:283
com.android.server.wm.RemoteAnimationController.access$300:55
03-02 13:13:18.999 1267 1721 I WindowManager: reset, Reparenting to
original parent, shouldDeferScheduleAnimation=false, destroyLeash=true,
surface=Surface(name=AppWindowToken{fe2fce token=Token{6809cc9
ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad, parent=Surface(name=Task=7855)/@0x2e224e2,
parentNativeHandle=android.os.BinderProxy@b28e2b3,
caller=com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:97
com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4
com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:104
com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4
com.android.server.wm.RemoteAnimationController.onAnimationFinished:283
03-02 13:13:18.999 1267 1721 D SurfaceControl: reparent is called,
sc=Surface(name=AppWindowToken{fe2fce token=Token{6809cc9
ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad, newParentHandle=android.os.BinderProxy@b28e2b3,
transaction=android.view.SurfaceControl$Transaction@65833a9
03-02 13:13:18.999 1267 1721 D SurfaceControl: destroy(transaction),
animation-leash is destroyed,
sc=Surface(name=Surface(name=AppWindowToken{fe2fce token=Token{6809cc9
ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad - animation-leash)/@0xcb6c73b,
transaction=android.view.SurfaceControl$Transaction@65833a9,
caller=com.android.server.wm.SurfaceAnimator.reset:344
com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:97
com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4
com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:104
com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4
com.android.server.wm.RemoteAnimationController.onAnimationFinished:283
com.android.server.wm.RemoteAnimationController.access$300:55
03-02 13:13:19.000 1267 1721 D RemoteAnimationController:
AppWindowToken{fe2fce token=Token{6809cc9 ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp t7855}}}
03-02 13:13:19.005 1267 1721 I WindowManager: reset, Reparenting to
original parent, shouldDeferScheduleAnimation=false, destroyLeash=true,
surface=Surface(name=AppWindowToken{63f168c token=Token{3a0fbf
ActivityRecord{2db31de u0
com.sec.android.app.launcher/.activities.LauncherActivity
t2}}})/@0xf56ba15, parent=Surface(name=Task=2)/@0x5ddd12a,
parentNativeHandle=android.os.BinderProxy@b46bfe9,
caller=com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:97
com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4
com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:104
com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4
com.android.server.wm.RemoteAnimationController.onAnimationFinished:283
03-02 13:13:19.006 1267 1721 D SurfaceControl: destroy(transaction),
animation-leash is destroyed,
sc=Surface(name=Surface(name=AppWindowToken{63f168c token=Token{3a0fbf
ActivityRecord{2db31de u0
com.sec.android.app.launcher/.activities.LauncherActivity
t2}}})/@0xf56ba15 - animation-leash)/@0x5f9d135,
transaction=android.view.SurfaceControl$Transaction@3f5e291,
caller=com.android.server.wm.SurfaceAnimator.reset:344
com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:97
com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4
com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:104
com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4
com.android.server.wm.RemoteAnimationController.onAnimationFinished:283
com.android.server.wm.RemoteAnimationController.access$300:55
03-02 13:13:19.006 1267 1721 V WindowManager: Setting visibility of
Window{a98e79b u0
com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity}:
false,
caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:615
com.android.server.wm.AppWindowToken.setClientHidden:468
com.android.server.wm.AppWindowToken.onAnimationFinished:2427
com.android.server.wm.-$$Lambda$yVRF8YoeNdTa8GR1wDStVsHu8xM.run:2
com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:100
03-02 13:13:19.013 1267 1536 D WindowManager: prepareSurfaces, request
to clear saved leash, surface=Surface(name=AppWindowToken{fe2fce
token=Token{6809cc9 ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad
03-02 13:13:19.015 493 667 I SurfaceFlinger: id=7905 Removed
Surface(name=AppWindowToken{fe2fce token=Token{6809cc9
ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad - animation-leash#0 (0/98)
03-02 13:13:19.018 493 493 I Layer : id=7905 onRemoved
Surface(name=AppWindowToken{fe2fce token=Token{6809cc9
ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad - animation-leash#0
03-02 13:13:19.022 1267 1536 D WindowManager: clearSavedLeashOnCommit,
savedLeash=Surface(name=Surface(name=AppWindowToken{fe2fce
token=Token{6809cc9 ActivityRecord{86304d0 u0
org.torproject.torbrowser_alpha/org.mozilla.gecko.BrowserApp
t7855}}})/@0xadda9ad - animation-leash)/@0xcb6c73b,
caller=com.android.server.wm.WindowContainer.clearSavedLeashOnCommit:1156
com.android.server.wm.WindowContainer.clearSavedLeashOnCommit:1160
com.android.server.wm.WindowContainer.clearSavedLeashOnCommit:1160
com.android.server.wm.WindowContainer.clearSavedLeashOnCommit:1160
com.android.server.wm.WindowContainer.clearSavedLeashOnCommit:1160
com.android.server.wm.RootWindowContainer.performSurfacePlacement:786
03-02 13:13:19.118 1267 2116 I WindowManager: Destroying surface
Surface(name=com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity[2995])/@0xe5e7086
called by com.android.server.wm.WindowStateAnimator.destroySurface:1903
com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:840
com.android.server.wm.WindowState.destroySurfaceUnchecked:3863
com.android.server.wm.WindowState.destroySurface:3844
com.android.server.wm.WindowManagerService.tryStartExitingAnimation:2767
com.android.server.wm.WindowManagerService.relayoutWindow:2464
com.android.server.wm.Session.relayoutForTranslate:302
android.view.IWindowSession$Stub.onTransact:518
03-02 13:13:19.657 1267 4098 D GameManagerService: identifyGamePackage.
org.torproject.torbrowser_alpha
03-02 13:13:19.657 1267 4098 D GamePkgDataHelper: getGamePkgData().
org.torproject.torbrowser_alpha
03-02 13:13:20.285 11769 11769 W chromium:
[WARNING:compositor_view.cc(312)] Child process died (type=9) pid=15695)
03-02 13:13:22.290 658 658 E audit : type=1400
audit(1583154802.280:42724): avc: denied { ioctl } for pid=29406
comm="libTor.so" path="socket:[1656816]" dev="sockfs" ino=1656816
ioctlcmd=894b scontext=u:r:untrusted_app:s0:c78,c257,c512,c768
tcontext=u:r:untrusted_app:s0:c78,c257,c512,c768 tclass=tcp_socket
permissive=0 SEPF_SM-J610FN_9_0011 audit_filtered
03-02 13:13:22.547 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:22.547 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:22.548 1267 1287 E NotificationService: Suppressing
notification by user request. key =
0|org.torproject.torbrowser_alpha|1|null|10334
03-02 13:13:22.606 658 658 E audit : type=1400
audit(1583154802.590:42725): avc: denied { ioctl } for pid=29406
comm="libTor.so" path="socket:[1656816]" dev="sockfs" ino=1656816
ioctlcmd=894b scontext=u:r:untrusted_app:s0:c78,c257,c512,c768
tcontext=u:r:untrusted_app:s0:c78,c257,c512,c768 tclass=tcp_socket
permissive=0 SEPF_SM-J610FN_9_0011 audit_filtered
03-02 13:13:23.060 658 658 E audit : type=1400
audit(1583154803.050:42726): avc: denied { ioctl } for pid=29406
comm="libTor.so" path="socket:[1656816]" dev="sockfs" ino=1656816
ioctlcmd=894b scontext=u:r:untrusted_app:s0:c78,c257,c512,c768
tcontext=u:r:untrusted_app:s0:c78,c257,c512,c768 tclass=tcp_socket
permissive=0 SEPF_SM-J610FN_9_0011 audit_filtered
03-02 13:13:23.070 658 658 E audit : type=1400
audit(1583154803.060:42727): avc: denied { ioctl } for pid=29406
comm="libTor.so" path="socket:[1656816]" dev="sockfs" ino=1656816
ioctlcmd=894b scontext=u:r:untrusted_app:s0:c78,c257,c512,c768
tcontext=u:r:untrusted_app:s0:c78,c257,c512,c768 tclass=tcp_socket
permissive=0 SEPF_SM-J610FN_9_0011 audit_filtered
03-02 13:13:23.269 1749 1749 I UiThreadMonitor: setAwake 14373 4502 69
03-02 13:13:23.353 658 658 E audit : type=1400
audit(1583154803.340:42728): avc: denied { ioctl } for pid=29406
comm="libTor.so" path="socket:[1656816]" dev="sockfs" ino=1656816
ioctlcmd=894b scontext=u:r:untrusted_app:s0:c78,c257,c512,c768
tcontext=u:r:untrusted_app:s0:c78,c257,c512,c768 tclass=tcp_socket
permissive=0 SEPF_SM-J610FN_9_0011 audit_filtered
03-02 13:13:23.559 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:23.561 1267 1287 D ApplicationPolicy:
isStatusBarNotificationAllowedAsUser: packageName =
org.torproject.torbrowser_alpha,userId = 0
03-02 13:13:23.905 658 658 E audit : type=1400
audit(1583154803.890:42729): avc: denied { ioctl } for pid=29406
comm="libTor.so" path="socket:[1656816]" dev="sockfs" ino=1656816
ioctlcmd=894b scontext=u:r:untrusted_app:s0:c78,c257,c512,c768
tcontext=u:r:untrusted_app:s0:c78,c257,c512,c768 tclass=tcp_socket
permissive=0 SEPF_SM-J610FN_9_0011 audit_filtered
03-02 13:13:23.561 1267 1287 E NotificationService: Suppressing
notification by user request. key =
0|org.torproject.torbrowser_alpha|1|null|10334
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33501>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs