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

[Bug]: Obsidian Crashing due to db folder, unknown reason. #469

Closed
2 tasks done
rohanbatraio opened this issue Oct 4, 2022 · 19 comments
Closed
2 tasks done

[Bug]: Obsidian Crashing due to db folder, unknown reason. #469

rohanbatraio opened this issue Oct 4, 2022 · 19 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@rohanbatraio
Copy link

Contact Details

No response

What happened?

A bug happened!

The database folder plugin doesn't seem to handle concurrent rendering of multiple databases when i believe it is called simultaneously.
hat i did was i opened one database on one pane and other on other pane, whole obsidian freezes as a result. I tried initial debugging steps and they are : -

  1. I tried launching obsidian from cli to view any warnings errors etc. (nothing was found, everything was normal)
  2. I tried using dev tools, everything was fine there as well.
    • using dev tags gave me indication that when i open other database my whole dev panel give a simple msg, the dev tools disconnected and my obsidian is pure white, nothing can be seen except a freezed dev panel with that msg.

What platform were you using?

Desktop

Version of the plugin

latest

Relevant log output

-

Are you using the latest version of the plugin in your Obsidian vault?

  • I have verified that I am on the latest version

Are you check if there is a similar issue?

  • I have verified that there are not similar issues
@rohanbatraio rohanbatraio added bug Something isn't working triage Issue not tagged yet. talking to the user labels Oct 4, 2022
@rohanbatraio
Copy link
Author

My memory and cpu usage didn't peaked and was stable the whole time.

@ironfroggy
Copy link

I just came here looking to report the same thing, and its very strange that two people would get exactly the same issue within 15 minutes of each other...

@RafaelGB
Copy link
Owner

RafaelGB commented Oct 4, 2022

I will try this use case with a workspace of multiple dbs. Thanks for the report.

Once its reproduced I will give it priority

@rohanbatraio
Copy link
Author

I just came here looking to report the same thing, and its very strange that two people would get exactly the same issue within 15 minutes of each other...

I thought my outdated hardware might be the issue, but good to know that my hardware alone is not the issue.

@rohanbatraio
Copy link
Author

I will try this use case with a workspace of multiple dbs. Thanks for the report.

Once its reproduced I will give it priority

Glad to know that, do let me know if you need further assistance in replicating what we just faced.

@ajcastillo
Copy link

I have the same issue with all databases

@RafaelGB
Copy link
Owner

RafaelGB commented Oct 6, 2022

I cannot reproduce the problem with multiple databases on split views (5)
@rohanbatraio could you share a mock vault?

@ajcastillo
Copy link

ajcastillo commented Oct 6, 2022 via email

@RafaelGB
Copy link
Owner

RafaelGB commented Oct 6, 2022

there is a problem with stack tabs. A new feature of Obsidian 0.16.3. I am Sure it's related

@rohanbatraio
Copy link
Author

there is a problem with stack tabs. A new feature of Obsidian 0.16.3. I am Sure it's related

You mean the db folder code base is updated keeping Obsidian 0.16.3 in mind right? and that's what causing the issue, Because i am still on non catalyst v15.9 of Obsidian and still facing the issue.

@rohanbatraio
Copy link
Author

I have figured out what the problem is, the problem occurs when the Sliding Panes (Andy Matuschak Mode) Obsidian Plugin is activated. El jue, 6 oct 2022 a las 13:20, Rafael Gómez Bermejo (< @.>) escribió:

I cannot reproduce the problem with multiple databases on split views (5) @rohanbatraio https://github.com/rohanbatraio could you share a mock vault? — Reply to this email directly, view it on GitHub <#469 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOZFSFLH66QKY5KBKMY63LWB2YZDANCNFSM6AAAAAAQ4WCM74 . You are receiving this because you commented.Message ID: @.
>
-- Es mi trabajo no estar nunca satisfecho Twitter: ajcastillo1 http://twitter.com/ajcastillo1 Flickr: http://www.flickr.com/photos/ajcastillo1/

