[LLVMbugs] [Bug 17167] New: Using const_iterator on a vector fails on debug mode but not in release mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 9 08:17:01 PDT 2013


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

            Bug ID: 17167
           Summary: Using const_iterator on a vector fails on debug mode
                    but not in release mode
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: newsletters at philippberger.de
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11170
  --> http://llvm.org/bugs/attachment.cgi?id=11170&action=edit
Minimal Example that shows the problem

Using the most current clang build for Windows on the attached minimal example,
everything works as expected in Release Mode, but in Debug Mode it crashes with
the following message:

Debug Assertion Failed!
Program: C:\Windows\system32\MSVCP110D.dll
File: C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\include\xutility
Line: 196
Expression: ITERATOR LIST CORRUPTED!

System: Microsoft Windows 7 x64 SP1
Microsoft Visual Studio Professional 2012
Version 11.0.60610.01 Update 3
Microsoft .NET Framework
Version 4.5.50709

Clang: clang version 3.4
Target: i686-pc-win32
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130909/0dfac6e3/attachment.html>


More information about the llvm-bugs mailing list