INTERACT FORUM

Please login or register.

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

Author Topic: Crash when using Handheld Sync with External Encoder  (Read 2182 times)

YogiPL

  • Recent member
  • *
  • Posts: 41
Crash when using Handheld Sync with External Encoder
« on: August 06, 2021, 05:48:18 pm »

Hi, I'm getting these crash messages when using Sync Handheld option with External Encoder (afconvert, opusenc).

The files get transcoded without issue but this message pops up (If I close one, another appears) while transcoding is in progress:

Code: [Select]
Process:               Media Center 28 [5894]
Path:                  /Applications/Media Center 28.app/Contents/MacOS/Media Center 28
Identifier:            Media Center 28
Version:               28.0.48 (2405)
Code Type:             ARM-64 (Native)
Parent Process:        Media Center 28 [1918]
Responsible:           Media Center 28 [1918]
User ID:               501

Date/Time:             2021-08-07 00:36:49.231 +0200
OS Version:            macOS 11.5.1 (20G80)
Report Version:        12
Anonymous UUID:        562EBF37-61EB-0AD8-0261-6CC6C9384CC3


Time Awake Since Boot: 56000 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       EXC_ARM_BREAKPOINT at 0x00000001a14b1f54 (brk 1)
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Trace/BPT trap: 5
Termination Reason:    Namespace SIGNAL, Code 0x5
Terminating Process:   exc handler [5894]

Application Specific Information:
*** Unable to send message to wake up port. (10000003) ***
*** multi-threaded process forked ***
crashed on child side of fork pre-exec

Thread 0 Crashed:
0   com.apple.CoreFoundation      0x00000001a14b1f54 CFRunLoopWakeUp.cold.1 + 48
1   com.apple.CoreFoundation      0x00000001a14b1f4c CFRunLoopWakeUp.cold.1 + 40
2   com.apple.CoreFoundation      0x00000001a134ad28 CFRunLoopWakeUp + 660
3   com.apple.Foundation          0x00000001a20fc7d8 -[NSThread _nq:] + 504
4   com.apple.Foundation          0x00000001a20fc334 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 608
5   com.apple.Foundation          0x00000001a20fbf14 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 136
6   libJRDisc.dylib                0x00000001098e8530 JRCmdTarget::Post(JRCmd const&) + 200
7   libJRDisc.dylib                0x00000001098e8b30 JRCmdTarget::KillTimer(int) + 248
8   libJRDisc.dylib                0x000000010989f994 JRSCSIManager::~JRSCSIManager() + 56
9   libJRDisc.dylib                0x000000010989fbb0 JRSCSIManager::~JRSCSIManager() + 12
10  libJRDisc.dylib                0x00000001098571e4 CJRDiscApp::~CJRDiscApp() + 68
11  libsystem_c.dylib              0x00000001a118f5d0 __cxa_finalize_ranges + 408
12  libsystem_c.dylib              0x00000001a118f948 exit + 60
13  libenc_Main.dylib              0x00000001031b8144 CExternalEncoder::StartFileBased() + 2380
14  libJRPlayer.dylib              0x000000011b37a250 CEncoderPlugin::Start(JRString const&, JRString, bool) + 648
15  libJRPlayer.dylib              0x000000011b4a332c CMJDecoder::Decode(wchar_t const*, wchar_t const*, MJ_DECODER_MODES, bool (*)(MJ_DECODER_CALLBACKS, int, long long), long long, wchar_t const*, wchar_t const*, bool) + 3128
16  com.jriver.MediaCenter28      0x0000000101314654 0x1007e4000 + 11732564
17  com.jriver.MediaCenter28      0x0000000100d958d8 0x1007e4000 + 5970136
18  libsystem_pthread.dylib        0x00000001a1267878 _pthread_start + 320
19  libsystem_pthread.dylib        0x00000001a12625e0 thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x000000000000003a   x1: 0x00000001a16cd49a   x2: 0x0000000000000000   x3: 0x0000000177b4e382
    x4: 0x0000000177b4dda0   x5: 0x0000000177b4e310   x6: 0x000000000000002a   x7: 0x0000000000000000
    x8: 0x00000002004ba000   x9: 0x1f73002a82bf0092  x10: 0x0000000000000001  x11: 0x0000000000000002
   x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000010  x15: 0x000000020c090110
   x16: 0x00000001a108a3c8  x17: 0x000000020fce1968  x18: 0x0000000000000000  x19: 0x0000000177b4e348
   x20: 0x0000600002f2c510  x21: 0x0000000010000003  x22: 0x000000002b3100f9  x23: 0x000000020c097000
   x24: 0x000000020c097000  x25: 0x00000001f9a36e73  x26: 0x000000020c6f52e8  x27: 0x00006000026043c0
   x28: 0x0000000100000002   fp: 0x0000000177b4e330   lr: 0x79558001a14b1f4c
    sp: 0x0000000177b4e310   pc: 0x00000001a14b1f54 cpsr: 0x60001000
   far: 0x000060000115521c  esr: 0xf2000001

