OpenGL Profiler is crash

Originator:mayoff
Number:rdar://32663848 Date Originated:08-Jun-2017 06:06 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Version 9.0 beta (9M136h) / 10.13 Beta (17A264c)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
My app crashes when I attach to it with OpenGL Profiler. If I tell OpenGL Profiler to launch my app, it launches the app but never finishes attaching.

Here’s the stack trace of my test app’s crash when I attach:

OGL Profiler (8)
#0	0x000000010896516b in ___lldb_unnamed_symbol1356$$GLProfilerFBDisp ()
#1	0x0000000108965060 in ___lldb_unnamed_symbol1355$$GLProfilerFBDisp ()
#2	0x0000000108a85242 in ___lldb_unnamed_symbol4046$$GLProfilerFBDisp ()
#3	0x000000010892fd80 in gloTerminateLibrary ()
#4	0x00007fffc3035873 in ___lldb_unnamed_symbol11$$OpenGL ()
#5	0x00007fffc3035761 in ___lldb_unnamed_symbol9$$OpenGL ()
#6	0x00007fffc3035d37 in glcDebugListener ()
#7	0x0000000100ede83a in _pthread_body ()
#8	0x0000000100ede71c in _pthread_start ()
#9	0x0000000100edde19 in thread_start ()

There’s also this message in the lldb console:

gloInitializeLibrary: mach_msg_overwrite(kGLOMessageInitialize) (ipc/send) invalid msg-type

And this is the error message overlay in the editor pane:

OGL Profiler (8): EXC_BAD_ACCESS (code=1, address=0xa0)


Steps to Reproduce:
1. Build and run the attached sample project.
2. Launch OpenGL Profiler.
3. Attach to openglProfilerBug with the OpenGL Profiler.


Expected Results:
help debugging my app

Actual Results:
filing a radar about the OpenGL Profiler making my app crash

Version:
Version 9.0 beta (9M136h) / 10.13 Beta (17A264c)

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!