NotepadNext icon indicating copy to clipboard operation
NotepadNext copied to clipboard

Mac crash of ——

Open bjdaijun opened this issue 3 years ago • 5 comments

macos M1 chip

When type "——" ( _ in simplified chinese input method), it would crash. Every time.

Debug details
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               NotepadNext [97598]
Path:                  /Applications/NotepadNext.app/Contents/MacOS/NotepadNext
Identifier:            com.yourcompany.NotepadNext
Version:               ???
Code Type:             X86-64 (Translated)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-08-30 11:49:01.5016 +0800
OS Version:            macOS 12.4 (21F79)
Report Version:        12
Anonymous UUID:        0F91CB64-4FFE-0ED7-A09A-92DDDE522A0E

Sleep/Wake UUID:       BA411EF6-7130-4D37-9CBF-AF19EDE6E042

Time Awake Since Boot: 36000 seconds
Time Since Wake:       1860 seconds

System Integrity Protection: enabled

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


Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81deff00e __pthread_kill + 10
2   libsystem_pthread.dylib       	    0x7ff81df351ff pthread_kill + 263
3   libsystem_c.dylib             	    0x7ff81de80d24 abort + 123
4   libc++abi.dylib               	    0x7ff81def1082 abort_message + 241
5   libc++abi.dylib               	    0x7ff81dee21a5 demangling_terminate_handler() + 242
6   libobjc.A.dylib               	    0x7ff81dddf016 _objc_terminate() + 104
7   libc++abi.dylib               	    0x7ff81def04a7 std::__terminate(void (*)()) + 8
8   libc++abi.dylib               	    0x7ff81def2eeb __cxa_rethrow + 99
9   libobjc.A.dylib               	    0x7ff81dde8e61 objc_exception_rethrow + 37
10  AppKit                        	    0x7ff820d975e3 -[NSApplication _handleEvent:] + 137
11  AppKit                        	    0x7ff82095ff8e -[NSApplication run] + 623
12  libqcocoa.dylib               	       0x10e7ec62f 0x10e7b3000 + 235055
13  QtCore                        	       0x1102c9acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
14  QtCore                        	       0x1102ce042 QCoreApplication::exec() + 130
15  NotepadNext                   	       0x10448be17 main + 1879
16  dyld                          	       0x20471251e start + 462

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                       	    0x7ff7ffc209c4 0x7ff7ffc1c000 + 18884
1   runtime                       	    0x7ff7ffc2e460 0x7ff7ffc1c000 + 74848
2   runtime                       	    0x7ff7ffc2fed8 0x7ff7ffc1c000 + 81624

Thread 2:
0   runtime                       	    0x7ff7ffc3e814 0x7ff7ffc1c000 + 141332

Thread 3:: com.apple.CFSocket.private
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81df00d5a __select + 10
2   CoreFoundation                	    0x7ff81e0222bb __CFSocketManager + 643
3   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
4   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 4:: Thread (pooled)
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81defb3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff81df35a6f _pthread_cond_wait + 1249
3   QtCore                        	       0x1100ffaaf 0x1100d5000 + 174767
4   QtCore                        	       0x1100ff77e 0x1100d5000 + 173950
5   QtCore                        	       0x1100ff69d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
6   QtCore                        	       0x1100fbccd 0x1100d5000 + 158925
7   QtCore                        	       0x1100f7619 0x1100d5000 + 140825
8   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 5:: Thread (pooled)
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81defb3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff81df35a6f _pthread_cond_wait + 1249
3   QtCore                        	       0x1100ffaaf 0x1100d5000 + 174767
4   QtCore                        	       0x1100ff77e 0x1100d5000 + 173950
5   QtCore                        	       0x1100ff69d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
6   QtCore                        	       0x1100fbccd 0x1100d5000 + 158925
7   QtCore                        	       0x1100f7619 0x1100d5000 + 140825
8   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 6:: Thread (pooled)
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81defb3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff81df35a6f _pthread_cond_wait + 1249
3   QtCore                        	       0x1100ffaaf 0x1100d5000 + 174767
4   QtCore                        	       0x1100ff77e 0x1100d5000 + 173950
5   QtCore                        	       0x1100ff69d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
6   QtCore                        	       0x1100fbccd 0x1100d5000 + 158925
7   QtCore                        	       0x1100f7619 0x1100d5000 + 140825
8   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 7:: Thread (pooled)
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81defb3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff81df35a6f _pthread_cond_wait + 1249
3   QtCore                        	       0x1100ffaaf 0x1100d5000 + 174767
4   QtCore                        	       0x1100ff77e 0x1100d5000 + 173950
5   QtCore                        	       0x1100ff69d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
6   QtCore                        	       0x1100fbccd 0x1100d5000 + 158925
7   QtCore                        	       0x1100f7619 0x1100d5000 + 140825
8   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 8:: Thread (pooled)
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81defb3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff81df35a6f _pthread_cond_wait + 1249
3   QtCore                        	       0x1100ffaaf 0x1100d5000 + 174767
4   QtCore                        	       0x1100ff77e 0x1100d5000 + 173950
5   QtCore                        	       0x1100ff69d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
6   QtCore                        	       0x1100fbccd 0x1100d5000 + 158925
7   QtCore                        	       0x1100f7619 0x1100d5000 + 140825
8   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 9:: Thread (pooled)
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81defb3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff81df35a6f _pthread_cond_wait + 1249
3   QtCore                        	       0x1100ffaaf 0x1100d5000 + 174767
4   QtCore                        	       0x1100ff77e 0x1100d5000 + 173950
5   QtCore                        	       0x1100ff69d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
6   QtCore                        	       0x1100fbccd 0x1100d5000 + 158925
7   QtCore                        	       0x1100f7619 0x1100d5000 + 140825
8   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 10:: Thread (pooled)
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81defb3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff81df35a6f _pthread_cond_wait + 1249
3   QtCore                        	       0x1100ffaaf 0x1100d5000 + 174767
4   QtCore                        	       0x1100ff77e 0x1100d5000 + 173950
5   QtCore                        	       0x1100ff69d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
6   QtCore                        	       0x1100fbccd 0x1100d5000 + 158925
7   QtCore                        	       0x1100f7619 0x1100d5000 + 140825
8   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 11:: Thread (pooled)
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81defb3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff81df35a6f _pthread_cond_wait + 1249
3   QtCore                        	       0x1100ffaaf 0x1100d5000 + 174767
4   QtCore                        	       0x1100ff77e 0x1100d5000 + 173950
5   QtCore                        	       0x1100ff69d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
6   QtCore                        	       0x1100fbccd 0x1100d5000 + 158925
7   QtCore                        	       0x1100f7619 0x1100d5000 + 140825
8   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 12:
0   runtime                       	    0x7ff7ffc3e814 0x7ff7ffc1c000 + 141332

Thread 13:
0   runtime                       	    0x7ff7ffc3e814 0x7ff7ffc1c000 + 141332

