Downloader keeps crashing

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
rickatnight11
Newbie
Newbie
Posts: 18
Joined: January 16th, 2012, 9:18 pm

Re: Downloader keeps crashing

Post by rickatnight11 »

shypike wrote:The content is bizarre and so far I have no explanation.
The counter for the giganews server is "\r\n" instead of a number.
This is what makes the code crash.
I have just added parameter validation to the code that reads totals9.sab from disk.
That solves the crash but will not solve the root cause.

For you the work-around is to stop SABnzbd, remove the totals9.sab file and start again.
This will destroy your byte counters though.

I'm completely puzzled about what the cause is, but I'll try to find it.
Awesome, that fixed it, and I'm downloading now. Let me know, if I can provide anything else.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Downloader keeps crashing

Post by shypike »

I'll add the validation to 0.7.2, that will at least allow automatic recovery from bad data.
You do have to realize that once you go over the max file limit all sorts of
things will go wrong, including SABnzbd's behaviour.
Although, I doubt whether this particular corruption is caused by it.
Post Reply