{"action":"created","issue":{"url":"https://api.github.com/repos/VirusFree/FlacBox/issues/1","labels_url":"https://api.github.com/repos/VirusFree/FlacBox/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/VirusFree/FlacBox/issues/1/comments","events_url":"https://api.github.com/repos/VirusFree/FlacBox/issues/1/events","html_url":"https://github.com/VirusFree/FlacBox/issues/1","id":91603977,"number":1,"title":"FlacExceptions when reading seemingly correct FlacFiles","user":{"login":"endian02","id":4425168,"avatar_url":"https://avatars.githubusercontent.com/u/4425168?v=3","gravatar_id":"","url":"https://api.github.com/users/endian02","html_url":"https://github.com/endian02","followers_url":"https://api.github.com/users/endian02/followers","following_url":"https://api.github.com/users/endian02/following{/other_user}","gists_url":"https://api.github.com/users/endian02/gists{/gist_id}","starred_url":"https://api.github.com/users/endian02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endian02/subscriptions","organizations_url":"https://api.github.com/users/endian02/orgs","repos_url":"https://api.github.com/users/endian02/repos","events_url":"https://api.github.com/users/endian02/events{/privacy}","received_events_url":"https://api.github.com/users/endian02/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-28T14:13:01Z","updated_at":"2015-06-28T14:16:43Z","closed_at":null,"body":"Hi,\r\n\r\nI am working on a program for analyzing sound level, dynamics and clipping in any music library. For this I am using the FlacBox code.\r\n\r\nHowever, I receive a few types of FlacExceptions when reading certain flac files:\r\n\r\nThe files were ripped using a recent version of dbPoweramp (15.2.0.3), and I ran over 10000 files, and around 50 failed with the following errors. \r\n\r\nException:FlacBox.FlacException: Invalid subframe coefficient precision\r\nException:FlacBox.FlacException: Subframe type is set to reserved=17\r\nException:FlacBox.FlacException: Subframe type is set to reserved=18\r\nException:FlacBox.FlacException: Subframe type is set to reserved=4\r\nException:FlacBox.FlacException: Unexpected end of stream: bit reader needs data\r\nException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\r\nI have tried re-ripping most of the files in dbPoweramp, but the results are the same afterwards.\r\n\r\nI am currently trying to find out if this is due to a dbPoweramp problem or if it is a problem in FlacBox. \r\n\r\nPlease help me in pinpointing it!\r\n\r\nRegards, Kenneth\r\n\r\nThe complete exceptions file list (the rest can be provided if needed)\r\n\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Kaiser Chiefs\\Education, Education, Education & War\\01 Kaiser Chiefs - The Factory Gates.flac\t9370368\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n   vid FlacBox.FlacReader.ReadSubframe() i C:\\Users\\Kenneth Ekman\\Documents\\Visual Studio 2013\\Projects\\flacbox-69709\\FlacBox\\FlacBox\\FlacReader.cs:rad 278\t\t\t\t\t\r\n   vid FlacBox.FlacReader.Read() i C:\\Users\\Kenneth Ekman\\Documents\\Visual Studio 2013\\Projects\\flacbox-69709\\FlacBox\\FlacBox\\FlacReader.cs:rad 157\t\t\t\t\t\r\n   vid FlacBox.AsIsWaveSampleMixer.<MixSamples>d__0.MoveNext() i C:\\Users\\Kenneth Ekman\\Documents\\Visual Studio 2013\\Projects\\flacbox-69709\\FlacBox\\FlacBox\\WaveSampleMixer.cs:rad 24\t\t\t\t\t\r\n   vid FlacAnalyze.Program.AnalyzeFile(String filename, Boolean level) i C:\\Users\\Kenneth Ekman\\Documents\\Visual Studio 2013\\Projects\\flacbox-69709\\FlacBox\\FlacAnalyze\\Program.cs:rad 416\t\t\t\t\t\r\n\r\nHere is the complete list of failing tracks:\r\n\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Classical\\Various Artists\\Sampler Volume 1\\08 Hector Berlioz - Berlioz (Smphonie Fantastique.flac\t10932096\t44100\t16\t2\tException:FlacBox.FlacException: Invalid subframe coefficient precision\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Classical\\Various Artists\\Telarc Sampler, Vol. 2\\04 Slatkin - Conclusion.flac\t8281980\t44100\t16\t2\tException:FlacBox.FlacException: Invalid subframe coefficient precision\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Bruce Springsteen\\The River\\04 Bruce Springsteen - Fade Away.flac\t12618480\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=17\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Debbie Gibson\\Anything Is Possible, Disc 1\\02 Debbie Gibson - Anything Is Possible.flac\t9967776\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=17\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Debbie Gibson\\Anything Is Possible, Disc 1\\03 Debbie Gibson - Reverse Psychology.flac\t11802924\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=17\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Debbie Gibson\\Anything Is Possible, Disc 1\\12 Debbie Gibson - Mood Swings.flac\t10327044\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=17\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Debbie Gibson\\Anything Is Possible, Disc 1\\16 Debbie Gibson - This So-Called Miracle.flac\t19780320\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=17\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Associates, The\\Wild and Lonely\\02 Associates, The - Fever.flac\t12787236\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Associates, The\\Wild and Lonely\\06 Associates, The - The Glamour Chase.flac\t13092996\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Associates, The\\Wild and Lonely\\10 Associates, The - Ever Since That Day.flac\t13202364\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Dayeene\\United Soul Power\\Dayeene - 14 - United Soul Power (Clean Mix).flac\t11968740\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Five Star\\Luxury of Life\\10 Five Star - Winning.flac\t9657900\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Frankie Goes to Hollywood\\Welcome to the Pleasuredome\\08 Frankie Goes to Hollywood - Happy Hi.flac\t11113200\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Jane Child\\Here Not There\\Jane Child - 01 - Mona Lisa Smiles.flac\t13494600\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Kaiser Chiefs\\Education, Education, Education & War\\01 Kaiser Chiefs - The Factory Gates.flac\t9370368\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Skunk Anansie\\Paranoid and Sunburnt\\Skunk Anansie - 10 - 100 Ways to Be a Good Girl.flac\t10628100\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Classical\\Various Artists\\Sampler Volume 1\\09 Aaron Copland - Copeland (Rodeo).flac\t8596560\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Classical\\Various Artists\\Telarc Sampler, Vol. 2\\09 Shaw - Carmina Burana, Ego Sum Abbas.flac\t4465860\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Classical\\Various Artists\\Telarc Sampler, Vol. 2\\20 Slatkin - Fugue.flac\t7795116\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=18\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Bruce Springsteen\\The River\\01 Bruce Springsteen - Point Blank.flac\t16155300\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=19\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Ultra NatÃ©\\Situation; Critical\\05 Ultra NatÃ© - It's Crying Time.flac\t10221204\t44100\t16\t2\tException:FlacBox.FlacException: Subframe type is set to reserved=4\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Foreigner\\Foreigner\\10 Foreigner - I Need You.flac\t13799184\t44100\t16\t2\tException:FlacBox.FlacException: Unexpected end of stream: bit reader needs data\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Max Sharam\\Million Year Girl\\Max Sharam - 02 - Coma.flac\t9935436\t44100\t16\t2\tException:FlacBox.FlacException: Unexpected end of stream: bit reader needs data\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Patti Rothberg\\Between the 1 and the 9\\Patti Rothberg - 03 - This One's Mine.flac\t6832560\t44100\t16\t2\tException:FlacBox.FlacException: Unexpected end of stream: bit reader needs data\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Patti Rothberg\\Between the 1 and the 9\\Patti Rothberg - 08 - Perfect Strangers.flac\t8586564\t44100\t16\t2\tException:FlacBox.FlacException: Unexpected end of stream: bit reader needs data\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Patti Rothberg\\Between the 1 and the 9\\Patti Rothberg - 10 - Change Your Ways.flac\t6543264\t44100\t16\t2\tException:FlacBox.FlacException: Unexpected end of stream: bit reader needs data\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Skunk Anansie\\Post Orgasmic Chill\\Skunk Anansie - 07 - Secretly.flac\t12599076\t44100\t16\t2\tException:FlacBox.FlacException: Unexpected end of stream: bit reader needs data\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\TLC\\Ooooooohhh...On the TLC Tip\\TLC - 10 - Bad by Myself.flac\t10397016\t44100\t16\t2\tException:FlacBox.FlacException: Unexpected end of stream: bit reader needs data\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Zbigniew Preisner\\Trois Couleurs; Bleu\\Zbigniew Preisner - 15 - The Battle of Carnival and Lent II.flac\t1980384\t44100\t16\t2\tException:FlacBox.FlacException: Unexpected end of stream: bit reader needs data\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Jane Child\\Here Not There\\Jane Child - 04 - All I Do.flac\t15729000\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Jane Child\\Here Not There\\Jane Child - 05 - SSHHH.flac\t12965400\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Jane Child\\Here Not There\\Jane Child - 06 - Perfect Love.flac\t16385796\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Jane Child\\Here Not There\\Jane Child - 08 - Heavy Smile.flac\t14144340\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Jane Child\\Here Not There\\Jane Child - 09 - Calling.flac\t14375424\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Jane Child\\Here Not There\\Jane Child - 12 - Here Not There.flac\t9543240\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Midge Ure\\The Works\\04 Midge Ure - Call of the Wild.flac\t11525388\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Patti Rothberg\\Between the 1 and the 9\\Patti Rothberg - 04 - Treat Me Like Dirt.flac\t12874260\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Patti Rothberg\\Between the 1 and the 9\\Patti Rothberg - 05 - Looking for a Girl.flac\t6753180\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Patti Rothberg\\Between the 1 and the 9\\Patti Rothberg - 11 - Remembering Tonight.flac\t7205940\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Scritti Politti\\Cupid & Psyche 85\\03 Scritti Politti - Absolute.flac\t11700024\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Scritti Politti\\Cupid & Psyche 85\\07 Scritti Politti - Lover to Fall.flac\t11136720\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Scritti Politti\\Cupid & Psyche 85\\08 Scritti Politti - Wood Beez (Pray Like Aretha Franklin).flac\t12705504\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Scritti Politti\\Cupid & Psyche 85\\09 Scritti Politti - Hypnotize.flac\t9457980\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Scritti Politti\\Cupid & Psyche 85\\10 Scritti Politti - Flesh & Blood.flac\t14808780\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Scritti Politti\\Cupid & Psyche 85\\11 Scritti Politti - Absolute (Version).flac\t16405200\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Scritti Politti\\Cupid & Psyche 85\\13 Scritti Politti - Hypnotize (Version).flac\t17457720\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Sneaker Pimps\\Splinter\\Sneaker Pimps - 12 - Wife by Two Thousand.flac\t16646280\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Artists\\Zbigniew Preisner\\Trois Couleurs; Bleu\\Zbigniew Preisner - 16 - Reprise - Flute (Closing Credits Version).flac\t6223980\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Classical\\Various Artists\\Sampler Volume 1\\10 Johann Pachelbel - Pachebel (Canon).flac\t7739844\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Classical\\Various Artists\\Telarc Sampler, Vol. 2\\10 Boston Symphony Orchestra - Allegro con brio (excerpt).flac\t10775100\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding\r\n\\\\NAS-34-6E-94\\Backup\\Music_20141123\\MusicMaster\\CD Classical\\Various Artists\\Telarc Sampler, Vol. 2\\11 Various Artists - [Unspecified] Excerpt.flac\t6018180\t44100\t16\t2\tException:FlacBox.FlacException: Zeros expected for alignment padding"},"comment":{"url":"https://api.github.com/repos/VirusFree/FlacBox/issues/comments/116285910","html_url":"https://github.com/VirusFree/FlacBox/issues/1#issuecomment-116285910","issue_url":"https://api.github.com/repos/VirusFree/FlacBox/issues/1","id":116285910,"user":{"login":"endian02","id":4425168,"avatar_url":"https://avatars.githubusercontent.com/u/4425168?v=3","gravatar_id":"","url":"https://api.github.com/users/endian02","html_url":"https://github.com/endian02","followers_url":"https://api.github.com/users/endian02/followers","following_url":"https://api.github.com/users/endian02/following{/other_user}","gists_url":"https://api.github.com/users/endian02/gists{/gist_id}","starred_url":"https://api.github.com/users/endian02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endian02/subscriptions","organizations_url":"https://api.github.com/users/endian02/orgs","repos_url":"https://api.github.com/users/endian02/repos","events_url":"https://api.github.com/users/endian02/events{/privacy}","received_events_url":"https://api.github.com/users/endian02/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T14:16:43Z","updated_at":"2015-06-28T14:16:43Z","body":"I should add that all of the above tracks have been converted to mp3/aac files without problems, using dbPowerAmp..."}}