• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
LLDB “Couldn’t materialize” errors when Address Sanitizer is on
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LLDB “Couldn’t materialize” errors when Address Sanitizer is on


  • Subject: LLDB “Couldn’t materialize” errors when Address Sanitizer is on
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 06 Sep 2016 16:23:05 -0700

In the latest Xcode 8 beta, while debugging I’m getting a lot of those dreaded “Couldn’t materialize” errors from LLDB, where it can’t get the value of a variable. To be precise, the variable’s value doesn’t show up in the variables pane, and when I try to print it with LLDB I get:

(lldb) p size
error: Couldn't materialize: couldn't get the value of variable size: variable not available
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression

This is intermittent, but it happens even in debug builds, when I’m stopped at an ordinary breakpoint (not crashed).
It does seem to go away if I turn off the Address Sanitizer, but for obvious reasons I prefer to leave that on when I’m debugging.

Anyone else getting a lot of these in Xcode 8? Is it known to Apple yet?

—Jens

PS: Xcode 8 beta 6, latest macOS Sierra beta, building a Mac target, debugging C++ code.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: LLDB “Couldn’t materialize” errors when Address Sanitizer is on
      • From: Kuba Mracek <email@hidden>
  • Prev by Date: Re: Why isn't xcode 8 on the developer downloads URL?
  • Next by Date: Re: LLDB “Couldn’t materialize” errors when Address Sanitizer is on
  • Previous by thread: Re: Why isn't xcode 8 on the developer downloads URL?
  • Next by thread: Re: LLDB “Couldn’t materialize” errors when Address Sanitizer is on
  • Index(es):
    • Date
    • Thread