OSX: error starting main loop

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

OSX: error starting main loop

Postby bosko » Sun Feb 07, 2016 5:17 am

Hi all,

I am using CEF from Java Application. Using Mac 10.10.5 and CEF 2171.

There is one strange log that shows sometimes. It doesn't make any strange behaviour but I just wanted to ask if You know why it happens.

Code: Select all
2016-02-07 11:07:48.064 java[1229:30156] *** -[__NSArrayM objectAtIndex:]: index 3 beyond bounds [0 .. 2]
2016-02-07 11:07:48.067 java[1229:30156] (
   0   CoreFoundation                      0x00007fff9172803c __exceptionPreprocess + 172
   1   libobjc.A.dylib                     0x00007fff9073476e objc_exception_throw + 43
   2   CoreFoundation                      0x00007fff915f11e4 -[__NSArrayM objectAtIndex:] + 260
   3   AppKit                              0x00007fff8c4e8602 -[NSView _regionForOpaqueDescendants:forMove:forUnderTitlebar:] + 543
   4   AppKit                              0x00007fff8c4e8263 -[NSTitledFrame _regionForOpaqueDescendants:forMove:forUnderTitlebar:] + 115
   5   AppKit                              0x00007fff8c4e7dfe -[NSThemeFrame _regionForOpaqueDescendants:forMove:forUnderTitlebar:] + 227
   6   AppKit                              0x00007fff8c514d86 -[NSFrameView _resetDragMargins] + 240
   7   AppKit                              0x00007fff8c4d747a -[NSThemeFrame _resetDragMargins] + 208
   8   AppKit                              0x00007fff8c5036d9 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 1039
   9   AppKit                              0x00007fff8cc39171 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1540 + 46
   10  CoreFoundation                      0x00007fff91644127 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
   11  CoreFoundation                      0x00007fff91644080 __CFRunLoopDoObservers + 368
   12  CoreFoundation                      0x00007fff91636188 __CFRunLoopRun + 872
   13  CoreFoundation                      0x00007fff91635bd8 CFRunLoopRunSpecific + 296
   14  HIToolbox                           0x00007fff8f60956f RunCurrentEventLoopInMode + 235
   15  HIToolbox                           0x00007fff8f6092ea ReceiveNextEventCommon + 431
   16  HIToolbox                           0x00007fff8f60912b _BlockUntilNextEventMatchingListInModeWithFilter + 71
   17  AppKit                              0x00007fff8c5008ab _DPSNextEvent + 978
   18  AppKit                              0x00007fff8c4ffe58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
   19  AppKit                              0x00007fff8c4f5af3 -[NSApplication run] + 594
   20  Foundation                          0x00007fff8fcfddd0 __NSThreadPerformPerform + 293
   21  CoreFoundation                      0x00007fff91644a01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
   22  CoreFoundation                      0x00007fff91636c5c __CFRunLoopDoSources0 + 476
   23  CoreFoundation                      0x00007fff916361bf __CFRunLoopRun + 927
   24  CoreFoundation                      0x00007fff91635bd8 CFRunLoopRunSpecific + 296
   25  HIToolbox                           0x00007fff8f60956f RunCurrentEventLoopInMode + 235
   26  HIToolbox                           0x00007fff8f6091ee ReceiveNextEventCommon + 179
   27  HIToolbox                           0x00007fff8f60912b _BlockUntilNextEventMatchingListInModeWithFilter + 71
   28  AppKit                              0x00007fff8c5008ab _DPSNextEvent + 978
   29  AppKit                              0x00007fff8c4ffe58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
   30  AppKit                              0x00007fff8c4f5af3 -[NSApplication run] + 594
   31  Chromium Embedded Framework         0x000000012d19dcf1 cef_time_delta + 360593
   32  Chromium Embedded Framework         0x000000012d19d53c cef_time_delta + 358620
   33  Chromium Embedded Framework         0x000000012d1f36d7 cef_time_delta + 711287
   34  Chromium Embedded Framework         0x000000012d1dfafd cef_time_delta + 630429
   35  cmwf.dylib                          0x000000012ce349f9 _Z17CefRunMessageLoopv + 9
   36  cmwf.dylib                          0x000000012cd9842d _Z13mainLoopStartv + 13
   37  cmwf.dylib                          0x000000012cda2829 _Z16mainLoopStartCppv + 9
   38  libCef_JNI.dylib                    0x0000000129842515 Java_org_gs4tr_editor_cmwf_Cmwf_mainLoopStart + 53
   39  ???                                 0x000000010ff96e64 0x0 + 4562972260



Thanks in advance,
Bosko
bosko
Techie
 
Posts: 28
Joined: Tue May 01, 2012 10:47 am

Re: OSX: error starting main loop

Postby magreenblatt » Sun Feb 07, 2016 4:59 pm

What Java wrapper are you using?
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: OSX: error starting main loop

Postby bosko » Sun Feb 07, 2016 5:59 pm

I created library that handles CEF using JNI
bosko
Techie
 
Posts: 28
Joined: Tue May 01, 2012 10:47 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 33 guests