{"action":"created","issue":{"url":"https://api.github.com/repos/Sable/soot/issues/519","labels_url":"https://api.github.com/repos/Sable/soot/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/Sable/soot/issues/519/comments","events_url":"https://api.github.com/repos/Sable/soot/issues/519/events","html_url":"https://github.com/Sable/soot/issues/519","id":124480820,"number":519,"title":"Strange issues with whatsapp","user":{"login":"MarcMil","id":2611784,"avatar_url":"https://avatars.githubusercontent.com/u/2611784?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcMil","html_url":"https://github.com/MarcMil","followers_url":"https://api.github.com/users/MarcMil/followers","following_url":"https://api.github.com/users/MarcMil/following{/other_user}","gists_url":"https://api.github.com/users/MarcMil/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcMil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcMil/subscriptions","organizations_url":"https://api.github.com/users/MarcMil/orgs","repos_url":"https://api.github.com/users/MarcMil/repos","events_url":"https://api.github.com/users/MarcMil/events{/privacy}","received_events_url":"https://api.github.com/users/MarcMil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-31T15:37:36Z","updated_at":"2016-01-11T15:21:40Z","closed_at":null,"body":"When downloading the most recent version of whatsapp from Evozi's apk downloader, I am facing strange issues.\r\n\r\nThis bug might be due to multi threading issues?\r\ntime java -Xmx6g -jar soot-trunk.jar --allow-phantom-refs -f dex -src-prec apk -cp /home/marc/adt-bundle-linux-x86_64-20140702/sdk/platforms/android-18/android.jar -process-dir \"/home/marc/Downloads/com.whatsapp (1).apk\" \r\nSoot started on Thu Dec 31 16:33:27 CET 2015\r\nWarning: java.lang.invoke.LambdaMetafactory is a phantom class!\r\nWarning: java.lang.ref.Finalizer is a phantom class!\r\nWarning: android.animation.Animator$AnimatorPauseListener is a phantom class!\r\nWarning: android.app.Notification$Action$Builder is a phantom class!\r\nWarning: android.app.Notification$Action is a phantom class!\r\nWarning: android.app.Notification$MediaStyle is a phantom class!\r\nWarning: android.app.RemoteInput$Builder is a phantom class!\r\nWarning: android.app.RemoteInput is a phantom class!\r\nWarning: android.app.SharedElementCallback is a phantom class!\r\nWarning: android.content.pm.PackageInstaller$SessionInfo is a phantom class!\r\nWarning: android.content.pm.PackageInstaller is a phantom class!\r\nWarning: android.graphics.Outline is a phantom class!\r\nWarning: android.graphics.drawable.Icon is a phantom class!\r\nWarning: android.graphics.pdf.PdfRenderer$Page is a phantom class!\r\nWarning: android.graphics.pdf.PdfRenderer is a phantom class!\r\nWarning: android.media.session.MediaSession$Token is a phantom class!\r\nWarning: android.net.Network is a phantom class!\r\nWarning: android.net.NetworkCapabilities is a phantom class!\r\nWarning: android.provider.Telephony$Sms is a phantom class!\r\nWarning: android.service.chooser.ChooserTarget is a phantom class!\r\nWarning: android.service.chooser.ChooserTargetService is a phantom class!\r\nWarning: android.transition.Transition$EpicenterCallback is a phantom class!\r\nWarning: android.transition.Transition is a phantom class!\r\nWarning: android.view.View$OnApplyWindowInsetsListener is a phantom class!\r\nWarning: android.view.WindowInsets is a phantom class!\r\nWarning: android.view.SearchEvent is a phantom class!\r\nWarning: android.transition.Fade is a phantom class!\r\nWarning: android.transition.PathMotion is a phantom class!\r\nWarning: android.transition.Slide is a phantom class!\r\nWarning: android.transition.TransitionInflater is a phantom class!\r\nWarning: android.transition.TransitionManager is a phantom class!\r\nWarning: android.transition.TransitionSet is a phantom class!\r\nWarning: android.transition.TransitionValues is a phantom class!\r\nWarning: android.transition.Visibility is a phantom class!\r\nWarning: android.view.ViewAnimationUtils is a phantom class!\r\nWarning: android.view.ViewOutlineProvider is a phantom class!\r\nWarning: android.view.accessibility.AccessibilityNodeInfo$AccessibilityAction is a phantom class!\r\nWarning: android.widget.ThemedSpinnerAdapter is a phantom class!\r\nWarning: com.amazon.device.home.GroupedListHeroWidget$Group is a phantom class!\r\nWarning: com.amazon.device.home.GroupedListHeroWidget$ListEntry is a phantom class!\r\nWarning: com.amazon.device.home.GroupedListHeroWidget$VisualStyle is a phantom class!\r\nWarning: com.amazon.device.home.GroupedListHeroWidget is a phantom class!\r\nWarning: com.amazon.device.home.HeroWidget is a phantom class!\r\nWarning: com.amazon.device.home.HeroWidgetActivityStarterIntent is a phantom class!\r\nWarning: com.amazon.device.home.HeroWidgetIntent is a phantom class!\r\nWarning: com.amazon.device.home.HomeManager is a phantom class!\r\nWarning: com.amazon.device.messaging.ADM is a phantom class!\r\nWarning: com.amazon.device.messaging.ADMMessageHandlerBase is a phantom class!\r\nWarning: com.amazon.device.messaging.ADMMessageReceiver is a phantom class!\r\nWarning: com.google.android.maps.GeoPoint is a phantom class!\r\nWarning: com.google.android.maps.ItemizedOverlay$OnFocusChangeListener is a phantom class!\r\nWarning: com.google.android.maps.ItemizedOverlay is a phantom class!\r\nWarning: com.google.android.maps.MapActivity is a phantom class!\r\nWarning: com.google.android.maps.MapController is a phantom class!\r\nWarning: com.google.android.maps.MapView$LayoutParams is a phantom class!\r\nWarning: com.google.android.maps.MapView is a phantom class!\r\nWarning: com.google.android.maps.MyLocationOverlay is a phantom class!\r\nWarning: com.google.android.maps.OverlayItem is a phantom class!\r\nWarning: com.google.android.maps.Projection is a phantom class!\r\nWarning: java.lang.SafeVarargs is a phantom class!\r\n[Thread-5] ERROR heros.solver.CountingThreadPoolExecutor - Worker thread execution failed: oops,  base type must be PrimType or RefType but not 'unknown'\r\njava.lang.RuntimeException: oops,  base type must be PrimType or RefType but not 'unknown'\r\n\tat soot.ArrayType.<init>(ArrayType.java:60)\r\n\tat soot.ArrayType.v(ArrayType.java:86)\r\n\tat soot.Type.makeArrayType(Type.java:76)\r\n\tat soot.jimple.internal.JArrayRef.getType(JArrayRef.java:151)\r\n\tat soot.dexpler.DexNumTransformer$2.caseAssignStmt(DexNumTransformer.java:267)\r\n\tat soot.jimple.internal.JAssignStmt.apply(JAssignStmt.java:238)\r\n\tat soot.dexpler.DexNumTransformer.internalTransform(DexNumTransformer.java:204)\r\n\tat soot.BodyTransformer.transform(BodyTransformer.java:51)\r\n\tat soot.BodyTransformer.transform(BodyTransformer.java:58)\r\n\tat soot.BodyTransformer.transform(BodyTransformer.java:63)\r\n\tat soot.dexpler.DexBody.jimplify(DexBody.java:535)\r\n\tat soot.dexpler.DexMethod$1.getBody(DexMethod.java:150)\r\n\tat soot.SootMethod.getBodyFromMethodSource(SootMethod.java:91)\r\n\tat soot.SootMethod.retrieveActiveBody(SootMethod.java:322)\r\n\tat soot.PackManager$3.run(PackManager.java:1222)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\njava.lang.RuntimeException: oops,  base type must be PrimType or RefType but not 'unknown'\r\n\tat soot.ArrayType.<init>(ArrayType.java:60)\r\n\tat soot.ArrayType.v(ArrayType.java:86)\r\n\tat soot.Type.makeArrayType(Type.java:76)\r\n\tat soot.jimple.internal.JArrayRef.getType(JArrayRef.java:151)\r\n\tat soot.dexpler.DexNumTransformer$2.caseAssignStmt(DexNumTransformer.java:267)\r\n\tat soot.jimple.internal.JAssignStmt.apply(JAssignStmt.java:238)\r\n\tat soot.dexpler.DexNumTransformer.internalTransform(DexNumTransformer.java:204)\r\n\tat soot.BodyTransformer.transform(BodyTransformer.java:51)\r\n\tat soot.BodyTransformer.transform(BodyTransformer.java:58)\r\n\tat soot.BodyTransformer.transform(BodyTransformer.java:63)\r\n\tat soot.dexpler.DexBody.jimplify(DexBody.java:535)\r\n\tat soot.dexpler.DexMethod$1.getBody(DexMethod.java:150)\r\n\tat soot.SootMethod.getBodyFromMethodSource(SootMethod.java:91)\r\n\tat soot.SootMethod.retrieveActiveBody(SootMethod.java:322)\r\n\tat soot.PackManager$3.run(PackManager.java:1222)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nException in thread \"Thread-5\" java.lang.RuntimeException: oops,  base type must be PrimType or RefType but not 'unknown'\r\n\tat soot.ArrayType.<init>(ArrayType.java:60)\r\n\tat soot.ArrayType.v(ArrayType.java:86)\r\n\tat soot.Type.makeArrayType(Type.java:76)\r\n\tat soot.jimple.internal.JArrayRef.getType(JArrayRef.java:151)\r\n\tat soot.dexpler.DexNumTransformer$2.caseAssignStmt(DexNumTransformer.java:267)\r\n\tat soot.jimple.internal.JAssignStmt.apply(JAssignStmt.java:238)\r\n\tat soot.dexpler.DexNumTransformer.internalTransform(DexNumTransformer.java:204)\r\n\tat soot.BodyTransformer.transform(BodyTransformer.java:51)\r\n\tat soot.BodyTransformer.transform(BodyTransformer.java:58)\r\n\tat soot.BodyTransformer.transform(BodyTransformer.java:63)\r\n\tat soot.dexpler.DexBody.jimplify(DexBody.java:535)\r\n\tat soot.dexpler.DexMethod$1.getBody(DexMethod.java:150)\r\n\tat soot.SootMethod.getBodyFromMethodSource(SootMethod.java:91)\r\n\tat soot.SootMethod.retrieveActiveBody(SootMethod.java:322)\r\n\tat soot.PackManager$3.run(PackManager.java:1222)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\n\r\nOuuups... something went wrong! Sorry about that.\r\nFollow these steps to fix the problem:\r\n1.) Are you sure you used the right command line?\r\n    Click here to double-check:\r\n    https://ssebuild.cased.de/nightly/soot/doc/soot_options.htm\r\n\r\n2.) Not sure whether it's a bug? Feel free to discuss\r\n    the issue on the Soot mailing list:\r\n    https://github.com/Sable/soot/wiki/Getting-help\r\n\r\n3.) Sure it's a bug? Click this link to report it.\r\n    https://github.com/Sable/soot/issues/new?title=java.lang.RuntimeException+when+...&body=Steps+to+reproduce%3A%0A1.%29+...%0A%0AFiles+used+to+reproduce%3A+%0A...%0A%0ASoot+version%3A+%3Cpre%3Etrunk%3C%2Fpre%3E%0A%0ACommand+line%3A%0A%3Cpre%3E--allow-phantom-refs+-f+dex+-src-prec+apk+-cp+%2Fhome%2Fmarc%2Fadt-bundle-linux-x86_64-20140702%2Fsdk%2Fplatforms%2Fandroid-18%2Fandroid.jar+-process-dir+%2Fhome%2Fmarc%2FDownloads%2Fcom.whatsapp+%281%29.apk%3C%2Fpre%3E%0A%0AMax+Memory%3A%0A%3Cpre%3E5461MB%3C%2Fpre%3E%0A%0AStack+trace%3A%0A%3Cpre%3Ejava.lang.RuntimeException%3A+oops%2C++base+type+must+be+PrimType+or+RefType+but+not+%26%2339%3Bunknown%26%2339%3B%0A%09at+soot.ArrayType.%26%2360%3Binit%26%2362%3B%28ArrayType.java%3A60%29%0A%09at+soot.ArrayType.v%28ArrayType.java%3A86%29%0A%09at+soot.Type.makeArrayType%28Type.java%3A76%29%0A%09at+soot.jimple.internal.JArrayRef.getType%28JArrayRef.java%3A151%29%0A%09at+soot.dexpler.DexNumTransformer%242.caseAssignStmt%28DexNumTransformer.java%3A267%29%0A%09at+soot.jimple.internal.JAssignStmt.apply%28JAssignStmt.java%3A238%29%0A%09at+soot.dexpler.DexNumTransformer.internalTransform%28DexNumTransformer.java%3A204%29%0A%09at+soot.BodyTransformer.transform%28BodyTransformer.java%3A51%29%0A%09at+soot.BodyTransformer.transform%28BodyTransformer.java%3A58%29%0A%09at+soot.BodyTransformer.transform%28BodyTransformer.java%3A63%29%0A%09at+soot.dexpler.DexBody.jimplify%28DexBody.java%3A535%29%0A%09at+soot.dexpler.DexMethod%241.getBody%28DexMethod.java%3A150%29%0A%09at+soot.SootMethod.getBodyFromMethodSource%28SootMethod.java%3A91%29%0A%09at+soot.SootMethod.retrieveActiveBody%28SootMethod.java%3A322%29%0A%09at+soot.PackManager%243.run%28PackManager.java%3A1222%29%0A%09at+java.util.concurrent.ThreadPoolExecutor.runWorker%28ThreadPoolExecutor.java%3A1145%29%0A%09at+java.util.concurrent.ThreadPoolExecutor%24Worker.run%28ThreadPoolExecutor.java%3A615%29%0A%09at+java.lang.Thread.run%28Thread.java%3A745%29%0A%3C%2Fpre%3E\r\n    Please be as precise as possible when giving us\r\n    information on how to reproduce the problem. Thanks!\r\n\r\nBefore that I had a run with the same config, which hung at some point for around 45 minutes.\r\n\r\nI would recommend to run this command in a loop for a couple of times and check whether it hangs or crashes."},"comment":{"url":"https://api.github.com/repos/Sable/soot/issues/comments/170585441","html_url":"https://github.com/Sable/soot/issues/519#issuecomment-170585441","issue_url":"https://api.github.com/repos/Sable/soot/issues/519","id":170585441,"user":{"login":"StevenArzt","id":2691304,"avatar_url":"https://avatars.githubusercontent.com/u/2691304?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenArzt","html_url":"https://github.com/StevenArzt","followers_url":"https://api.github.com/users/StevenArzt/followers","following_url":"https://api.github.com/users/StevenArzt/following{/other_user}","gists_url":"https://api.github.com/users/StevenArzt/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenArzt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenArzt/subscriptions","organizations_url":"https://api.github.com/users/StevenArzt/orgs","repos_url":"https://api.github.com/users/StevenArzt/repos","events_url":"https://api.github.com/users/StevenArzt/events{/privacy}","received_events_url":"https://api.github.com/users/StevenArzt/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T15:21:40Z","updated_at":"2016-01-11T15:21:40Z","body":"@MarcMil  Can you please test again?"}}