https://bugs.kde.org/show_bug.cgi?id=385279
--- Comment #9 from FX <fxcoud...@gcc.gnu.org> --- The lpq issue: with the patch from this PR, I trigger 383723. Adding the patch at 383723, I get 380269. Adding the tentative patch posted at 380269, I still get an error: ==63832== Thread 2: ==63832== Invalid read of size 4 ==63832== at 0x1014E1E9B: _pthread_wqthread (in /usr/lib/system/libsystem_pthread.dylib) ==63832== by 0x1014E1C4C: start_wqthread (in /usr/lib/system/libsystem_pthread.dylib) ==63832== Address 0x18 is not stack'd, malloc'd or (recently) free'd ==63832== ==63832== ==63832== Process terminating with default action of signal 11 (SIGSEGV) ==63832== Access not within mapped region at address 0x18 ==63832== at 0x1014E1E9B: _pthread_wqthread (in /usr/lib/system/libsystem_pthread.dylib) ==63832== by 0x1014E1C4C: start_wqthread (in /usr/lib/system/libsystem_pthread.dylib) ==63832== If you believe this happened as a result of a stack ==63832== overflow in your program's main thread (unlikely but ==63832== possible), you can try to increase the size of the ==63832== main thread stack using the --main-stacksize= flag. ==63832== The main thread stack size used in this run was 8388608. --63832:0:schedule VG_(sema_down): read returned -4 valgrind: m_scheduler/scheduler.c:952 (void run_thread_for_a_while(HWord *, Int *, ThreadId, HWord, Bool)): Assertion 'VG_(in_generated_code) == False' failed. host stacktrace: ==63832== at 0x258053C2B: ??? ==63832== by 0x258053FBC: ??? ==63832== by 0x258053F93: ??? ==63832== by 0x2580EADFB: ??? ==63832== by 0x2580E9788: ??? ==63832== by 0x2580FB7DE: ??? ==63832== by 0x2580FBAAA: ??? sched status: running_tid=3 Thread 1: status = VgTs_WaitSys (lwpid 771) ==63832== at 0x1014AC562: __workq_kernreturn (in /usr/lib/system/libsystem_kernel.dylib) ==63832== by 0x1014E1C27: _pthread_workqueue_addthreads (in /usr/lib/system/libsystem_pthread.dylib) ==63832== by 0x1010D1E4D: _dispatch_global_queue_poke_slow (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x1010D91BD: _dispatch_mach_send_push (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x1010DD8C8: _voucher_activity_debug_channel_init (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x1010DBAFC: _dispatch_kq_poll (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x1010DB735: _dispatch_kq_drain (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x1010DAB03: _dispatch_kq_unote_update (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x1010D5E33: _dispatch_source_refs_register (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x1010D5F5D: _dispatch_source_finalize_activation (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x1010CEF49: _dispatch_queue_resume_finalize_activation (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x1014734F6: _notify_lib_init (in /usr/lib/system/libsystem_notify.dylib) ==63832== by 0x101473B89: notify_register_dispatch (in /usr/lib/system/libsystem_notify.dylib) ==63832== by 0x100332C27: CFUserNotificationCreate (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==63832== by 0x1010BDD4F: _dispatch_client_callout (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x1010BDD02: dispatch_once_f (in /usr/lib/system/libdispatch.dylib) ==63832== by 0x100332ADD: CFUserNotificationGetTypeID (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==63832== by 0x1001ED210: -[CFPrefsPlistSource createSynchronizeMessage] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==63832== by 0x100375F96: -[NSOrderedSet objectsWithOptions:passingTest:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==63832== by 0x10037723E: +[NSOrderedSet orderedSetWithObject:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==63832== by 0x100375CD2: -[NSOrderedSet objectWithOptions:passingTest:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==63832== by 0x100375B64: -[NSOrderedSet isSubsetOfSet:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==63832== by 0x10039BCE2: __CFGenerateReport (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==63832== by 0x1001F5252: +[_CFXNotificationTokenRegistration createTokenRegistration:token:connection:notifyToken:options:queue:handler:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==63832== by 0x1000E33E8: cupsLangGet (in /usr/lib/libcups.2.dylib) ==63832== by 0x1000E2A42: _cupsSetLocale (in /usr/lib/libcups.2.dylib) ==63832== by 0x100000B72: ??? (in /usr/bin/lpq) ==63832== by 0x101131114: start (in /usr/lib/system/libdyld.dylib) Thread 2: status = VgTs_Yielding (lwpid 4107) ==63832== at 0x1014E1E9B: _pthread_wqthread (in /usr/lib/system/libsystem_pthread.dylib) ==63832== by 0x1014E1C4C: start_wqthread (in /usr/lib/system/libsystem_pthread.dylib) Thread 3: status = VgTs_Runnable (lwpid 5635) ==63832== at 0x1014E1C40: start_wqthread (in /usr/lib/system/libsystem_pthread.dylib) I'm afraid that's as far as I can go :( -- You are receiving this mail because: You are watching all bug changes.