INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: SACD ISO to PCM conversion still crashing with MC21  (Read 4357 times)

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
SACD ISO to PCM conversion still crashing with MC21
« on: August 18, 2015, 09:01:09 am »

Hi all
I have seen this error in all previous editions of MC and it is still there in MC21:
I have 11'200 tracks in my library which are on SACD ISOs. I try to convert these tracks to PCM. After converting around 460 tracks, MC21 crashes and stops working.
The relevant line in the log seems to be

3378563: 9088: General: TopLevelExceptionFilter: Unhandled exception -- program crashing

The complete log can be found here:
https://www.dropbox.com/s/7ptrib8i4iq230j/JRiver%20Log%202015-08-18%2015-50-31.zip?dl=0

It would be wonderful if the source of this error could be identified and corrected.
Thanks a lot
jacobacci
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #1 on: August 18, 2015, 10:12:18 am »

Try setting conversion to one at a time.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #2 on: August 18, 2015, 10:28:31 am »

I've converted SACD tracks like crazy and there's just no problem.

However, John had a little bit of luck reproducing this so we'll have him try again.
Logged
Matt Ashland, JRiver Media Center

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #3 on: August 18, 2015, 10:50:41 am »

Thanks Matt,
I'm trying to to one at a time now.
Logged

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #4 on: August 20, 2015, 01:35:43 am »

I have now done a conversion run with
- 1 file at a time
- DSD input plugin setting to 2 threads instead of 'auto'
The conversion failed with "Media center has stopped" after 3200 tracks instead of 460 at the 3 files at a time and threads to 'auto' settings.
That's progress, but the original problem still seems to exists.

Also if I cancel the conversion while its running, I get the "Media center has stopped" error message almost every time.
Logged

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #5 on: August 24, 2015, 05:35:43 am »

I have now done my conversions with the following settings
- convert 2 file at a time
- fixed the number of threads at 2
This way, I am able to convert 2'500 to 3'000 tracks before MC crashes. For me this is not perfect, but workable.

Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #6 on: August 24, 2015, 05:39:07 am »

If you do one at a time, it probably won't crash.  Something in the chain isn't thread safe.
Logged

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #7 on: August 24, 2015, 05:44:50 am »

Sorry. Jim, I forgot to mention that doing one file at a time also crashed at around 2'500 tracks. I did not try number of threads fixed to 1. Should I do that?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #8 on: August 24, 2015, 06:03:43 am »

Can you describe the exact conversion you are doing? You're just saying "to PCM", is that to WAV? To FLAC?
Did you setup resampling (which would be logical for DSD -> PCM), or any other DSP? What bitdepth did you select, if any?
Logged
~ nevcairiel
~ Author of LAV Filters

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #9 on: August 24, 2015, 06:31:36 am »

Hendrik, hi
I converted to
- FLAC, compression level 5
- downsample to 44.1kHz
- bit depth automatic
- leave original file and add destination file to library
- skip conversion if destination file exists
- convert 2 files at a time
- number of threads: 2
I started with an empty destination directory

When MC crashes, the log says:
3378563: 9088: General: TopLevelExceptionFilter: Unhandled exception -- program crashing



Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #10 on: August 24, 2015, 06:53:45 am »

Are many of your SACD's multi-channel, and as such DST compressed? I think I'm on to something
Logged
~ nevcairiel
~ Author of LAV Filters

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #11 on: August 24, 2015, 07:54:12 am »

No, I specifically selected only the 2 channel tracks using a smartlist.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #12 on: August 24, 2015, 07:57:10 am »

Well Stereo could still be DST compressed, but doesn't have to be. Well I fixed some problems in DST decompression anyway!
Logged
~ nevcairiel
~ Author of LAV Filters

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #13 on: August 24, 2015, 08:45:34 am »

Is there any way to tell whether it is DST compressed. Given I converted over 11'000 tracks (probably more than 1'000 ISOs) there are bound to be some DST compressed ones. On the other hand, the conversion does not always fail at the same ISO. it seems to be a somewhat random process.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #14 on: August 24, 2015, 09:21:51 am »

There was a memory leak, which would only show itself after a number of DST conversions, which could also be a bit random in nature.
Logged
~ nevcairiel
~ Author of LAV Filters

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: SACD ISO to PCM conversion still crashing with MC21
« Reply #15 on: August 24, 2015, 09:28:04 am »

Aha, hope this fixes it. It did indeed look like a memory leak or a buffer overflow of some sorts.
Thanks a lot for your help.
Logged
Pages: [1]   Go Up