mbruel / ngPost

Command Line (or minimalist GUI) usenet poster for binaries developped in C++/QT designed to be as fast as possible and offer all the main features to post data easily and safely. Releases for Linux, Windows and MacOS are available.
GNU General Public License v3.0
179 stars 34 forks source link

program crashes oftenly #206

Open M4TZ3-op opened 3 months ago

M4TZ3-op commented 3 months ago

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

CevreMuhendisi commented 3 months ago

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

mbruel commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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

mbruel commented 3 months ago

@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 commented 3 months ago

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