[LLVMbugs] [Bug 6650] New: bugpoint final cleanups fail under valgrind --trace-children=yes

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 18 11:23:59 PDT 2010


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

           Summary: bugpoint final cleanups fail under valgrind
                    --trace-children=yes
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: bugpoint
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jyasskin at google.com
                CC: llvmbugs at cs.uiuc.edu, nlewycky at google.com


This seems to be causing the failure at
http://google1.osuosl.org:8011/builders/llvm-i686-linux-vg/builds/94/steps/test-llvm/logs/crash-narrowfunctiontest.ll,
but I haven't tracked down the details yet.

$ Debug/bin/bugpoint ../src/test/BugPoint/crash-narrowfunctiontest.ll
-output-prefix test/BugPoint/Output/crash-narrowfunctiontest.ll.tmp
-bugpoint-crashcalls -silence-passes
...
*** Attempting to perform final cleanups: Crashed with signal #6
Dumped core
Emitted bitcode to
'test/BugPoint/Output/crash-narrowfunctiontest.ll.tmp-reduced-simplified.bc'

*** You can reproduce the problem with: opt
test/BugPoint/Output/crash-narrowfunctiontest.ll.tmp-reduced-simplified.bc
-bugpoint-crashcalls
$

but:

$ valgrind --trace-children=yes Debug/bin/bugpoint
../src/test/BugPoint/crash-narrowfunctiontest.ll -output-prefix
test/BugPoint/Output/crash-narrowfunctiontest.ll.tmp -bugpoint-crashcalls
-silence-passes
...
*** Attempting to perform final cleanups: Final cleanups failed.  Sorry. :( 
Please report a bug!
Exited with error code '1'
Emitted bitcode to
'test/BugPoint/Output/crash-narrowfunctiontest.ll.tmp-reduced-simplified.bc'

*** You can reproduce the problem with: opt
test/BugPoint/Output/crash-narrowfunctiontest.ll.tmp-reduced-simplified.bc
-bugpoint-crashcalls


valgrind without --trace-children produces the same output as no-valgrind.


Instead of crashing, valgrind seems to be causing an error exit, which may be
interfering with the path the test is trying to provoke. PR753 makes it harder
to track down the real problem.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list