pgadmin-org / pgadmin4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
https://www.pgadmin.org
Other
2.45k stars 640 forks source link

Random Crashes #7611

Closed DavidBuch1 closed 2 months ago

DavidBuch1 commented 3 months ago

I will be working in pgadmin quite happily, when it just suddenly closes and loses everything I have been working on.

It is completely random, but generally happens at the most critical time for me. I have lost so much work already from these random crashes!

I am working in the version 8.8 on Mac running Sonoma 14.5 and 128GB ram, so ram is NOT an issue here.

khushboovashi commented 3 months ago

Please share logs, you can find them @ pgAdmin4 > Runtime > View Logs menu.

DavidBuch1 commented 3 months ago

pgAdmin Runtime Environment

Python Path: "/Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3" Runtime Config File: "/Users/david/Library/Preferences/pgadmin/runtime_config.json" pgAdmin Config File: "/Applications/pgAdmin 4.app/Contents/Resources/web/config.py" Webapp Path: "/Applications/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py" pgAdmin Command: "/Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3 -s /Applications/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py" Environment:

Total spawn time to start the pgAdmin4 server: 0.01 Sec 2024-06-21 09:52:55,380: WARNING werkzeug: Werkzeug appears to be used in a production deployment. Consider switching to a production web server instead.


Total time taken to ping pgAdmin4 server: 2.518 Sec

Total launch time of pgAdmin4: 2.755 Sec

akshay-joshi commented 3 months ago

Hi

The logs you sent are the latest logs from when you relaunched pgAdmin 4. Could you please check the log files in the /Users/david/Library/Application Support/pgadmin folder and share any log files that might contain crash information or useful error logs?

DavidBuch1 commented 3 months ago

Hi

Here is the log from before that.

 Cheers

Kind regards

David Buch

CEO & Founder Appzoola

+61 451 753 960 +1 218-203-5343

Meeting request: https://calendly.com/appzoola

On 21 Jun 2024, at 18:06, Akshay Joshi @.***> wrote:

Hi

The logs you sent are the latest logs from when you relaunched pgAdmin 4. Could you please check the log files in the /Users/david/Library/Application Support/pgadmin folder and share any log files that might contain crash information or useful error logs?

— Reply to this email directly, view it on GitHub https://github.com/pgadmin-org/pgadmin4/issues/7611#issuecomment-2182226982, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQBHMQ6CE4SZXHKSC3UGZV3ZIPNHFAVCNFSM6AAAAABJU37DA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSGIZDMOJYGI. You are receiving this because you were assigned.

adityatoshniwal commented 3 months ago

@DavidBuch1 Attachment is missing.

DavidBuch1 commented 3 months ago

Hi Sorry about that

It has just happened again. I am attaching the two latest logs

Kind regards  David Buch

CEO & Founder Appzoola

+61 451 753 960 +1 218-203-5343

Meeting request: https://calendly.com/appzoola

On 24 Jun 2024, at 15:31, Aditya Toshniwal @.***> wrote:

@DavidBuch1 https://github.com/DavidBuch1 Attachment is missing.

— Reply to this email directly, view it on GitHub https://github.com/pgadmin-org/pgadmin4/issues/7611#issuecomment-2185642682, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQBHMQZJRGGPCG2YBMEONHTZI6VMXAVCNFSM6AAAAABJU37DA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGY2DENRYGI. You are receiving this because you were mentioned.

DavidBuch1 commented 3 months ago

I have now just had the white screen

Attaching the logs and screen shot.

I have tried resetting layout etc, nothing works. I just get a completely white screen

 Kind regards

David Buch

CEO & Founder Appzoola

+61 451 753 960 +1 218-203-5343

Meeting request: https://calendly.com/appzoola

On 24 Jun 2024, at 15:31, Aditya Toshniwal @.***> wrote:

@DavidBuch1 https://github.com/DavidBuch1 Attachment is missing.

— Reply to this email directly, view it on GitHub https://github.com/pgadmin-org/pgadmin4/issues/7611#issuecomment-2185642682, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQBHMQZJRGGPCG2YBMEONHTZI6VMXAVCNFSM6AAAAABJU37DA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGY2DENRYGI. You are receiving this because you were mentioned.

adityatoshniwal commented 3 months ago

Hi @DavidBuch1, Still not able to see the attachments. Please browse the ticket on github and upload. Not via mail.

DavidBuch1 commented 3 months ago

pgadmin4.1719271069043.log pgadmin4.1719183728013.log Here you go

adityatoshniwal commented 3 months ago

@DavidBuch1 We didn't find anything suspicious in the logs. Can you please share the screenshot as well?

DavidBuch1 commented 3 months ago

I'm afraid there. is not much to see on the screenshot. When it goes white, thats it.. and when it crashes, it just shuts down Screenshot 2024-06-25 at 09 16 00

DavidBuch1 commented 2 months ago

Still with this same issue. I was saving large function I was writing to disk for safekeeping. pgAdmin indicated it had saved, and then decided to to its sudden shutdown. The query I was writing was NOT saved, and there is nothing in the log. Lost about an hour of work.

khushboovashi commented 2 months ago

Hi @DavidBuch1, we have shifted from NWjs to Electron and that will be available in the next release. By that time you can test the snapshot build https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/.

pravesh-sharma commented 2 months ago

No response from the author, hence closing the issue.