Perpetual Extracting Stage

Report & discuss bugs found in 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.
Post Reply
User avatar
E71
Newbie
Newbie
Posts: 42
Joined: January 13th, 2009, 10:08 pm

Perpetual Extracting Stage

Post by E71 »

Hi

It appears a certain NZB has left SABnzbd in a constant unpack state, creating thousands of duplicate files.

Had to rm -f the content to stop SABnzbd from performing any more unpacking.

I will PM any developers who reply to this thread, a link to the the NZB that's causing this issue.

Version: 0.5.0RC6
OS: CentOS 5.3 x86_64
Install-type: Python Source
Is the issue reproducible? yes
Last edited by E71 on February 19th, 2010, 7:57 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Perpetual Extracting Stage

Post by shypike »

It's always possible that it's a malicious rar file.
One example is a file called nasty.rar containing a file called nasty.rar.
This will throw the post processor in an endless loop.

Please email the NZB to bugs at sabnzbd.org referring to this thread.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Perpetual Extracting Stage

Post by shypike »

You'll be pleased to know that the current 0.5.0 (not released yet) downloads this just fine.
We recently added the unrar option '-ai', which prevents files from being overwritten
by unrar (instead renaming them).
It looks like this solves the problem.
User avatar
E71
Newbie
Newbie
Posts: 42
Joined: January 13th, 2009, 10:08 pm

Re: Perpetual Extracting Stage

Post by E71 »

That's great news! Thanks for looking into it.
User avatar
E71
Newbie
Newbie
Posts: 42
Joined: January 13th, 2009, 10:08 pm

Re: Perpetual Extracting Stage

Post by E71 »

I just updated to 0.5.0 and the problem persists.

Is there a way to disable the -ai option as I believe this is what's causing the never-ending unrar cycle? Looked for an option in config but couldn't find one.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Perpetual Extracting Stage

Post by shypike »

You contradict yourself.
In the old situation you had an endless unpack problem.
We added the extra unrar option and now you claim the same problem still exists.
How can adding the option be the cause?
It may not have solved your problem, but how would removing
the option solve it? You would be back to the old situation.

Which version of unrar are you using?
BTW is this still the same NZB you are talking about?
If not, please send the new one too.
BTW: are you using AstraWeb?
User avatar
E71
Newbie
Newbie
Posts: 42
Joined: January 13th, 2009, 10:08 pm

Re: Perpetual Extracting Stage

Post by E71 »

Different NZB, just mailed it to you.

UNRAR 3.71 beta 1 freeware      Copyright (c) 1993-2007 Alexander Roshal
Giganews is the primary server.
Astraweb is the backup server.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Perpetual Extracting Stage

Post by shypike »

I downloaded the NZB you sent me: no problem whatsoever.
You are using unrar 3.71 and removed the '-ai' option?

If so, then that is the reason for your problem.
We added this switch for a reason, without it you are not
protected against the nasty.rar->nasty.rar->nasty.rar... problem.
And this NZB contains such a trap, although probably not intentionally.

Please upgrade to unrar 3.8+ and restore the switch.
http://www.rarlab.com/rar_add.htm
The "UnRAR RPMs for Red Hat and Fedora Linux" should be suitable for CentOS.
Post Reply