Skip to content
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

Report a setup error instead of aborting if db is locked #9147

Closed
sentry-io bot opened this issue Oct 14, 2021 · 5 comments
Closed

Report a setup error instead of aborting if db is locked #9147

sentry-io bot opened this issue Oct 14, 2021 · 5 comments
Assignees
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 14, 2021

Sentry Issue: DESKTOP-WIN-AND-MAC-B7S

10-14 14:14:31:710 [ fatal default ]:	ENFORCE: "allow_failure" in file C:\_\66b504ca\ownCloud-2.9.1.5500-vfs\src\common\ownsql.cpp, line 271 int __cdecl OCC::SqlQuery::prepare(const class QByteArray &,bool) with message: SQLITE Prepare error
EXCEPTION_ACCESS_VIOLATION_WRITE: Fatal Error: EXCEPTION_ACCESS_VIOLATION_WRITE
  File "utility.cpp", line 410, in OCC::Utility::crash
  File "logger.cpp", line 110, in OCC::Logger::doLog
  File "qlogging.cpp", line 1836, in qt_message_print
  File "qlogging.cpp", line 373, in qt_message
  File "qlogging.cpp", line 885, in QMessageLogger::fatal
...
(16 additional frame(s) were not displayed)
@TheOneRing TheOneRing changed the title OCC::Utility::crash Report a setup error instead of aborting if db is locked Oct 14, 2021
@TheOneRing TheOneRing added this to the 2.9.2 milestone Oct 14, 2021
@TheOneRing
Copy link
Member

@TheOneRing TheOneRing modified the milestones: 2.10, 2.10.0 Dec 8, 2021
@sentry-io
Copy link
Author

sentry-io bot commented Jan 27, 2022

Sentry issue: DESKTOP-WIN-AND-MAC-BJF

@TheOneRing
Copy link
Member

sqlite browser can be used lock the db before the start of the client.

@SagarGi
Copy link
Member

SagarGi commented Mar 23, 2022

@TheOneRing for this issue i am unable to crash or lock the database to reproduce it? so i am unkown about sqlite to lock it so i am confused for this issue.

@TheOneRing
Copy link
Member

When using the 2.10.0 client you can open the db in https://sqlitebrowser.org/ .
If you then start the client it will be unresponsive for some time, then crash.

2.10.1 should be unresponsive for a short time, then start and mark the affected folder with a red box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants