azagaya / laigter

Laigter: automatic normal map generator for sprites!
https://azagaya.itch.io/laigter
GNU General Public License v3.0
853 stars 59 forks source link

Crash on macos when importing #94

Open citrusmunch opened 1 year ago

citrusmunch commented 1 year ago

Trying to import a png or jpg file gives me "Unsupported or incorrect format." followed by a crash.

using laigter version 1.10.7-beta via itch app on macos 12.6

crash report ``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: laigter [43842] Path: /Users/USER/Library/Application Support/itch/*/laigter.app/Contents/MacOS/laigter Identifier: com.yourcompany.laigter Version: ??? Code Type: X86-64 (Native) Parent Process: Exited process [43841] User ID: 501 Date/Time: 2023-03-05 17:04:39.8130 -0500 OS Version: macOS 12.6.3 (21G419) Report Version: 12 Anonymous UUID: 49A00972-A33A-5EA6-67FA-6D41454FCBD0 Sleep/Wake UUID: 321ABCD6-973E-4038-9049-2691C391954B Time Awake Since Boot: 140000 seconds Time Since Wake: 10663 seconds System Integrity Protection: disabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff8007ea00e __pthread_kill + 10 1 libsystem_pthread.dylib 0x7ff8008201ff pthread_kill + 263 2 libsystem_c.dylib 0x7ff80076bd24 abort + 123 3 libc++abi.dylib 0x7ff8007dc082 abort_message + 241 4 libc++abi.dylib 0x7ff8007cd245 demangling_terminate_handler() + 242 5 libobjc.A.dylib 0x7ff8006c9e19 _objc_terminate() + 104 6 libc++abi.dylib 0x7ff8007db4a7 std::__terminate(void (*)()) + 8 7 libc++abi.dylib 0x7ff8007ddeeb __cxa_rethrow + 99 8 libobjc.A.dylib 0x7ff8006d3d6c objc_exception_rethrow + 37 9 AppKit 0x7ff80330fd62 -[NSApplication run] + 659 10 libqcocoa.dylib 0x10fe02d74 0x10fdc7000 + 245108 11 QtCore 0x1111b96b7 QEventLoop::exec(QFlags) + 471 12 QtCore 0x1111bd852 QCoreApplication::exec() + 130 13 laigter 0x10ef56294 main + 7924 14 dyld 0x11815f52e start + 462 Thread 1:: Qt bearer thread 0 libsystem_kernel.dylib 0x7ff8007ea0aa poll + 10 1 QtCore 0x11121b45c qt_safe_poll(pollfd*, unsigned int, timespec const*) + 220 2 QtCore 0x11121cbf6 QEventDispatcherUNIX::processEvents(QFlags) + 790 3 QtCore 0x1111b96b7 QEventLoop::exec(QFlags) + 471 4 QtCore 0x110ff7993 QThread::exec() + 131 5 QtCore 0x110ff88a9 0x110fd7000 + 137385 6 libsystem_pthread.dylib 0x7ff8008204e1 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff80081bf6b thread_start + 15 Thread 2: 0 libsystem_pthread.dylib 0x7ff80081bf48 start_wqthread + 0 Thread 3:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x7ff8007e397a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x7ff8007e3ce8 mach_msg + 56 2 CoreFoundation 0x7ff8008e736d __CFRunLoopServiceMachPort + 319 3 CoreFoundation 0x7ff8008e59f8 __CFRunLoopRun + 1276 4 CoreFoundation 0x7ff8008e4e3c CFRunLoopRunSpecific + 562 5 AppKit 0x7ff80348c9ce _NSEventThread + 132 6 libsystem_pthread.dylib 0x7ff8008204e1 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff80081bf6b thread_start + 15 Thread 4: 0 libsystem_pthread.dylib 0x7ff80081bf48 start_wqthread + 0 Thread 5: 0 libsystem_pthread.dylib 0x7ff80081bf48 start_wqthread + 0 Thread 6: 0 libsystem_pthread.dylib 0x7ff80081bf48 start_wqthread + 0 Thread 7: 0 libsystem_pthread.dylib 0x7ff80081bf48 start_wqthread + 0 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00000001181da600 rcx: 0x00007ff7b0fd4cb8 rdx: 0x0000000000000000 rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ff7b0fd4ce0 rsp: 0x00007ff7b0fd4cb8 r8: 0x00007ff7b0fd4b80 r9: 0x00007ff8007def72 r10: 0x0000000000000000 r11: 0x0000000000000246 r12: 0x0000000000000103 r13: 0x0000003000000008 r14: 0x0000000000000006 r15: 0x0000000000000016 rip: 0x00007ff8007ea00e rfl: 0x0000000000000246 cr2: 0x000000010ef910f0 Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133 Binary Images: 0x7ff8007e2000 - 0x7ff800819fff libsystem_kernel.dylib (*) /usr/lib/system/libsystem_kernel.dylib 0x7ff80081a000 - 0x7ff800825fff libsystem_pthread.dylib (*) /usr/lib/system/libsystem_pthread.dylib 0x7ff8006ea000 - 0x7ff800772fff libsystem_c.dylib (*) /usr/lib/system/libsystem_c.dylib 0x7ff8007cc000 - 0x7ff8007e1fff libc++abi.dylib (*) /usr/lib/libc++abi.dylib 0x7ff8006ad000 - 0x7ff8006e6fff libobjc.A.dylib (*) <4d9b0dca-7151-3875-b98e-b255db8267a8> /usr/lib/libobjc.A.dylib 0x7ff8032e0000 - 0x7ff80416ffff com.apple.AppKit (6.9) <11be8778-f5e5-3ccb-bcc3-10ffea3bf44b> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x10fdc7000 - 0x10ff2efff libqcocoa.dylib (*) <447f5770-f14a-3a46-8aec-e05a73987a2c> /Users/USER/Library/Application Support/itch/*/laigter.app/Contents/PlugIns/platforms/libqcocoa.dylib 0x110fd7000 - 0x11151afff org.qt-project.QtCore (5.15) <226f4f10-f8c2-301e-aa19-240048d7c206> /Users/USER/Library/Application Support/itch/*/laigter.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore 0x10ef2a000 - 0x10f12dfff com.yourcompany.laigter (*) <50d1c71f-f3ac-34f5-b52d-b7b5057c0242> /Users/USER/Library/Application Support/itch/*/laigter.app/Contents/MacOS/laigter 0x11815a000 - 0x1181c5fff dyld (*) <006a3e6f-3cd3-34d9-b0f2-ed6bd67a95a6> /usr/lib/dyld 0x7ff800867000 - 0x7ff800d69fff com.apple.CoreFoundation (6.9) <93c48919-68af-367e-9a67-db4159bc962c> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 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=950.5M resident=0K(0%) swapped_out_or_unallocated=950.5M(100%) Writable regions: Total=610.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=610.0M(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 512K 4 Activity Tracing 256K 1 CG backing stores 544K 4 CG image 148K 14 ColorSync 228K 27 CoreAnimation 84K 15 CoreGraphics 12K 2 CoreUI image data 1088K 15 Foundation 40K 2 Kernel Alloc Once 8K 1 MALLOC 212.5M 129 MALLOC guard page 32K 8 MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) ObjC additional data 15K 1 OpenGL GLSL 256K 3 STACK GUARD 56.0M 8 Stack 11.6M 8 VM_ALLOCATE 288K 25 __CTF 756 1 __DATA 22.0M 380 __DATA_CONST 16.8M 206 __DATA_DIRTY 871K 118 __FONT_DATA 4K 1 __GLSLBUILTINS 5176K 1 __LINKEDIT 648.9M 29 __TEXT 301.5M 393 __UNICODE 592K 1 dyld private memory 1024K 1 mapped file 476.8M 42 shared memory 780K 18 =========== ======= ======= TOTAL 2.1G 1459 TOTAL, minus reserved VM space 1.7G 1459 ----------- Full Report ----------- json omitted for brevity; I can include this if necessary Model: MacBookAir7,2, BootROM 476.0.0.0.0, 2 processors, Dual-Core Intel Core i7, 2.2 GHz, 8 GB, SMC 2.27f2 Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In Display: Color LCD, 1440 x 900 (Widescreen eXtended Graphics Array Plus), Main, MirrorOff, Online Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E424C54424C41522D4E5444 Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E424C54424C41522D4E5444 AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4) AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 Serial ATA Device: APPLE SSD SM0512G, 500.28 GB USB Device: USB30Bus USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller Thunderbolt Bus: MacBook Air, Apple Inc., 27.2 ```
azagaya commented 1 year ago

Hey, sorry for the really long delay in answering. I don't currently own a mac for testing OSX issues, and the friend that was using his to test the releases is no longer available. I'll see if i can get someone help me fix this.