www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19699] New: [2.085.0-beta.2] Obj-C segfault - in

https://issues.dlang.org/show_bug.cgi?id=19699

          Issue ID: 19699
           Summary: [2.085.0-beta.2] Obj-C segfault - in
                    objc_glue.getClassName
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: destructionator gmail.com

I can't figure out how to minimize this (I barely know how to use Macs at all),
but I got a segfault and from the debugger's disassembly, it appears to be line
600 of objc_glue.d, I think objcClass is null.

The call stack then leads to toDt().

If I can figure out how to build a debug dmd on this OS, I might be able to get
more info. Or if I can figure out dustmite I might be able to reduce the
example. Stay tuned for comments....

--
Feb 25 2019