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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to