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

program crashes oftenly #206

Open
M4TZ3-op opened this issue Jul 1, 2024 · 10 comments
Open

program crashes oftenly #206

M4TZ3-op opened this issue Jul 1, 2024 · 10 comments

Comments

@M4TZ3-op
Copy link

M4TZ3-op commented Jul 1, 2024

im using ubuntu 20.04, npost currently crashes after some time. the progra,, just closes itself.
is this pronlem known?

@CevreMuhendisi
Copy link

CevreMuhendisi commented Jul 1, 2024

Could you try 7-Zip instead of WinRAR?
https://www.7-zip.org/a/7z2407-linux-x64.tar.xz 64 bit console version

@mbruel
Copy link
Owner

mbruel commented Jul 1, 2024

do you use the GUI or command line?
which version do you use? try the latest release with SSL3.
It crashes when do what? I need a use case.... can you find a way to reproduce it? What do you do?

@M4TZ3-op
Copy link
Author

M4TZ3-op commented Jul 1, 2024

Im using the Gui Version.
Im auto posting Files. It Crashes ramdomly after some hours. I dont know why its doing that. I have low ressouces. Maybe there ist not enought ram or CPU power?
I will try the new Version asap. Cant remmber the exact Version of the old Version. Its around half year old but i renamed it.

Tried the newer Version you mentioned. It closed itsef after couple minutes.

@mbruel
Copy link
Owner

mbruel commented Jul 2, 2024

Im auto posting Files. It Crashes ramdomly after some hours. I dont know why its doing that. I have low ressouces. Maybe there ist not enought ram or CPU power?

well it is hard to say like this... I've set up a log debug for crashes but I think it was only on windows, Iet me check and I come back to you.
If you've low resources, I'd recommand to disable PREPARE_PACKING in ~/.ngPost no need to parallelize packing and posting.

Tried the newer Version you mentioned. It closed itsef after couple minutes.

what does

./ngPost_v4.16_libssl3-x86_64.AppImage -v
Using default config file: /home/mb/.ngPost
                   __________               __
       ____    ____\______   \____  _______/  |_
      /    \  / ___\|     ___/  _ \/  ___/\   __\
     |   |  \/ /_/  >    |  (  <_> )___ \  |  |
     |___|  /\___  /|____|   \____/____  > |__|
          \//_____/                    \/
                          v4.16

SSL support: yes, build version: OpenSSL 3.0.7 1 Nov 2022, system version: OpenSSL 3.0.11 19 Sep 2023

Do you have SSL support?
If no, use this one instead: ngPost_v4.16_libssl1.1-x86_64.AppImage it's probably the issue.; I thought you had the latest ubuntu version with SSL3.

what else. Limit the number of threads could help. Maybe just put 1. It's ok it can handle several connections.
Also decrease the number of connections. 30 is more than enough. there won't be a big upload rate difference.

I think I've corrected a potential big issue on v5 but there won't be the GUI for now...
Do you know a bit Linux and are you familiar with the terminal?
The best thing you could do to identify the issue is to launch the app using a debugger so once it crashes you can give the backtrace. Is it Chinese to you? It's not complicated. I could explain if you're willing to help and understand the issue.

@M4TZ3-op
Copy link
Author

M4TZ3-op commented Jul 3, 2024

I got a new Server with newer Ubuntu Version. A GUI is easier for me but i can try the cli Version. Is the v5 still in development?

I will also try the tipps and the Version you mentioned on my old Server.

@mbruel
Copy link
Owner

mbruel commented Jul 3, 2024

ok, you can also on the old server add LOG_IN_FILE = true in the config file (~/.ngPost) cf here
then activate "show debug info" with debug level 1 or 2.
when it crashes, don't launch again ngPost, but send me the log file (~/ngPost.log)
I might see something but i doubt it.
The best way would be to launch ngPost with gdb to give me the backtrace. if you're willing to do it I can explain in few minutes or we can set it up together doing a call on jitsi for exemple.

Yeah I need to finish few things on the v5 but I'll try to release it soon. you'll have a popup warning you ;)

@TWA884
Copy link

TWA884 commented Jul 4, 2024

I've also run into crashes using the GUI on Windows. While crashes can happen without autoposting, they’re quite rare. However, enabling the Monitor Folder button (autoposting - scanning the folder every X seconds), a crash is almost guaranteed for me.

Here is my log file but it doesn't show much..
https://mega.nz/file/tTk1DJJQ#LS9wHJf15amIjmunfpSBbjD-iRQ6IE7mlw5Kb7TxHC0

@M4TZ3-op
Copy link
Author

M4TZ3-op commented Jul 5, 2024

[mbruel] when i have time i will Setup the log File.

@mbruel
Copy link
Owner

mbruel commented Jul 6, 2024

@TWA884 please open a separate Issue.
Describe well how you manage to make ngPost crash plz.
For me ngPost is either in Monitor mode or used for quick post or auto posting. I didn't imagine combine both. Why not open a second ngPost window? Why mix both?

@CevreMuhendisi
Copy link

If you use 7zip instead of WinRAR, you will find that the program no longer crashes with errors.

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

4 participants