[lldb-dev] [Bug 17213] New: Expression evaluation fails on FreeBSD in some cases

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 12 11:28:24 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17213

            Bug ID: 17213
           Summary: Expression evaluation fails on FreeBSD in some cases
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

See also 17184 - expression evaluation fails for many cases of a crashing /
asserting inferior.

There are two other cases where expression evaluation fails in the absence of a
crashing inferior.

BreakpointConditionsTestCase.test_breakpoint_condition_inline_with_dwarf_and_run_command
BreakpointConditionsTestCase.test_breakpoint_condition_with_dwarf_and_run_command

E.g.

% bin/lldb
../tools/lldb/test/functionalities/breakpoint/breakpoint_conditions/a.out
Current executable set to
'../tools/lldb/test/functionalities/breakpoint/breakpoint_conditions/a.out'
(x86_64).
(lldb) breakpoint set --name c -c 'val == 3'
Breakpoint 1: where = a.out`c + 7 at main.c:36, address = 0x0000000000400667
(lldb) run
Process 27897 launched:
'../tools/lldb/test/functionalities/breakpoint/breakpoint_conditions/a.out'
(x86_64)
Process 27897 stopped
* thread #1: tid = 102689, 0x00000000008004d0
a.out`_start(ap=0x0000000000000000, cleanup=0x0000000000001000) at crt1.c:65,
stop reason = breakpoint 1.1
    frame #0: 0x00000000008004d0 a.out`_start(ap=0x0000000000000000,
cleanup=0x0000000000001000) at crt1.c:65
   62   /* The entry function. */
   63   void
   64   _start(char **ap, void (*cleanup)(void))
-> 65   {
   66           int argc;
   67           char **argv;
   68           char **env;
Stopped due to an error evaluating condition of breakpoint 1.1: "val == 3"
Couldn't execute expression:
Couldn't materialize struct: size of variable val disagrees with the
ValueObject's size (0,4)
Errored out in Execute, couldn't PrepareToExecuteJITExpression

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130912/80ce7519/attachment.html>


More information about the lldb-dev mailing list