Skip to content

Editor randomly crashes on macOS #67

@111116

Description

@111116

The editor will crash sometimes when I click on objects, names of primitives or drag the vertical split line. It's not 100% happening, but It will happen within a few clicks, usually upon draging the split line.

I've tried both on release version and debug version of v0.2.2.

Error message:

Segmentation fault: 11

backtrace:

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
    frame #0: 0x00007fff45ae8483 CoreFoundation`_CFRelease + 1076
    frame #1: 0x00007fff459b8504 CoreFoundation`__CFBasicHashDrain + 359
    frame #2: 0x00007fff45ae813e CoreFoundation`_CFRelease + 239
    frame #3: 0x00007fff484ba5d5 IOSurface`IOSurfaceClientRelease + 219
    frame #4: 0x00007fff484ba4b0 IOSurface`-[IOSurface dealloc] + 44
    frame #5: 0x00007fff509a05bc QuartzCore`CA::release_objects(X::List<void const*>*) + 26
    frame #6: 0x00007fff509982d1 QuartzCore`CA::Transaction::commit() + 1161
    frame #7: 0x00007fff43039305 AppKit`__65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke + 274
    frame #8: 0x00007fff45a429cd CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    frame #9: 0x00007fff45a42902 CoreFoundation`__CFRunLoopDoObservers + 452
    frame #10: 0x00007fff459e4429 CoreFoundation`__CFRunLoopRun + 1166
    frame #11: 0x00007fff459e3d48 CoreFoundation`CFRunLoopRunSpecific + 463
    frame #12: 0x00007fff44c7aab5 HIToolbox`RunCurrentEventLoopInMode + 293
    frame #13: 0x00007fff44c7a6f4 HIToolbox`ReceiveNextEventCommon + 371
    frame #14: 0x00007fff44c7a568 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 64
    frame #15: 0x00007fff42f35363 AppKit`_DPSNextEvent + 997
    frame #16: 0x00007fff42f34102 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
    frame #17: 0x00007fff42f2e165 AppKit`-[NSApplication run] + 699
    frame #18: 0x000000011241fc85 libqcocoa.dylib`___lldb_unnamed_symbol647$$libqcocoa.dylib + 2757
    frame #19: 0x0000000104d2336f QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    frame #20: 0x0000000104d28582 QtCore`QCoreApplication::exec() + 130
  * frame #21: 0x0000000100067fef editor`main(argc=1, argv=0x00007ffeefbff698) at main.cpp:56:16
    frame #22: 0x00007fff72c25ed9 libdyld.dylib`start + 1
    frame #23: 0x00007fff72c25ed9 libdyld.dylib`start + 1

Environment

$ /Library/Developer/CommandLineTools/usr/bin/cc --version
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions