marec2000 / dsf2flac

Automatically exported from code.google.com/p/dsf2flac
0 stars 0 forks source link

Application crashes in id tag processing #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./dsf2flac -d -i/Users/jbackes/Music/HOURGLASS_DSF/01_LINE_EM_UP.dsf

What is the expected output? What do you see instead?
WARNING: unknown chunk type: DIAR
WARNING: unknown chunk type: DITI
Illegal instruction

What version of the product are you using? On what operating system?
dsf2flac 0.1Rev30

Please provide any additional information below.
Process:         dsf2flac [14530]
Path:            /Applications/dsd2flac_OSX_v3/dsf2flac
Identifier:      dsf2flac
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  tcsh [14457]
User ID:         501

Date/Time:       2014-01-17 20:33:43.971 -0800
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dsf2flac                        0x000000010b5fec63 
ID3_TagImpl::ID3_TagImpl(char const*) + 137
1   dsf2flac                        0x000000010b5fc22a ID3_Tag::ID3_Tag(char 
const*) + 50
2   dsf2flac                        0x000000010b5c38ad 
DsfFileReader::DsfFileReader(char*) + 61
3   dsf2flac                        0x000000010b5c92c3 main + 835
4   libdyld.dylib                   0x000000010b9497e1 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000010b616ac0  rbx: 0x00007f8589404ae0  rcx: 0x000000010b619001  rdx: 0x000000010b619080
  rdi: 0x00007f8589404ae8  rsi: 0x0000000000000002  rbp: 0x00007fff54640380  rsp: 0x00007fff54640350
   r8: 0x000000000000000c   r9: 0x000000000000001b  r10: 0x000000010b6c3000  r11: 0x000000000000000c
  r12: 0x000000010b619300  r13: 0x000000010b6169e0  r14: 0x0000000000000000  r15: 0x00007f8589404b28
  rip: 0x000000010b5fec63  rfl: 0x0000000000010206  cr2: 0x000000010b5f6b2a
Logical CPU: 0

Binary Images:
       0x10b5bf000 -        0x10b614ff7 +dsf2flac (0) <89686F54-4282-3B92-BB2B-7E974456F907> /Applications/dsd2flac_OSX_v3/dsf2flac
       0x10b6c7000 -        0x10b6d9ff7  libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
       0x10b6e2000 -        0x10b7d7fff  libiconv.2.dylib (34) <FEE8B996-EB44-37FA-B96E-D379664DEFE1> /usr/lib/libiconv.2.dylib
       0x10b7ee000 -        0x10b856ff7  libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
       0x10b8b1000 -        0x10b8b2ff7  libSystem.B.dylib (169.3) <DF030DDB-DF22-3769-A8CD-9806DDB84008> /usr/lib/libSystem.B.dylib
       0x10b8c0000 -        0x10b8c5fff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
       0x10b8cf000 -        0x10b8ddfff  libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
       0x10b8ed000 -        0x10b8f2fff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
       0x10b900000 -        0x10b907fff  libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
       0x10b90f000 -        0x10b924ff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
       0x10b93c000 -        0x10b93dff7  libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
       0x10b947000 -        0x10b94aff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
       0x10b957000 -        0x10b957fff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
       0x10b95f000 -        0x10b967fff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
       0x10b970000 -        0x10b976fff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
       0x10b982000 -        0x10b984fff  libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
       0x10b98e000 -        0x10b98fff7  libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
       0x10b998000 -        0x10b999fff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
       0x10b9a4000 -        0x10ba70ff7  libsystem_c.dylib (825.40.1) <543B05AE-CFA5-3EFE-8E58-77225411BA6B> /usr/lib/system/libsystem_c.dylib
       0x10bab8000 -        0x10bac0ff7  libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
       0x10bacb000 -        0x10bb01fff  libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
       0x10bb1f000 -        0x10bb3aff7  libsystem_kernel.dylib (2050.48.12) <4B7993C3-F62D-3AC1-AF92-414A0D6EED5E> /usr/lib/system/libsystem_kernel.dylib
       0x10bb4e000 -        0x10bb7cff7  libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
       0x10bb8b000 -        0x10bb99ff7  libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
       0x10bbac000 -        0x10bbb7fff  libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
       0x10bbc1000 -        0x10bbc2ff7  libsystem_sandbox.dylib (220.3) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
       0x10bbc8000 -        0x10bbcaff7  libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
       0x10bbd1000 -        0x10bbd7ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
       0x10bbde000 -        0x10bc00ff7  libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
       0x10bc1f000 -        0x10bc6eff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
       0x10bc81000 -        0x10bd9992f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
       0x10bdbb000 -        0x10be07ff7  libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
       0x10be1e000 -        0x10be43ff7  libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
       0x10be78000 -        0x10be79fff  libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff6b1bf000 -     0x7fff6b1f394f  dyld (210.2.3) <8958FE97-5830-3928-BC38-23136E7D3783> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 4048
    thread_create: 2
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=7856K resident=4632K(59%) 
swapped_out_or_unallocated=3224K(41%)
Writable regions: Total=18.2M written=328K(2%) resident=508K(3%) 
swapped_out=0K(0%) unallocated=17.7M(97%)

REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             9396K
MALLOC guard page                    16K
STACK GUARD                        56.0M
Stack                              8192K
__DATA                             1068K
__LINKEDIT                         1932K
__TEXT                             5976K
shared memory                        12K
===========                      =======
TOTAL                              82.0M

Original issue reported on code.google.com by jgbac...@gmail.com on 18 Jan 2014 at 4:41

GoogleCodeExporter commented 8 years ago
Sorry for the late reply. The latest revision is 51, the one you have is much 
older. Please could you let me know if the same problem occurs with the latest 
version? I see you are on a Mac, I don't have a binary for Mac so you will 
either have to build it yourself or get the one that is bundled with DSD2FLAC 
from here http://www.rendu.sonore.us/apps.html

Original comment by jack.ocl...@googlemail.com on 4 Jul 2014 at 9:55

GoogleCodeExporter commented 8 years ago
Hi,

Having the same problem with rev30 is the latest version on mac that I can find

Crash log attached.

Miguel

Original comment by mbar...@miguelbarrio.com on 9 Nov 2014 at 4:21

Attachments:

GoogleCodeExporter commented 8 years ago
One more piece of info: tried with a newly created .dff file. Command line:

matildaX:ISO2DSD miguelito$ ./dsf2flac -r 176400  -i ./track.dff -o ./track.flac
dsf2flac 0.1Rev30

WARNING: unknown chunk type: DIAR
WARNING: unknown chunk type: DITI
Illegal instruction: 4

Crash log attached.

Original comment by mbar...@miguelbarrio.com on 9 Nov 2014 at 4:54

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Miguel, the latest code version is rev51. rev30 is quite old so this bug 
might not exist in the latest code. Unfortunately I don't have access to a Mac 
for testing. Could you try the version downloadable bundled here: 
http://dsd.sonore.us/dsd2flac_OSX_v5.zip (not sure what the version is).
Otherwise if you can send me the dff file (on dropbox for example) I can see if 
I can replicate the bug on Linux.
Thanks, Jack.

Original comment by jack.ocl...@googlemail.com on 10 Nov 2014 at 9:13

GoogleCodeExporter commented 8 years ago
Hi Miguel,

Please can you download the dsf2flac version from this page and see if you 
still have the same issue:

https://drive.google.com/folderview?id=0B9YUbQwjhxeNQUtndEEtSmFYU2c&usp=sharing#
list

Thanks, Jack.

Original comment by jack.ocl...@googlemail.com on 18 Nov 2014 at 9:51