#651527 shnsplit: warning: error while transferring 43610784 bytes of data

Package:
shntool
Source:
shntool
Description:
multi-purpose tool for manipulating and analyzing WAV files
Submitter:
Sthu
Date:
2024-08-21 07:36:03 UTC
Severity:
normal
Tags:
#651527#5
Date:
2011-12-09 15:20:46 UTC
From:
To:
Dear Maintainer,

When splitting from flac to wav I get this error:

....
Splitting [1.flac] (73:58.63) --> [split-track11.wav] (6:16.28) : 100% OK
Splitting [1.flac] (73:58.63) --> [split-track12.wav] (4:07.17) :  51% ERROR
shnsplit: warning: error while transferring 43610784 bytes of data
shnsplit: error: failed to split file

There is about 1 GB of free space when shnsplit exits w/ error.

#651527#10
Date:
2012-01-18 17:54:58 UTC
From:
To:
Dear Maintainer,

/usr/bin/cuebreakpoints 1.cue | /bin/sed s/$/0/ | /usr/bin/shnsplit -d ./smt.session-mlm-1326908366 -o wav 1.flac

3 cuebreakpoints >1.flac] (266879977890:43) --> [./smt.session-mlm-1326908366/split-track01.wav] (7:14.300) : 100% OK
Splitting [1.flac] (266879977890:43) --> [./smt.session-mlm-1326908366/split-track02.wav] (6:52.700) : 100% OK
Splitting [1.flac] (266879977890:43) --> [./smt.session-mlm-1326908366/split-track03.wav] (3:30.300) : 100% OK
Splitting [1.flac] (266879977890:43) --> [./smt.session-mlm-1326908366/split-track04.wav] (5:56.700) : 100% OK
Splitting [1.flac] (266879977890:43) --> [./smt.session-mlm-1326908366/split-track05.wav] (5:24.000) : 100% OK
Splitting [1.flac] (266879977890:43) --> [./smt.session-mlm-1326908366/split-track06.wav] (266879977861:45) :   0% ERROR
shnsplit: warning: error while transferring -3904439296 bytes of data
shnsplit: error: failed to split file

I have about 2 gigs of free space at the time I have the error.

$ /usr/bin/cuebreakpoints 1.cue | /bin/sed s/$/0/
    7:14.300
   14:07.000
   17:37.300
   23:34.000
   28:58.000

So, I suppose it being shnsplit's error.

#651527#15
Date:
2012-01-18 19:28:31 UTC
From:
To:
Good time of the day.


The last my bug report was on 24-bit 192 kHz flac file.


Thanks for Your work.

#651527#20
Date:
2012-01-19 10:03:38 UTC
From:
To:
Good time of the day.


Farther experience w/ the tool revealed:

1. its bad disc usage - thus, having yet 152 MiB ahead the tool stops
splitting w/ the above error,

2. after which, immediately, it frees some ~400 MiB on the disc thus
ending up w/ ~550 MiB of free space - that's why my previous bug reports
- on a lot of free space at the time of error. - It is not the case at
  the very moment of the error.

The fiel being splitted was of 1.3 GiB size.

Then, I have freed more than 600 MiB and retried the splitting, now it
exited w/ the error leaving 460 MiB at the very moment of error, and
freeing the space then was noticed up to 830 MiB.


Well. Seems buggy to me or need disc usage optimization at least.


Thanks for Your time/work.

#651527#25
Date:
2012-01-19 13:08:42 UTC
From:
To:
Yet additional info.

shnsplit worked well on the file not sooner than I did:

1. decompress it w/ flac to .wav;

2. converted the .wav w/ sox to 16bit, 44.1 kHz.

Vivid is up to You. :o)

#651527#32
Date:
2014-11-17 08:55:45 UTC
From:
To:
I don't quite recognise a problem here -- it seems that more temporary free
space is needed for processing than you expect... It could be that high
compression ratio is the case or even file system limits that you may hit when
approaching end of free space. Besides it may that `flac` utility consuming
space and not "shntool"...

I'm in favour of closing this bug unless stronger evidence for overuse of
temporary space is provided.
--- It is impossible to imagine Goethe or Beethoven being good at billiards or golf. -- H. L. Mencken
#651527#35
Date:
2014-11-17 08:55:45 UTC
From:
To:
I don't quite recognise a problem here -- it seems that more temporary free
space is needed for processing than you expect... It could be that high
compression ratio is the case or even file system limits that you may hit when
approaching end of free space. Besides it may that `flac` utility consuming
space and not "shntool"...

I'm in favour of closing this bug unless stronger evidence for overuse of
temporary space is provided.
--- It is impossible to imagine Goethe or Beethoven being good at billiards or golf. -- H. L. Mencken
#651527#40
Date:
2017-02-11 13:09:51 UTC
From:
To:
I've had the same error message and definitely isn't a space issue.
Apparently, my input FLAC file was broken (?), but I could work around the
problem by

 * converting the sound file to another lossless format, e.g., `ffmpeg -i
input.flac input.wav` and
 * using shnsplit on the new input file.

#651527#45
Date:
2024-08-21 07:27:10 UTC
From:
To:
Hi,

shntool came up in the Bug of the Day[1] and so I had a look in the open
bugs of this package.  Given the last two messages and that upstream is
not active any more I'm tagging this bug wontfix.

Kind regards
    Andreas.

[1] https://salsa.debian.org/tille/tiny_qa_tools/-/wikis/Tiny-QA-tasks