mozilla-mobile / reference-browser

A full-featured browser reference implementation using Mozilla Android Components.
Mozilla Public License 2.0
581 stars 167 forks source link

ClassCastException: java.lang.Integer cannot be cast to java.lang.Long #779

Open jonalmeida opened 5 years ago

jonalmeida commented 5 years ago

https://sentry.prod.mozaws.net/operations/reference-browser/issues/5873613/

ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
    at com.swift.sandhook.utils.ParamWrapper.objectToAddress64(ParamWrapper.java:112)
    at com.swift.sandhook.utils.ParamWrapper.objectToAddress(ParamWrapper.java:77)
    at com.swift.sandhook.xposedcompat.hookstub.HookMethodEntity.getResultAddress(HookMethodEntity.java:78)
    at com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:322)
    at com.swift.sandhook.xposedcompat.hookstub.MethodHookerStubs64.stub_hook_8(MethodHookerStubs64.java:246)
...
(12 additional frame(s) were not displayed)

java.lang.Integer cannot be cast to java.lang.Long
nyanpasu64 commented 4 years ago

I suspect this crash is caused by a bug in a modified Android OS, not a Firefox bug. SandHook (https://github.com/ganyao114/SandHook) is an ART modding framework of some sort.