Binary Images:
       0x1007e4000 -        0x1022f3fff +com.jriver.MediaCenter28 (28.0.48 - 2405) <D72B5378-BD25-37B7-B5C0-39C4C8D29E8B> /Applications/Media Center 28.app/Contents/MacOS/Media Center 28
       0x102524000 -        0x1025bffff +libin_WAV.dylib (0) <5A8156CB-EC46-3647-B5AC-D5216A840111> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_WAV.dylib
       0x102608000 -        0x1026d3fff +libin_MP4.dylib (0) <1D8A6501-B0A4-3A78-A0DB-B65F6DAFEBB5> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_MP4.dylib
       0x102744000 -        0x1027c3fff  dyld (852.2) <17D14D9B-B6B2-35DC-B157-4FD60213BE99> /usr/lib/dyld
       0x10284c000 -        0x102a13fff +libdsp_Main.dylib (0) <4E68FA37-4821-3E50-84A3-9A775E9B6B19> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libdsp_Main.dylib
       0x102ad8000 -        0x102beffff +libin_MP3.dylib (0) <96F05C65-EA03-3E4D-A5FB-D09103A81106> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_MP3.dylib
       0x102c74000 -        0x102d07fff +libin_FLAC.dylib (0) <911EE531-3B13-35CE-A0AE-CF261CABDDD3> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_FLAC.dylib
       0x102d4c000 -        0x102e5bfff +libin_DSD.dylib (0) <99A9FCBE-28A9-3221-A3FF-81537F541A4B> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_DSD.dylib
       0x102ee4000 -        0x103093fff +libin_Opus.dylib (0) <FB1F6602-A00A-30B0-B634-FFA56F44EAAE> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_Opus.dylib
       0x10319c000 -        0x103343fff +libenc_Main.dylib (0) <22FCD02E-5C79-3B3E-9158-6AA7C9DD9DCF> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libenc_Main.dylib
       0x1033fc000 -        0x1034cbfff +libout_Main.dylib (0) <9A4E5300-2297-3180-9361-123EF00C26CB> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libout_Main.dylib
       0x103548000 -        0x10356bfff +libin_audiotest.dylib (0) <A55D9B9C-233D-32C2-8F67-5B583F7EDDCF> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_audiotest.dylib
       0x103588000 -        0x103607fff +libin_wavpack.dylib (0) <881C0395-509F-3DC2-BA1B-9489FB111440> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_wavpack.dylib
       0x103648000 -        0x1036d3fff +libin_CDA.dylib (0) <D0780B8D-FE29-3386-B041-6E0526E2D960> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_CDA.dylib
       0x103710000 -        0x103787fff +libin_MPC.dylib (0) <9F8999C3-3445-30D1-8A63-B1B1C402CB6F> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_MPC.dylib
       0x1037cc000 -        0x103837fff +libin_WMA.dylib (0) <41564229-E7CB-371A-8A29-1449F9679CD2> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_WMA.dylib
       0x103868000 -        0x1038cbfff +libin_OGG.dylib (0) <1B41ED5F-8165-3F83-BFEE-DAFDFAD2B001> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_OGG.dylib
       0x1038ec000 -        0x10393ffff +libhh_portable.dylib (0) <31E74B81-34DC-3ACA-9FF0-529F73601243> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libhh_portable.dylib
       0x103960000 -        0x103a4ffff +libvis_Main.dylib (0) <8CC078FB-5977-31D3-8632-B656848756E4> /Applications/Media Center 28.app/Contents/MacOS/Visualizations/libvis_Main.dylib
       0x103ac4000 -        0x103e1bfff +libJRTools.dylib (0) <3124B79B-6B2A-3CBB-934B-2D4CAF645A18> /Applications/Media Center 28.app/Contents/MacOS/libJRTools.dylib
       0x10735c000 -        0x107783fff +libJRImage.dylib (0) <1779FF94-B9E8-3FCA-A0D7-2A0B655E723C> /Applications/Media Center 28.app/Contents/MacOS/libJRImage.dylib
       0x107914000 -        0x107a8bfff +libJRReader.dylib (0) <1FF873AE-8B0F-34FD-B3FA-33413150D759> /Applications/Media Center 28.app/Contents/MacOS/libJRReader.dylib
       0x107b28000 -        0x107d17fff +libgnutls.30.dylib (0) <21065195-F293-305D-8F35-96422FA92873> /Applications/Media Center 28.app/Contents/MacOS/libgnutls.30.dylib
       0x1095ec000 -        0x1095f7fff  libobjc-trampolines.dylib (824) <5ED4E6D9-CDC1-3BFB-885C-EB9537FC0344> /usr/lib/libobjc-trampolines.dylib
       0x109838000 -        0x1099ebfff +libJRDisc.dylib (0) <C78C80A5-2847-3740-B551-97F747605019> /Applications/Media Center 28.app/Contents/MacOS/libJRDisc.dylib
       0x10b6e4000 -        0x10b72ffff +libin_APE.dylib (0) <CB9AC245-9C75-3339-93B1-FC8050C1CD8D> /Applications/Media Center 28.app/Contents/MacOS/Plugins/libin_APE.dylib
       0x11a054000 -        0x11a05bfff  com.apple.URLMount.CIFSPlugin (7.2 - 7.2) <AECC138E-CB42-3771-85AE-2E5F00A5EA9D> /System/Library/Filesystems/NetFSPlugins/smb.bundle/Contents/MacOS/smb
       0x11b2b8000 -        0x11b67ffff +libJRPlayer.dylib (0) <DDF228FA-A223-377A-BE04-61305A24A01A> /Applications/Media Center 28.app/Contents/MacOS/libJRPlayer.dylib
       0x1a0fc2000 -        0x1a0fc3fff  libsystem_blocks.dylib (79) <A632E8A7-5900-35FE-892E-D7A6982D483D> /usr/lib/system/libsystem_blocks.dylib
       0x1a0fc4000 -        0x1a0ffbfff  libxpc.dylib (2038.120.1) <33FB2ED1-AB10-3900-BA93-5767A5086AD7> /usr/lib/system/libxpc.dylib

