INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Mac => Topic started by: tunamackaroni on April 23, 2013, 05:17:38 pm

Title: conversion with a ' causes application crash [solved]
Post by: tunamackaroni on April 23, 2013, 05:17:38 pm
Converting .flac to .alac - any file name containing an apostrophe causes the application to crash. Discovered this on the Mac version. Tested on windows version with the same result. Removing the apostrophe allowed the conversion to complete normally.
Title: Re: conversion with a ' causes application crash
Post by: Matt on April 24, 2013, 03:34:08 pm
I couldn't reproduce this.

I named a file:
a'b.flac

And converted to:
a'b.m4a

It worked.

Maybe you could provide a full filename?  Any other clues?
Title: Re: conversion with a ' causes application crash
Post by: JimH on April 24, 2013, 03:51:53 pm
Maybe there is a NAS drive involved.
Title: Re: conversion with a ' causes application crash
Post by: tunamackaroni on April 24, 2013, 04:17:39 pm
I was converting ~12k files. I tried converting to/from a local drive.. From local to usb and finally from usb to local.

On both OSs the initial failure came between 1-2k conversions. After that single file conversions with an apostrophe would fail consistently, removing the character allowed the conversion to progress with the exception of any files that were in progress during the crash.

I can reproduce but it takes quite some time. I have crash logs on both mac and windows if those would be helpful.
Title: Re: conversion with a ' causes application crash
Post by: Matt on April 24, 2013, 04:28:41 pm
You mean it only starts happening after doing thousands of files?

What if you launch the program fresh and try only a single file that fails?
Title: Re: conversion with a ' causes application crash
Post by: tunamackaroni on April 24, 2013, 04:53:05 pm
just tested.

mac and pc

local to local

file is a secure rip using mc18 on pc to flac.

file name is 07 - Ion Divvy.flac

my theory about apostrophes is shot.

application crashes on either OS

mac..
Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
*** error for object 0x101dc9e08: incorrect checksum for freed object - object was probably modified after being freed.
Title: Re: conversion with a ' causes application crash
Post by: Matt on April 24, 2013, 04:55:31 pm
Could you capture a crash log with Help > Logging on the Windows side and send it to logs [at] jriver (dot) com?

Thanks.
Title: Re: conversion with a ' causes application crash
Post by: Matt on April 24, 2013, 05:05:00 pm
Thanks for the crash report.

However, I need a JRiver log to learn anything.  Use Help > Logging from inside the program.
Title: Re: conversion with a ' causes application crash
Post by: Matt on April 24, 2013, 05:13:00 pm
Got the log.  Thanks.

It's crashing as the conversion thread pushes data into the encoder.

Would you be willing to mail the file you're converting to the logs address?  It might have been this file, although I'm not certain:
C:\Music\Lossless\Venetian Snares\Huge Chrome Cylinder Box Unfolding\06 - Li^2co^3.flac

Thanks.
Title: Re: conversion with a ' causes application crash
Post by: tunamackaroni on April 24, 2013, 05:32:36 pm
Files are 24 MB and 31 MB. Got ftp or a drop box?
Title: Re: conversion with a ' causes application crash
Post by: Matt on April 24, 2013, 05:36:43 pm
Files are 24 MB and 31 MB. Got ftp or a drop box?

Our email will accept that.

Or you could use Dropbox and share a link.

Thanks for your patience.
Title: Re: conversion with a ' causes application crash
Post by: Matt on April 24, 2013, 05:55:23 pm
I can reproduce the problem using your sample '07 - Ion Divvy.flac'.

There's some problem in the ALAC encoder where it can overrun a temporary buffer.

I'll follow-up tomorrow after I do some more debugging.
Title: Re: conversion with a ' causes application crash
Post by: Matt on April 25, 2013, 12:24:35 pm
The buffer overrun crash will be fixed next build:
Fixed: Encoding to ALAC could crash in some cases.

Thanks a lot for your help.
Title: Re: conversion with a ' causes application crash
Post by: JimH on April 28, 2013, 07:20:40 am
Please see this thread also:
http://yabb.jriver.com/interact/index.php?topic=80235.0