Closed devernay closed 1 year ago
I can't go beyond BigSur, so can't test. Looks like Qt4 has issues with the menu bar.
This https://bugreports.qt.io/browse/QTBUG-25399 looks related.
I'm having the same issue. It doesn't even let me open up a project. It just crashes within 5 seconds of opening. both 2.4.0 and 2.4.1 had the same issue
iMac (Retina 5K, 27-inch, 2020) Processor - 3.8 GHz 8-Core Intel Core i7 RAM - 128 GB 2667 MHz DDR4 Graphics - AMD Radeon Pro 5700 XT 16 GB
The good news is that the (pre-alpha) Qt5 build seems to fix this, but it has other issues (the viewer is not functional on retina displays) (fixed in https://github.com/NatronGitHub/Natron/commit/33c5190f2276d9dc55e0b5248a26e09740efe359)
Anytime I open Natron at all it crashes on Monterey
same backtrace as https://bugreports.qt.io/browse/QTBUG-25399
This seems to be an old issue, which resurfaced in Monterey for some reason: https://web.archive.org/web/20211214164656/https://interest.qt-project.narkive.com/M1NVScPE/crashing-qt-through-a-qobject-s-dtor
I will try to add the check for NULL in QAction::isEnabled() to fix the symptom.
Anytime I open Natron at all it crashes on Monterey
yes, i can second that - i'm on macOs 12.1
Ok so it looks like a deep Qt4 bug: Qt is making some assumption about how events are handled by macOS, and this assumption was violated in Monterey. I was secretly hoping it was a Monterey bug and it would be fixed in 12.1, but it's not the case.
Closing any window, including the "Loding project" splash screen, causes a crash. 2.4.2 will disable this splash screen on Monterey, which should allow working on Monterey, although opening more than one project and then closing one will crash.
Monterey binary available from https://github.com/NatronGitHub/Natron/releases/tag/v2.4.2
Been on a long suggested vacation. Will back at work on Monday to test it again.
@devernay
I had downloaded the 2.4.2 link for MacOS12 this is the error log report crash
Process: Natron [3345] Path: /private/var/folders/*/Natron.app/Contents/MacOS/Natron Identifier: fr.inria.Natron Version: 2.4.2 (2.4.2) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501
Date/Time: 2022-01-21 10:28:25.4526 -0500 OS Version: macOS 12.1 (21C52) Report Version: 12 Anonymous UUID: D68F455C-1EC7-4C56-6975-B6C6C24AB309
Time Awake Since Boot: 1000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000676c6f6a Exception Codes: 0x0000000000000001, 0x00000000676c6f6a Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [3345]
VM Region Info: 0x676c6f6a is not in any region. Bytes before following region: 2791555222
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 10dd03000-10eb1f000 [ 14.1M] r-x/r-x SM=COW .../MacOS/Natron
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtGui 0x1106a9374 QAction::isEnabled() const + 4
1 QtGui 0x11068c228 qt_mac_set_modal_state_helper_recursive(NSMenu, NSMenu, bool) + 568
2 QtGui 0x11068c1f5 qt_mac_set_modal_state_helper_recursive(NSMenu, NSMenu, bool) + 517
3 QtGui 0x110691cfc QMenuBarPrivate::macUpdateMenuBarImmediatly() + 2524
4 QtGui 0x11065c33c -[NSApplication(QApplicationIntegration) qt_sendPostedMessage:] + 204
5 QtGui 0x11065c453 -[NSApplication(QApplicationIntegration) qt_filterEvent:] + 131
6 QtGui 0x11065c52b -[QNSApplication sendEvent:] + 59
7 AppKit 0x7ff806f2689f -[NSApplication _handleEvent:] + 65
8 AppKit 0x7ff806aee5ce -[NSApplication run] + 623
9 QtGui 0x110665745 QEventDispatcherMac::processEvents(QFlags
Thread 1: 0 libsystem_pthread.dylib 0x7ff804004fec start_wqthread + 0
Thread 2: 0 libsystem_kernel.dylib 0x7ff803fcf506 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff804009a69 _pthread_cond_wait + 1224 2 QtCore 0x10fec1b5b QWaitConditionPrivate::wait(unsigned long) + 235 3 QtCore 0x10fec1a38 QWaitCondition::wait(QMutex, unsigned long) + 88 4 QtCore 0x10feb2a6a QThreadPoolThread::run() + 682 5 QtCore 0x10fec04e8 QThreadPrivate::start(void) + 376 6 libsystem_pthread.dylib 0x7ff8040094f4 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff80400500f thread_start + 15
Thread 3:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x7ff803fd4e4a select + 10 1 CoreFoundation 0x7ff8040f7ecd CFSocketManager + 630 2 libsystem_pthread.dylib 0x7ff8040094f4 _pthread_start + 125 3 libsystem_pthread.dylib 0x7ff80400500f thread_start + 15
Thread 4:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x7ff803fccaba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x7ff803fcce2b mach_msg + 59 2 CoreFoundation 0x7ff8040d0af2 CFRunLoopServiceMachPort + 319 3 CoreFoundation 0x7ff8040cf1cb CFRunLoopRun + 1325 4 CoreFoundation 0x7ff8040ce5dd CFRunLoopRunSpecific + 563 5 AppKit 0x7ff806c6bd98 _NSEventThread + 132 6 libsystem_pthread.dylib 0x7ff8040094f4 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff80400500f thread_start + 15
Thread 5: 0 libsystem_pthread.dylib 0x7ff804004fec start_wqthread + 0
Thread 6: 0 libsystem_pthread.dylib 0x7ff804004fec start_wqthread + 0
Thread 7: 0 libsystem_pthread.dylib 0x7ff804004fec start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x00000000676c6f62 rbx: 0x00007ff803e9d040 rcx: 0x0000000000000001 rdx: 0x0000000000000000 rdi: 0x00000000676c6f62 rsi: 0x00007ff81e80ff8d rbp: 0x00007ff7b21fc060 rsp: 0x00007ff7b21fc060 r8: 0x00007ff84580f5e0 r9: 0x000000000000003f r10: 0x00007ff845659080 r11: 0x00007ff806b06cb8 r12: 0x00007ff81e80ff8d r13: 0x0000600001f67e40 r14: 0x0000600002dc63e0 r15: 0x000000000000000d rip: 0x00000001106a9374 rfl: 0x0000000000010206 cr2: 0x00000000676c6f6a
Logical CPU: 1 Error Code: 0x00000004 (no mapping for user data read) Trap Number: 14
Thread 0 instruction stream: 8b 00 48 85 c0 74 39 41-8b 8e 10 01 00 00 83 e1 ..H..t9A........ fe 0f b6 f3 09 f1 66 41-89 8e 10 01 00 00 ba 28 ......fA.......( 01 00 00 48 03 50 08 4c-89 f7 e8 8d e1 ff ff 4c ...H.P.L.......L 89 f7 5b 41 5e 5d e9 21-da ff ff 5b 41 5e 5d c3 ..[A^].!...[A^]. 48 8d 3d df 41 74 00 31-c0 5b 41 5e 5d e9 cc f1 H.=.At.1.[A^]... 62 00 66 2e 0f 1f 84 00-00 00 00 00 55 48 89 e5 b.f.........UH.. [48]8b 47 08 8a 80 10 01-00 00 24 01 5d c3 66 2e H.G.......$.].f. <== 0f 1f 84 00 00 00 00 00-0f 1f 40 00 55 48 89 e5 ..........@.UH.. 41 56 53 48 8b 5f 08 0f-b7 93 10 01 00 00 f6 c2 AVSH._.......... 04 0f 94 c0 40 38 f0 74-0b f6 c2 08 0f 94 c0 40 ....@8.t.......@ 38 f0 74 66 4c 8b 35 49-f1 77 00 4d 8b 06 4d 85 8.tfL.5I.w.M..M. c0 74 45 89 d1 83 e1 f3-89 f0 34 01 0f b6 c0 8d .tE.......4.....
Binary Images:
0x110627000 - 0x110e26fff QtGui () <8e8662e7-cdf1-30b2-80ab-671f27948203> /private/var/folders//Natron.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
0x7ff806abf000 - 0x7ff80794dfff com.apple.AppKit (6.9)
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.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%) Writable regions: Total=1.4G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.4G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= ATS (font support) 32.0M 88 ATS (font support) (reserved) 4K 1 reserved VM address space (unallocated) Accelerate framework 384K 3 Activity Tracing 256K 1 CG backing stores 4800K 4 CG image 1044K 3 ColorSync 224K 25 CoreAnimation 10.9M 2 CoreGraphics 4K 1 CoreUI image data 60K 1 Foundation 16K 1 Kernel Alloc Once 8K 1 MALLOC 291.3M 59 MALLOC guard page 48K 11 MALLOC_MEDIUM (reserved) 712.0M 6 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) STACK GUARD 56.0M 8 Stack 19.1M 8 VM_ALLOCATE 9164K 58 DATA 48.1M 447 DATA_CONST 20.3M 331 DATA_DIRTY 542K 99 __FONT_DATA 4K 1 GLSLBUILTINS 5176K 1 LINKEDIT 695.4M 167 OBJC_RO 81.8M 1 __OBJC_RW 3136K 2 TEXT 424.2M 471 UNICODE 588K 1 dyld private memory 1088K 3 mapped file 158.2M 24 shared memory 784K 18 =========== ======= ======= TOTAL 2.9G 1848 TOTAL, minus reserved VM space 1.8G 1848
{"app_name":"Natron","timestamp":"2022-01-21 10:28:25.00 -0500","app_version":"2.4.2","slice_uuid":"35a99693-d2d2-37d6-8327-b376832330d3","build_version":"2.4.2","platform":1,"bundleID":"fr.inria.Natron","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.1 (21C52)","incident_id":"BE65D49D-59A1-4465-93AD-5D7C77804192","name":"Natron"}
{
"uptime" : 1000,
"procLaunch" : "2022-01-21 10:27:24.2533 -0500",
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "iMac19,1",
"procStartAbsTime" : 1002330764018,
"coalitionID" : 2411,
"osVersion" : {
"train" : "macOS 12.1",
"build" : "21C52",
"releaseType" : "User"
},
"captureTime" : "2022-01-21 10:28:25.4526 -0500",
"incident" : "BE65D49D-59A1-4465-93AD-5D7C77804192",
"bug_type" : "309",
"pid" : 3345,
"procExitAbsTime" : 1063526256258,
"cpuType" : "X86-64",
"procName" : "Natron",
"procPath" : "\/private\/var\/folders\/\/Natron.app\/Contents\/MacOS\/Natron",
"bundleInfo" : {"CFBundleShortVersionString":"2.4.2","CFBundleVersion":"2.4.2","CFBundleIdentifier":"fr.inria.Natron"},
"storeInfo" : {"deviceIdentifierForVendor":"512516DE-5EF7-5257-89A8-92619F6E7E6A","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "fr.inria.Natron",
"crashReporterKey" : "D68F455C-1EC7-4C56-6975-B6C6C24AB309",
"sip" : "enabled",
"vmRegionInfo" : "0x676c6f6a is not in any region. Bytes before following region: 2791555222\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n TEXT 10dd03000-10eb1f000 [ 14.1M] r-x\/r-x SM=COW ...\/MacOS\/Natron",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x00000000676c6f6a","rawCodes":[1,1735159658],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x00000000676c6f6a"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":3345},
"vmregioninfo" : "0x676c6f6a is not in any region. Bytes before following region: 2791555222\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n TEXT 10dd03000-10eb1f000 [ 14.1M] r-x\/r-x SM=COW ...\/MacOS\/Natron",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":28606,"instructionState":{"instructionStream":{"bytes":[139,0,72,133,192,116,57,65,139,142,16,1,0,0,131,225,254,15,182,243,9,241,102,65,137,142,16,1,0,0,186,40,1,0,0,72,3,80,8,76,137,247,232,141,225,255,255,76,137,247,91,65,94,93,233,33,218,255,255,91,65,94,93,195,72,141,61,223,65,116,0,49,192,91,65,94,93,233,204,241,98,0,102,46,15,31,132,0,0,0,0,0,85,72,137,229,72,139,71,8,138,128,16,1,0,0,36,1,93,195,102,46,15,31,132,0,0,0,0,0,15,31,64,0,85,72,137,229,65,86,83,72,139,95,8,15,183,147,16,1,0,0,246,194,4,15,148,192,64,56,240,116,11,246,194,8,15,148,192,64,56,240,116,102,76,139,53,73,241,119,0,77,139,6,77,133,192,116,69,137,209,131,225,243,137,240,52,1,15,182,192,141],"offset":96}},"threadState":{"r13":{"value":105553149197888},"rax":{"value":1735159650},"rflags":{"value":66054},"cpu":{"value":1},"r14":{"value":105553164264416},"rsi":{"value":140703640387469,"objc-selector":"tag"},"r8":{"value":140704294696416,"symbolLocation":3232,"symbol":"(anonymous namespace)::SideTablesMap"},"cr2":{"value":1735159658},"rdx":{"value":0},"r10":{"value":140704292900992,"symbolLocation":0,"symbol":"OBJCCLASS$_NSMenuItem"},"r9":{"value":63},"r15":{"value":13},"rbx":{"value":140703194271808,"symbolLocation":0,"symbol":"objc_msgSend"},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":140703240842424,"symbolLocation":0,"symbol":"-[NSMenuItem tag]"},"rip":{"value":4570387316,"matchesCrashFrame":1},"rbp":{"value":140701822074976},"rsp":{"value":140701822074976},"r12":{"value":140703640387469,"objc-selector":"tag"},"rcx":{"value":1},"flavor":"x86_THREAD_STATE","rdi":{"value":1735159650}},"queue":"com.apple.main-thread","frames":[{"imageOffset":533364,"symbol":"QAction::isEnabled() const","symbolLocation":4,"imageIndex":0},{"imageOffset":414248,"symbol":"qt_mac_set_modal_state_helper_recursive(NSMenu, NSMenu, bool)","symbolLocation":568,"imageIndex":0},{"imageOffset":414197,"symbol":"qt_mac_set_modal_state_helper_recursive(NSMenu, NSMenu, bool)","symbolLocation":517,"imageIndex":0},{"imageOffset":437500,"symbol":"QMenuBarPrivate::macUpdateMenuBarImmediatly()","symbolLocation":2524,"imageIndex":0},{"imageOffset":217916,"symbol":"-[NSApplication(QApplicationIntegration) qt_sendPostedMessage:]","symbolLocation":204,"imageIndex":0},{"imageOffset":218195,"symbol":"-[NSApplication(QApplicationIntegration) qt_filterEvent:]","symbolLocation":131,"imageIndex":0},{"imageOffset":218411,"symbol":"-[QNSApplication sendEvent:]","symbolLocation":59,"imageIndex":0},{"imageOffset":4618399,"symbol":"-[NSApplication _handleEvent:]","symbolLocation":65,"imageIndex":1},{"imageOffset":193998,"symbol":"-[NSApplication run]","symbolLocation":623,"imageIndex":1},{"imageOffset":255813,"symbol":"QEventDispatcherMac::processEvents(QFlags
},
"deploymentId" : 240000008
},
{
"rolloutId" : "607844aa04477260f58a8077",
"factorPackIds" : {
"SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
},
"deploymentId" : 240000066
},
{
"rolloutId" : "602ad4dac86151000cf27e46",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "614a34c5eae97a2111628dc5"
},
"deploymentId" : 240000290
},
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {
},
"deploymentId" : 240000207
},
{
"rolloutId" : "601d9415f79519000ccd4b69",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "61c0d3122be4e338e11ae9e1"
},
"deploymentId" : 240000362
},
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
},
"deploymentId" : 240000094
}
], "experiments" : [
] } }
Model: iMac19,1, BootROM 1715.60.4.0.0, 6 processors, 6-Core Intel Core i5, 3.7 GHz, 64 GB, SMC 2.46f12 Graphics: Radeon Pro Vega 48, Radeon Pro Vega 48, PCIe, 8 GB Display: iMac, Retina 5K (5120 x 2880), Main, MirrorOff, Online Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, DDR4, 2667 MHz, Micron, 16ATF2G64HZ-2G6E3 Memory Module: BANK 1/ChannelA-DIMM1, 16 GB, DDR4, 2667 MHz, Micron, 16ATF2G64HZ-2G6E3 Memory Module: BANK 2/ChannelB-DIMM0, 16 GB, DDR4, 2667 MHz, Micron, 16ATF2G64HZ-2G6E3 Memory Module: BANK 3/ChannelB-DIMM1, 16 GB, DDR4, 2667 MHz, Micron, 16ATF2G64HZ-2G6E3 AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 12 2021 19:26:30 version 9.30.464.0.32.5.76 FWID 01-45ccefcd Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Ethernet, Ethernet, en0 Serial ATA Device: APPLE HDD ST3000DM001, 3 TB USB Device: USB31Bus USB Device: M4 USB Device: FaceTime HD Camera (Built-in) USB Device: hub_device USB Device: Dell MS116 USB Optical Mouse USB Device: Magic Keyboard with Numeric Keypad USB Device: d2 TBT2 USB 3.0 Thunderbolt Bus: iMac, Apple Inc., 47.5
I’ll post my crash report merely to acknowledge the bug is still there. Natron crashes after closing the splash screen on mac os Monterrey 12.2.1. The extreme irony in my case is, my only reason to upgrade to Monterrey was so that i could run Natron 2.4.3. And now i cannot run 2.4.2 either.
Process: Natron [1558] Path: /Applications/Blender/Natron.app/Contents/MacOS/Natron Identifier: fr.inria.Natron Version: 2.4.3 (2.4.3) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501
Date/Time: 2022-03-19 10:53:57.4557 +0300 OS Version: macOS 12.2.1 (21D62) Report Version: 12 Bridge OS Version: 6.2 (19P744) Anonymous UUID: 9FD4C82E-819B-4DFE-B435-A063088AC58F
Time Awake Since Boot: 1200 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000676c6f6a Exception Codes: 0x0000000000000001, 0x00000000676c6f6a Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [1558]
VM Region Info: 0x676c6f6a is not in any region. Bytes before following region: 2692747414
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 107ec8000-108c1c000 [ 13.3M] r-x/r-x SM=COW .../MacOS/Natron
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtGui 0x10a8b4254 QAction::isEnabled() const + 4
1 QtGui 0x10a89808a qt_mac_set_modal_state_helper_recursive(NSMenu, NSMenu, bool) + 570
2 QtGui 0x10a898057 qt_mac_set_modal_state_helper_recursive(NSMenu, NSMenu, bool) + 519
3 QtGui 0x10a89dc5b QMenuBarPrivate::macUpdateMenuBarImmediatly() + 2475
4 QtGui 0x10a867adc -[NSApplication(QApplicationIntegration) qt_sendPostedMessage:] + 204
5 QtGui 0x10a867bf3 -[NSApplication(QApplicationIntegration) qt_filterEvent:] + 131
6 QtGui 0x10a867ccb -[QNSApplication sendEvent:] + 59
7 QtGui 0x10a870dcd QEventDispatcherMac::processEvents(QFlags
Thread 1: 0 libsystem_pthread.dylib 0x7ff816b6dfec start_wqthread + 0
Thread 2: 0 libsystem_pthread.dylib 0x7ff816b6dfec start_wqthread + 0
Thread 3: 0 libsystem_pthread.dylib 0x7ff816b6dfec start_wqthread + 0
Thread 4: 0 libsystem_pthread.dylib 0x7ff816b6dfec start_wqthread + 0
Thread 5:: Global Thread (Pooled) (0x600001682968) 0 libsystem_kernel.dylib 0x7ff816b38506 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff816b72a69 _pthread_cond_wait + 1224 2 QtCore 0x10a0ba82b QWaitConditionPrivate::wait(unsigned long) + 235 3 QtCore 0x10a0ba707 QWaitCondition::wait(QMutex, unsigned long) + 87 4 QtCore 0x10a0ab704 QThreadPoolThread::run() + 660 5 QtCore 0x10a0b91a8 QThreadPrivate::start(void) + 376 6 libsystem_pthread.dylib 0x7ff816b724f4 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff816b6e00f thread_start + 15
Thread 6:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x7ff816b3de4a select + 10 1 CoreFoundation 0x7ff816c60ecd CFSocketManager + 630 2 libsystem_pthread.dylib 0x7ff816b724f4 _pthread_start + 125 3 libsystem_pthread.dylib 0x7ff816b6e00f thread_start + 15
Thread 7:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x7ff816b35aba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x7ff816b35e2b mach_msg + 59 2 CoreFoundation 0x7ff816c39af2 CFRunLoopServiceMachPort + 319 3 CoreFoundation 0x7ff816c381cb CFRunLoopRun + 1325 4 CoreFoundation 0x7ff816c375dd CFRunLoopRunSpecific + 563 5 AppKit 0x7ff8197d4fd8 _NSEventThread + 132 6 libsystem_pthread.dylib 0x7ff816b724f4 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff816b6e00f thread_start + 15
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x00000000676c6f62 rbx: 0x00007ff816a06040 rcx: 0x0000000000000001 rdx: 0x0000000000000000 rdi: 0x00000000676c6f62 rsi: 0x00007ff83138b575 rbp: 0x00007ff7b80353a0 rsp: 0x00007ff7b80353a0 r8: 0x00007ff85837aca0 r9: 0x000000000000003f r10: 0x00007ff8581c5080 r11: 0x00007ff81966fef8 r12: 0x00007ff83138b575 r13: 0x0000600001bdc740 r14: 0x00006000028fb250 r15: 0x0000000000000004 rip: 0x000000010a8b4254 rfl: 0x0000000000010202 cr2: 0x00000000676c6f6a
Logical CPU: 2 Error Code: 0x00000004 (no mapping for user data read) Trap Number: 14
Thread 0 instruction stream: 78 00 48 8b 00 48 85 c0-74 38 8b 8b 10 01 00 00 x.H..H..t8...... 83 e1 fe 41 0f b6 f6 09-f1 66 89 8b 10 01 00 00 ...A.....f...... ba 28 01 00 00 48 03 50-08 48 89 df e8 cb e1 ff .(...H.P.H...... ff 48 89 df 5b 41 5e 5d-e9 7f da ff ff 5b 41 5e .H..[A^].....[A^ 5d c3 48 8d 3d b5 a8 74-00 31 c0 5b 41 5e 5d e9 ].H.=..t.1.[A^]. d8 b1 62 00 0f 1f 84 00-00 00 00 00 55 48 89 e5 ..b.........UH.. [48]8b 47 08 8a 80 10 01-00 00 24 01 5d c3 66 2e H.G.......$.].f. <== 0f 1f 84 00 00 00 00 00-0f 1f 40 00 55 48 89 e5 ..........@.UH.. 41 56 53 48 8b 5f 08 0f-b7 93 10 01 00 00 89 d0 AVSH._.......... c1 e8 02 83 e0 01 39 c6-75 0c 89 d0 c1 e8 03 83 ......9.u....... e0 01 39 c6 75 6d 4c 8b-35 c7 4f 78 00 4d 8b 06 ..9.umL.5.Ox.M.. 4d 85 c0 74 4c 89 f1 80-f1 01 0f b6 c9 c1 e1 03 M..tL...........
Binary Images:
0x10a833000 - 0x10b038fff QtGui ()
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=932.7M resident=0K(0%) swapped_out_or_unallocated=932.7M(100%) Writable regions: Total=791.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=791.9M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= ATS (font support) 32.8M 267 ATS (font support) (reserved) 4K 1 reserved VM address space (unallocated) Accelerate framework 512K 4 Activity Tracing 256K 1 CG backing stores 2688K 4 CG image 1080K 5 ColorSync 232K 26 CoreAnimation 73.8M 12 CoreGraphics 12K 2 CoreUI image data 784K 6 Foundation 16K 1 Kernel Alloc Once 8K 1 MALLOC 263.0M 237 MALLOC guard page 32K 7 MALLOC_LARGE (reserved) 384K 1 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) STACK GUARD 56.0M 8 Stack 19.1M 8 VM_ALLOCATE 14.2M 74 DATA 31.8M 353 DATA_CONST 14.8M 227 DATA_DIRTY 545K 100 __FONT_DATA 4K 1 GLSLBUILTINS 5176K 1 LINKEDIT 657.2M 60 OBJC_RO 81.8M 1 __OBJC_RW 3136K 2 TEXT 275.5M 362 UNICODE 588K 1 dyld private memory 1024K 1 mapped file 84.4M 32 shared memory 804K 23 =========== ======= ======= TOTAL 2.0G 1830 TOTAL, minus reserved VM space 1.6G 1830
{"app_name":"Natron","timestamp":"2022-03-19 10:53:57.00 +0300","app_version":"2.4.3","slice_uuid":"e01d4315-d609-36c9-9310-d25a8f7533fc","build_version":"2.4.3","platform":1,"bundleID":"fr.inria.Natron","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.2.1 (21D62)","incident_id":"6EE17624-7E2E-47B7-96B7-53B4A1D446EC","name":"Natron"}
{
"uptime" : 1200,
"procLaunch" : "2022-03-19 10:53:51.6379 +0300",
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro16,1",
"procStartAbsTime" : 1265846240824,
"coalitionID" : 1137,
"osVersion" : {
"train" : "macOS 12.2.1",
"build" : "21D62",
"releaseType" : "User"
},
"captureTime" : "2022-03-19 10:53:57.4557 +0300",
"incident" : "6EE17624-7E2E-47B7-96B7-53B4A1D446EC",
"bug_type" : "309",
"pid" : 1558,
"procExitAbsTime" : 1271663269948,
"cpuType" : "X86-64",
"procName" : "Natron",
"procPath" : "\/Applications\/Blender\/Natron.app\/Contents\/MacOS\/Natron",
"bundleInfo" : {"CFBundleShortVersionString":"2.4.3","CFBundleVersion":"2.4.3","CFBundleIdentifier":"fr.inria.Natron"},
"storeInfo" : {"deviceIdentifierForVendor":"85603ED0-A6FB-5A6A-9D87-3DBE83462EF7","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "fr.inria.Natron",
"crashReporterKey" : "9FD4C82E-819B-4DFE-B435-A063088AC58F",
"bridgeVersion" : {"build":"19P744","train":"6.2"},
"sip" : "enabled",
"vmRegionInfo" : "0x676c6f6a is not in any region. Bytes before following region: 2692747414\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n TEXT 107ec8000-108c1c000 [ 13.3M] r-x\/r-x SM=COW ...\/MacOS\/Natron",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x00000000676c6f6a","rawCodes":[1,1735159658],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x00000000676c6f6a"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":1558},
"vmregioninfo" : "0x676c6f6a is not in any region. Bytes before following region: 2692747414\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n TEXT 107ec8000-108c1c000 [ 13.3M] r-x\/r-x SM=COW ...\/MacOS\/Natron",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":26858,"instructionState":{"instructionStream":{"bytes":[120,0,72,139,0,72,133,192,116,56,139,139,16,1,0,0,131,225,254,65,15,182,246,9,241,102,137,139,16,1,0,0,186,40,1,0,0,72,3,80,8,72,137,223,232,203,225,255,255,72,137,223,91,65,94,93,233,127,218,255,255,91,65,94,93,195,72,141,61,181,168,116,0,49,192,91,65,94,93,233,216,177,98,0,15,31,132,0,0,0,0,0,85,72,137,229,72,139,71,8,138,128,16,1,0,0,36,1,93,195,102,46,15,31,132,0,0,0,0,0,15,31,64,0,85,72,137,229,65,86,83,72,139,95,8,15,183,147,16,1,0,0,137,208,193,232,2,131,224,1,57,198,117,12,137,208,193,232,3,131,224,1,57,198,117,109,76,139,53,199,79,120,0,77,139,6,77,133,192,116,76,137,241,128,241,1,15,182,201,193,225,3],"offset":96}},"threadState":{"r13":{"value":105553145481024},"rax":{"value":1735159650},"rflags":{"value":66050},"cpu":{"value":2},"r14":{"value":105553159238224},"rsi":{"value":140703954417013,"objc-selector":"tag"},"r8":{"value":140704608660640,"symbolLocation":416,"symbol":"(anonymous namespace)::SideTablesMap"},"cr2":{"value":1735159658},"rdx":{"value":0},"r10":{"value":140704606867584,"symbolLocation":0,"symbol":"OBJCCLASS$_NSMenuItem"},"r9":{"value":63},"r15":{"value":4},"rbx":{"value":140703508226112,"symbolLocation":0,"symbol":"objc_msgSend"},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":140703554797304,"symbolLocation":0,"symbol":"-[NSMenuItem tag]"},"rip":{"value":4471865940,"matchesCrashFrame":1},"rbp":{"value":140701920875424},"rsp":{"value":140701920875424},"r12":{"value":140703954417013,"objc-selector":"tag"},"rcx":{"value":1},"flavor":"x86_THREAD_STATE","rdi":{"value":1735159650}},"queue":"com.apple.main-thread","frames":[{"imageOffset":528980,"symbol":"QAction::isEnabled() const","symbolLocation":4,"imageIndex":0},{"imageOffset":413834,"symbol":"qt_mac_set_modal_state_helper_recursive(NSMenu, NSMenu, bool)","symbolLocation":570,"imageIndex":0},{"imageOffset":413783,"symbol":"qt_mac_set_modal_state_helper_recursive(NSMenu, NSMenu, bool)","symbolLocation":519,"imageIndex":0},{"imageOffset":437339,"symbol":"QMenuBarPrivate::macUpdateMenuBarImmediatly()","symbolLocation":2475,"imageIndex":0},{"imageOffset":215772,"symbol":"-[NSApplication(QApplicationIntegration) qt_sendPostedMessage:]","symbolLocation":204,"imageIndex":0},{"imageOffset":216051,"symbol":"-[NSApplication(QApplicationIntegration) qt_filterEvent:]","symbolLocation":131,"imageIndex":0},{"imageOffset":216267,"symbol":"-[QNSApplication sendEvent:]","symbolLocation":59,"imageIndex":0},{"imageOffset":253389,"symbol":"QEventDispatcherMac::processEvents(QFlags
], "experiments" : [
] } }
Model: MacBookPro16,1, BootROM 1715.81.2.0.0 (iBridge: 19.16.10744.0.0,0), 8 processors, 8-Core Intel Core i9, 2.3 GHz, 16 GB, SMC Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In Graphics: AMD Radeon Pro 5500M, AMD Radeon Pro 5500M, PCIe, 4 GB Display: Color LCD, 3072 x 1920 Retina, Main, MirrorOff, Online Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2667 MHz, SK Hynix, HMA81GS6CJR8N-VK Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2667 MHz, SK Hynix, HMA81GS6CJR8N-VK AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 12 2021 18:02:56 version 9.30.464.0.32.5.76 FWID 01-c081cfed Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: Rugged Mini USB 3.0 USB Device: USB31Bus USB Device: Intuos BT S USB Device: T2Bus USB Device: composite_device USB Device: Touch Bar Backlight USB Device: Touch Bar Display USB Device: Apple Internal Keyboard / Trackpad USB Device: Headset USB Device: Ambient Light Sensor USB Device: FaceTime HD Camera (Built-in) USB Device: Apple T2 Controller Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5 Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
Natron crashes after closing the splash screen on mac os Monterrey 12.2.1.
Issues with macOS 12 will not get fixed until we move to Qt5 (Natron 2.6), as this is a issue with Qt4 vs. macOS 12.
my only reason to upgrade to Monterrey was so that i could run Natron 2.4.3. And now i cannot run 2.4.2 either.
Why? Natron works fine on older versions of macOS, expecially pre 10.15. There was some issues with 10.15 and 11, but they are fixed I believe (I have not tested 10.15, but 11 seems to work fine).
i'm on macOs12.3 and Natron 2.4.2 runs totally fine just tested 2.4.3 runs fine too
do you use the macOs12 releases?
i'm on macOs12.3 and Natron 2.4.2 runs totally fine just tested 2.4.3 runs fine too
do you use the macOs12 releases?
i thought i did. i redownloaded and reinstalled it after i saw your message and it indeed does work. i stand corrected.
Not sure whether this bug is still relevant, but at least the issue is still marked as "Open".
We had the exact same problem with a different Qt 4 project, and we found that the bug can at least be worked around by simply not using the native macOS menu bar. Using the native macOS menu bar can be disabled by inserting the following code before creating the menu bar:
QApplication::instance()->setAttribute(Qt::AA_DontUseNativeMenuBar);
I've also posted some more details about this issue here.
Solution: use a Qt5 build (natron 2.6)
Problem
When loading any project from the menu (or cmd-O shortcut) on macOS Monterey 12.0.1-12.1, Natron 2.1.9-2.5.0 crashes.
Natron 2.0.5 doesn't crash.
New: Natron 2.4.2 seems to still crash (#731), although the "loading project" splash screen was disabled - maybe we also need to disable the startup splash screen? Waiting for feedback from @blackearth2014 to know if the first splash screen is displayed or if the crash happens before.
Sometimes, loading from the finder (dbl-click on project file) works, sometimes it still crashes, either immediately or a bit later.
Here are sample project files to try (these are reproductibility projects for #708): Archive.zip
This is a major issue, that prevents using Natron properly on Monterey.
backtrace 1 (with Natron 2.4.1):
backtrace 2 (with Natron 2.4.1):