Thread 14:: QFileInfoGatherer
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81defb3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff81df35a6f _pthread_cond_wait + 1249
3   QtCore                        	       0x1100ff75b 0x1100d5000 + 173915
4   QtCore                        	       0x1100ff69d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
5   QtWidgets                     	       0x10da8ec68 0x10d84e000 + 2362472
6   QtCore                        	       0x1100f7619 0x1100d5000 + 140825
7   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 15:: com.apple.NSEventThread
0   ???                           	    0x7ff8ae4ae940 ???
1   libsystem_kernel.dylib        	    0x7ff81def897a mach_msg_trap + 10
2   libsystem_kernel.dylib        	    0x7ff81def8ce8 mach_msg + 56
3   CoreFoundation                	    0x7ff81dffb540 __CFRunLoopServiceMachPort + 319
4   CoreFoundation                	    0x7ff81dff9bd0 __CFRunLoopRun + 1276
5   CoreFoundation                	    0x7ff81dff9014 CFRunLoopRunSpecific + 562
6   AppKit                        	    0x7ff820adcc1e _NSEventThread + 132
7   libsystem_pthread.dylib       	    0x7ff81df354e1 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff81df30f6b thread_start + 15

Thread 16:
0   runtime                       	    0x7ff7ffc3e814 0x7ff7ffc1c000 + 141332

Thread 17:
0   runtime                       	    0x7ff7ffc3e814 0x7ff7ffc1c000 + 141332


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x00007ff85f6a4990  rsi: 0x0000000000000003  rbp: 0x00007ff81def3f78  rsp: 0x000000030c995f30
   r8: 0x000000020478d600   r9: 0x00007ff81def3f78  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000103  r13: 0x0000003000000008  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: <unavailable>       rfl: 0x0000000000000283
 tmp0: 0xffffffffffffffff tmp1: 0x00007ff8ae4ae914 tmp2: 0x00007ff81deff004


Binary Images:
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7ff81def7000 -     0x7ff81df2efff libsystem_kernel.dylib (*) <61711d11-e776-3bc3-b9a2-6f9f37cb8499> /usr/lib/system/libsystem_kernel.dylib
    0x7ff81df2f000 -     0x7ff81df3afff libsystem_pthread.dylib (*) <bc574849-1aae-31e7-b350-916dda999d97> /usr/lib/system/libsystem_pthread.dylib
    0x7ff81ddff000 -     0x7ff81de87fff libsystem_c.dylib (*) <d9ba0660-744d-3f84-9f80-afb51d450512> /usr/lib/system/libsystem_c.dylib
    0x7ff81dee1000 -     0x7ff81def6fff libc++abi.dylib (*) <b038dc07-0d9a-3049-83b3-62a962d19afb> /usr/lib/libc++abi.dylib
    0x7ff81ddc2000 -     0x7ff81ddfbfff libobjc.A.dylib (*) <3247a526-29a3-3f82-a757-f360a88216b3> /usr/lib/libobjc.A.dylib
    0x7ff820930000 -     0x7ff8217befff com.apple.AppKit (6.9) <832ad371-d3b8-3061-b4e2-1c4e0cffce0b> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x10e7b3000 -        0x10e921fff libqcocoa.dylib (*) <d4ab240b-4535-3aec-b72b-5ffc4750e4e5> /Applications/NotepadNext.app/Contents/PlugIns/platforms/libqcocoa.dylib
       0x1100d5000 -        0x110645fff org.qt-project.QtCore (5.15) <c723812a-f7a5-3001-98d5-e60e8daa6ffb> /Applications/NotepadNext.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
       0x1041d2000 -        0x104569fff com.yourcompany.NotepadNext (*) <ee5b5806-2c8f-3fba-b912-9b3af4a31a52> /Applications/NotepadNext.app/Contents/MacOS/NotepadNext
       0x20470d000 -        0x204778fff dyld (*) <b70ce1ec-b902-3852-8268-05de00bfa8d5> /usr/lib/dyld
    0x7ff7ffc1c000 -     0x7ff7ffc4bfff runtime (*) <0ee8ce32-639c-316a-9551-dab9a2e0c8a5> /usr/libexec/rosetta/runtime
    0x7ff81df7c000 -     0x7ff81e47cfff com.apple.CoreFoundation (6.9) <9c8908f2-e5e0-35b7-9f41-fdf8d7476d8b> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x10d84e000 -        0x10dc94fff org.qt-project.QtWidgets (5.15) <b432d666-dcab-320a-8496-78a67f554c0e> /Applications/NotepadNext.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               384K        3 
Activity Tracing                   256K        1 
CG backing stores                 2816K        8 
CG image                          1068K        6 
ColorSync                          232K       27 
CoreAnimation                      224K        9 
CoreGraphics                        16K        3 
CoreUI image data                  388K        6 
Dispatch continuations            64.0M        1 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           110.3M       48 
MALLOC guard page                  192K        8 
MALLOC_MEDIUM (reserved)         112.0M        1         reserved VM address space (unallocated)
Rosetta Arena                     4096K        2 
Rosetta Generic                   1120K      277 
Rosetta IndirectBranch            1024K        1 
Rosetta JIT                      128.0M        1 
Rosetta Return Stack               320K       32 
Rosetta Thread Context             320K       32 
STACK GUARD                         20K        5 
Stack                             16.2M       17 
Stack Guard                       56.1M       12 
VM_ALLOCATE                       7308K       45 
VM_ALLOCATE (reserved)               4K        1         reserved VM address space (unallocated)
__CTF                               756        1 
__DATA                            20.2M      344 
__DATA_CONST                      12.3M      180 
__DATA_DIRTY                       535K       99 
__FONT_DATA                          4K        1 
__LINKEDIT                       711.0M       30 
__OBJC_RO                         82.7M        1 
__OBJC_RW                         3200K        2 
__TEXT                           248.8M      356 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                        5.6G      527 
shared memory                      812K       16 
unshared pmap                     6896K        4 
===========                     =======  ======= 
TOTAL                              7.2G     2111 
TOTAL, minus reserved VM space     7.1G     2111 



-----------
Full Report
-----------

