OT: par2 crash

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.
Post Reply
schmitt56
Newbie
Newbie
Posts: 10
Joined: February 28th, 2014, 3:52 am

OT: par2 crash

Post by schmitt56 »

Hello,

I noticed some downloads in SABnzbd recently which are marked as failed. Hitting the retry button does not solve the problem, after a while the Download is marked again as failed.

I found out, that par2 is crashing:

There are 254 recoverable files and 0 other files.
The block size used was 262272000 bytes.
There are a total of 254 data blocks.
The total size of the data files is 66332863854 bytes.

Verifying source files:

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted

I compiled par2 from source but unfortunately the crash is the same.

I dont know what to do now. Same archive on another machine is being verified by par2 without problems.

Do You habe an idea where to start ? Or where it would be better to ask ?

Regards,
Chris
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: OT: par2 crash

Post by sander »

Which HW
Which OS
Which par2 version

... same questions for the other machine
schmitt56
Newbie
Newbie
Posts: 10
Joined: February 28th, 2014, 3:52 am

Re: OT: par2 crash

Post by schmitt56 »

Its an arm device (kirkwood) (dockstar, debian wheezy, kernel 3.2.23).
schmitt56
Newbie
Newbie
Posts: 10
Joined: February 28th, 2014, 3:52 am

Re: OT: par2 crash

Post by schmitt56 »

The other machine where it works is debian wheezy amd64, on a PC with 4GB of ram.
schmitt56
Newbie
Newbie
Posts: 10
Joined: February 28th, 2014, 3:52 am

Re: OT: par2 crash

Post by schmitt56 »

Oh, and its par2cmdline version 0.4 .
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: OT: par2 crash

Post by sander »

If you can reproduce it on the dockstar command line, it's a dockstar problem, and I would report it in dockstar forum. Oh: it can be a hardware problem: bad memory, or something like that.
schmitt56
Newbie
Newbie
Posts: 10
Joined: February 28th, 2014, 3:52 am

Re: OT: par2 crash, solved

Post by schmitt56 »

Ok I got it after experimenting on a bigger machine. To be able to use par2 on this download the swap memory must be set to a minimum of 512MB. At least for machines with only 128MB of physical ram.
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: OT: par2 crash, solved

Post by sander »

schmitt56 wrote:Ok I got it after experimenting on a bigger machine. To be able to use par2 on this download the swap memory must be set to a minimum of 512MB. At least for machines with only 128MB of physical ram.
You "got it"? The solution? Or the crash? ???
schmitt56
Newbie
Newbie
Posts: 10
Joined: February 28th, 2014, 3:52 am

Re: OT: par2 crash

Post by schmitt56 »

I got the solution. ;)
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: OT: par2 crash

Post by sander »

schmitt56 wrote:I got the solution. ;)
OK. Good. To understand you: you are able to let par2 crash from the commandline on the bigger machine? (Big as in: 1+ GB RAM?)
Post Reply