NZBGet suddenly segfaulting

Get help, report and discuss bugs.
Post Reply
xandora
Posts: 4
Joined: 10 Oct 2014, 02:55

NZBGet suddenly segfaulting

Post by xandora » 14 Apr 2021, 08:37

Not sure exactly where to begin with this one, very suddenly (within the last 24 hours) NZBGet has suddenly started to crash with a segfault error every few minutes.

Output from journalctl -f at crash time:

Code: Select all

Apr 14 20:27:28 frankserver kernel: nzbget[7496]: segfault at 0 ip 000000000081480f sp 00007f4a427d9f58 error 4 in nzbget[400000+650000]
Apr 14 20:27:28 frankserver kernel: Code: bc d1 f3 0f 7f 27 f3 0f 7f 6f 10 f3 0f 7f 77 20 f3 0f 7f 7f 30 49 83 c0 0f 49 29 d0 48 8d 7c 17 31 e9 95 0b 00 00 66 0f ef c0 <f3> 0f 6f 0e f3 0f 6f 56 10 66 0f 74 c1 66 0f d7 d0 49 83 f8 11 0f
Apr 14 20:27:28 frankserver systemd[1]: nzbgetd.service: Main process exited, code=killed, status=11/SEGV
Apr 14 20:27:28 frankserver systemd[1]: nzbgetd.service: Failed with result 'signal'.
Output from nzbget.log from starting the service to crash time:

Code: Select all

Wed Apr 14 20:25:47 2021        ERROR   Starting daemon failed: could not create lock-file /mnt/data/nzbget/downloads/nzbget.lock
Wed Apr 14 20:25:47 2021        INFO    Deleting lock file
Wed Apr 14 20:26:27 2021        INFO    nzbget 21.0 daemon-mode
Wed Apr 14 20:26:27 2021        ERROR   Could not initialize TLS, secure certificate is not configured or the cert-file was not found. Check option <SecureCert>
Wed Apr 14 20:27:28 2021        INFO    Adding collection Homeland.S05E05.1080p.BluRay.x264-Counterfeit.nzb to queue
I attempted to mitigate this by installing a fresh copy of nzbget in an alternate location and simply supplying the previous installs nzbget.conf file as a test, but the crashes still persist.

xandora
Posts: 4
Joined: 10 Oct 2014, 02:55

Re: NZBGet suddenly segfaulting

Post by xandora » 14 Apr 2021, 09:58

After a suggestion to delete the nzb folder, in which there were an unbelievable amount of nzb files, normal service seems to have resumed.

owine
Posts: 5
Joined: 05 Jan 2020, 00:02

Re: NZBGet suddenly segfaulting

Post by owine » 14 Apr 2021, 14:17

See https://github.com/nzbget/nzbget/issues/744 and a proposed fix (with further technical explanation) in https://github.com/nzbget/nzbget/pull/745

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests