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

Editor randomly crashes on macOS #67

Open
111116 opened this issue Mar 6, 2020 · 2 comments
Open

Editor randomly crashes on macOS #67

111116 opened this issue Mar 6, 2020 · 2 comments

Comments

@111116
Copy link

111116 commented Mar 6, 2020

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
@CounterPillow
Copy link
Contributor

I'm gonna go ahead and say triggering a compiler trap that is 18 stack frames deep into Apple's code is probably not Tungsten's problem.

@bjorn3
Copy link

bjorn3 commented Mar 6, 2020

It may be an accidentially released object.

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

3 participants