{"app_name":"NotepadNext","timestamp":"2022-08-30 11:49:01.00 +0800","app_version":"","slice_uuid":"ee5b5806-2c8f-3fba-b912-9b3af4a31a52","build_version":"","platform":1,"bundleID":"com.yourcompany.NotepadNext","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.4 (21F79)","incident_id":"7971279E-538C-4174-81CF-D302A5B2DA3F","name":"NotepadNext"}
{
  "uptime" : 36000,
  "procLaunch" : "2022-08-30 11:48:46.5665 +0800",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro17,1",
  "procStartAbsTime" : 864042916898,
  "coalitionID" : 1766,
  "osVersion" : {
    "train" : "macOS 12.4",
    "build" : "21F79",
    "releaseType" : "User"
  },
  "captureTime" : "2022-08-30 11:49:01.5016 +0800",
  "incident" : "7971279E-538C-4174-81CF-D302A5B2DA3F",
  "bug_type" : "309",
  "pid" : 97598,
  "procExitAbsTime" : 864401178664,
  "translated" : true,
  "cpuType" : "X86-64",
  "procName" : "NotepadNext",
  "procPath" : "\/Applications\/NotepadNext.app\/Contents\/MacOS\/NotepadNext",
  "bundleInfo" : {"CFBundleIdentifier":"com.yourcompany.NotepadNext"},
  "storeInfo" : {"deviceIdentifierForVendor":"407A4058-5C6A-5DF3-B1D3-C5DBFC851E4A","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.yourcompany.NotepadNext",
  "crashReporterKey" : "0F91CB64-4FFE-0ED7-A09A-92DDDE522A0E",
  "wakeTime" : 1860,
  "sleepWakeUUID" : "BA411EF6-7130-4D37-9CBF-AF19EDE6E042",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "ktriageinfo" : "VM - pmap_enter failed with resource shortage\nVM - pmap_enter failed with resource shortage\nVM - pmap_enter failed with resource shortage\nVM - pmap_enter failed with resource shortage\n",
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "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":1112535,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":140703630835576},"r12":{"value":259},"rosetta":{"tmp2":{"value":140703630880772},"tmp1":{"value":140706052761876},"tmp0":{"value":18446744073709551615}},"rbx":{"value":0},"r8":{"value":8664962560,"symbolLocation":0,"symbol":"_main_thread"},"r15":{"value":22},"r10":{"value":0},"rdx":{"value":0},"rdi":{"value":140704729418128,"symbolLocation":0,"symbol":"__stderrp"},"r9":{"value":140703630835576},"r13":{"value":206158430216},"rflags":{"value":643},"rax":{"value":0},"rsp":{"value":13096279856},"r11":{"value":0},"rcx":{"value":0},"r14":{"value":6},"rsi":{"value":3}},"queue":"com.apple.main-thread","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":32782,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":1},{"imageOffset":25087,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":2},{"imageOffset":531748,"symbol":"abort","symbolLocation":123,"imageIndex":3},{"imageOffset":65666,"symbol":"abort_message","symbolLocation":241,"imageIndex":4},{"imageOffset":4517,"symbol":"demangling_terminate_handler()","symbolLocation":242,"imageIndex":4},{"imageOffset":118806,"symbol":"_objc_terminate()","symbolLocation":104,"imageIndex":5},{"imageOffset":62631,"symbol":"std::__terminate(void (*)())","symbolLocation":8,"imageIndex":4},{"imageOffset":73451,"symbol":"__cxa_rethrow","symbolLocation":99,"imageIndex":4},{"imageOffset":159329,"symbol":"objc_exception_rethrow","symbolLocation":37,"imageIndex":5},{"imageOffset":4617699,"symbol":"-[NSApplication _handleEvent:]","symbolLocation":137,"imageIndex":6},{"imageOffset":196494,"symbol":"-[NSApplication run]","symbolLocation":623,"imageIndex":6},{"imageOffset":235055,"imageIndex":7},{"imageOffset":2050767,"symbol":"QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)","symbolLocation":431,"imageIndex":8},{"imageOffset":2068546,"symbol":"QCoreApplication::exec()","symbolLocation":130,"imageIndex":8},{"imageOffset":2858519,"symbol":"main","symbolLocation":1879,"imageIndex":9},{"imageOffset":21790,"symbol":"start","symbolLocation":462,"imageIndex":10}]},{"id":1112537,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":18884,"imageIndex":11},{"imageOffset":74848,"imageIndex":11},{"imageOffset":81624,"imageIndex":11}]},{"id":1112552,"frames":[{"imageOffset":141332,"imageIndex":11}]},{"id":1112555,"name":"com.apple.CFSocket.private","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":40282,"symbol":"__select","symbolLocation":10,"imageIndex":1},{"imageOffset":680635,"symbol":"__CFSocketManager","symbolLocation":643,"imageIndex":12},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112556,"name":"Thread (pooled)","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":1},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":2},{"imageOffset":174767,"imageIndex":8},{"imageOffset":173950,"imageIndex":8},{"imageOffset":173725,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":93,"imageIndex":8},{"imageOffset":158925,"imageIndex":8},{"imageOffset":140825,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112557,"name":"Thread (pooled)","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":1},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":2},{"imageOffset":174767,"imageIndex":8},{"imageOffset":173950,"imageIndex":8},{"imageOffset":173725,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":93,"imageIndex":8},{"imageOffset":158925,"imageIndex":8},{"imageOffset":140825,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112558,"name":"Thread (pooled)","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":1},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":2},{"imageOffset":174767,"imageIndex":8},{"imageOffset":173950,"imageIndex":8},{"imageOffset":173725,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":93,"imageIndex":8},{"imageOffset":158925,"imageIndex":8},{"imageOffset":140825,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112559,"name":"Thread (pooled)","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":1},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":2},{"imageOffset":174767,"imageIndex":8},{"imageOffset":173950,"imageIndex":8},{"imageOffset":173725,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":93,"imageIndex":8},{"imageOffset":158925,"imageIndex":8},{"imageOffset":140825,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112560,"name":"Thread (pooled)","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":1},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":2},{"imageOffset":174767,"imageIndex":8},{"imageOffset":173950,"imageIndex":8},{"imageOffset":173725,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":93,"imageIndex":8},{"imageOffset":158925,"imageIndex":8},{"imageOffset":140825,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112561,"name":"Thread (pooled)","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":1},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":2},{"imageOffset":174767,"imageIndex":8},{"imageOffset":173950,"imageIndex":8},{"imageOffset":173725,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":93,"imageIndex":8},{"imageOffset":158925,"imageIndex":8},{"imageOffset":140825,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112562,"name":"Thread (pooled)","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":1},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":2},{"imageOffset":174767,"imageIndex":8},{"imageOffset":173950,"imageIndex":8},{"imageOffset":173725,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":93,"imageIndex":8},{"imageOffset":158925,"imageIndex":8},{"imageOffset":140825,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112563,"name":"Thread (pooled)","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":1},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":2},{"imageOffset":174767,"imageIndex":8},{"imageOffset":173950,"imageIndex":8},{"imageOffset":173725,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":93,"imageIndex":8},{"imageOffset":158925,"imageIndex":8},{"imageOffset":140825,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112564,"frames":[{"imageOffset":141332,"imageIndex":11}]},{"id":1112565,"frames":[{"imageOffset":141332,"imageIndex":11}]},{"id":1112566,"name":"QFileInfoGatherer","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":1},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":2},{"imageOffset":173915,"imageIndex":8},{"imageOffset":173725,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":93,"imageIndex":8},{"imageOffset":2362472,"imageIndex":13},{"imageOffset":140825,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112586,"name":"com.apple.NSEventThread","frames":[{"imageOffset":140706052761920,"imageIndex":0},{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":1},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":1},{"imageOffset":521536,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":12},{"imageOffset":515024,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":12},{"imageOffset":512020,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":12},{"imageOffset":1756190,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":6},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1112821,"frames":[{"imageOffset":141332,"imageIndex":11}]},{"id":1112823,"frames":[{"imageOffset":141332,"imageIndex":11}]}],
  "usedImages" : [
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703630848000,
    "size" : 229376,
    "uuid" : "61711d11-e776-3bc3-b9a2-6f9f37cb8499",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703631077376,
    "size" : 49152,
    "uuid" : "bc574849-1aae-31e7-b350-916dda999d97",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703629832192,
    "size" : 561152,
    "uuid" : "d9ba0660-744d-3f84-9f80-afb51d450512",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703630757888,
    "size" : 90112,
    "uuid" : "b038dc07-0d9a-3049-83b3-62a962d19afb",
    "path" : "\/usr\/lib\/libc++abi.dylib",
    "name" : "libc++abi.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703629582336,
    "size" : 237568,
    "uuid" : "3247a526-29a3-3f82-a757-f360a88216b3",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703675121664,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15265792,
    "uuid" : "832ad371-d3b8-3061-b4e2-1c4e0cffce0b",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.50.132"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4537921536,
    "size" : 1503232,
    "uuid" : "d4ab240b-4535-3aec-b72b-5ffc4750e4e5",
    "path" : "\/Applications\/NotepadNext.app\/Contents\/PlugIns\/platforms\/libqcocoa.dylib",
    "name" : "libqcocoa.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4564275200,
    "CFBundleShortVersionString" : "5.15",
    "CFBundleIdentifier" : "org.qt-project.QtCore",
    "size" : 5705728,
    "uuid" : "c723812a-f7a5-3001-98d5-e60e8daa6ffb",
    "path" : "\/Applications\/NotepadNext.app\/Contents\/Frameworks\/QtCore.framework\/Versions\/5\/QtCore",
    "name" : "QtCore",
    "CFBundleVersion" : "5.15.2"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4363984896,
    "CFBundleIdentifier" : "com.yourcompany.NotepadNext",
    "size" : 3768320,
    "uuid" : "ee5b5806-2c8f-3fba-b912-9b3af4a31a52",
    "path" : "\/Applications\/NotepadNext.app\/Contents\/MacOS\/NotepadNext",
    "name" : "NotepadNext"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8664436736,
    "size" : 442368,
    "uuid" : "b70ce1ec-b902-3852-8268-05de00bfa8d5",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703124537344,
    "size" : 196608,
    "uuid" : "0ee8ce32-639c-316a-9551-dab9a2e0c8a5",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703631392768,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5246976,
    "uuid" : "9c8908f2-e5e0-35b7-9f41-fdf8d7476d8b",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1863"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4521779200,
    "CFBundleShortVersionString" : "5.15",
    "CFBundleIdentifier" : "org.qt-project.QtWidgets",
    "size" : 4485120,
    "uuid" : "b432d666-dcab-320a-8496-78a67f554c0e",
    "path" : "\/Applications\/NotepadNext.app\/Contents\/Frameworks\/QtWidgets.framework\/Versions\/5\/QtWidgets",
    "name" : "QtWidgets",
    "CFBundleVersion" : "5.15.2"
  }
],
  "sharedCache" : {
  "base" : 140703627821056,
  "size" : 15220686848,
  "uuid" : "53b6853f-0bc3-33f5-be72-1aca3a188ff8"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=959.8M resident=0K(0%) swapped_out_or_unallocated=959.8M(100%)\nWritable regions: Total=455.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=455.6M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               384K        3 \nActivity Tracing                   256K        1 \nCG backing stores                 2816K        8 \nCG image                          1068K        6 \nColorSync                          232K       27 \nCoreAnimation                      224K        9 \nCoreGraphics                        16K        3 \nCoreUI image data                  388K        6 \nDispatch continuations            64.0M        1 \nFoundation                          16K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           110.3M       48 \nMALLOC guard page                  192K        8 \nMALLOC_MEDIUM (reserved)         112.0M        1         reserved VM address space (unallocated)\nRosetta Arena                     4096K        2 \nRosetta Generic                   1120K      277 \nRosetta IndirectBranch            1024K        1 \nRosetta JIT                      128.0M        1 \nRosetta Return Stack               320K       32 \nRosetta Thread Context             320K       32 \nSTACK GUARD                         20K        5 \nStack                             16.2M       17 \nStack Guard                       56.1M       12 \nVM_ALLOCATE                       7308K       45 \nVM_ALLOCATE (reserved)               4K        1         reserved VM address space (unallocated)\n__CTF                               756        1 \n__DATA                            20.2M      344 \n__DATA_CONST                      12.3M      180 \n__DATA_DIRTY                       535K       99 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       711.0M       30 \n__OBJC_RO                         82.7M        1 \n__OBJC_RW                         3200K        2 \n__TEXT                           248.8M      356 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                        5.6G      527 \nshared memory                      812K       16 \nunshared pmap                     6896K        4 \n===========                     =======  ======= \nTOTAL                              7.2G     2111 \nTOTAL, minus reserved VM space     7.1G     2111 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000015
    },
    {
      "rolloutId" : "6112dda2fc54bc3389840642",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "628bd2fda5168570b594bb52"
      },
      "deploymentId" : 240000137
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro17,1, BootROM 7459.121.3, proc 8:4:4 processors, 8 GB, SMC 
Graphics: Apple M1, Apple M1, Built-In
Display: HDMI-VGA-CS, 1680 x 1050 (Widescreen Super eXtended Graphics Array Plus), Main, MirrorOff, Online
Display: Color LCD, 2560 x 1600 Retina, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Mar 23 2022 19:57:59 version 18.60.27.0.7.8.129 FWID 01-570be953
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: USB 10/100/1000 LAN, Ethernet, en6
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

bjdaijun avatar Aug 30 '22 03:08 bjdaijun

@bjdaijun Thanks for the report. I'm not familiar with the different input methods that the underlying Scintilla control supports. What is odd it looks like the only code it is touching currently is in the NotepadNext main function and the crash happens deep within Qt.

Can you post the debug information logged from when the application starts up? Under the Help menu there is a "Debug Log" option.

dail8859 avatar Aug 30 '22 11:08 dail8859

@dail8859 Here is all the log from debug log:

[ 0.327] I: ============================= [ 0.327] I: Notepad Next v0.5.4 [ 0.327] I: Build Date/Time: Aug 2 2022 01:54:49 [ 0.327] I: Qt: 5.15.2 [ 0.327] I: OS: macOS 12.4 [ 0.327] I: Locale: zh_CN [ 0.327] I: CPU: x86_64 [ 0.327] I: File Path: /Applications/NotepadNext.app/Contents/MacOS/NotepadNext [ 0.327] I: Arguments: /Applications/NotepadNext.app/Contents/MacOS/NotepadNext [ 0.327] I: ============================= [ 0.327] I: bool NotepadNextApplication::init() [ 0.395] I: void NotepadNextApplication::loadTranslation(QLocale) [ 0.395] I: zh_CN translation not found for Notepad Next [ 0.395] I: zh_CN translation not found for Qt components [ 0.395] I: LuaState::LuaState() [ 0.403] I: MainWindow::MainWindow(NotepadNextApplication *) [ 0.500] I: setupUi Completed [ 0.534] I: void MainWindow::setupLanguageMenu() [ 0.573] I: void MainWindow::restoreSettings() [ 0.573] I: void NotepadNextApplication::openFiles(const QStringList &) [ 0.573] I: void MainWindow::newFile() [ 0.573] I: void EditorManager::setupEditor(ScintillaNext *) [ 0.573] I: void MainWindow::addEditor(ScintillaNext *) [ 0.573] I: void MainWindow::detectLanguage(ScintillaNext *) [ 0.573] I: void MainWindow::setLanguage(ScintillaNext *, const QString &) [ 0.573] I: Language Name: Text [ 0.574] I: void DockedEditor::addEditor(ScintillaNext *) [ 0.583] I: void MainWindow::activateEditor(ScintillaNext *) [ 0.583] I: bool MainWindow::checkFileForModification(ScintillaNext *) [ 0.583] I: void MainWindow::updateGui(ScintillaNext *) [ 0.583] I: void MainWindow::updateFileStatusBasedUi(ScintillaNext *) [ 0.583] I: void MainWindow::updateSaveStatusBasedUi(ScintillaNext *) [ 0.583] I: void MainWindow::updateEOLBasedUi(ScintillaNext *) [ 0.583] I: void MainWindow::updateLanguageBasedUi(ScintillaNext *) [ 0.755] I: void MainWindow::focusIn() [ 0.755] I: bool MainWindow::checkFileForModification(ScintillaNext *) [ 192.227] I: void MainWindow::focusIn() [ 192.227] I: bool MainWindow::checkFileForModification(ScintillaNext *) [ 192.256] I: void MainWindow::focusIn() [ 192.256] I: bool MainWindow::checkFileForModification(ScintillaNext *) [ 193.468] I: void MainWindow::updateSaveStatusBasedUi(ScintillaNext *) [ 200.770] I: Scintilla::Internal::RegexSearchBase *Scintilla::Internal::CreateRegexSearch(Scintilla::Internal::CharClassify *) [ 485.863] I: void MainWindow::focusIn() [ 485.866] I: bool MainWindow::checkFileForModification(ScintillaNext *) [ 485.866] I: void MainWindow::focusIn() [ 485.866] I: bool MainWindow::checkFileForModification(ScintillaNext *) [ 754.824] I: void MainWindow::focusIn() [ 754.828] I: bool MainWindow::checkFileForModification(ScintillaNext *) [ 756.772] I: void MainWindow::focusIn() [ 756.772] I: bool MainWindow::checkFileForModification(ScintillaNext *) [ 4560.601] I: void MainWindow::focusIn() [ 4560.604] I: bool MainWindow::checkFileForModification(ScintillaNext *) [ 37791.907] I: void MainWindow::focusIn() [ 37791.910] I: bool MainWindow::checkFileForModification(ScintillaNext *) [ 37791.910] I: void MainWindow::focusIn() [ 37791.910] I: bool MainWindow::checkFileForModification(ScintillaNext *)

bjdaijun avatar Aug 31 '22 06:08 bjdaijun

Nothing looks odd from the log. It is weird it is crashing within Qt.

The only thing I can think to try currently is try one of the recent builds that uses a newer version of Qt6 here:

https://github.com/dail8859/NotepadNext/suites/7882210832/artifacts/334628822

dail8859 avatar Sep 05 '22 15:09 dail8859

https://github.com/dail8859/NotepadNext/suites/7882210832/artifacts/334628822

hi dail8859, this link is a linux appimage, can you share a mac dmg?

cailiwu55 avatar Oct 14 '22 02:10 cailiwu55

Ooops :)

Here is the latest Qt6 version for Mac. It will download as a zip and once extracted will contain a dmg.

https://github.com/dail8859/NotepadNext/suites/8689367306/artifacts/391921672

dail8859 avatar Oct 14 '22 02:10 dail8859

hi dear dail8859 ,there still have the same problem with QTcore version 6.2.4 i have tried latest version https://github.com/dail8859/NotepadNext/suites/8689367306/artifacts/391921672

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               NotepadNext [44041]
Path:                  /Volumes/*/NotepadNext.app/Contents/MacOS/NotepadNext
Identifier:            com.yourcompany.NotepadNext
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-10-20 17:23:31.5363 +0800
OS Version:            macOS 12.6 (21G115)
Report Version:        12
Bridge OS Version:     6.6 (19P6067)
Anonymous UUID:        46FFEC86-6324-BE6B-90D6-43FC00DE8F83

Sleep/Wake UUID:       6A8478BC-09EC-40B7-8F1F-BF64DC7CF72E

Time Awake Since Boot: 190000 seconds
Time Since Wake:       3957 seconds

System Integrity Protection: enabled

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        	    0x7ff80799700e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff8079cd1ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff807918d24 abort + 123
3   libc++abi.dylib               	    0x7ff807989082 abort_message + 241
4   libc++abi.dylib               	    0x7ff80797a1a5 demangling_terminate_handler() + 242
5   libobjc.A.dylib               	    0x7ff807876e19 _objc_terminate() + 104
6   libc++abi.dylib               	    0x7ff8079884a7 std::__terminate(void (*)()) + 8
7   libc++abi.dylib               	    0x7ff80798aeeb __cxa_rethrow + 99
8   libobjc.A.dylib               	    0x7ff807880d6c objc_exception_rethrow + 37
9   AppKit                        	    0x7ff80a8f41d3 -[NSApplication _handleEvent:] + 137
10  AppKit                        	    0x7ff80a4bcd3e -[NSApplication run] + 623
11  libqcocoa.dylib               	       0x1075b4b2d 0x10759e000 + 92973
12  QtCore                        	       0x1081608b6 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 454
13  QtCore                        	       0x108157cf2 QCoreApplication::exec() + 130
14  NotepadNext                   	       0x10692414f main + 1967
15  dyld                          	       0x10881652e start + 462

Thread 1:
0   libsystem_pthread.dylib       	    0x7ff8079c8f48 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	    0x7ff8079c8f48 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	    0x7ff8079c8f48 start_wqthread + 0

Thread 4:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	    0x7ff807998d5a __select + 10
1   CoreFoundation                	    0x7ff807abb679 __CFSocketManager + 641
2   libsystem_pthread.dylib       	    0x7ff8079cd4e1 _pthread_start + 125
3   libsystem_pthread.dylib       	    0x7ff8079c8f6b thread_start + 15

Thread 5:: Thread (pooled)
0   libsystem_kernel.dylib        	    0x7ff8079933ea __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8079cda6f _pthread_cond_wait + 1249
2   QtCore                        	       0x1082ed9a6 0x1080c0000 + 2283942
3   QtCore                        	       0x1082ed6be 0x1080c0000 + 2283198
4   QtCore                        	       0x1082ed60e QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
5   QtCore                        	       0x1082e791a 0x1080c0000 + 2259226
6   QtCore                        	       0x1082e1df3 0x1080c0000 + 2235891
7   libsystem_pthread.dylib       	    0x7ff8079cd4e1 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8079c8f6b thread_start + 15

Thread 6:: Thread (pooled)
0   libsystem_kernel.dylib        	    0x7ff8079933ea __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8079cda6f _pthread_cond_wait + 1249
2   QtCore                        	       0x1082ed9a6 0x1080c0000 + 2283942
3   QtCore                        	       0x1082ed6be 0x1080c0000 + 2283198
4   QtCore                        	       0x1082ed60e QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
5   QtCore                        	       0x1082e791a 0x1080c0000 + 2259226
6   QtCore                        	       0x1082e1df3 0x1080c0000 + 2235891
7   libsystem_pthread.dylib       	    0x7ff8079cd4e1 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8079c8f6b thread_start + 15

Thread 7:: Thread (pooled)
0   libsystem_kernel.dylib        	    0x7ff8079933ea __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8079cda6f _pthread_cond_wait + 1249
2   QtCore                        	       0x1082ed9a6 0x1080c0000 + 2283942
3   QtCore                        	       0x1082ed6be 0x1080c0000 + 2283198
4   QtCore                        	       0x1082ed60e QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
5   QtCore                        	       0x1082e791a 0x1080c0000 + 2259226
6   QtCore                        	       0x1082e1df3 0x1080c0000 + 2235891
7   libsystem_pthread.dylib       	    0x7ff8079cd4e1 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8079c8f6b thread_start + 15

Thread 8:: Thread (pooled)
0   libsystem_kernel.dylib        	    0x7ff8079933ea __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8079cda6f _pthread_cond_wait + 1249
2   QtCore                        	       0x1082ed9a6 0x1080c0000 + 2283942
3   QtCore                        	       0x1082ed6be 0x1080c0000 + 2283198
4   QtCore                        	       0x1082ed60e QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
5   QtCore                        	       0x1082e791a 0x1080c0000 + 2259226
6   QtCore                        	       0x1082e1df3 0x1080c0000 + 2235891
7   libsystem_pthread.dylib       	    0x7ff8079cd4e1 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8079c8f6b thread_start + 15

Thread 9:
0   libsystem_pthread.dylib       	    0x7ff8079c8f48 start_wqthread + 0

Thread 10:
0   libsystem_pthread.dylib       	    0x7ff8079c8f48 start_wqthread + 0

Thread 11:
0   libsystem_pthread.dylib       	    0x7ff8079c8f48 start_wqthread + 0

Thread 12:: QFileInfoGatherer
0   libsystem_kernel.dylib        	    0x7ff8079933ea __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8079cda6f _pthread_cond_wait + 1249
2   QtCore                        	       0x1082ed69b 0x1080c0000 + 2283163
3   QtCore                        	       0x1082ed60e QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
4   QtGui                         	       0x1071edfdd QFileInfoGatherer::run() + 125
5   QtCore                        	       0x1082e1df3 0x1080c0000 + 2235891
6   libsystem_pthread.dylib       	    0x7ff8079cd4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff8079c8f6b thread_start + 15

Thread 13:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff80799097a mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff807990ce8 mach_msg + 56
2   CoreFoundation                	    0x7ff807a9436d __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff807a929f8 __CFRunLoopRun + 1276
4   CoreFoundation                	    0x7ff807a91e3c CFRunLoopRunSpecific + 562
5   AppKit                        	    0x7ff80a6399ce _NSEventThread + 132
6   libsystem_pthread.dylib       	    0x7ff8079cd4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff8079c8f6b thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000108891600  rcx: 0x00007ff7b98b10c8  rdx: 0x0000000000000000
  rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp: 0x00007ff7b98b10f0  rsp: 0x00007ff7b98b10c8
   r8: 0x00007ff7b98b0f90   r9: 0x00007ff80798bf78  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x0000000000000103  r13: 0x0000003000000008  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007ff80799700e  rfl: 0x0000000000000246  cr2: 0x00007ff8476d1d70
  
Logical CPU:     0
Error Code:      0x02000148 
Trap Number:     133


Binary Images:
    0x7ff80798f000 -     0x7ff8079c6fff libsystem_kernel.dylib (*) <8cc28466-fd2f-3c80-9834-9525b7beac19> /usr/lib/system/libsystem_kernel.dylib
    0x7ff8079c7000 -     0x7ff8079d2fff libsystem_pthread.dylib (*) <b5454e27-e8c7-3fdb-b77f-714f1e82e70b> /usr/lib/system/libsystem_pthread.dylib
    0x7ff807897000 -     0x7ff80791ffff libsystem_c.dylib (*) <e42e9d7a-03b4-340b-b61e-dcd45fd4acc0> /usr/lib/system/libsystem_c.dylib
    0x7ff807979000 -     0x7ff80798efff libc++abi.dylib (*) <7b800bb6-32e7-3597-b292-2c4da4c377b1> /usr/lib/libc++abi.dylib
    0x7ff80785a000 -     0x7ff807893fff libobjc.A.dylib (*) <4d9b0dca-7151-3875-b98e-b255db8267a8> /usr/lib/libobjc.A.dylib
    0x7ff80a48d000 -     0x7ff80b31cfff com.apple.AppKit (6.9) <06015263-62ac-3b08-a298-dc835c18452a> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x10759e000 -        0x107639fff libqcocoa.dylib (*) <ae5b68a4-b0b8-3fde-8fb0-d59b644c6342> /Volumes/*/NotepadNext.app/Contents/PlugIns/platforms/libqcocoa.dylib
       0x1080c0000 -        0x1085abfff org.qt-project.QtCore (6.2) <df4f842f-5cd0-3b3f-beaa-8c379ace45da> /Volumes/*/NotepadNext.app/Contents/Frameworks/QtCore.framework/Versions/A/QtCore
       0x10664e000 -        0x106a19fff com.yourcompany.NotepadNext (*) <2ae4ae75-0b34-37c2-987c-023b89b6fbe3> /Volumes/*/NotepadNext.app/Contents/MacOS/NotepadNext
       0x108811000 -        0x10887cfff dyld (*) <71febccd-d9dc-3599-9971-2b3407c588a8> /usr/lib/dyld
    0x7ff807a14000 -     0x7ff807f16fff com.apple.CoreFoundation (6.9) <93c48919-68af-367e-9a67-db4159bc962c> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x106d9b000 -        0x107416fff org.qt-project.QtGui (6.2) <9c3cea0d-8586-3b34-ae11-81dbc6e872ed> /Volumes/*/NotepadNext.app/Contents/Frameworks/QtGui.framework/Versions/A/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=891.5M resident=0K(0%) swapped_out_or_unallocated=891.5M(100%)
Writable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework              1024K        8 
Activity Tracing                   256K        1 
CG backing stores                 2688K        4 
CG image                          2100K        3 
ColorSync                          228K       27 
CoreAnimation                       84K        6 
CoreGraphics                        12K        2 
CoreServices                       624K        2 
CoreUI image data                  800K        5 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           326.6M       61 
MALLOC guard page                   48K       10 
MALLOC_MEDIUM (reserved)           1.1G        9         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
ObjC additional data                15K        1 
STACK GUARD                       56.1M       14 
Stack                             14.6M       14 
VM_ALLOCATE                        316K       14 
__CTF                               756        1 
__DATA                            19.8M      330 
__DATA_CONST                      12.0M      181 
__DATA_DIRTY                       535K       99 
__FONT_DATA                          4K        1 
__LINKEDIT                       649.6M       21 
__TEXT                           242.0M      346 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                      159.8M       30 
shared memory                     1292K       17 
===========                     =======  ======= 
TOTAL                              2.9G     1212 
TOTAL, minus reserved VM space     1.5G     1212 



-----------
Full Report
-----------

{"app_name":"NotepadNext","timestamp":"2022-10-20 17:23:31.00 +0800","app_version":"","slice_uuid":"2ae4ae75-0b34-37c2-987c-023b89b6fbe3","build_version":"","platform":1,"bundleID":"com.yourcompany.NotepadNext","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6 (21G115)","incident_id":"A525E1AB-57C5-4F19-95E3-F2358BEBA1F6","name":"NotepadNext"}
{
  "uptime" : 190000,
  "procLaunch" : "2022-10-20 17:23:16.8106 +0800",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,1",
  "procStartAbsTime" : 195118332973988,
  "coalitionID" : 19879,
  "osVersion" : {
    "train" : "macOS 12.6",
    "build" : "21G115",
    "releaseType" : "User"
  },
  "captureTime" : "2022-10-20 17:23:31.5363 +0800",
  "incident" : "A525E1AB-57C5-4F19-95E3-F2358BEBA1F6",
  "bug_type" : "309",
  "pid" : 44041,
  "procExitAbsTime" : 195133057403640,
  "cpuType" : "X86-64",
  "procName" : "NotepadNext",
  "procPath" : "\/Volumes\/*\/NotepadNext.app\/Contents\/MacOS\/NotepadNext",
  "bundleInfo" : {"CFBundleIdentifier":"com.yourcompany.NotepadNext"},
  "storeInfo" : {"deviceIdentifierForVendor":"DC537AB0-2390-5B2A-B686-6FDC19CD968F","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.yourcompany.NotepadNext",
  "crashReporterKey" : "46FFEC86-6324-BE6B-90D6-43FC00DE8F83",
  "wakeTime" : 3957,
  "bridgeVersion" : {"build":"19P6067","train":"6.6"},
  "sleepWakeUUID" : "6A8478BC-09EC-40B7-8F1F-BF64DC7CF72E",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "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":4760708,"threadState":{"r13":{"value":206158430216},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":140701946548112},"cr2":{"value":140704326950256},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":140703256067960},"r15":{"value":22},"rbx":{"value":4438169088,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703256113166,"matchesCrashFrame":1},"rbp":{"value":140701946548464},"rsp":{"value":140701946548424},"r12":{"value":259},"rcx":{"value":140701946548424},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":32782,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":25087,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":531748,"symbol":"abort","symbolLocation":123,"imageIndex":2},{"imageOffset":65666,"symbol":"abort_message","symbolLocation":241,"imageIndex":3},{"imageOffset":4517,"symbol":"demangling_terminate_handler()","symbolLocation":242,"imageIndex":3},{"imageOffset":118297,"symbol":"_objc_terminate()","symbolLocation":104,"imageIndex":4},{"imageOffset":62631,"symbol":"std::__terminate(void (*)())","symbolLocation":8,"imageIndex":3},{"imageOffset":73451,"symbol":"__cxa_rethrow","symbolLocation":99,"imageIndex":3},{"imageOffset":159084,"symbol":"objc_exception_rethrow","symbolLocation":37,"imageIndex":4},{"imageOffset":4616659,"symbol":"-[NSApplication _handleEvent:]","symbolLocation":137,"imageIndex":5},{"imageOffset":195902,"symbol":"-[NSApplication run]","symbolLocation":623,"imageIndex":5},{"imageOffset":92973,"imageIndex":6},{"imageOffset":657590,"symbol":"QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)","symbolLocation":454,"imageIndex":7},{"imageOffset":621810,"symbol":"QCoreApplication::exec()","symbolLocation":130,"imageIndex":7},{"imageOffset":2974031,"symbol":"main","symbolLocation":1967,"imageIndex":8},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":9}]},{"id":4760824,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":4760829,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":4760830,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":4760852,"name":"com.apple.CFSocket.private","frames":[{"imageOffset":40282,"symbol":"__select","symbolLocation":10,"imageIndex":0},{"imageOffset":685689,"symbol":"__CFSocketManager","symbolLocation":641,"imageIndex":10},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":4760853,"name":"Thread (pooled)","frames":[{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":1},{"imageOffset":2283942,"imageIndex":7},{"imageOffset":2283198,"imageIndex":7},{"imageOffset":2283022,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":94,"imageIndex":7},{"imageOffset":2259226,"imageIndex":7},{"imageOffset":2235891,"imageIndex":7},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":4760854,"name":"Thread (pooled)","frames":[{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":1},{"imageOffset":2283942,"imageIndex":7},{"imageOffset":2283198,"imageIndex":7},{"imageOffset":2283022,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":94,"imageIndex":7},{"imageOffset":2259226,"imageIndex":7},{"imageOffset":2235891,"imageIndex":7},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":4760855,"name":"Thread (pooled)","frames":[{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":1},{"imageOffset":2283942,"imageIndex":7},{"imageOffset":2283198,"imageIndex":7},{"imageOffset":2283022,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":94,"imageIndex":7},{"imageOffset":2259226,"imageIndex":7},{"imageOffset":2235891,"imageIndex":7},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":4760856,"name":"Thread (pooled)","frames":[{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":1},{"imageOffset":2283942,"imageIndex":7},{"imageOffset":2283198,"imageIndex":7},{"imageOffset":2283022,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":94,"imageIndex":7},{"imageOffset":2259226,"imageIndex":7},{"imageOffset":2235891,"imageIndex":7},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":4760857,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":4760858,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":4760859,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":4760863,"name":"QFileInfoGatherer","frames":[{"imageOffset":17386,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":1},{"imageOffset":2283163,"imageIndex":7},{"imageOffset":2283022,"symbol":"QWaitCondition::wait(QMutex*, QDeadlineTimer)","symbolLocation":94,"imageIndex":7},{"imageOffset":4534237,"symbol":"QFileInfoGatherer::run()","symbolLocation":125,"imageIndex":11},{"imageOffset":2235891,"imageIndex":7},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":4760873,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":0},{"imageOffset":525165,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":10},{"imageOffset":518648,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":10},{"imageOffset":515644,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":10},{"imageOffset":1755598,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":5},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703256080384,
    "size" : 229376,
    "uuid" : "8cc28466-fd2f-3c80-9834-9525b7beac19",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703256309760,
    "size" : 49152,
    "uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703255064576,
    "size" : 561152,
    "uuid" : "e42e9d7a-03b4-340b-b61e-dcd45fd4acc0",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703255990272,
    "size" : 90112,
    "uuid" : "7b800bb6-32e7-3597-b292-2c4da4c377b1",
    "path" : "\/usr\/lib\/libc++abi.dylib",
    "name" : "libc++abi.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703254814720,
    "size" : 237568,
    "uuid" : "4d9b0dca-7151-3875-b98e-b255db8267a8",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703301160960,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15269888,
    "uuid" : "06015263-62ac-3b08-a298-dc835c18452a",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.60.148"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4418297856,
    "size" : 638976,
    "uuid" : "ae5b68a4-b0b8-3fde-8fb0-d59b644c6342",
    "path" : "\/Volumes\/*\/NotepadNext.app\/Contents\/PlugIns\/platforms\/libqcocoa.dylib",
    "name" : "libqcocoa.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4429971456,
    "CFBundleShortVersionString" : "6.2",
    "CFBundleIdentifier" : "org.qt-project.QtCore",
    "size" : 5160960,
    "uuid" : "df4f842f-5cd0-3b3f-beaa-8c379ace45da",
    "path" : "\/Volumes\/*\/NotepadNext.app\/Contents\/Frameworks\/QtCore.framework\/Versions\/A\/QtCore",
    "name" : "QtCore",
    "CFBundleVersion" : "6.2.4"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4402241536,
    "CFBundleIdentifier" : "com.yourcompany.NotepadNext",
    "size" : 3981312,
    "uuid" : "2ae4ae75-0b34-37c2-987c-023b89b6fbe3",
    "path" : "\/Volumes\/*\/NotepadNext.app\/Contents\/MacOS\/NotepadNext",
    "name" : "NotepadNext"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4437643264,
    "size" : 442368,
    "uuid" : "71febccd-d9dc-3599-9971-2b3407c588a8",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703256625152,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5255168,
    "uuid" : "93c48919-68af-367e-9a67-db4159bc962c",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4409896960,
    "CFBundleShortVersionString" : "6.2",
    "CFBundleIdentifier" : "org.qt-project.QtGui",
    "size" : 6799360,
    "uuid" : "9c3cea0d-8586-3b34-ae11-81dbc6e872ed",
    "path" : "\/Volumes\/*\/NotepadNext.app\/Contents\/Frameworks\/QtGui.framework\/Versions\/A\/QtGui",
    "name" : "QtGui",
    "CFBundleVersion" : "6.2.4"
  }
],
  "sharedCache" : {
  "base" : 140703253053440,
  "size" : 19331678208,
  "uuid" : "73669942-bd8a-3e40-951f-7fbe07b51cb8"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=891.5M resident=0K(0%) swapped_out_or_unallocated=891.5M(100%)\nWritable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework              1024K        8 \nActivity Tracing                   256K        1 \nCG backing stores                 2688K        4 \nCG image                          2100K        3 \nColorSync                          228K       27 \nCoreAnimation                       84K        6 \nCoreGraphics                        12K        2 \nCoreServices                       624K        2 \nCoreUI image data                  800K        5 \nFoundation                          16K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           326.6M       61 \nMALLOC guard page                   48K       10 \nMALLOC_MEDIUM (reserved)           1.1G        9         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nObjC additional data                15K        1 \nSTACK GUARD                       56.1M       14 \nStack                             14.6M       14 \nVM_ALLOCATE                        316K       14 \n__CTF                               756        1 \n__DATA                            19.8M      330 \n__DATA_CONST                      12.0M      181 \n__DATA_DIRTY                       535K       99 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       649.6M       21 \n__TEXT                           242.0M      346 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                      159.8M       30 \nshared memory                     1292K       17 \n===========                     =======  ======= \nTOTAL                              2.9G     1212 \nTOTAL, minus reserved VM space     1.5G     1212 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "61af99aeda72d16a4beb7756",
      "factorPackIds" : {

      },
      "deploymentId" : 240000396
    },
    {
      "rolloutId" : "61301e3a61217b3110231469",
      "factorPackIds" : {
        "SIRI_FIND_MY_CONFIGURATION_FILES" : "6348493aa52bb16adc4e4d06"
      },
      "deploymentId" : 240000021
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro16,1, BootROM 1731.140.2.0.0 (iBridge: 19.16.16067.0.0,0), 6 processors, 6-Core Intel Core i7, 2.6 GHz, 32 GB, SMC 
Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In
Display: Color LCD, 3072 x 1920 Retina, Main, MirrorOff, Online
Graphics: AMD Radeon Pro 5300M, AMD Radeon Pro 5300M, PCIe, 4 GB
Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, DDR4, 2667 MHz, Micron, MT40A2G8NEA-062E:J
Memory Module: BANK 2/ChannelB-DIMM0, 16 GB, DDR4, 2667 MHz, Micron, MT40A2G8NEA-062E:J
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: iPhone, Ethernet, en143
Network Service: iPhone 2, Ethernet, en144
Network Service: iPhone 3, Ethernet, en145
USB Device: USB31Bus
USB Device: iPhone
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

whizsail avatar Oct 20 '22 09:10 whizsail

@whizsail Thanks for trying out the Qt6 version. It still shows it is crashing somewhere deeper in the Qt and system libraries, so honestly not sure if this is a Qt bug or if there's some setting/feature the application needs to adjust to get it to function properly.

dail8859 avatar Oct 20 '22 11:10 dail8859

@dail8859 Thanks for replying my question , hope we will use best version of Notepad Next, at the same time ,thx for supply this good software to us !!!

whizsail avatar Oct 20 '22 12:10 whizsail

Working on Windows. When entering the character, the stack is as follows: 051f54d9-e81f-49de-b2e0-1ad7428022c3 Not working on Mac. When entering the character, the stack is as follows: 11_55_46 By comparing with the working stack on Windows, seems on Mac the input method event is wrongly detected as keyPressEvent. If the character can be detected as inputMethodEvent on Mac, then most likely it won't crash.

czlitony avatar May 06 '23 16:05 czlitony

@czlitony Excellent info!

Mac the input method event is wrongly detected as keyPressEvent

So would you assume this is something purely in the Scintilla library? Or is there something Qt related that Notepad Next can possibly enabled/tweaked to have the Scintilla library process events correctly?

dail8859 avatar May 06 '23 17:05 dail8859

I have no idea yet, need more time to investigate it.

czlitony avatar May 07 '23 02:05 czlitony

When entering the character —— on Mac, it triggers keyPressEvent, however, it triggers inputMethodEvent on Windows. Seems Qt behaves differently on Windows and Mac, not sure if it's a Qt bug. I have found a way to avoid the crash issue in pr https://github.com/dail8859/NotepadNext/pull/372.

czlitony avatar May 07 '23 03:05 czlitony