rovo89 / XposedInstaller

3.87k stars 1.51k forks source link

XposedInstaller crashes upon App installation #222

Open SecUpwN opened 10 years ago

SecUpwN commented 10 years ago

Hey @rovo89, with much respect to your great work, I'm afraid I have to file this Issue because I'm having troubles when installing any new App on my HTC One. I wonder why this is happening, Xposed ran fine before. My device is currently running AOKP KitKat 4.4.4 and Kernel Linux version 3.4.82-g47fef4f.

Upon installing any new or updating any App, my Launcher as well as the Xposed Installer crashes and I cannot open it again afterwards until rebooting. Hopefully this logcat will help you solve this.

rovo89 commented 10 years ago

Thanks for reporting this. It seems that your log is filtered on "Xposed", due to which essential parts are missing. Could you please send me an unfiltered one (the part around the crash is enough)?

SecUpwN commented 10 years ago

You're welcome, I'm glad I can contribute to your awesome work! Will have to wait until the crashes appear again, right now everything works fine again. How to only grab the part around the crash?

rovo89 commented 10 years ago

You would grab the full logcat and and then just paste the relevant part. You can also simply paste the whole log, I will find the crash in it.

SecUpwN commented 10 years ago

Hi @rovo89, it appears that the crashes stopped on my HTC One, but do appear on another phone I have access to. Here is the full catlog for analysis. Thanks for your great support here on GitHub!

rovo89 commented 10 years ago

Well actually, that log is for a crash of the Aptoid app (cm.aptoide.ptdev). They have a RepoParser as well, but it's not related to Xposed.

SecUpwN commented 10 years ago

Interesting. I ticked to log Main and Event and not Radio. Then I executed XposedInstaller multiple times and it always crashed. How come there is nothing from it in there? What to change, @rovo89?

rovo89 commented 10 years ago

I don't know. I use "adb logcat -v time > logcat.txt" for logcats. Maybe you should also use pastebin instead, your website seems to cut off the text after about 100 lines.

SecUpwN commented 10 years ago

Ok, fair. Captured a fresh catlog, just for you. Hope this helps now.

rovo89 commented 9 years ago

It seems that the log is no longer available. Do you still have this problem? If yes, please post a new logcat that shows the crash.

SecUpwN commented 9 years ago

Thanks for getting back to me on this, @rovo89. Thing is, the crash happens sporadically and is not really reproducible when installing the same App again. How about adding some sort of internal error collection into the XposedFramework itself? That way, users could easily submit valuable bug reports.

rovo89 commented 9 years ago

Framework? I thought there was a crash of the installer? There are very few crashes of the installer, so I don't think something like ACRA would be very useful here.

SecUpwN commented 9 years ago

Sorry, I meant XposedInstaller. And yes, those crashes do not appear often. But when they do, I cannot open the Installer anymore since it keeps crashing. I will catch a full logcat when it appears again.

freecoremc commented 9 years ago

Help I tried to install a app(frankerfacez) and it didn't finish installing and crashed and now xposed installer keeps crashing if I try open xposed installer...any idea how to fix.. I have recently disabled some services from google play services and Google framework, but I did update 2 other modules before it crashed ...any ideas?

rovo89 commented 9 years ago

Reproducable crashes are good. ;) Please take a logcat of the crash and post a link to it, only that will make it possible to look into the issue.

freecoremc commented 9 years ago

@rovo89 Is this ok? this is the device information and the log http://pastebin.com/ysKmh6yW

rovo89 commented 9 years ago

Yes, this is perfect: android.database.sqlite.SQLiteConstraintException: installed_modules.version_name may not be NULL (code 19)

And the good thing is, it's already fixed in the master branch: https://github.com/rovo89/XposedInstaller/commit/16d7b6da3892a8ab342ed6257075503b57d02636 (I haven't published a version with that fix yet)

Not sure which module is affected by this, i.e. which one doesn't have a human-readable description of the version number. That's pretty uncommon; it's most likely the last one you installed. If you don't necessarily need it, try uninstalling it and see if it works then. If that was the problem, maybe the module developer can be convinced to add a version name, that's not only good for Xposed Installer but also for the user.

freecoremc commented 9 years ago

Thanks The module didn't show up in my launcher/drawer but it did finish installing so I used 3c toolbox to uninstall it and xposed installer works now...how do I use that github code?...if I wanted that module 😓

DigitalVortex92 commented 9 years ago

I am the writer of FrankerFaceZ, I have located the issue as said on XDA, I had not gotten this before. Once my class is finished ~1hr I will publish an update to my github as well as on the repo. That should fix the issue. If you want the link before the repo updates, check the repo in a web browser, rather than the XposedInstaller.

Also, as a side note @freecoremc, the module does not have an activity, and hense no drawer icon. Once i get FrankerFaceZ to the point where it needs settings, I will add an Activity for settings modifications.

Thanks,

Stds_catchemall

mirh commented 6 years ago

Friendly remainder that latest installer (at least <5.0) is still stuck to 2.6.1