enzo1982 / freac

The fre:ac audio converter project
https://www.freac.org/
GNU General Public License v2.0
1.33k stars 69 forks source link

freac crashes upon adding CD Tracks or Audio Tracks #606

Open plangloisus opened 3 months ago

plangloisus commented 3 months ago

Describe the bug freac crashes and closes upon loading of cd tracks To Reproduce Steps to reproduce the behavior:

  1. Open freac
  2. Insert CD
  3. Add either CD content or Audio tracks

Expected behavior Crashes

System (please complete the following information)

Additional context 1.1.6 works well

Complete crash info

Translated Report (Full Report Below)

Process: freac [2633] Path: /Applications/freac.app/Contents/MacOS/freac Identifier: org.freac.freac Version: 1.1.7 (1.1.7.5891) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2024-04-01 13:07:22.8175 +0200 OS Version: macOS 14.3.1 (23D60) Report Version: 12 Anonymous UUID: 80BC7685-CC6F-5E9A-E781-C038700DFDC1

Time Awake Since Boot: 2000 seconds

System Integrity Protection: enabled

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

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

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: freac [2633]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x18deea0dc __pthread_kill + 8 1 libsystem_pthread.dylib 0x18df21cc0 pthread_kill + 288 2 libsystem_c.dylib 0x18de2da40 abort + 180 3 libsystem_c.dylib 0x18de2cd30 __assert_rtn + 284 4 CoreFoundation 0x18e1664fc CFDataGetBytes.cold.3 + 44 5 CoreFoundation 0x18e002d1c CFDataGetBytes + 200 6 cdio.dylib 0x1005b8ee8 0x1005a8000 + 69352 7 cdio.dylib 0x1005ab2e4 get_discmode_cd_generic + 48 8 cdio.dylib 0x1005b84b4 0x1005a8000 + 66740 9 boca_deviceinfo_cdio.1.0.dylib 0x104f5df68 0x104f5c000 + 8040 10 boca_deviceinfo_cdio.1.0.dylib 0x104f5dc7c 0x104f5c000 + 7292 11 freac.dylib 0x1008b5300 0x100834000 + 529152 12 libsmooth-0.9.0.dylib 0x100a8fa00 0x100a78000 + 96768 13 libsmooth-0.9.0.dylib 0x100a913f0 0x100a78000 + 103408 14 libsmooth-0.9.0.dylib 0x100a90d34 smooth::GUI::Widget::Process(int, int, int) + 912 15 libsmooth-0.9.0.dylib 0x100a90a8c smooth::GUI::Widget::Process(int, int, int) + 232 16 libsmooth-0.9.0.dylib 0x100a90a8c smooth::GUI::Widget::Process(int, int, int) + 232 17 libsmooth-0.9.0.dylib 0x100aba1fc smooth::GUI::Window::Process(int, int, int) + 536 18 libsmooth-0.9.0.dylib 0x100abb970 0x100a78000 + 276848 19 libsmooth-0.9.0.dylib 0x100ae3538 0x100a78000 + 439608 20 AppKit 0x19230dd44 _routeMouseUpEvent + 132 21 AppKit 0x191908400 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 384 22 AppKit 0x1919080ac -[NSWindow(NSEventRouting) sendEvent:] + 284 23 AppKit 0x191fc6f60 -[NSApplication(NSEventRouting) sendEvent:] + 1604 24 AppKit 0x191c175bc -[NSApplication _handleEvent:] + 60 25 AppKit 0x1917d03a0 -[NSApplication run] + 512 26 libsmooth-0.9.0.dylib 0x100ae6f70 0x100a78000 + 454512 27 libsmooth-0.9.0.dylib 0x100ad2914 smooth::System::EventProcessor::ProcessNextEvent() + 40 28 libsmooth-0.9.0.dylib 0x100a8628c smooth::GUI::Application::Loop() + 152 29 freac.dylib 0x1008ae67c StartGUI + 16 30 freac 0x100337c5c 0x100334000 + 15452 31 dyld 0x18dba10e0 start + 2360

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=1.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%) Writable regions: Total=1.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.7G(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 128K 1 Activity Tracing 256K 1 CG image 41.7M 77 ColorSync 656K 31 CoreAnimation 640K 39 CoreGraphics 32K 2 CoreUI image data 928K 6 Foundation 16K 1 Kernel Alloc Once 32K 1 MALLOC 1.4G 57 MALLOC guard page 192K 12 STACK GUARD 56.1M 8 Stack 19.2M 8 VM_ALLOCATE 242.1M 17 AUTH 1639K 312 AUTH_CONST 22.0M 499 CTF 824 1 DATA 7000K 563 DATA_CONST 25.7M 577 __DATA_DIRTY 1350K 162 FONT_DATA 4K 1 INFO_FILTER 8 1 LINKEDIT 895.4M 81 OBJC_RO 71.2M 1 OBJC_RW 2171K 1 __TEXT 454.2M 596 dyld private memory 272K 2 mapped file 240.6M 24 shared memory 848K 13 =========== ======= ======= TOTAL 3.5G 3095

thospe commented 3 months ago

Same behaviour on MAC OS Ventura - 13.6.3

mattaw commented 2 months ago

Looks like some progress has been made in https://github.com/enzo1982/freac/issues/587#issuecomment-1937893757, so hopefully it will be rolled in when @enzo1982 gets around to his next patch cycle.