Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hang in CGSGetSurfaceBounds #53

Open
albertz opened this issue May 20, 2015 · 0 comments
Open

Hang in CGSGetSurfaceBounds #53

albertz opened this issue May 20, 2015 · 0 comments

Comments

@albertz
Copy link
Owner

albertz commented May 20, 2015

0   MusicPlayer                         0x000000010000568c print_backtrace + 61
1   MusicPlayer                         0x0000000100008408 _ZN5boost6detail8function26void_function_obj_invoker3IZN18ThreadHangDetector17_backgroundThreadEvEUliPvS4_E_viS4_S4_E6invokeERNS1_15function_bufferEiS4_S4_ + 48
2   MusicPlayer                         0x0000000100002c10 _ZNK5boost9function3IviPvS1_EclEiS1_S1_ + 28
3   MusicPlayer                         0x00000001000028ac _ZL25_callstack_signal_handleriP9__siginfoPv + 52
4   libsystem_platform.dylib            0x00007fff92929f1a _sigtramp + 26
5   ???                                 0x3ff0000000000000 0x0 + 4607182418800017408
6   CoreGraphics                        0x00007fff8ee74fa6 _CGSGetSurfaceBounds + 128
7   CoreGraphics                        0x00007fff8ee74ec6 CGSGetSurfaceBounds + 97
8   AppKit                              0x00007fff8b7bf4e6 -[NSSurface setFrame:] + 848
9   AppKit                              0x00007fff8b7bede0 -[NSSurface syncToViewUnconditionally] + 161
10  AppKit                              0x00007fff8be150ac -[NSView _syncAndDisplaySurfaceIfNecessary:] + 282
11  CoreFoundation                      0x00007fff938cbcdc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
12  CoreFoundation                      0x00007fff937bd244 _CFXNotificationPost + 3140
13  Foundation                          0x00007fff8b21fc31 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
14  AppKit                              0x00007fff8b856e80 -[NSView _sendSurfaceSyncNotificationAndFlushSurfacesWithRegionToDisplay:] + 87
15  AppKit                              0x00007fff8b82ba93 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4753
16  AppKit                              0x00007fff8b809e2d -[NSView displayIfNeeded] + 1876
17  AppKit                              0x00007fff8b8271c5 -[NSWindow displayIfNeeded] + 232
18  AppKit                              0x00007fff8b864322 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 936
19  AppKit                              0x00007fff8be2d0e1 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1531 + 46
20  CoreFoundation                      0x00007fff9382cda7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
21  CoreFoundation                      0x00007fff9382cd00 __CFRunLoopDoObservers + 368
22  CoreFoundation                      0x00007fff9381ee08 __CFRunLoopRun + 872
23  CoreFoundation                      0x00007fff9381e858 CFRunLoopRunSpecific + 296
24  HIToolbox                           0x00007fff9435caef RunCurrentEventLoopInMode + 235
25  HIToolbox                           0x00007fff9435c86a ReceiveNextEventCommon + 431
26  HIToolbox                           0x00007fff9435c6ab _BlockUntilNextEventMatchingListInModeWithFilter + 71
27  AppKit                              0x00007fff8b704f81 _DPSNextEvent + 964
28  AppKit                              0x00007fff8b704730 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
29  AppKit                              0x00007fff8b6f8593 -[NSApplication run] + 594
30  _guiCocoa.so                        0x00000001083bf2f1 _Z13guiCocoa_mainP7_object + 175

Probably related are these issues from Chrome: here, here, here.

As far as I understand, the work-around was to use a separate front buffer texture. See here or here and search for http://crbug.com/234428.

Other maybe related Python threads:

Thread 0x0000000122bfb000:
  File "mediakeys.py", line 96 in runEventsCapture
  File "utils.py", line 1359 in doCall
  File "threading.py", line 761 in run
  File "threading.py", line 808 in __bootstrap_inner
  File "threading.py", line 781 in __bootstrap

Thread 0x0000000120001000:
  File "utils.py", line 1094 in get
  File "guiCocoa.py", line 371 in getBmpData
  File "utils.py", line 1359 in doCall
  File "threading.py", line 761 in run
  File "threading.py", line 808 in __bootstrap_inner
  File "threading.py", line 781 in __bootstrap

Thread 0x000000011f188000:
  File "utils.py", line 1094 in get
  File "guiCocoa.py", line 371 in getBmpData
  File "utils.py", line 1359 in doCall
  File "threading.py", line 761 in run
  File "threading.py", line 808 in __bootstrap_inner
  File "threading.py", line 781 in __bootstrap

Thread 0x000000011d1f1000:
  File "utils.py", line 1094 in get
  File "guiCocoa.py", line 371 in getBmpData
  File "utils.py", line 1359 in doCall
  File "threading.py", line 761 in run
  File "threading.py", line 808 in __bootstrap_inner
  File "threading.py", line 781 in __bootstrap

Thread 0x0000000111ac4000:
  File "guiCocoa.py", line 401 in playCursorUpdater
  File "utils.py", line 1359 in doCall
  File "threading.py", line 761 in run
  File "threading.py", line 808 in __bootstrap_inner
  File "threading.py", line 781 in __bootstrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant