Bug 73311

Summary: XkbAdjustGroup DIV-0 crash if ctrls->num_groups == 0
Product: xorg Reporter: Jeremy Huddleston Sequoia <jeremyhu>
Component: Server/Input/XKBAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: have-backtrace
Version: unspecified   
Hardware: Other   
OS: All   
See Also: http://xquartz.macosforge.org/trac/ticket/630
https://xquartz.macosforge.org/trac/ticket/854
Whiteboard:
i915 platform: i915 features:

Description Jeremy Huddleston Sequoia 2014-01-05 18:10:08 UTC
Initially reported to XQuartz at https://xquartz.macosforge.org/trac/ticket/854

Exception Type:  EXC_ARITHMETIC (SIGFPE)
Exception Codes: EXC_I386_DIV (divide by zero)

Application Specific Information:
X.Org X Server 1.14.4 Build Date: 20131110
...
Thread 2 Crashed:
0   X11.bin                             0x00000001000a066d XkbAdjustGroup (xkbUtils.c:705)
1   X11.bin                             0x00000001000a0713 XkbComputeDerivedState (xkbUtils.c:729)
2   X11.bin                             0x0000000100094823 ProcXkbLatchLockState (xkb.c:654)
3   X11.bin                             0x00000001000c4842 Dispatch (dispatch.c:433)
4   X11.bin                             0x0000000100026467 dix_main (main.c:302)
5   X11.bin                             0x00000001000117e5 server_thread (quartzStartup.c:66)
6   libsystem_c.dylib                   0x00007fff8f9ec772 _pthread_start (pthreads/pthread.c:954)
7   libsystem_c.dylib                   0x00007fff8f9d91a1 thread_start + 0x11a1

The crash point can be seen here:
http://cgit.freedesktop.org/xorg/xserver/tree/xkb/xkbUtils.c?id=xorg-server-1.14.4#n705

ctrls->num_groups is 0 here:

    else if (group >= ctrls->num_groups) {
        if (act == XkbClampIntoRange) {
            group = ctrls->num_groups - 1;
        }
        else if (act == XkbRedirectIntoRange) {
            int newGroup;

            newGroup = XkbOutOfRangeGroupNumber(ctrls->groups_wrap);
            if (newGroup >= ctrls->num_groups)
                group = XkbGroup1Index;
            else
                group = newGroup;
        }
        else {
            group %= ctrls->num_groups;   /// <------------ DIV-0 crash point
        }
    }
Comment 1 Hamilton Turner 2014-01-23 02:03:21 UTC
I believe the same issue is occurring when invoking xfce4-session (the original ticket mentions gnome-session). I can reproduce this crash by pressing my Command keys. FWIW, I am not using full screen mode, and none of the options under the 'Input' preference tab are selected. 


Process:         X11.bin [13719]
Path:            /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
Identifier:      org.macosforge.xquartz.X11
Version:         2.7.5 (2.7.54)
Code Type:       X86-64 (Native)
Parent Process:  Xquartz [13718]
User ID:         501

Date/Time:       2014-01-22 19:11:50.421 -0500
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10

Interval Since Last Report:          23634 sec
Crashes Since Last Report:           4
Per-App Interval Since Last Report:  17892 sec
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      95C147DE-E88C-AB14-4ED6-21B60429FF91

Crashed Thread:  2

Exception Type:  EXC_ARITHMETIC (SIGFPE)
Exception Codes: EXC_I386_DIV (divide by zero)

Application Specific Information:
X.Org X Server 1.14.4 Build Date: 20131110

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff90585686 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff90584c42 mach_msg + 70
2   com.apple.CoreFoundation      	0x00007fff89ed1233 __CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation      	0x00007fff89ed6916 __CFRunLoopRun + 1078
4   com.apple.CoreFoundation      	0x00007fff89ed60e2 CFRunLoopRunSpecific + 290
5   com.apple.HIToolbox           	0x00007fff934fbeb4 RunCurrentEventLoopInMode + 209
6   com.apple.HIToolbox           	0x00007fff934fbc52 ReceiveNextEventCommon + 356
7   com.apple.HIToolbox           	0x00007fff934fbae3 BlockUntilNextEventMatchingListInMode + 62
8   com.apple.AppKit              	0x00007fff924ca533 _DPSNextEvent + 685
9   com.apple.AppKit              	0x00007fff924c9df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
10  com.apple.AppKit              	0x00007fff924c11a3 -[NSApplication run] + 517
11  X11.bin                       	0x0000000100008acd X11ApplicationMain + 1378
12  X11.bin                       	0x00000001000118bc server_main + 208
13  X11.bin                       	0x0000000100002002 do_start_x11_server + 270
14  X11.bin                       	0x0000000100002d59 _Xstart_x11_server + 136
15  X11.bin                       	0x0000000100002ece mach_startup_server + 81
16  libsystem_kernel.dylib        	0x00007fff90585491 mach_msg_server + 429
17  X11.bin                       	0x0000000100002790 main + 1887
18  X11.bin                       	0x0000000100001aa4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff90587d16 kevent + 10
1   libdispatch.dylib             	0x00007fff8de1cdea _dispatch_mgr_invoke + 883
2   libdispatch.dylib             	0x00007fff8de1c9ee _dispatch_mgr_thread + 54

Thread 2 Crashed:
0   X11.bin                       	0x00000001000a066d XkbAdjustGroup + 94
1   X11.bin                       	0x00000001000a0713 XkbComputeDerivedState + 139
2   X11.bin                       	0x00000001000a9701 XkbHandleActions + 913
3   X11.bin                       	0x00000001000a49c9 AccessXFilterPressEvent + 674
4   X11.bin                       	0x00000001000fbb1c mieqProcessDeviceEvent + 256
5   X11.bin                       	0x00000001000fbd16 mieqProcessInputEvents + 383
6   X11.bin                       	0x000000010000e63b ProcessInputEvents + 16
7   X11.bin                       	0x00000001000c45a2 Dispatch + 128
8   X11.bin                       	0x0000000100026467 dix_main + 961
9   X11.bin                       	0x00000001000117e5 server_thread + 38
10  libsystem_c.dylib             	0x00007fff8eaaa772 _pthread_start + 327
11  libsystem_c.dylib             	0x00007fff8ea971a1 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib        	0x00007fff90585686 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff90584c42 mach_msg + 70
2   com.apple.CoreFoundation      	0x00007fff89ed1233 __CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation      	0x00007fff89ed6916 __CFRunLoopRun + 1078
4   com.apple.CoreFoundation      	0x00007fff89ed60e2 CFRunLoopRunSpecific + 290
5   com.apple.CoreFoundation      	0x00007fff89ee4dd1 CFRunLoopRun + 97
6   X11.bin                       	0x00000001000230f5 xpbproxy_run + 507
7   X11.bin                       	0x0000000100008b1c xpbproxy_x_thread + 9
8   libsystem_c.dylib             	0x00007fff8eaaa772 _pthread_start + 327
9   libsystem_c.dylib             	0x00007fff8ea971a1 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fff905870fa __psynch_cvwait + 10
1   libsystem_c.dylib             	0x00007fff8eaaefb9 _pthread_cond_wait + 869
2   X11.bin                       	0x000000010000e61f DarwinProcessFDAdditionQueue_thread + 183
3   libsystem_c.dylib             	0x00007fff8eaaa772 _pthread_start + 327
4   libsystem_c.dylib             	0x00007fff8ea971a1 thread_start + 13

Thread 5:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	0x00007fff90587322 __select + 10
1   com.apple.CoreFoundation      	0x00007fff89f15f46 __CFSocketManager + 1302
2   libsystem_c.dylib             	0x00007fff8eaaa772 _pthread_start + 327
3   libsystem_c.dylib             	0x00007fff8ea971a1 thread_start + 13

Thread 6:
0   libsystem_kernel.dylib        	0x00007fff905870fa __psynch_cvwait + 10
1   libsystem_c.dylib             	0x00007fff8eaaefb9 _pthread_cond_wait + 869
2   libXplugin.1.dylib            	0x0000000100261f27 _xp_async_dequeue + 40
3   libXplugin.1.dylib            	0x0000000100261edf _xp_async_thread + 82
4   libsystem_c.dylib             	0x00007fff8eaaa772 _pthread_start + 327
5   libsystem_c.dylib             	0x00007fff8ea971a1 thread_start + 13

Thread 7:
0   libsystem_kernel.dylib        	0x00007fff905876d6 __workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff8eaacf1c _pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff8eaacce3 _pthread_wqthread + 412
3   libsystem_c.dylib             	0x00007fff8ea97191 start_wqthread + 13

Thread 2 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000101482040  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x000000010c21dac0  rbp: 0x00000001017cdfa0  rsp: 0x00000001017cdfa0
   r8: 0x000000010147fb20   r9: 0x0000000002f7c127  r10: 0x0000000102c03ed0  r11: 0x0000000000b7fb77
  r12: 0x0000000000000000  r13: 0x000000010147fb00  r14: 0x000000010c21dac0  r15: 0x0000000101482040
  rip: 0x00000001000a066d  rfl: 0x0000000000010287  cr2: 0x000000000eb3c000
Logical CPU: 3

Binary Images:
       0x100000000 -        0x1001b9ff7 +X11.bin (???) <031490AA-5B37-3A9A-A65F-C49083645DDE> /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
       0x100231000 -        0x10024afff +org.andymatuschak.Sparkle (1.5 Beta [git] - 1.5) <DEF48B5E-356D-399F-80C7-1CB9DC96BAED> /Applications/Utilities/XQuartz.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
       0x100261000 -        0x10026efff +libXplugin.1.dylib (1) <6D15BA8B-1EC0-3E62-BD2D-6E6B5CF3D5C7> /opt/X11/*/libXplugin.1.dylib
       0x100279000 -        0x10027afff +libAppleWM.7.dylib (8) <5ADEC161-C908-3503-92E0-0D9FDCFF8B0F> /opt/X11/*/libAppleWM.7.dylib
       0x10027f000 -        0x100281fff +libXfixes.3.dylib (5) <ADA08F63-4B41-36E6-B57F-9B8A14BE5738> /opt/X11/*/libXfixes.3.dylib
       0x100287000 -        0x10038bff7 +libX11.6.dylib (10) <7A05088F-A9CE-32FE-8EA6-2CADF88D47AD> /opt/X11/*/libX11.6.dylib
       0x1003b3000 -        0x100429fff +libpixman-1.0.dylib (31.2) <1B76CA12-284E-3D2F-96E8-302A4E800BFE> /opt/X11/*/libpixman-1.0.dylib
       0x100440000 -        0x10046dfff +libXfont.1.dylib (6.1) <50990772-BF77-3B7F-9196-102B2870868A> /opt/X11/*/libXfont.1.dylib
       0x10047d000 -        0x10047efff +libXau.6.dylib (7) <E73524F8-73B3-39D6-AE05-96968BF19DD7> /opt/X11/*/libXau.6.dylib
       0x100483000 -        0x100486ff7 +libXdmcp.6.dylib (7) <3C8AF3CB-7971-3AE4-AB65-0B5FE3AD9744> /opt/X11/*/libXdmcp.6.dylib
       0x10048c000 -        0x100497ff7 +libXext.6.dylib (11) <0E727D24-F959-3264-BCB8-A3C701D7D121> /opt/X11/*/libXext.6.dylib
       0x10049f000 -        0x1004b3fff +libxcb.1.dylib (3) <65314302-2C54-30DB-B383-F9988795490D> /opt/X11/*/libxcb.1.dylib
       0x1004c4000 -        0x10053bff7 +libfreetype.6.dylib (17.2) <44873180-202C-3160-B702-6BC353F670C4> /opt/X11/*/libfreetype.6.dylib
       0x100553000 -        0x100556ff7 +libfontenc.1.dylib (2) <5961173A-2242-3A81-9D10-87054AF22EAA> /opt/X11/*/libfontenc.1.dylib
       0x1017d1000 -        0x1017defff  libGPUSupport.dylib (8.10.1) <7860F083-3F7B-3811-A56C-E8557A90C7DB> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupport.dylib
       0x1017e5000 -        0x1017eafff  com.apple.IOAccelerator (74.15 - 74.15) <D8C40179-4A29-3401-9B35-6E61EA278D41> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
       0x102fc4000 -        0x102fd0fff  libGPUSupportMercury.dylib (8.10.1) <1DE2D7F9-C031-3BBF-BD5F-4E1208B6F296> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupportMercury.dylib
       0x102fd8000 -        0x102fe1fe7  libcldcpuengine.dylib (2.2.16) <DB9678F6-7D50-384A-A961-6109B61D1607> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib
       0x102fe7000 -        0x102febff7 +com.stclairsoft.DefaultFolderX.osax (4.6.3 - 4.6.3) <0681CF13-7DF0-3972-8AE8-3741F39A08ED> /Library/ScriptingAdditions/Default Folder X Addition.osax/Contents/MacOS/Default Folder X Addition
       0x103c83000 -        0x103e41fff  GLEngine (8.10.1) <1BD4D913-CE6C-3389-B4E1-FC7352E4C23F> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
       0x103f78000 -        0x103fa3fff  GLRendererFloat (8.10.1) <055EC8E7-2D7E-370C-96AD-DBEEDB106927> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat
       0x106cf7000 -        0x106e67fff  libGLProgrammability.dylib (8.10.1) <3E488CEF-5751-3073-B8EE-0B4CA39CB6AB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
       0x10a800000 -        0x10ac88ff7  com.apple.driver.AppleIntelHD4000GraphicsGLDriver (8.16.74 - 8.1.6) <A7A9E774-2CB7-3A51-9C65-0F39F0F6D1F3> /System/Library/Extensions/AppleIntelHD4000GraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHD4000GraphicsGLDriver
       0x10c3fb000 -        0x10c41bfff +com.stclairsoft.DefaultFolderX.CocoaPatcher (4.6.3 - 4.6.3) <DBCBC1D0-B7CB-30EB-8264-B1784BF44C07> /Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Cocoa Patcher.bundle/Contents/MacOS/Cocoa Patcher
       0x200000000 -        0x20092eff7  com.apple.GeForceGLDriver (8.16.74 - 8.1.6) <1B20E6CC-D5C8-3F83-BA74-A8FB24A52E7B> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver
    0x7fff631ab000 -     0x7fff631df93f  dyld (210.2.3) <36CAA36E-72BC-3E48-96D9-B96A2DF77730> /usr/lib/dyld
    0x7fff88802000 -     0x7fff8882afff  libJPEG.dylib (851) <64A3EB03-34FB-308C-817B-6106D1F4D80F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff8882b000 -     0x7fff8882ffff  libCoreVMClient.dylib (32.5) <DB009CD4-BB0E-3331-BBB4-A118781D193F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff88830000 -     0x7fff888b2ff7  com.apple.Heimdal (3.0 - 2.0) <ACF0C667-5ACC-382A-A998-61E85386C814> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff888b3000 -     0x7fff888b6fff  libRadiance.dylib (851) <C317B2C7-CA3A-329F-B6DC-7CC33FE08C81> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff888b7000 -     0x7fff8898aff7  com.apple.DiscRecording (7.0 - 7000.2.4) <D62DA01B-5B60-3E99-9395-C11FB47E82E0> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
    0x7fff88c6f000 -     0x7fff88df5fff  libBLAS.dylib (1073.4) <C102C0F6-8CB6-3B49-BA6B-2EB61F0B2784> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff88e1e000 -     0x7fff88e1effd  com.apple.audio.units.AudioUnit (1.9.2 - 1.9.2) <6D314680-7409-3BC7-A807-36341411AF9A> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff88edc000 -     0x7fff8902efff  com.apple.audio.toolbox.AudioToolbox (1.9.2 - 1.9.2) <DC5F3D1B-036A-37DE-BC24-7636DC95EA1C> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff8905e000 -     0x7fff892daff7  com.apple.RawCamera.bundle (5.01 - 718) <6CC4A1E5-A89A-369D-96C4-7A5ED40B487B> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
    0x7fff896de000 -     0x7fff8988cfff  com.apple.QuartzCore (1.8 - 304.3) <F450F2DE-2F24-3557-98B6-310E05DAC17F> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff8988d000 -     0x7fff898b8fff  libxslt.1.dylib (11.3) <441776B8-9130-3893-956F-39C85FFA644F> /usr/lib/libxslt.1.dylib
    0x7fff898b9000 -     0x7fff898befff  com.apple.OpenDirectory (10.8 - 151.10) <1F47EC96-7403-3690-8D8D-C31D3B6FDA0A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff89a33000 -     0x7fff89a37fff  libGIF.dylib (851) <AD40D084-6E34-38CD-967D-705F94B188DA> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff89a58000 -     0x7fff89a5afff  com.apple.securityhi (4.0 - 55002) <26E6D477-EF61-351F-BA8C-67824AA231C6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff89a5b000 -     0x7fff89a68fff  com.apple.AppleFSCompression (49 - 1.0) <E616053D-D3C2-3600-B8DF-A5E0D9665634> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fff89a69000 -     0x7fff89ad6ff7  com.apple.datadetectorscore (4.1 - 269.3) <5775F0DB-87D6-310D-8B03-E2AD729EFB28> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff89af2000 -     0x7fff89afdff7  com.apple.bsd.ServiceManagement (2.0 - 2.0) <C12962D5-85FB-349E-AA56-64F4F487F219> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff89afe000 -     0x7fff89b4dff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
    0x7fff89b4e000 -     0x7fff89b75ff7  com.apple.PerformanceAnalysis (1.16 - 16) <1BDA3662-18B7-3F38-94E5-9ACD477A7682> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fff89b76000 -     0x7fff89c8ffff  com.apple.ImageIO.framework (3.2.2 - 851) <6552C673-9F29-3B31-A12E-C4391A950965> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff89c90000 -     0x7fff89ceaff7  com.apple.opencl (2.2.19 - 2.2.19) <3C7DFB2C-B3F9-3447-A1FC-EAAA42181A6E> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff89d28000 -     0x7fff89d31ff7  com.apple.CommerceCore (1.0 - 26.2) <AF35874A-6FA7-328E-BE30-8BBEF0B741A8> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
    0x7fff89deb000 -     0x7fff89df0fff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
    0x7fff89e35000 -     0x7fff89e43fff  libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
    0x7fff89ea1000 -     0x7fff8a08bff7  com.apple.CoreFoundation (6.8 - 744.19) <0F7403CA-2CB8-3D0A-992B-679701DF27CA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff8a08c000 -     0x7fff8a0c6ff7  com.apple.GSS (3.0 - 2.0) <423BDFCC-9187-3F3E-ABB0-D280003EB15E> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff8a0c7000 -     0x7fff8a0c9ff7  com.apple.print.framework.Print (8.0 - 258) <8F243E49-021F-3892-B555-3010A7F450A2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff8a0ca000 -     0x7fff8a1c7fff  libsqlite3.dylib (138.1) <ADE9CB98-D77D-300C-A32A-556B7440769F> /usr/lib/libsqlite3.dylib
    0x7fff8a1c8000 -     0x7fff8a1c9ff7  libSystem.B.dylib (169.3) <92475A81-385C-32B9-9D6D-38E4BAC90996> /usr/lib/libSystem.B.dylib
    0x7fff8a1ca000 -     0x7fff8a28fff7  com.apple.coreui (2.0 - 181.1) <7C4196D5-79E8-3557-963B-71F494DC9B04> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff8a2b9000 -     0x7fff8a2b9fff  com.apple.ApplicationServices (45 - 45) <5302CC85-D534-3FE5-9E56-CA16762177F6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff8a34a000 -     0x7fff8a44cfff  libcrypto.0.9.8.dylib (47.2) <CF3BAB7E-4972-39FD-AF92-28ACAFF0873E> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff8a44d000 -     0x7fff8a48afef  libGLImage.dylib (8.10.1) <91E31B9B-4141-36D5-ABDC-20F1D6D1D0CF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff8a490000 -     0x7fff8a51dff7  com.apple.SearchKit (1.4.0 - 1.4.0) <54A8069C-E497-3B07-BEA7-D3BC9DB5B649> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff8a51e000 -     0x7fff8a58cff7  com.apple.framework.IOKit (2.0.1 - 755.42.1) <A90038ED-48F2-3CC9-A042-53A3D7985844> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff8a58d000 -     0x7fff8a6adfff  com.apple.desktopservices (1.7.4 - 1.7.4) <ED3DA8C0-160F-3CDC-B537-BF2E766AB7C1> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff8a981000 -     0x7fff8a9e0fff  com.apple.AE (645.6 - 645.6) <44F403C1-660A-3543-AB9C-3902E02F936F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff8a9e1000 -     0x7fff8a9e3fff  com.apple.TrustEvaluationAgent (2.0 - 23) <A97D348B-32BF-3E52-8DF2-59BFAD21E1A3> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff8a9e4000 -     0x7fff8a9effff  com.apple.CommonAuth (3.0 - 2.0) <1CA95702-DDC7-3ADB-891E-7F037ABDDA14> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff8aa05000 -     0x7fff8aa1cfff  com.apple.CFOpenDirectory (10.8 - 151.10) <10F41DA4-AD54-3F52-B898-588D9A117171> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff8aa1d000 -     0x7fff8aa3efff  com.apple.Ubiquity (1.2 - 243.15) <C9A7EE77-B637-3676-B667-C0843BBB0409> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
    0x7fff8aa3f000 -     0x7fff8ae5cfff  FaceCoreLight (2.4.1) <A34C9575-C4C1-31B1-809B-7751070B4E8B> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight
    0x7fff8aed4000 -     0x7fff8af14ff7  com.apple.MediaKit (14 - 687) <8AAA8CC3-3ACD-34A5-9E57-9B24AD8AFD4D> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
    0x7fff8af1e000 -     0x7fff8af2bfff  libbz2.1.0.dylib (29) <CE9785E8-B535-3504-B392-82F0064D9AF2> /usr/lib/libbz2.1.0.dylib
    0x7fff8b057000 -     0x7fff8b0b1fff  com.apple.print.framework.PrintCore (8.3 - 387.2) <5BA0CBED-4D80-386A-9646-F835C9805B71> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff8b0b2000 -     0x7fff8b0b9fff  libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
    0x7fff8b0ba000 -     0x7fff8b255fef  com.apple.vImage (6.0 - 6.0) <FAE13169-295A-33A5-8E6B-7C2CC1407FA7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff8b288000 -     0x7fff8b385ff7  libxml2.2.dylib (22.3) <7FD09F53-83DA-3ECD-8DD9-870E1A2F0427> /usr/lib/libxml2.2.dylib
    0x7fff8b5e2000 -     0x7fff8b5e2fff  com.apple.Accelerate (1.8 - Accelerate 1.8) <878A6E7E-CB34-380F-8212-47FBF12C7C96> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff8b5e3000 -     0x7fff8b6d4ff7  com.apple.DiskImagesFramework (10.8.3 - 345) <F9FAEAF0-B9A5-34DF-94B7-926FB03AD5F6> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
    0x7fff8b6d5000 -     0x7fff8b6f7ff7  com.apple.Kerberos (2.0 - 1) <416543F5-E7AF-3269-843F-C8CDA8DD0FFA> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff8bd14000 -     0x7fff8bd2bfff  com.apple.GenerationalStorage (1.1 - 132.3) <FD4A84B3-13A8-3C60-A59E-25A361447A17> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff8bd2c000 -     0x7fff8c511ff7  libclh.dylib (4.0.3 - 4.0.3) <ECCDD699-CA06-3DDE-9B68-E32FAEFEE619> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
    0x7fff8c54d000 -     0x7fff8c5e8fff  com.apple.CoreSymbolication (3.0 - 117) <7D43ED93-BD81-338C-8076-6A932A1D19E8> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fff8c5e9000 -     0x7fff8c5fffff  com.apple.MultitouchSupport.framework (237.4 - 237.4) <0F7FEE29-161B-3D8E-BE91-308CBD354461> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff8c762000 -     0x7fff8c777fff  com.apple.ImageCapture (8.0 - 8.0) <71B24609-DEE9-3927-9C82-62E72270299C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff8c7a5000 -     0x7fff8c856fff  com.apple.LaunchServices (539.9 - 539.9) <07FC6766-778E-3479-8F28-D2C9917E1DD1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff8c8a5000 -     0x7fff8c8b3ff7  libkxld.dylib (2050.48.12) <B8F7ED1F-CF84-3777-9183-0A1C513DF81F> /usr/lib/system/libkxld.dylib
    0x7fff8c8b4000 -     0x7fff8c910ff7  com.apple.Symbolication (1.3 - 93) <D3AAB36A-D5EB-3044-BE9D-0B77E64C00FC> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fff8c911000 -     0x7fff8cc28ff7  com.apple.CoreServices.CarbonCore (1037.6 - 1037.6) <1E567A52-677F-3168-979F-5FBB0818D52B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff8cc29000 -     0x7fff8cc2cff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
    0x7fff8cc2d000 -     0x7fff8cc2dfff  libOpenScriptingUtil.dylib (148.3) <F8681222-0969-3B10-8BCE-C55A4B9C520C> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff8cc2e000 -     0x7fff8cc4dff7  libresolv.9.dylib (51) <0882DC2D-A892-31FF-AD8C-0BB518C48B23> /usr/lib/libresolv.9.dylib
    0x7fff8cc4e000 -     0x7fff8cc9dff7  libFontRegistry.dylib (100) <F7EC0287-58E4-3ABE-A45E-B105A68EA76E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff8cce3000 -     0x7fff8cd39fff  com.apple.HIServices (1.20 - 417) <A1129272-FEC8-350B-BA26-5A97F23C413D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff8cd95000 -     0x7fff8cead92f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
    0x7fff8ceae000 -     0x7fff8ceafff7  libsystem_sandbox.dylib (220.3) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8ceb0000 -     0x7fff8cf30ff7  com.apple.ApplicationServices.ATS (332 - 341.1) <AFDC05E6-F842-33D9-9379-81DF26E510CA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff8cf8c000 -     0x7fff8cf98fff  libCSync.A.dylib (333.1) <319D3E83-8086-3990-8773-872F2E7C6EB3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x7fff8cf99000 -     0x7fff8d03fff7  com.apple.CoreServices.OSServices (557.6 - 557.6) <1BDB5456-0CE9-301C-99C1-8EFD0D2BFCCD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff8d091000 -     0x7fff8d099fff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
    0x7fff8d09a000 -     0x7fff8d09efff  com.apple.IOSurface (86.0.4 - 86.0.4) <26F01CD4-B76B-37A3-989D-66E8140542B3> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff8d09f000 -     0x7fff8d0a5ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
    0x7fff8d19b000 -     0x7fff8d1e7ff7  libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
    0x7fff8d1e8000 -     0x7fff8d3e8fff  libicucore.A.dylib (491.11.3) <5783D305-04E8-3D17-94F7-1CEAFA975240> /usr/lib/libicucore.A.dylib
    0x7fff8d3f5000 -     0x7fff8d402ff7  com.apple.NetAuth (4.0 - 4.0) <A4A21A2F-B26A-3DC9-95E4-DAFA43A4A2C3> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff8d50c000 -     0x7fff8d575fff  libstdc++.6.dylib (56) <EAA2B53E-EADE-39CF-A0EF-FB9D4940672A> /usr/lib/libstdc++.6.dylib
    0x7fff8d576000 -     0x7fff8d595ff7  com.apple.ChunkingLibrary (2.0 - 133.3) <8BEC9AFB-DCAA-37E8-A5AB-24422B234ECF> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fff8d596000 -     0x7fff8d597fff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
    0x7fff8d598000 -     0x7fff8d5a3fff  libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
    0x7fff8d5a4000 -     0x7fff8d5eeff7  libGLU.dylib (8.10.1) <6699DEA6-9EEB-3B84-A57F-B25AE44EC584> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff8d6d7000 -     0x7fff8d972ff7  com.apple.JavaScriptCore (8536 - 8536.30) <FE3C5ADD-43D3-33C9-9150-8DCEFDA218E2> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x7fff8d973000 -     0x7fff8d9a9fff  com.apple.DebugSymbols (98 - 98) <7059F71D-9A82-3D32-99BB-E043DEDA6174> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fff8d9aa000 -     0x7fff8da9ffff  libiconv.2.dylib (34) <FEE8B996-EB44-37FA-B96E-D379664DEFE1> /usr/lib/libiconv.2.dylib
    0x7fff8daa0000 -     0x7fff8db3eff7  com.apple.ink.framework (10.8.2 - 150) <3D8D16A2-7E01-3EA1-B637-83A36D353308> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff8dc3e000 -     0x7fff8dc48fff  com.apple.speech.recognition.framework (4.1.5 - 4.1.5) <5A4B532E-3428-3F0A-8032-B0AFFF72CA3D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff8dc49000 -     0x7fff8dc5aff7  libsasl2.2.dylib (166) <649CAE0E-8FFE-3C60-A849-BE6300E4B726> /usr/lib/libsasl2.2.dylib
    0x7fff8dc63000 -     0x7fff8dc6afff  com.apple.NetFS (5.0 - 4.0) <195D8EC9-72BB-3E04-A64D-E1A89B4850C1> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff8dc6b000 -     0x7fff8dc71fff  com.apple.DiskArbitration (2.5.2 - 2.5.2) <C713A35A-360E-36CE-AC0A-25C86A3F50CA> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff8dc72000 -     0x7fff8dcb5ff7  com.apple.bom (12.0 - 192) <0EFE0F2D-B6DE-3D1E-93C2-EED6D96F70A2> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x7fff8dcb6000 -     0x7fff8dcbafff  libCGXType.A.dylib (333.1) <16625094-813E-39F8-9AFE-C1A24ED11749> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
    0x7fff8dcbb000 -     0x7fff8ddbdfff  libJP2.dylib (851) <26FFBDBF-9CCE-33D7-A45B-0A31C98DA37E> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff8de18000 -     0x7fff8de2dff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
    0x7fff8de2e000 -     0x7fff8df39fff  libFontParser.dylib (84.6) <96C42E49-79A6-3475-B5E4-6A782599A6DA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff8dff1000 -     0x7fff8dff1fff  com.apple.CoreServices (57 - 57) <45F1466A-8264-3BB7-B0EC-E5E5BFBED143> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff8dff2000 -     0x7fff8dff8fff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
    0x7fff8dff9000 -     0x7fff8e184fff  com.apple.WebKit (8536 - 8536.30.1) <56B86FA1-ED74-3001-8942-1CA2281540EC> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x7fff8e187000 -     0x7fff8e1cbfff  libcups.2.dylib (327.7) <9F35B58A-F47E-348A-8E09-E235FA4B9270> /usr/lib/libcups.2.dylib
    0x7fff8e1cc000 -     0x7fff8e341ff7  com.apple.CFNetwork (596.5 - 596.5) <22372475-6EF4-3A04-83FC-C061FE4717B3> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff8e342000 -     0x7fff8e356fff  com.apple.speech.synthesis.framework (4.1.12 - 4.1.12) <94EDF2AB-809C-3D15-BED5-7AD45B2A7C16> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff8e3dd000 -     0x7fff8e3faff7  com.apple.openscripting (1.3.6 - 148.3) <C008F56A-1E01-3D4C-A9AF-97799D0FAE69> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff8e3fb000 -     0x7fff8e403ff7  libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8e841000 -     0x7fff8e845ff7  com.apple.CommonPanels (1.2.5 - 94) <5F81D593-4B87-3DCC-B934-625D436B4CB1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff8e846000 -     0x7fff8e885ff7  com.apple.QD (3.42.1 - 285.1) <77A20C25-EBB5-341C-A05C-5D458B97AD5C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff8e886000 -     0x7fff8e89dfff  libGL.dylib (8.10.1) <F8BABA3C-7810-3A65-83FC-61945AA50E90> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff8e8f4000 -     0x7fff8e973ff7  com.apple.securityfoundation (6.0 - 55115.4) <8676E0DF-295F-3690-BDAA-6C9C1D210B88> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff8e974000 -     0x7fff8e9b7ff7  com.apple.RemoteViewServices (2.0 - 80.6) <5CFA361D-4853-3ACC-9EFC-A2AC1F43BA4B> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff8e9b9000 -     0x7fff8ea01fff  libcurl.4.dylib (69.2) <EBDBF42D-E4A6-3D05-A76B-2817D79D59E2> /usr/lib/libcurl.4.dylib
    0x7fff8ea62000 -     0x7fff8ea63fff  libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff8ea64000 -     0x7fff8ea95ff7  com.apple.DictionaryServices (1.2 - 184.4) <2EC80C71-263E-3D63-B461-6351C876C50D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff8ea96000 -     0x7fff8eb62ff7  libsystem_c.dylib (825.40.1) <543B05AE-CFA5-3EFE-8E58-77225411BA6B> /usr/lib/system/libsystem_c.dylib
    0x7fff8eb63000 -     0x7fff8eb68fff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
    0x7fff8eb69000 -     0x7fff8eb78ff7  libxar.1.dylib (105) <B6A7C8AA-3E20-3A1D-A7BA-4FD0052FA508> /usr/lib/libxar.1.dylib
    0x7fff8ebcf000 -     0x7fff8ebddfff  com.apple.Librarian (1.1 - 1) <5AC28666-7642-395F-A923-C6F8A274BBBD> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
    0x7fff8ebde000 -     0x7fff8ecb0ff7  com.apple.CoreText (260.0 - 275.17) <AB493289-E188-3CCA-8658-1E5039715F82> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff8f5b3000 -     0x7fff90572ff7  com.apple.WebCore (8536 - 8536.30.2) <3FF4783B-EF75-34F5-995C-316557148A18> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore
    0x7fff90575000 -     0x7fff90590ff7  libsystem_kernel.dylib (2050.48.12) <4B7993C3-F62D-3AC1-AF92-414A0D6EED5E> /usr/lib/system/libsystem_kernel.dylib
    0x7fff9079f000 -     0x7fff907a3ff7  com.apple.TCC (1.0 - 1) <76A86876-2280-3849-8478-450E1A8C0E01> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff907a4000 -     0x7fff907b6ff7  libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
    0x7fff907b7000 -     0x7fff91147627  com.apple.CoreGraphics (1.600.0 - 333.1) <C085C074-7260-3C3D-90C6-A65D3CB2BD41> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff91148000 -     0x7fff9115bff7  com.apple.LangAnalysis (1.7.0 - 1.7.0) <023D909C-3AFA-3438-88EB-05D0BDA5AFFE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff9115c000 -     0x7fff9115dff7  libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
    0x7fff911c3000 -     0x7fff911c4fff  liblangid.dylib (116) <864C409D-D56B-383E-9B44-A435A47F2346> /usr/lib/liblangid.dylib
    0x7fff91233000 -     0x7fff91269ff7  libsystem_info.dylib (406.17) <C9BA1024-043C-3BD5-908F-AF709E05DEE4> /usr/lib/system/libsystem_info.dylib
    0x7fff91275000 -     0x7fff91281fff  com.apple.CrashReporterSupport (10.8.3 - 418) <DE6AFE16-D97E-399D-82ED-3522C773C36E> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fff9128c000 -     0x7fff912b6ff7  com.apple.CoreVideo (1.8 - 99.4) <E5082966-6D81-3973-A05A-38AA5B85F886> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff91500000 -     0x7fff918f7fff  libLAPACK.dylib (1073.4) <D632EC8B-2BA0-3853-800A-20DA00A1091C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff9198f000 -     0x7fff91ceefff  com.apple.Foundation (6.8 - 945.18) <1D7E58E6-FA3A-3CE8-AC85-B9D06B8C0AA0> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff91cef000 -     0x7fff91cfefff  com.apple.opengl (1.8.10 - 1.8.10) <AD49CF56-B7C1-3598-8610-58532FC41345> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff91cff000 -     0x7fff91d56ff7  com.apple.ScalableUserInterface (1.0 - 1) <93C14595-6172-37E9-88F2-CBC80A1C54D0> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
    0x7fff91d57000 -     0x7fff91d7efff  com.apple.framework.familycontrols (4.1 - 410) <50F5A52C-8FB6-300A-977D-5CFDE4D5796B> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
    0x7fff91d7f000 -     0x7fff91d83fff  libpam.2.dylib (20) <C8F45864-5B58-3237-87E1-2C258A1D73B8> /usr/lib/libpam.2.dylib
    0x7fff91d84000 -     0x7fff91db2ff7  libsystem_m.dylib (3022.6) <11B6081D-6212-3EAB-9975-BED6234BD6A5> /usr/lib/system/libsystem_m.dylib
    0x7fff91db4000 -     0x7fff91dd4fff  libPng.dylib (851) <3466F35C-EC1A-3D1A-80DC-175857FA19D5> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff91dd5000 -     0x7fff91e2aff7  libTIFF.dylib (851) <7706BB07-E7E8-38BE-A5F0-D8B63E3B9283> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff91e2b000 -     0x7fff91e93fff  libvDSP.dylib (380.10) <3CA154A3-1BE5-3CF4-BE48-F0A719A963BB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff91f3c000 -     0x7fff91f3cfff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
    0x7fff91f3d000 -     0x7fff91f6bfff  com.apple.CoreServicesInternal (154.3 - 154.3) <F4E118E4-E327-3314-83D7-EA20B1717ED0> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff92002000 -     0x7fff92005fff  com.apple.help (1.3.2 - 42) <418A9A41-BCB4-32A2-97ED-3A388F69CA9D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff92048000 -     0x7fff92048fff  com.apple.Cocoa (6.7 - 19) <3CFC90D2-2BE9-3E5C-BFDB-5E161A2C2B29> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff921a8000 -     0x7fff921bbff7  libbsm.0.dylib (32) <F497D3CE-40D9-3551-84B4-3D5E39600737> /usr/lib/libbsm.0.dylib
    0x7fff921bc000 -     0x7fff921ddff7  libCRFSuite.dylib (33) <B49DA255-A4D9-33AF-95AB-B319570CDF7B> /usr/lib/libCRFSuite.dylib
    0x7fff92375000 -     0x7fff92fa2fff  com.apple.AppKit (6.8 - 1187.40) <F12CF463-6F88-32ED-9EBA-0FA2AD3CF576> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff92fa3000 -     0x7fff92fa4ff7  libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
    0x7fff933bd000 -     0x7fff933f8fff  com.apple.LDAPFramework (2.4.28 - 194.5) <7E4F2C08-0010-34AE-BC46-149B7EE8A0F5> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x7fff933f9000 -     0x7fff93493fff  libvMisc.dylib (380.10) <A7F12764-A94C-36EB-88E0-F826F5AF55B4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff93494000 -     0x7fff9349bfff  libGFXShared.dylib (8.10.1) <B4AB9480-2CDB-34F8-8D6F-F5A2CFC221B0> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff9349c000 -     0x7fff937ccfff  com.apple.HIToolbox (2.0 - 626.1) <656D08C2-9068-3532-ABDD-32EC5057CCB2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff937cd000 -     0x7fff93830fff  com.apple.audio.CoreAudio (4.1.2 - 4.1.2) <FEAB83AB-1DE5-3813-BA48-7A7F2374CCF0> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff93a77000 -     0x7fff93b51fff  com.apple.backup.framework (1.4.3 - 1.4.3) <6B65C44C-7777-3331-AD9D-438D10AAC777> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff93b9a000 -     0x7fff93b9cfff  libCVMSPluginSupport.dylib (8.10.1) <F0239392-E0CB-37D7-BFE2-D6F5D42F9196> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff93b9d000 -     0x7fff93b9dfff  com.apple.Carbon (154 - 155) <1B2846B1-384E-3D1C-8999-201215723349> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff93b9e000 -     0x7fff93bacff7  libsystem_network.dylib (77.10) <2AAA67A1-525E-38F0-8028-1D2B64716611> /usr/lib/system/libsystem_network.dylib
    0x7fff93e5d000 -     0x7fff93e5fff7  libunc.dylib (25) <2FDC94A7-3039-3680-85F3-2164E63B464D> /usr/lib/system/libunc.dylib
    0x7fff93f49000 -     0x7fff93f9aff7  com.apple.SystemConfiguration (1.12.2 - 1.12.2) <A4341BBD-A330-3A57-8891-E9C1A286A72D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff94188000 -     0x7fff94245ff7  com.apple.ColorSync (4.8.0 - 4.8.0) <73BE495D-8985-3B88-A7D0-23DF0CB50304> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff94246000 -     0x7fff942aeff7  libc++.1.dylib (65.1) <E5A0C88E-0837-3015-A987-F8C5A0D35DD6> /usr/lib/libc++.1.dylib
    0x7fff942b5000 -     0x7fff94336fff  com.apple.Metadata (10.7.0 - 707.12) <69E3EEF7-8B7B-3652-8320-B8E885370E56> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff94337000 -     0x7fff9456cff7  com.apple.CoreData (106.1 - 407.7) <24E0A6B4-9ECA-3D12-B26A-72B9DCF09768> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff9456d000 -     0x7fff94811ff7  com.apple.CoreImage (8.4.0 - 1.0.1) <CC6DD22B-FFC6-310B-BE13-2397A02C79EF> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff94812000 -     0x7fff94812fff  com.apple.Accelerate.vecLib (3.8 - vecLib 3.8) <F565B686-24E2-39F2-ACC3-C5E4084476BE> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff94acb000 -     0x7fff94af7ff7  libRIP.A.dylib (333.1) <CC2A33EB-409C-3C4D-97D4-41F4A080F874> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x7fff94b92000 -     0x7fff94b92fff  com.apple.vecLib (3.8 - vecLib 3.8) <6CBBFDC4-415C-3910-9558-B67176447789> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff94b93000 -     0x7fff94b95fff  libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
    0x7fff94bd5000 -     0x7fff94c0eff7  libssl.0.9.8.dylib (47.2) <46DF85DC-18FB-3108-91F6-52AE3EBF2347> /usr/lib/libssl.0.9.8.dylib
    0x7fff94c0f000 -     0x7fff94ee0ff7  com.apple.security (7.0 - 55179.13) <F428E306-C407-3B55-BA82-E58755E8A76F> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff94ee1000 -     0x7fff94f06ff7  libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
    0x7fff954ef000 -     0x7fff95511ff7  libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 3
    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: 9064
    thread_create: 2
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=201.6M resident=131.0M(65%) swapped_out_or_unallocated=70.6M(35%)
Writable regions: Total=207.8M written=40.4M(19%) resident=82.3M(40%) swapped_out=0K(0%) unallocated=125.5M(60%)
 
REGION TYPE                      VIRTUAL
===========                      =======
ATS (font support)                 31.9M
ATS (font support) (reserved)         8K        reserved VM address space (unallocated)
CG backing stores                  19.7M
CG image                              4K
CG raster data                       48K
CG shared images                    192K
CoreServices                       5540K
IOKit                              4108K
IOKit (reserved)                      4K        reserved VM address space (unallocated)
MALLOC                            127.8M
MALLOC guard page                    48K
MALLOC_LARGE (reserved)             304K        reserved VM address space (unallocated)
Mach message                          8K
Memory tag=242                       12K
Memory tag=243                        4K
STACK GUARD                        56.0M
Stack                              11.1M
VM_ALLOCATE                        16.1M
__DATA                             33.3M
__IMAGE                             528K
__LINKEDIT                         55.2M
__TEXT                            146.4M
__UNICODE                           544K
mapped file                        59.8M
shared memory                       308K
===========                      =======
TOTAL                             568.7M
TOTAL, minus reserved VM space    568.4M

Model: MacBookPro10,1, BootROM MBP101.00EE.B02, 4 processors, Intel Core i7, 2.7 GHz, 16 GB, SMC 2.3f36
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 512 MB
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (5.106.98.100.17)
Bluetooth: Version 4.1.7f4 12974, 3 service, 13 devices, 3 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SD512E, 500.28 GB
USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8510, 0x1a110000 / 3
USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424  (SMSC), 0x2512, 0x1d180000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0262, 0x1d182000 / 5
USB Device: BRCM20702 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x1d181000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8286, 0x1d181300 / 6
Comment 2 Jeremy Huddleston Sequoia 2015-11-09 01:40:06 UTC
Per http://xquartz.macosforge.org/trac/ticket/630, this can be triggered in XQuartz by simply executing 'setxkbmap -option "compose:lwin"'
Comment 3 Daniel Stone 2015-11-09 10:32:54 UTC
num_groups == 0 is a sign that things have gone pretty far south, and that your keymap has broken. Unfortunately if this doesn't occur outside XQuartz, I'm at a bit of a loss for debugging. :( I'd say the best approach would be to figure out why that happens in the first place.
Comment 4 Jeremy Huddleston Sequoia 2015-11-09 18:34:27 UTC
I added some logging to see where num_groups was getting set and what it was getting set to:

[3984938.260] Xquartz starting:
[3984938.260] X.Org X Server 1.17.99.902
[3984938.260] Build Date: 20151109
[3984938.264] x: 0, y: 0, w: 1440, h: 878
[3984938.284] (II) GLX: Initialized Core OpenGL GL provider for screen 0
[3984938.702] XkbInitControls: ctrls->num_groups == 1
[3984938.702] XkbInitControls: ctrls->num_groups == 1
[3984938.705] X11.app: DarwinProcessFDAdditionQueue_thread: Sleeping to allow xinitrc to catchup.
[3984938.921] (EE) Error loading keymap /tmp/server-2.xkm
[3984938.921] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[3984939.125] XkbInitControls: ctrls->num_groups == 1
[3984939.125] XkbChangeTypesOfKey: xkb->ctrls->num_groups = 2
[3984939.126] XkbChangeTypesOfKey: xkb->ctrls->num_groups = 2
[3984939.126] XkbChangeTypesOfKey: xkb->ctrls->num_groups = 2
[3984940.742] noPseudoramiXExtension=0, pseudoramiXNumScreens=1
[3984941.706] Calling ListenOnOpenFD() for new fd: 8

The above looks good at launch.  The call to 'setxkbmap -option "compose:lwin"' shows us:

[3984963.587] min_key_code = 8, max_key_code = 255, XkbNumKbdGroups=4
[3984963.587] nG = 0
<repeated>
[3984963.589] XkbCopyControls: dst->ctrls->num_groups = 0

So XkbKeyNumGroups(dst, i) is returning 0.
Comment 5 Jeremy Huddleston Sequoia 2015-11-09 18:37:58 UTC
Ah macros ... so XkbKeyNumGroups(dst, i) expands to:

dst->map->key_sym_map[i].group_info & 0x0f

So the group_info isn't getting set.
Comment 6 Jeremy Huddleston Sequoia 2015-11-09 18:41:37 UTC
And looking through the code, I don't see anywhere that we'd be expecting group_info to be set to anything other than 0.
Comment 7 GitLab Migration User 2018-12-13 18:37:55 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/283.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.