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

SoftBody crashes game [GLES3] #41391

Closed
DrMoriarty opened this issue Aug 20, 2020 · 4 comments
Closed

SoftBody crashes game [GLES3] #41391

DrMoriarty opened this issue Aug 20, 2020 · 4 comments

Comments

@DrMoriarty
Copy link
Contributor

Godot version:

Godot 3.2.3.rc (a6ef6b1)

OS/device including version:

MacOSX 10.15.5 (19F101)
Android 8.1 (OpenGL ES 3.0 Renderer: Adreno (TM) 506)

Issue description:

I have scene with several softbodies. In GLES2 it works but with some issues (#41390). But with GLES3 I can not run it on device. It crashes with this log:

The first line of log is when my app definitely was live. Later I don't know exactly what happened.

applovinmax.AppLovinMax  I  Rewarded: onAdLoaded
    Inneractive_general  V  RESPONSE_HEADER X-IA-Ad-Type : 8
                         V  RESPONSE_HEADER X-IA-Error : OK
                         V  RESPONSE_HEADER X-IA-Session : 7900586173036111591
                         V  RESPONSE_HEADER X-IA-Content : 715752
                         V  RESPONSE_HEADER X-IA-Publisher : 211863
                         V  RESPONSE_HEADER X-IA-Ad-Width : 0
                         V  RESPONSE_HEADER X-IA-Ad-Height : 0
                         V  RESPONSE_HEADER X-IA-sdkImpressionUrl : https://event.inner-active.mobi/impression?adTime=1597911177148&aid=715752&cid=108697&crid=
                            136698&deserializer=New&eventType=22&network=Liftoff_Video&requestType=18&s=7900586173036111591&zParam=dummy&sdkEvent=true
                         V  RESPONSE_HEADER X-IA-sdkClickUrl : https://event.inner-active.mobi/click?adTime=1597911177148&aid=715752&cid=108697&crid=136698&des
                            erializer=New&eventType=22&network=Liftoff_Video&requestType=18&responseType=newClick&s=7900586173036111591&zParam=dummy&sdkEvent=t
                            rue
                         V  RESPONSE_HEADER X-IA-SESSION-TIMEOUT : 90
                         V  RESPONSE_HEADER X-IA-Completion : null
                         V  RESPONSE_HEADER X-IA-Ad-Unit-ID : 715752
                 Finsky  I  [2] rjc.onTrimMemory(1): Memory trim requested to level 5
    Inneractive_general  V  RESPONSE_HEADER X-IA-Ad-Unit-Type : VideoAndDisplay
                         V  RESPONSE_HEADER X-IA-Ad-Unit-Display-Type : interstitial
                         V  RESPONSE_HEADER X-IA-AdNetwork : Liftoff_Video
                         V  RESPONSE_HEADER X-IA-Creative-ID : 136698
                         V  RESPONSE_HEADER X-IA-Adomain : playrix.com
                         V  RESPONSE_HEADER X-IA-Campaign-ID : 108697
                         V  RESPONSE_HEADER X-IA-Pricing-Value : 5.0E-4
                         V  RESPONSE_HEADER X-IA-Pricing-Currency : USD
             Adreno-GSL  W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
                         W  <gsl_ldd_control:541>: ioctl fd 75 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
                         W  <log_gpu_snapshot:450>: panel.gpuSnapshotPath is not set.not generating user snapshot
         NtpTrustedTime  D  currentTimeMillis() cache hit
   TrafficManageService  I  mina mTrafficStatsReceiver onReceive
        ActivityManager  W  Sending non-protected broadcast com.miui.action.NETWORK_POLICY_UPDATE from system 4016:com.miui.securitycenter.remote/1000 pkg com.
                            miui.securitycenter. Callers=
               zygote64  W  kill(-22312, 9) failed: No such process
      PowerKeeper.Event  D  notifyAMProcDied pacakageName: free.game.trawler.io, pid:22312
               zygote64  W  kill(-22312, 9) failed: No such process
        ActivityManager  W  Force removing ActivityRecord{a712d2c u0 free.game.trawler.io/com.godot.game.GodotApp t3543}: app died, no saved state
                 chatty  I  uid=1000(system) ActivityManager identical 1 line
               zygote64  W  kill(-22312, 9) failed: No such process
            audioserver  W  type=1400 audit(0.0:23445): avc: denied { write } for name="logd" dev="tmpfs" ino=13308 scontext=u:r:audioserver:s0 tcontext=u:obje
                            ct_r:logd_socket:s0 tclass=sock_file permissive=0
               zygote64  W  kill(-22312, 9) failed: No such process
        InputDispatcher  E  Received spurious receive callback for unknown input channel.  fd=386, events=0x9
               zygote64  W  kill(-22312, 9) failed: No such process
                 chatty  I  uid=1000(system) ActivityManager identical 3 lines
               zygote64  W  kill(-22312, 9) failed: No such process
 cr_ChildProcessService  I  Destroying ChildProcessService pid=22559
em/bin/webview_zygote32  I  System.exit called, status: 0
         AndroidRuntime  I  VM exiting with result code 0, cleanup skipped.
               zygote64  W  kill(-22312, 9) failed: No such process
         NtpTrustedTime  D  currentTimeMillis() cache hit
               zygote64  W  kill(-22312, 9) failed: No such process
            AudioOut_15  W  type=1400 audit(0.0:23446): avc: denied { write } for name="logd" dev="tmpfs" ino=13308 scontext=u:r:audioserver:s0 tcontext=u:obje
                            ct_r:logd_socket:s0 tclass=sock_file permissive=0
               zygote64  W  kill(-22312, 9) failed: No such process
                         W  kill(-22312, 9) failed: No such process
        ActivityTrigger  D  activityResumeTrigger: The activity in ApplicationInfo{73c450b com.miui.home} is now in focus and seems to be in full-screen mode
                         E  activityResumeTrigger: not whiteListedcom.miui.home/com.miui.home.launcher.Launcher/41501437
               zygote64  W  kill(-22312, 9) failed: No such process
      PowerKeeper.Event  D  notifyActiveKilled processName: com.android.chrome:sandboxed_process0, pid:22559, reason:isolated not needed
               zygote64  W  kill(-22312, 9) failed: No such process
         ProcessMonitor  I  onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10037, mForegroundPid=10369, mLastFo
                            regroundPackageName='free.game.trawler.io', mLastForegroundUid=10319, mLastForegroundPid=22312, mMultiWindowForegroundPackageName='
                            null', mMultiWindowForegroundUid=-1, mFlags=0}
     GameBoosterService  I  onForegroundInfoChanged: Cur=com.miui.home     last=free.game.trawler.io
               zygote64  W  kill(-22312, 9) failed: No such process
                 chatty  I  uid=1000(system) ActivityManager identical 1 line
               zygote64  W  kill(-22312, 9) failed: No such process
      PowerKeeper.Event  D  notifyAMProcDied pacakageName: com.android.chrome:sandboxed_process0, pid:22559
               zygote64  W  kill(-22312, 9) failed: No such process
                         W  kill(-22312, 9) failed: No such process
     GameBoosterService  D  onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10037, mForegroundPid=10369, mL
                            astForegroundPackageName='free.game.trawler.io', mLastForegroundUid=10319, mLastForegroundPid=22312, mMultiWindowForegroundPackageN
                            ame='null', mMultiWindowForegroundUid=-1, mFlags=0}
                         I  onForegroundInfoChanged: Exit
               zygote64  W  kill(-22312, 9) failed: No such process
                         W  kill(-22312, 9) failed: No such process
                 Adreno  I  QUALCOMM build                   : d916c72, I7663a5f222
                         I  Build Date                       : 10/04/18
                         I  OpenGL ES Shader Compiler Version: EV031.22.00.01_06_07
                         I  Local Branch                     :
                         I  Remote Branch                    :
                         I  Remote Branch                    :
                         I  Reconstruct Branch               :
     Launcher.Lifecycle  D  onStart:UserHandle{0},de7911c,false
               zygote64  W  kill(-22312, 9) failed: No such process
        ActivityManager  W  setHasOverlayUi called on unknown pid: 22312
                 Looper  W  Dispatch took 121ms on android.ui, h=Handler (com.android.server.am.ActivityManagerService$UiHandler) {253b6ab} cb=null msg=53
         NtpTrustedTime  D  currentTimeMillis() cache hit
           RenderThread  I  RenderThread resumed
                         I  All controllers paused.
                         I  RenderThread paused, waiting for signal
               zygote64  W  kill(-22312, 9) failed: No such process
              StatusBar  D  recevie broadbcast ACTION_APPLICATION_MESSAGE_QUERY, requestFirstTime=false
  CloudSettingsProvider  I  uriMatch : 2
   TrafficManageService  I  mina mTrafficStatsReceiver onReceive
        ActivityManager  W  Sending non-protected broadcast com.miui.action.NETWORK_POLICY_UPDATE from system 4016:com.miui.securitycenter.remote/1000 pkg com.
                            miui.securitycenter. Callers=
               zygote64  W  kill(-22312, 9) failed: No such process
                 Finsky  I  [2] rjc.onTrimMemory(1): Memory trim requested to level 80
               zygote64  W  kill(-22312, 9) failed: No such process
                 chatty  I  uid=1000(system) ActivityManager identical 1 line
               zygote64  W  kill(-22312, 9) failed: No such process
        OMXNodeInstance  E  !!! Observer died. Quickly, do something, ... anything...
               zygote64  W  kill(-22312, 9) failed: No such process
                         I  Successfully killed process cgroup uid 10319 pid 22312 in 159ms
                         W  Failed to open process cgroup uid 99134 pid 22559: No such file or directory
                         E  Error encountered killing process cgroup uid 99134 pid 22559: No such file or directory
  CloudSettingsProvider  I  uriMatch : 2
     Launcher.Lifecycle  D  onResume:UserHandle{0},de7911c,false
           RenderThread  I  RenderThread resumed
                         I  All controllers paused.
                         I  RenderThread paused, waiting for signal
           ResourceType  W  No package identifier when getting name for resource number 0x00000000
               Launcher  D  disableStatusBarClock:false
                 zygote  I  Compiler allocated 6MB to compile void X.0Dw.run()
        DnsProxyBlocker  D  add uid(10319)
         SurfaceFlinger  D  duplicate layer name: changing com.miui.home/com.miui.home.launcher.Launcher to com.miui.home/com.miui.home.launcher.Launcher#1
                 Adreno  I  QUALCOMM build                   : d916c72, I7663a5f222
                         I  Build Date                       : 10/04/18
                         I  OpenGL ES Shader Compiler Version: EV031.22.00.01_06_07
                         I  Local Branch                     :
                         I  Remote Branch                    :
                         I  Remote Branch                    :
                         I  Reconstruct Branch               :
