title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Random "Error creating dbcmd temporary file"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stephenrjr

    • Feb 2017
    • 22

    Random "Error creating dbcmd temporary file"

    From time to time (not with every disc I rip), I receive an error like this:

    Code:
    Error converting to mp3 (Lame), 'Track 10' to '/Users/stephen/Music Copies/secure/MP3 (160, no art)/Chris Isaak/Heart Shaped World/10 - In The Heat Of The Jungle.mp3'
       Error creating dbcmd temporary file '/var/folders/qw/wgx0172d26jgcndyvh6l6k0h0000gn/T/dBpoweramp-Music-Converter-temp/dBTXTempFile-63860-176.tmp'
    Usually, it's one or two tracks on a disc, and when I re-rip the failed tracks, everything works fine.

    Race condition on tmp files?


    dBpoweramp starting up, PID: 63860
    Version: Release 2023-01-20
    Temp path: /var/folders/qw/wgx0172d26jgcndyvh6l6k0h0000gn/T/dBpoweramp-Music-Converter-temp/
    OS: Version 13.2.1 (Build 22D68)
    CPU: arm64

    Multi Encoder
    FLAC
    Apple AAC
    mp3 (Lame)
    FLAC



    Information Output - Track 10 FAILURE


    Code:
    Information converting to FLAC, 'Track 1' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/01 Chris Isaak - Heart Shaped World.flac'
       Track 1:  Ripped LBA 32 to 15752 (3:29) in 0:12. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/01 Chris Isaak - Heart Shaped World.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: 6DD657C4     AccurateRip CRC: 84B08B85 (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-1]
         AccurateRip Verified Confidence 200 [CRCv2 84b08b85]
         AccurateRip Verified Confidence 143 [CRCv2 fb29119d], Using Pressing Offset -34
         AccurateRip Verified Confidence 124 [CRCv2 97bf8e82], Using Pressing Offset +68
         AccurateRip Verified Confidence 90 [CRCv2 9465cf5b], Using Pressing Offset -629
       Audio File Passed Verification
    Information converting to FLAC, 'Track 1' to '/Users/stephen/Music Copies/secure/FLAC (lossless, art)/Chris Isaak/Heart Shaped World/01 Chris Isaak - Heart Shaped World.flac'
       Audio File Passed Verification
    Information converting to FLAC, 'Track 2' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/02 Chris Isaak - I'm Not Waiting.flac'
       Track 2:  Ripped LBA 15752 to 30465 (3:16) in 0:10. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/02 Chris Isaak - I'm Not Waiting.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: 5E69E327     AccurateRip CRC: 35164E6C (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-2]
         AccurateRip Verified Confidence 200 [CRCv2 35164e6c]
         AccurateRip Verified Confidence 141 [CRCv2 91792738], Using Pressing Offset -34
         AccurateRip Verified Confidence 127 [CRCv2 7c50aa50], Using Pressing Offset +68
         AccurateRip Verified Confidence 89 [CRCv2 e23a3f5f], Using Pressing Offset -629
       Audio File Passed Verification
    Information converting to FLAC, 'Track 2' to '/Users/stephen/Music Copies/secure/FLAC (lossless, art)/Chris Isaak/Heart Shaped World/02 Chris Isaak - I'm Not Waiting.flac'
       Audio File Passed Verification
    Information converting to FLAC, 'Track 3' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/03 Chris Isaak - Don't Make Me Dream About You.flac'
       Track 3:  Ripped LBA 30465 to 46470 (3:33) in 0:10. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/03 Chris Isaak - Don't Make Me Dream About You.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: AF56F80B     AccurateRip CRC: BCFEB558 (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-3]
         AccurateRip Verified Confidence 200 [CRCv2 bcfeb558]
         AccurateRip Verified Confidence 143 [CRCv2 a8fe3b2d], Using Pressing Offset -34
         AccurateRip Verified Confidence 127 [CRCv2 e4ffb1cf], Using Pressing Offset +68
         AccurateRip Verified Confidence 91 [CRCv2 4af58a31], Using Pressing Offset -629
       Audio File Passed Verification
    Information converting to FLAC, 'Track 3' to '/Users/stephen/Music Copies/secure/FLAC (lossless, art)/Chris Isaak/Heart Shaped World/03 Chris Isaak - Don't Make Me Dream About You.flac'
       Audio File Passed Verification
    Information converting to FLAC, 'Track 4' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/04 Chris Isaak - Kings Of The Highway.flac'
       Track 4:  Ripped LBA 46470 to 67965 (4:46) in 0:13. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/04 Chris Isaak - Kings Of The Highway.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: 9E310820     AccurateRip CRC: 3958BB45 (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-4]
         AccurateRip Verified Confidence 200 [CRCv2 3958bb45]
         AccurateRip Verified Confidence 143 [CRCv2 32833fa2], Using Pressing Offset -34
         AccurateRip Verified Confidence 128 [CRCv2 4703ad9e], Using Pressing Offset +68
         AccurateRip Verified Confidence 92 [CRCv2 3aeb43a8], Using Pressing Offset -629
    Information converting to FLAC, 'Track 4' to '/Users/stephen/Music Copies/secure/FLAC (lossless, art)/Chris Isaak/Heart Shaped World/04 Chris Isaak - Kings Of The Highway.flac'
       Audio File Passed Verification
    Information converting to FLAC, 'Track 5' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/05 Chris Isaak - Wicked Game.flac'
       Track 5:  Ripped LBA 67965 to 89645 (4:49) in 0:12. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/05 Chris Isaak - Wicked Game.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: E0E66FF6     AccurateRip CRC: A69E0E02 (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-5]
         AccurateRip Verified Confidence 200 [CRCv2 a69e0e02]
         AccurateRip Verified Confidence 146 [CRCv2 32f92fe9], Using Pressing Offset -34
         AccurateRip Verified Confidence 127 [CRCv2 8de7d1ed], Using Pressing Offset +68
         AccurateRip Verified Confidence 90 [CRCv2 cb33f1b2], Using Pressing Offset -629
    Information converting to FLAC, 'Track 5' to '/Users/stephen/Music Copies/secure/FLAC (lossless, art)/Chris Isaak/Heart Shaped World/05 Chris Isaak - Wicked Game.flac'
       Audio File Passed Verification
    Information converting to FLAC, 'Track 6' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/06 Chris Isaak - Blue Spanish Sky.flac'
       Track 6:  Ripped LBA 89645 to 107525 (3:58) in 0:09. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/06 Chris Isaak - Blue Spanish Sky.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: 35F724EC     AccurateRip CRC: 30CE4CA8 (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-6]
         AccurateRip Verified Confidence 200 [CRCv2 30ce4ca8]
         AccurateRip Verified Confidence 142 [CRCv2 3927cec7], Using Pressing Offset -34
         AccurateRip Verified Confidence 126 [CRCv2 201b5196], Using Pressing Offset +68
         AccurateRip Verified Confidence 91 [CRCv2 4b45da7a], Using Pressing Offset -629
       Audio File Passed Verification
    Information converting to FLAC, 'Track 6' to '/Users/stephen/Music Copies/secure/FLAC (lossless, art)/Chris Isaak/Heart Shaped World/06 Chris Isaak - Blue Spanish Sky.flac'
       Audio File Passed Verification
    Information converting to FLAC, 'Track 7' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/07 Chris Isaak - Wrong To Love You.flac'
       Track 7:  Ripped LBA 107525 to 127017 (4:19) in 0:10. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/07 Chris Isaak - Wrong To Love You.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: 0CBEFE0C     AccurateRip CRC: 56EE6F70 (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-7]
         AccurateRip Verified Confidence 200 [CRCv2 56ee6f70]
         AccurateRip Verified Confidence 143 [CRCv2 dbca0746], Using Pressing Offset -34
         AccurateRip Verified Confidence 127 [CRCv2 4d3752ab], Using Pressing Offset +68
         AccurateRip Verified Confidence 91 [CRCv2 70cc749e], Using Pressing Offset -629
    Information converting to FLAC, 'Track 7' to '/Users/stephen/Music Copies/secure/FLAC (lossless, art)/Chris Isaak/Heart Shaped World/07 Chris Isaak - Wrong To Love You.flac'
       Audio File Passed Verification
    Information converting to FLAC, 'Track 8' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/08 Chris Isaak - Forever Young.flac'
       Track 8:  Ripped LBA 127017 to 142255 (3:23) in 0:07. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/08 Chris Isaak - Forever Young.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: F26B0574     AccurateRip CRC: 93EFF3E8 (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-8]
         AccurateRip Verified Confidence 200 [CRCv2 93eff3e8]
         AccurateRip Verified Confidence 142 [CRCv2 9ea49244], Using Pressing Offset -34
         AccurateRip Verified Confidence 127 [CRCv2 7e86b0d0], Using Pressing Offset +68
         AccurateRip Verified Confidence 91 [CRCv2 59fd744a], Using Pressing Offset -629
       Audio File Passed Verification
    Information converting to FLAC, 'Track 8' to '/Users/stephen/Music Copies/secure/FLAC (lossless, art)/Chris Isaak/Heart Shaped World/08 Chris Isaak - Forever Young.flac'
       Audio File Passed Verification
    Information converting to FLAC, 'Track 9' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/09 Chris Isaak - Nothing's Changed.flac'
       Track 9:  Ripped LBA 142255 to 160890 (4:08) in 0:08. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/09 Chris Isaak - Nothing's Changed.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: BFCC8DE8     AccurateRip CRC: A63DBB16 (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-9]
         AccurateRip Verified Confidence 200 [CRCv2 a63dbb16]
         AccurateRip Verified Confidence 141 [CRCv2 84ea8d1d], Using Pressing Offset -34
         AccurateRip Verified Confidence 126 [CRCv2 e8e41ae5], Using Pressing Offset +68
         AccurateRip Verified Confidence 90 [CRCv2 3dbad930], Using Pressing Offset -629
    Information converting to FLAC, 'Track 9' to '/Users/stephen/Music Copies/secure/FLAC (lossless, art)/Chris Isaak/Heart Shaped World/09 Chris Isaak - Nothing's Changed.flac'
       Audio File Passed Verification
    [B]Information converting to FLAC, 'Track 10' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/10 Chris Isaak - In The Heat Of The Jungle.flac'
       Track 10:  Ripped LBA 160890 to 189377 (6:19) in 0:00. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/10 Chris Isaak - In The Heat Of The Jungle.flac
           [Pass 1]
         CRC32: B9785511     AccurateRip CRC: 00000000     [DiscID: 011-001215ba-009f04d7-990ad20b-10][/B]
    Information converting to FLAC, 'Track 11' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/11 Chris Isaak - Diddley Daddy.flac'
       Track 11:  Ripped LBA 189377 to 207817 (4:05) in 0:07. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/11 Chris Isaak - Diddley Daddy.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: 087B1D11     AccurateRip CRC: A42FF65A (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-11]
         AccurateRip Verified Confidence 200 [CRCv2 a42ff65a]
         AccurateRip Verified Confidence 137 [CRCv2 fa90901f], Using Pressing Offset -34
         AccurateRip Verified Confidence 124 [CRCv2 1e09cfe0], Using Pressing Offset +68
         AccurateRip Verified Confidence 89 [CRCv2 f4d2206d], Using Pressing Offset -629
       Audio File Passed Verification
    Information converting to FLAC, 'Track 11' to '/Users/stephen/Music Copies/secure/FLAC (lossless, art)/Chris Isaak/Heart Shaped World/11 Chris Isaak - Diddley Daddy.flac'
       Audio File Passed Verification


    Information Output - Track 10 Only SUCCESS


    Code:
    Information converting to FLAC, 'Track 10' to '/Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/10 Chris Isaak - In The Heat Of The Jungle.flac'
       Track 10:  Ripped LBA 160890 to 189377 (6:19) in 0:12. Filename: /Users/stephen/Music Masters/FLAC/Chris Isaak/Heart Shaped World/10 Chris Isaak - In The Heat Of The Jungle.flac
         AccurateRip: Accurate (confidence 200)     [Pass 1]
         CRC32: 11BCD3A8     AccurateRip CRC: 29166B33 (CRCv2)     [DiscID: 011-001215ba-009f04d7-990ad20b-10]
         AccurateRip Verified Confidence 200 [CRCv2 29166b33]
         AccurateRip Verified Confidence 139 [CRCv2 f911bd35], Using Pressing Offset -34
         AccurateRip Verified Confidence 123 [CRCv2 891fa830], Using Pressing Offset +68
         AccurateRip Verified Confidence 90 [CRCv2 30c0b9b9], Using Pressing Offset -629
       Audio File Passed Verification

    UPDATE: Another example,different disc - Track 3

    ...but same encoder with the error.

    Code:
    Error converting to mp3 (Lame), 'Track 3' to '/Users/stephen/Music Copies/secure/MP3 (160, no art)/Toad The Wet Sprocket/Fear/03 - Butterflies.mp3'
       Error creating dbcmd temporary file '/var/folders/qw/wgx0172d26jgcndyvh6l6k0h0000gn/T/dBpoweramp-Music-Converter-temp/dBTXTempFile-63860-286.tmp'
    Last edited by stephenrjr; March 09, 2023, 02:45 AM. Reason: Add a second example of the error
  • Spoon
    Administrator
    • Apr 2002
    • 44409

    #2
    Re: Random "Error creating dbcmd temporary file"

    Plenty of free space on that drive? on which the tmp folder resides.
    Spoon
    www.dbpoweramp.com

    Comment

    • stephenrjr

      • Feb 2017
      • 22

      #3
      Re: Random "Error creating dbcmd temporary file"

      Originally posted by Spoon
      Plenty of free space on that drive? on which the tmp folder resides.
      240 GB (local storage on my Mac Mini M1)

      Comment

      • PeterP
        Super Moderator
        • Jul 2011
        • 1442

        #4
        Re: Random "Error creating dbcmd temporary file"

        Thanks for the bug report.

        Please try:


        I added more detailed logging of why this condition happens, please post a new log.
        It looks like a temp file race condition but I can't quite see how it's possible (unique name is reliably generated each time using proper methods).

        Comment

        • PeterP
          Super Moderator
          • Jul 2011
          • 1442

          #5
          Re: Random "Error creating dbcmd temporary file"

          If the problem stopped happening with the new build, please say so.
          I included some potential-fix changes too, didn't think they would help though.

          Comment

          • stephenrjr

            • Feb 2017
            • 22

            #6
            Re: Random "Error creating dbcmd temporary file"

            Originally posted by PeterP
            If the problem stopped happening with the new build, please say so.
            I included some potential-fix changes too, didn't think they would help though.
            I've been traveling but will have time over the weekend to run some tests.

            Comment

            • stephenrjr

              • Feb 2017
              • 22

              #7
              Re: Random "Error creating dbcmd temporary file"

              Originally posted by PeterP
              Thanks for the bug report.

              Please try:


              I added more detailed logging of why this condition happens, please post a new log.
              It looks like a temp file race condition but I can't quite see how it's possible (unique name is reliably generated each time using proper methods).
              Today, I ripped 5 discs and had zero errors of any kind. Also, here is the AppLog.txt file ... which seems a bit too quiet:
              Code:
              dBpoweramp starting up, PID: 63622
              Version: Release 2023-03-10
              Temp path: /var/folders/qw/wgx0172d26jgcndyvh6l6k0h0000gn/T/dBpoweramp-Music-Converter-temp/
              OS: Version 13.2.1 (Build 22D68)
              CPU: arm64

              Comment

              • stephenrjr

                • Feb 2017
                • 22

                #8
                Re: Random "Error creating dbcmd temporary file"

                @PeterP Checking back to see if you need any further testing.

                I've been using the 2023-03-10 Beta you shared and have not been able to reproduce the race condition.

                -Stephen

                Comment

                Working...

                ]]>