[lldb-dev] [Bug 17931] New: FreeBSD test case failure due to "Couldn't malloc: address space is full"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 14 12:16:52 PST 2013


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

            Bug ID: 17931
           Summary: FreeBSD test case failure due to "Couldn't malloc:
                    address space is full"
           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

CrashingInferiorTestCase.test_inferior_crashing_expr_step_and_expr_dwarf
CrashingRecursiveInferiorTestCase.test_recursive_inferior_crashing_expr_step_and_expr_dwarf


e.g.

['dotest.py', '--executable',
'/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin/lldb', '-C',
'/usr/bin/clang', '-v', '-t', '-f',
'CrashingInferiorTestCase.test_inferior_crashing_expr_step_and_expr_dwarf']
LLDB library dir:
/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin
lldb version 3.4 (git at github.com:fbsd/lldb.git revision
0e531d37ffe067ffa0936ca483615ebd8b1a5dd5)
lldb.pre_flight: None
lldb.post_flight: None

Session logs for test failures/errors/unexpected successes will go into
directory '2013-11-14-15_16_23'
Command invoked: python dotest.py --executable
/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin/lldb -C
/usr/bin/clang -v -t -f
CrashingInferiorTestCase.test_inferior_crashing_expr_step_and_expr_d 
compilers=['/usr/bin/clang']

Configuration: arch=amd64 compiler=/usr/bin/clang
----------------------------------------------------------------------
Collected 1 test

Change dir to:
/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-crashing
1: test_inferior_crashing_expr_step_and_expr_dwarf
(TestInferiorCrashing.CrashingInferiorTestCase)
   Test that lldb expressions work before and after stepping after a crash. ... 
os command: [['/bin/sh', '-c', 'gmake clean;gmake MAKE_DSYM=NO ARCH=amd64
CC=/usr/bin/clang']]
with pid: 33067
stdout: rm -rf "a.out" ""  main.o main.d   *.d.[0-9] *.d.[0-9][0-9]
*.d.[0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9][0-9]
gmake: `a.out' is up to date.

stderr: 
retcode: 0


runCmd: file
/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-crashing/a.out
output: Current executable set to
'/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-crashing/a.out'
(x86_64).


runCmd: run
output: Process 33082 launched:
'/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-crashing/a.out'
(x86_64)


runCmd: thread list
output: Process 33082 stopped
* thread #1: tid = 33082, 0x000000000040063d a.out`main(argc=1,
argv=0x00007fffffffd260) + 61 at main.c:17, stop reason = invalid address
(fault address: 0x0)


Expecting sub string: stopped
Matched

Expecting sub string: stop reason = invalid address
Matched

runCmd: p argv[0]
output: (const char *) $0 = 0x00007fffffffd5a0
"/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-crashing/a.out"


Expecting sub string: a.out
Matched

runCmd: next
output: Process 33082 stopped


runCmd: thread list
output: Process 33082 stopped
* thread #1: tid = 33082, 0x000000000040063d a.out`main(argc=1,
argv=0x00007fffffffd260) + 61 at main.c:17, stop reason = invalid address
(fault address: 0x0)


Expecting sub string: stopped
Matched

Expecting sub string: stop reason = invalid address
Matched

runCmd: p argv[0]
runCmd failed!
error: Couldn't allocate space for the stack frame: Couldn't malloc: address
space is full
Errored out in Execute, couldn't PrepareToExecuteJITExpression


FAILURE

-- 
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/20131114/180fe853/attachment.html>


More information about the lldb-dev mailing list