Launcher_WallpaperUtils  D  changeStatusBarMode:false
            vndksupport  D  Loading /vendor/lib64/hw/gralloc.msm8953.so from current namespace instead of sphal namespace.
                         D  Loading /vendor/lib64/hw/gralloc.msm8953.so from current namespace instead of sphal namespace.
                 Adreno  I  PFP: 0x005ff087, ME: 0x005ff063
                         I  PFP: 0x005ff087, ME: 0x005ff063
               zygote64  I  android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
                         I  android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
         OpenGLRenderer  I  Initialized EGL, version 1.4
                         I  Initialized EGL, version 1.4
                         D  Swap behavior 2
                         D  Swap behavior 2
           StaticLayout  W  maxLineHeight should not be -1.  maxLines:2 lineCount:2
                 chatty  I  uid=1000(system) com.mi.android.globalminusscreen identical 1 line
           StaticLayout  W  maxLineHeight should not be -1.  maxLines:2 lineCount:2
                         W  maxLineHeight should not be -1.  maxLines:1 lineCount:1
                 chatty  I  uid=1000(system) com.mi.android.globalminusscreen identical 4 lines
           StaticLayout  W  maxLineHeight should not be -1.  maxLines:1 lineCount:1
     Launcher.Lifecycle  D  onWindowFocusChanged:true,UserHandle{0},de7911c,false
