Hello.
I was troubleshooting an issue where a download would hang forever in "repairing". It turned out that the modified par2 binary that is distributed with SABnzbd 0.4.9 for Mac OS X was stuck waiting for aio (at least that's my best guess based on the stack traces I got sampling the process). Manually moving aside the par2 binary and soft-linking par2 to par2-classic fixed the problem.
In general, aio is rather finicky on Mac OS X and should be avoided. If there's a place where I could get the source for the modified par2 binary, I would submit a patch, but I'm not sure there that is.
[Mac OS X] TBB par2 gets stuck in aio
Forum rules
Help us help you:
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.
-
- Newbie
- Posts: 3
- Joined: April 19th, 2009, 6:57 pm
Re: [Mac OS X] TBB par2 gets stuck in aio
I'll let rAf (our OSX maintainer) contact you.
Re: [Mac OS X] TBB par2 gets stuck in aio
Hi,
The par2 ttb binary comes from chuchusoft.com, sources are availables on the site.
I've tried to build but it's complicated... read carefully the README included in sources.
What's your hardware config (CPU G5/G4/Intel Core2Duo or CoreDuo) ?
Is SABnzbd hanging on every downloads ?
The par2 ttb binary comes from chuchusoft.com, sources are availables on the site.
I've tried to build but it's complicated... read carefully the README included in sources.
What's your hardware config (CPU G5/G4/Intel Core2Duo or CoreDuo) ?
Is SABnzbd hanging on every downloads ?
-
- Newbie
- Posts: 3
- Joined: April 19th, 2009, 6:57 pm
Re: [Mac OS X] TBB par2 gets stuck in aio
I have a MacPro1,1 (2.66 GHz dual-code Merom Xeons) with 9G55 (10.5.6 GM).
I have only reproduced the hang with one specific download, but it reproduced every time I tried.
In any case, thanks for the link. I'll have a look at the source and see if I can figure out what's causing the program to hang in aio.
I have only reproduced the hang with one specific download, but it reproduced every time I tried.
In any case, thanks for the link. I'll have a look at the source and see if I can figure out what's causing the program to hang in aio.
Re: [Mac OS X] TBB par2 gets stuck in aio
Nice hardware for SAB
Could you please pm me the nzb that hangs or the newzbin id (if available) ?
Could you please pm me the nzb that hangs or the newzbin id (if available) ?
Re: [Mac OS X] TBB par2 gets stuck in aio
Hi BahamutZER0,
I've tested with your nzb and repairing with ttb works...
FYI, I'm using a macbook pro late 2007 (2.4Ghz 4Go) 10.5.6 with all updates.
I've tested with your nzb and repairing with ttb works...
FYI, I'm using a macbook pro late 2007 (2.4Ghz 4Go) 10.5.6 with all updates.
-
- Newbie
- Posts: 3
- Joined: April 19th, 2009, 6:57 pm
Re: [Mac OS X] TBB par2 gets stuck in aio
I'll test again in a few days with a debug build of par2, see if I can reproduce and gather more info.
Re: [Mac OS X] TBB par2 gets stuck in aio
I've made some tests with differents par2 binaries.
I get bad results with par2 ttb in my tests.
If you want to test just grab http://osx.boiboite.net/downloads/par2tests.zip (par2 binaries are included)
Put your par2/rar files on datas folders, edit the launch.sh (replace MYFILENAME by your set filename) and launch in a terminal...
I don't know if par2 ttb is very useful.
I get bad results with par2 ttb in my tests.
If you want to test just grab http://osx.boiboite.net/downloads/par2tests.zip (par2 binaries are included)
Put your par2/rar files on datas folders, edit the launch.sh (replace MYFILENAME by your set filename) and launch in a terminal...
I don't know if par2 ttb is very useful.