<!--- CUT HERE (BINARY IMAGES SECTION) BECAUSE POST TOO LONG -->

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: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=831.0M resident=0K(0%) swapped_out_or_unallocated=831.0M(100%)
Writable regions: Total=2.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.0G(100%)
 
                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Accelerate framework               768K        6
CG backing stores                 7584K       12
CG image                           416K       23
CoreAnimation                     17.6M       15
CoreGraphics                        16K        1
CoreUI image data                 2400K       19
Foundation                          16K        1
Kernel Alloc Once                   32K        1
MALLOC                           845.9M      278
MALLOC guard page                  192K       10
MALLOC_MEDIUM (reserved)         856.0M        8         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           256.0M        1         reserved VM address space (unallocated)
STACK GUARD                         16K        1
Stack                             18.6M       21
Stack (reserved)                   544K        1         reserved VM address space (unallocated)
Stack Guard                       56.3M       21
VM_ALLOCATE                       28.5M      180
__AUTH                             714K      168
__AUTH_CONST                      13.1M      334
__DATA                            7035K      351
__DATA_CONST                      14.2M      356
__DATA_DIRTY                       767K      116
__FONT_DATA                          4K        1
__LINKEDIT                       499.5M       32
__OBJC_CONST                      1402K      138
__OBJC_RO                         75.1M        1
__OBJC_RW                         2576K        1
__TEXT                           331.5M      377
__UNICODE                          588K        1
mapped file                      118.7M       27
shared memory                     1360K       45
===========                     =======  =======
TOTAL                              3.1G     2547
TOTAL, minus reserved VM space     2.0G     2547

Model: Macmini9,1, BootROM 6723.140.2, proc 8:4:4 processors, 16 GB, SMC
Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin
Memory Module: LPDDR4
AirPort: spairport_wireless_card_type_airport_extreme, wl0: Jul  7 2021 00:48:27 version 18.50.40.10.7.8.121 FWID 01-f5ad2691
Bluetooth: Version 8.0.5d7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
USB Device: USB 3.1 Bus
USB Device: Hub
USB Device: ASM225
USB Device: Hub
USB Device: USB 2.0 Hub
USB Device: USB 3.1 Bus
USB Device: USB 3.0 Bus
USB Device: USB Receiver
USB Device: Apple USB SuperDrive
Thunderbolt Bus: Mac mini, Apple Inc.
Thunderbolt Bus: Mac mini, Apple Inc.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13871
Re: Crash when using Handheld Sync with External Encoder
« Reply #1 on: August 10, 2021, 08:13:10 am »

Will see if I can reproduce this and determine if it's arch specific or not.
Where did you get the binaries for the encoders?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13871
Re: Crash when using Handheld Sync with External Encoder
« Reply #2 on: August 10, 2021, 11:30:31 am »

Will see if I can reproduce this and determine if it's arch specific or not.
Where did you get the binaries for the encoders?
I see afconvert is part of the system.
What is the command line you are using for it?
Logged

YogiPL

  • Recent member
  • *
  • Posts: 41
Re: Crash when using Handheld Sync with External Encoder
« Reply #3 on: August 12, 2021, 05:18:32 am »

I see afconvert is part of the system.
What is the command line you are using for it?

I used:

Filename: afconvert
Parameters: -f m4af -d aac -s 3 -q 127 -u vbrq 90 --soundcheck-generate %IN %OUT
Extension: m4a
Encoder supports long filenames: CHECKED
Hide command window: CHECKED
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13871
Re: Crash when using Handheld Sync with External Encoder
« Reply #4 on: August 12, 2021, 08:31:22 am »

I used:

Filename: afconvert
Parameters: -f m4af -d aac -s 3 -q 127 -u vbrq 90 --soundcheck-generate %IN %OUT
Extension: m4a
Encoder supports long filenames: CHECKED
Hide command window: CHECKED
Thanks, I've been able to reproduce it with just an in place conversion. Will look info it.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13871
Re: Crash when using Handheld Sync with External Encoder
« Reply #5 on: August 12, 2021, 03:17:19 pm »

That was a nasty one, a shortcoming of MacOS for some posix functions.
It will be fixed in the next build however it results in a jumpy progress bar.
Logged

YogiPL

  • Recent member
  • *
  • Posts: 41
Re: Crash when using Handheld Sync with External Encoder
« Reply #6 on: August 13, 2021, 04:41:32 am »

Good to know! Thanks! :)
Logged

rkneipp

  • Member
  • *
  • Posts: 2
Re: Crash when using Handheld Sync with External Encoder
« Reply #7 on: May 30, 2022, 08:20:36 am »

Any news? I have the same problem. Thanks
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13871
Re: Crash when using Handheld Sync with External Encoder
« Reply #8 on: May 31, 2022, 09:22:02 am »

Any news? I have the same problem. Thanks
That was fixed in 28.0.52 and will be in all builds after that.
Logged
Pages: [1]   Go Up