ckAnimationStateMachine  D  onWindowFocus:IDLE
           StaticLayout  W  maxLineHeight should not be -1.  maxLines:3 lineCount:3
                 chatty  I  uid=1000(system) com.mi.android.globalminusscreen identical 2 lines
           StaticLayout  W  maxLineHeight should not be -1.  maxLines:3 lineCount:3
              StatusBar  D  disable<e i a s b h r c s > disable2<q i n g r >
usBar/NavigationBarView  D  setDisabledFlags back:false home:false recent:false
         StatusBarClock  D   isNormalMode= true clock visible=true
oogleInputMethodService  I  GoogleInputMethodService.onFinishInput():3162
usBar/NavigationBarView  D  setDisabledFlags back:false home:false recent:false
           StaticLayout  W  maxLineHeight should not be -1.  maxLines:2 lineCount:2
                 chatty  I  uid=1000(system) com.mi.android.globalminusscreen identical 1 line
           StaticLayout  W  maxLineHeight should not be -1.  maxLines:2 lineCount:2
                         W  maxLineHeight should not be -1.  maxLines:1 lineCount:1
                 chatty  I  uid=1000(system) com.mi.android.globalminusscreen identical 4 lines
           StaticLayout  W  maxLineHeight should not be -1.  maxLines:1 lineCount:1
                         W  maxLineHeight should not be -1.  maxLines:3 lineCount:3
                 chatty  I  uid=1000(system) com.mi.android.globalminusscreen identical 2 lines
           StaticLayout  W  maxLineHeight should not be -1.  maxLines:3 lineCount:3
oogleInputMethodService  I  GoogleInputMethodService.onStartInput():1831
         SurfaceFlinger  E  Failed to find layer (SurfaceView - free.game.trawler.io/com.godot.game.GodotApp#0) in layer parent (no-parent).
                         E  Failed to find layer (Background for - SurfaceView - free.game.trawler.io/com.godot.game.GodotApp#0) in layer parent (no-parent).

In the last log line my app definitely was died.

Steps to reproduce:

Run scene with several SoftBodies. It may depends on phone hardware, but I can not test now on some different phone.

Minimal reproduction project:

@DrMoriarty
Copy link
Contributor Author

I tested on Honor KSA-LX9 (OpenGL ES 3.0 Renderer: PowerVR Rogue GE8300)

The game don't crashes but it also don't render anything.

@akien-mga
Copy link
Member

Could you upload a project that reliably triggers the issue?

@DrMoriarty
Copy link
Contributor Author

@akien-mga It doesn't crash on 3.2.3-stable. So it may be fixed somehow.

@akien-mga
Copy link
Member

Thanks, closing then.

@akien-mga akien-mga added this to the 3.2 milestone Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants