What are hs_err_pid.log files generated when Tomcat crashes?

A very very good document regarding this topic is Troubleshooting Guide for Java from (originally) Sun. See the chapter “Troubleshooting System Crashes” for information about hs_err_pid* Files. See Appendix C – Fatal Error Log Per the guide, by default the file will be created in the working directory of the process if possible, or in … Read more

Android ActivityThread.reportSizeConfigurations causes app to freeze with black screen and then crash

The crash is caused by the ANR on your Service, prior to the launch of your Activity. If a user launches your app during a long-running task in your Service, the Activity will not be created until the task on the service finishes. This waiting might look bizarre to the user launching your app, and … Read more

Are disk sector writes atomic?

The traditional (SCSI, ATA) disk protocol specifications don’t guarantee that any/every sector write is atomic in the event of sudden power loss (but see below for discussion of the NVMe spec). However, it seems tacitly agreed that non-ancient “real” disks quietly try their best to offer this behaviour (e.g. Linux kernel developer Christoph Hellwig mentions … Read more

Android App Bundle introduces Resource Not found crash in Android app

This is almost certainly users sharing (sideloading) the app, either via P2P sharing programs, or uploading the APK to the web then other users downloading and installing from the web. People used to dealing with non Android App Bundle apps just transfer and share the main APK. But your App bundle app has lots of … Read more