Seems just right, because that's what common in all the people facing the freezing issue.

@rohanbatraio
Copy link
Author

I cannot reproduce the problem with multiple databases on split views (5) @rohanbatraio could you share a mock vault?

Sure would love to help, do you still need that, just confirming.

@RafaelGB
Copy link
Owner

RafaelGB commented Oct 6, 2022

yeah thanks! I am trying to fix it but cant reproduce the problem

@rohanbatraio
Copy link
Author

I have figured out what the problem is, the problem occurs when the Sliding Panes (Andy Matuschak Mode) Obsidian Plugin is activated. El jue, 6 oct 2022 a las 13:20, Rafael Gómez Bermejo (< @.>) escribió:

I cannot reproduce the problem with multiple databases on split views (5) @rohanbatraio https://github.com/rohanbatraio could you share a mock vault? — Reply to this email directly, view it on GitHub <#469 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOZFSFLH66QKY5KBKMY63LWB2YZDANCNFSM6AAAAAAQ4WCM74 . You are receiving this because you commented.Message ID: _
@**
.**_>
-- Es mi trabajo no estar nunca satisfecho Twitter: ajcastillo1 http://twitter.com/ajcastillo1 Flickr: http://www.flickr.com/photos/ajcastillo1/

Seems just right, because that's what common in all the people facing the freezing issue.

I have verified the issue is resolved when Sliding panes plugin is disabled, that's the root cause of all conflicting. @RafaelGB You should check how sliding panes is interfering with the rendering of database tables. I would update the title of this bug report in the meantime.

@rohanbatraio rohanbatraio changed the title [Bug]: Obsidian Crashing due to db folder [Bug]: Obsidian Crashing due to db folder & sliding panes, when used concurrently. Oct 6, 2022
@rohanbatraio
Copy link
Author

yeah thanks! I am trying to fix it but cant reproduce the problem

On it, trying same on my end, my main vault is having issues, but everything seems fine on the mock vault. Just like yours. I might have to dig in dipper.

@rohanbatraio
Copy link
Author

rolling back some changes....

@rohanbatraio rohanbatraio changed the title [Bug]: Obsidian Crashing due to db folder & sliding panes, when used concurrently. [Bug]: Obsidian Crashing due to db folder, unknown reason. Oct 6, 2022
@rohanbatraio
Copy link
Author

rohanbatraio commented Oct 6, 2022

I have figured out what the problem is, the problem occurs when the Sliding Panes (Andy Matuschak Mode) Obsidian Plugin is activated. El jue, 6 oct 2022 a las 13:20, Rafael Gómez Bermejo (< @.>) escribió:

I cannot reproduce the problem with multiple databases on split views (5) @rohanbatraio https://github.com/rohanbatraio could you share a mock vault? — Reply to this email directly, view it on GitHub <#469 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOZFSFLH66QKY5KBKMY63LWB2YZDANCNFSM6AAAAAAQ4WCM74 . You are receiving this because you commented.Message ID: @.
>
-- Es mi trabajo no estar nunca satisfecho Twitter: ajcastillo1 http://twitter.com/ajcastillo1 Flickr: http://www.flickr.com/photos/ajcastillo1/

Hello there @ajcastillo , I faced the issue with Sliding panes itself. However, I just tried the same on a mock vault, and Sliding panes are working just fine in my case, can you please share some more insights, by trying the same, on your end?

@rohanbatraio
Copy link
Author

rohanbatraio commented Oct 6, 2022

for a more clutter free approach, and for ease of discussion more on this problem, I have opened a discussion here -> #472

@RafaelGB
Copy link
Owner

RafaelGB commented Oct 6, 2022

This task will be done here = #435

@RafaelGB RafaelGB closed this as completed Oct 6, 2022
@RafaelGB RafaelGB added duplicate This issue or pull request already exists and removed triage Issue not tagged yet. talking to the user labels Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants