[valgrind] [Bug 380269] [PATCH] No multithreading in macOS Sierra (10.12)
Paul Floyd
bugzilla_noreply at kde.org
Sat Sep 13 21:11:22 BST 2025
https://bugs.kde.org/show_bug.cgi?id=380269
--- Comment #11 from Paul Floyd <pjfloyd at wanadoo.fr> ---
Everything from the patches is now applied. However the small testcase does not
run. I get the following
--55048-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
--55048-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2
times)
--55048-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4
times)
--55048-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8
times)
--55048-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 16
times)
valgrind: m_scheduler/sema.c:102 (void vgModuleLocal_sema_down(vg_sema_t *,
Bool)): Assertion 'sema->owner_lwpid != lwpid' failed.
host stacktrace:
==55048== at 0x258010C69: ???
sched status:
running_tid=4
Thread 1: status = VgTs_WaitSys syscall mach:31 (lwpid 771)
==55048== at 0x1016D41FA: mach_msg_trap (in
/usr/lib/system/libsystem_kernel.dylib)
==55048== by 0x1016D3713: mach_msg (in
/usr/lib/system/libsystem_kernel.dylib)
==55048== by 0x101277AC1: _dispatch_mach_send_and_wait_for_reply (in
/usr/lib/system/libdispatch.dylib)
==55048== by 0x101277FAC: dispatch_mach_send_with_result_and_wait_for_reply
(in /usr/lib/system/libdispatch.dylib)
==55048== by 0x101771D7B: xpc_connection_send_message_with_reply_sync (in
/usr/lib/system/libxpc.dylib)
==55048== by 0x10026528E: __80-[CFPrefsSearchListSource
alreadylocked_generationCountFromListOfSources:count:]_block_invoke_3.139 (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x10028F403: -[_CFXPreferences
withConnectionForRole:performBlock:] (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x100265263: __80-[CFPrefsSearchListSource
alreadylocked_generationCountFromListOfSources:count:]_block_invoke_2.138 (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x10173A83F: _os_activity_initiate_impl (in
/usr/lib/system/libsystem_trace.dylib)
==55048== by 0x1002651C1: __80-[CFPrefsSearchListSource
alreadylocked_generationCountFromListOfSources:count:]_block_invoke.136 (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x100264B06: CFPREFERENCES_IS_WAITING_FOR_USER_CFPREFSD (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x100264D5B: -[CFPrefsSearchListSource
alreadylocked_generationCountFromListOfSources:count:] (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x1000E2335: -[CFPrefsSearchListSource
alreadylocked_copyDictionary] (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x1000E1EB2: -[CFPrefsSearchListSource
alreadylocked_copyValueForKey:] (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x100222794: -[CFPrefsSource copyValueForKey:] (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x10028DECF: __76-[_CFXPreferences
copyAppValueForKey:identifier:container:configurationURL:]_block_invoke (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x1002664E8: __108-[_CFXPreferences(SearchListAdditions)
withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke
(in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x100266354: -[_CFXPreferences(SearchListAdditions)
withSearchListForIdentifier:container:cloudConfigurationURL:perform:] (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x10028DE72: -[_CFXPreferences
copyAppValueForKey:identifier:container:configurationURL:] (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x1000E9402: CFPreferencesCopyAppValue (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x1000F8572: ___CFBundleCopyUserLanguages_block_invoke (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x10125CDB7: _dispatch_client_callout (in
/usr/lib/system/libdispatch.dylib)
==55048== by 0x10125CD6A: dispatch_once_f (in
/usr/lib/system/libdispatch.dylib)
==55048== by 0x1000F7BAE: _CFBundleCopyLanguageSearchListInBundle (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x1000F7771: _copyQueryTable (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x1000F70CE: _copyResourceURLsFromBundle (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x1000F68C6: _CFBundleCopyFindResources (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x1000F6383: CFBundleCopyResourceURL (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x1000F626A: CFBundleGetLocalInfoDictionary (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x10010E050: CFBundleGetValueForInfoDictionaryKey (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==55048== by 0x100000F5A: main (bug380269.cpp:7)
client stack range: [0x1040A1000 0x1048A0FFF] client SP: 0x10489BC98
valgrind stack range: [0x70000058E000 0x70000068DFFF] top usage: 5792 of
1048576
Thread 2: status = VgTs_WaitSys syscall unix:375 (lwpid 3851)
==55048== at 0x1016DEC1A: kevent_id (in
/usr/lib/system/libsystem_kernel.dylib)
==55048== by 0x10127AA57: _dispatch_kq_poll (in
/usr/lib/system/libdispatch.dylib)
==55048== by 0x10127A223: _dispatch_event_loop_poke (in
/usr/lib/system/libdispatch.dylib)
==55048== by 0x10126DF65: _dispatch_queue_resume_finalize_activation (in
/usr/lib/system/libdispatch.dylib)
==55048== by 0x10176EC60: _xpc_connection_check_in (in
/usr/lib/system/libxpc.dylib)
==55048== by 0x1017700E0: _xpc_connection_init (in
/usr/lib/system/libxpc.dylib)
==55048== by 0x10176FDDF: _xpc_connection_resume_init (in
/usr/lib/system/libxpc.dylib)
==55048== by 0x10125CDB7: _dispatch_client_callout (in
/usr/lib/system/libdispatch.dylib)
==55048== by 0x10125EB2B: _dispatch_root_queue_drain (in
/usr/lib/system/libdispatch.dylib)
==55048== by 0x10125E754: _dispatch_worker_thread3 (in
/usr/lib/system/libdispatch.dylib)
==55048== by 0x101714168: _pthread_wqthread (in
/usr/lib/system/libsystem_pthread.dylib)
==55048== by 0x101713BE8: start_wqthread (in
/usr/lib/system/libsystem_pthread.dylib)
client stack range: ??????? client SP: 0x700006031C48
valgrind stack range: [0x700001FD6000 0x7000020D5FFF] top usage: 3200 of
1048576
Thread 3: status = VgTs_WaitSys syscall unix:368 (lwpid 10499)
==55048== at 0x1016DE28A: __workq_kernreturn (in
/usr/lib/system/libsystem_kernel.dylib)
==55048== by 0x10171420D: _pthread_wqthread (in
/usr/lib/system/libsystem_pthread.dylib)
==55048== by 0x101713BE8: start_wqthread (in
/usr/lib/system/libsystem_pthread.dylib)
client stack range: ??????? client SP: 0x7000060B4EE8
valgrind stack range: [0x700002122000 0x700002221FFF] top usage: 3368 of
1048576
Thread 4: status = VgTs_Runnable syscall unix:368 (lwpid 6915)
==55048== at 0x1016DE28A: __workq_kernreturn (in
/usr/lib/system/libsystem_kernel.dylib)
==55048== by 0x1: ???
==55048== by 0x200016F: ???
==55048== by 0x700002325DA7: ???
==55048== by 0x7000060B7FFF: ???
client stack range: ??????? client SP: 0x700006137A58
valgrind stack range: [0x700002226000 0x700002325FFF] top usage: 3168 of
1048576
[no host stacktrace is a bit of a pain]
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list