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

Encountered an unhandled type tag error on malformed print statement #23506

Open
kevinushey opened this issue Apr 6, 2015 · 0 comments
Open
Labels
bugzilla Issues migrated from bugzilla lldb

Comments

@kevinushey
Copy link

Bugzilla Link 23132
Version unspecified
OS All

Extended Description

Was testing out lldb in stepping through a simple mean function, and stumbled into this:

Breakpoint 2: where = sourceCpp_57725.so`Rcpp::sugar::Mean<14, true, Rcpp::Vector<14, Rcpp::PreserveStorage> >::get() const + 351 at mean.h:46, address = 0x000000010cf7e79f
(lldb) c
Process 4169 resuming
Process 4169 stopped

  • thread #​1: tid = 0x70d5, 0x000000010cf7e79f sourceCpp_57725.soRcpp::sugar::Mean<14, true, Rcpp::Vector<14, Rcpp::PreserveStorage> >::get(this=<unavailable>) const + 351 at mean.h:46, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1 frame #&#8203;0: 0x000000010cf7e79f sourceCpp_57725.soRcpp::sugar::Mean<14, true, Rcpp::Vector<14, Rcpp::PreserveStorage> >::get(this=) const + 351 at mean.h:46
    43 for (int i = 0; i < n; i++) {
    44 t += input[i] - s;
    45 }
    -> 46 s += t/n;
    47 }
    48 return (double)s ;
    49 }
    (lldb) print s
    error: portsrc.o {0x0000c21b}: unhandled type tag 0x0027 (DW_TAG_constant), please file a bug and attach the file at the start of this error message
    error: portsrc.o {0x0000dec0}: unhandled type tag 0x0027 (DW_TAG_constant), please file a bug and attach the file at the start of this error message
    error: portsrc.o {0x0000699d}: unhandled type tag 0x0027 (DW_TAG_constant), please file a bug and attach the file at the start of this error message
    error: warning: Stopped in a C++ method, but 'this' isn't available; pretending we are in a generic context
    error: use of undeclared identifier 's'
    error: 1 errors parsing expression

This is with git commit 1fe2076d4c88fcf374a1ce8f5486c340cb61a304; lldb was built from sources using

xcodebuild -configuration Release -target lldb-tool

Thanks,
Kevin

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla lldb
Projects
None yet
Development

No branches or pull requests

1 participant