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
Crash while opening an Android contacts db #1687
Comments
Interestingly. Does the database file open ok when using the sqlite cli on that Fedora version? As a workaround for now, are you able to compile our application from source? There's lots of bug fixes since the last release, so there's a pretty decent chance it'll work better. 😄 |
This crash is happening inside the SQL grammar parser, apparently even in the generated code. I'm not aware of any recent issues in this part of the code, but Justin is right that this might very well be fixed in the newest version of DB4S. If you don't want to compile DB4S yourself for now, you can also send us the DB schema which doesn't contain any of the data. You can do so by opening the file using the
Then paste the contents of the |
Building from git solves the problem and CLI tool seems unaffected. Any chance we'll get a .spec to produce a rpm? o:-) One thing to note though is that the newly built version gives a warning: "A table in this database requires a special collation function 'PHONEBOOK' that this application can't provide without further knowledge. ... which warning was not presented to me by the (older) CLI tool. Given these, do we still need the schema? Oh and BTW: the warning window dialog I was referring to is titled "Collation needed! Proceed?" and it has two buttons: "No" "Yes". Since the warning was "be aware bad things can happen to your database" and the window's question was "proceed?" I thought pressing "No" would prevent the database from being opened; it didn't! After pressing "No" several times (with the dialog window being redrawn), the db was opened anyway. Should I file another bug or is this normal behavior? |
Awesome! 😄 No need for the DB schema then. As for the spec file: You can probably use the one from Fedora for that. It's in this package. But I have no idea how much you need to change besides the version number 😉 The collation warning is intended to work like this. But I agree that it is quite misleading. Maybe you can open another issue for that, so we don't forget to change the wording? 😄 |
Closing the issue as its fixed. |
Details for the issue
Fedora 28, sqlitebrowser-3.10.1-5 (from Fedora repo)
Brought a contacts2.db from Lineage OS 15.1 (Android 8.1) (file claims it to be SQLite 3.x database, user version 1202, last written using SQLite version 3019004) and application crashes immediately with no error message (even when launched from terminal).
Useful extra information
I'm opening this issue because:
I'm using DB4S on:
I'm using DB4S version:
I have also:
The text was updated successfully, but these errors were encountered: