Boost C++ Libraries: Ticket #12025: basic_usage example crashes with Visual Studio 2010 SP1 https://svn.boost.org/trac10/ticket/12025 <p> Build Boost 1.60 with the default options (dynamic linking). Build the provided sample (basic_usage), run; an access violation (invalid pointer read) occurs. The crash is not reproducible when everything is built with Visual Studio 2013 (a.k.a. 12.0). </p> <p> Microsoft (R) Windows Debugger Version 10.0.10586.567 X86 Copyright (c) Microsoft Corporation. All rights reserved. </p> <p> <a class="missing wiki">CommandLine</a>: C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi\basic_usage.exe </p> <p> <strong></strong><strong></strong><strong></strong>* Symbol Path validation summary <strong></strong><strong></strong><strong></strong><strong> Response Time (ms) Location OK C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi Deferred srv*C:\dbg\lcl*<br />ixro-symbolsrv\symbols*<a class="ext-link" href="http://msdl.microsoft.com/download/symbols"><span class="icon">​</span>http://msdl.microsoft.com/download/symbols</a> Symbol search path is: C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi;srv*C:\dbg\lcl*<br />ixro-symbolsrv\symbols*<a class="ext-link" href="http://msdl.microsoft.com/download/symbols"><span class="icon">​</span>http://msdl.microsoft.com/download/symbols</a> Executable search path is: <a class="missing wiki">ModLoad</a>: 00050000 00095000 basic_usage.exe <a class="missing wiki">ModLoad</a>: 77e60000 77fe0000 ntdll.dll <a class="missing wiki">ModLoad</a>: 758e0000 759f0000 C:\windows\syswow64\kernel32.dll <a class="missing wiki">ModLoad</a>: 776b0000 776f7000 C:\windows\syswow64\KERNELBASE.dll <a class="missing wiki">ModLoad</a>: 671e0000 671f9000 C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi\boost_date_time-vc100-mt-gd-1_60.dll <a class="missing wiki">ModLoad</a>: 61870000 61927000 C:\windows\SysWOW64\MSVCP100D.dll <a class="missing wiki">ModLoad</a>: 5fab0000 5fc23000 C:\windows\SysWOW64\MSVCR100D.dll <a class="missing wiki">ModLoad</a>: 6eb50000 6eb5a000 C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi\boost_system-vc100-mt-gd-1_60.dll <a class="missing wiki">ModLoad</a>: 65ce0000 65d0c000 C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi\boost_filesystem-vc100-mt-gd-1_60.dll <a class="missing wiki">ModLoad</a>: 76ae0000 76b81000 C:\windows\syswow64\ADVAPI32.dll <a class="missing wiki">ModLoad</a>: 75ad0000 75b7c000 C:\windows\syswow64\msvcrt.dll <a class="missing wiki">ModLoad</a>: 76f40000 76f59000 C:\windows\SysWOW64\sechost.dll <a class="missing wiki">ModLoad</a>: 75b90000 75c80000 C:\windows\syswow64\RPCRT4.dll <a class="missing wiki">ModLoad</a>: 75860000 758c0000 C:\windows\syswow64\<a class="missing wiki">SspiCli</a>.dll <a class="missing wiki">ModLoad</a>: 75850000 7585c000 C:\windows\syswow64\CRYPTBASE.dll <a class="missing wiki">ModLoad</a>: 67160000 6718b000 C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi\boost_thread-vc100-mt-gd-1_60.dll <a class="missing wiki">ModLoad</a>: 6f550000 6f55c000 C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi\boost_chrono-vc100-mt-gd-1_60.dll <a class="missing wiki">ModLoad</a>: 5dd20000 5de2a000 C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi\boost_log-vc100-mt-gd-1_60.dll <a class="missing wiki">ModLoad</a>: 774f0000 774f5000 C:\windows\syswow64\PSAPI.DLL <a class="missing wiki">ModLoad</a>: 5c330000 5c466000 C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi\boost_log_setup-vc100-mt-gd-1_60.dll <a class="missing wiki">ModLoad</a>: 5c150000 5c321000 C:\Users\fab\Documents\build\boost_1_60_0\bin.v2\libs\log\example\basic_usage\msvc-10.0\debug\build-no\threading-multi\boost_regex-vc100-mt-gd-1_60.dll <a class="missing wiki">ModLoad</a>: 76f80000 77080000 C:\windows\syswow64\USER32.dll <a class="missing wiki">ModLoad</a>: 773a0000 77430000 C:\windows\syswow64\GDI32.dll <a class="missing wiki">ModLoad</a>: 76f00000 76f0a000 C:\windows\syswow64\LPK.dll <a class="missing wiki">ModLoad</a>: 77430000 774cd000 C:\windows\syswow64\USP10.dll <a class="missing wiki">ModLoad</a>: 75c80000 75cb5000 C:\windows\syswow64\WS2_32.dll <a class="missing wiki">ModLoad</a>: 75a50000 75a56000 C:\windows\syswow64\NSI.dll (6994.8784): Break instruction exception - code 80000003 (first chance) eax=00000000 ebx=00000000 ecx=6e260000 edx=000de058 esi=fffffffe edi=00000000 eip=77f012fb esp=0030fac8 ebp=0030faf4 iopl=0 nv up ei pl zr na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000246 ntdllLdrpDoDebuggerBreak+0x2c: 77f012fb cc int 3 0:000&gt; g <a class="missing wiki">ModLoad</a>: 76b90000 76bf0000 C:\windows\SysWOW64\IMM32.DLL <a class="missing wiki">ModLoad</a>: 77500000 775cc000 C:\windows\syswow64\MSCTF.dll (6994.8784): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax=cd005b20 ebx=7efde000 ecx=cd005b20 edx=6191f5f0 esi=00000000 edi=00000000 eip=5fb2d540 esp=0030f364 ebp=0030f36c iopl=0 nv up ei pl zr na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246 MSVCR100D!strlen+0x30: 5fb2d540 8b01 mov eax,dword ptr [ecx] ds:002b:cd005b20=???????? 0:000&gt; !analyze -v </strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong>* </p> <ul><li> * </li><li> Exception Analysis * </li><li> * </li></ul><p> <strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong>* </strong></p> <p> DUMP_CLASS: 2 </p> <p> DUMP_QUALIFIER: 0 </p> <p> FAULTING_IP: MSVCR100D!strlen+30 5fb2d540 8b01 mov eax,dword ptr [ecx] </p> <p> EXCEPTION_RECORD: (.exr -1) <a class="missing wiki">ExceptionAddress</a>: 5fb2d540 (MSVCR100D!strlen+0x00000030) </p> <blockquote> <p> <a class="missing wiki">ExceptionCode</a>: c0000005 (Access violation) </p> </blockquote> <blockquote> <p> <a class="missing wiki">ExceptionFlags</a>: 00000000 </p> </blockquote> <p> <a class="missing wiki">NumberParameters</a>: 2 </p> <blockquote> <p> Parameter<a class="missing changeset" title="No changeset 0 in the repository">[0]</a>: 00000000 Parameter<a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>: cd005b20 </p> </blockquote> <p> Attempt to read from address cd005b20 </p> <p> FAULTING_THREAD: 00008784 </p> <p> DEFAULT_BUCKET_ID: INVALID_POINTER_READ </p> <p> PROCESS_NAME: basic_usage.exe </p> <p> ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s. </p> <p> EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s. </p> <p> EXCEPTION_CODE_STR: c0000005 </p> <p> EXCEPTION_PARAMETER1: 00000000 </p> <p> EXCEPTION_PARAMETER2: cd005b20 </p> <p> READ_ADDRESS: cd005b20 </p> <p> FOLLOWUP_IP: MSVCR100D!strlen+30 5fb2d540 8b01 mov eax,dword ptr [ecx] </p> <p> BUGCHECK_STR: INVALID_POINTER_READ </p> <p> WATSON_BKT_PROCSTAMP: 56d0d90d </p> <p> WATSON_BKT_MODULE: MSVCR100D.dll </p> <p> WATSON_BKT_MODSTAMP: 4df2be37 </p> <p> WATSON_BKT_MODOFFSET: 7d540 </p> <p> WATSON_BKT_MODVER: 10.0.40219.325 </p> <p> MODULE_VER_PRODUCT: Microsoft® Visual Studio® 2010 </p> <p> BUILD_VERSION_STRING: 6.1.7601.19110 (win7sp1_gdr.151230-0600) </p> <p> MODLIST_WITH_TSCHKSUM_HASH: 23f7d7b3424bd4578f73dc540ad6fafea9d49ba2 </p> <p> MODLIST_SHA1_HASH: 726c80d8215bb601da9fb8320eab4615a5dd08b8 </p> <p> NTGLOBALFLAG: 470 </p> <p> APPLICATION_VERIFIER_FLAGS: 0 </p> <p> PRODUCT_TYPE: 1 </p> <p> SUITE_MASK: 272 </p> <p> APP: basic_usage.exe </p> <p> ANALYSIS_SESSION_HOST: USCA-301065-L </p> <p> ANALYSIS_SESSION_TIME: 02-26-2016 16:32:18.0502 </p> <p> ANALYSIS_VERSION: 10.0.10586.567 x86fre </p> <p> THREAD_ATTRIBUTES: OS_LOCALE: ENU </p> <p> PROBLEM_CLASSES: </p> <p> INVALID_POINTER_READ </p> <blockquote> <p> Tid [0x8784] Frame [0x00]: msvcr100d!strlen </p> </blockquote> <p> LAST_CONTROL_TRANSFER: from 00053b6c to 5fb2d540 </p> <p> STACK_TEXT: 0030f360 00053b6c cd005b20 0030f37c 000590d0 MSVCR100D!strlen+0x30 0030f36c 000590d0 cd005b20 003780b8 0030f390 basic_usage!std::char_traits&lt;char&gt;::length+0xc 0030f37c 00076812 cd005b20 0030f6b8 003780b8 basic_usage!boost::log::v2_mt_nt5::basic_formatting_ostream&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;::operator&lt;&lt;+0x10 0030f390 000761ab 003781fc 0030f3bf 00071c3c basic_usage!boost::log::v2_mt_nt5::expressions::aux::stream_ref&lt;boost::log::v2_mt_nt5::basic_formatting_ostream&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;::operator&lt;&lt;&lt;char const (&amp;)<a class="changeset" href="https://svn.boost.org/trac10/changeset/3" title="Tweak disclaimer text">[3]</a>&gt;+0x22 0030f3a4 000760cf 003781ec 0030f68c 0030f68b basic_usage! ?? :: ?? ::operator()+0x4b 0030f3c0 00075f6d 003781ec 0030f440 0030f3db basic_usage! ?? :: ?? ::operator()+0x2f 0030f3dc 00075db5 003781ec 0030f440 0030f418 basic_usage!??$?RABU?$actor@U?$basic_expr@Ushift_left@tag@tagns_@proto@boost@@U?$list2@U?$actor@V?$attribute_output_terminal@U?$actor@U?$basic_expr@Uterminal@tag@tagns_@proto@boost@@U?$term@U?$argument@$01@phoenix@boost@@@argsns_@45@$0d2e69b93c6b9f6345054ad7e10bb510f+0x1d 0030f3ec 00075c16 003781ec 0030f440 003781ec basic_usage!??$eval@U?$actor@U?$basic_expr@Ushift_left@tag@tagns_@proto@boost@@U?$list2@U?$actor@V?$attribute_output_terminal@U?$actor@U?$basic_expr@Uterminal@tag@tagns_@proto@boost@@U?$term@U?$argument@$01@phoenix@boost@@@argsns_@45@$e6e485792ec619c3a5034c0135018cca+0x15 0030f418 000759e3 0030f440 0030f44b 0030f44c basic_usage!operator()&lt; ?? :: ?? &gt;+0x16 0030f428 00075516 003781ec 0030f440 0030f46a basic_usage!operator()&lt; ?? :: ?? const &gt;+0x13 0030f44c 000754a4 003781ec 0030f68c 0030f68b basic_usage! ?? :: ?? ::operator()+0x56 0030f46c 000753cf 003781ec 0030f68c 0030f68b basic_usage! ?? :: ?? ::operator()+0x44 0030f488 0007521d 003781ec 0030f508 0030f4a3 basic_usage! ?? :: ?? ::operator()+0x2f 0030f4a4 00074d25 003781ec 0030f508 0030f4e0 basic_usage!operator()&lt; ?? :: ?? const &amp;&gt;+0x1d 0030f4b4 000746e6 003781ec 0030f508 003781ec basic_usage!??$eval@U?$actor@U?$basic_expr@Ushift_left@tag@tagns_@proto@boost@@U?$list2@U?$actor@V?$attribute_output_terminal@U?$actor@U?$basic_expr@Ushift_left@tag@tagns_@proto@boost@@U?$list2@U?$actor@V?$attribute_output_terminal@U?$550d5237330c943845073058817d641f+0x15 0030f4e0 00073f13 0030f508 0030f513 0030f514 basic_usage!operator()&lt; ?? :: ?? &gt;+0x16 0030f4f0 000735a6 003781ec 0030f508 0030f532 basic_usage!operator()&lt; ?? :: ?? const &gt;+0x13 0030f514 00073534 003781ec 0030f68c 0030f68b basic_usage! ?? :: ?? ::operator()+0x56 0030f534 000734df 003781ec 0030f68c 0030f68b basic_usage! ?? :: ?? ::operator()+0x44 0030f550 000731fd 003781ec 0030f5d0 0030f56b basic_usage! ?? :: ?? ::operator()+0x2f 0030f56c 00072e35 003781ec 0030f5d0 0030f5a8 basic_usage!operator()&lt; ?? :: ?? const &amp;&gt;+0x1d 0030f57c 00072486 003781ec 0030f5d0 003781ec basic_usage!??$eval@U?$actor@U?$basic_expr@Ushift_left@tag@tagns_@proto@boost@@U?$list2@U?$actor@V?$attribute_output_terminal@U?$actor@U?$basic_expr@Ushift_left@tag@tagns_@proto@boost@@U?$list2@U?$actor@V?$attribute_output_terminal@U?$4268d1bfe45dd86c9612e7bda42eab8e+0x15 0030f5a8 00071e83 0030f5d0 0030f5db 0030f5dc basic_usage!operator()&lt; ?? :: ?? &gt;+0x16 0030f5b8 00071646 003781ec 0030f5d0 0030f5fa basic_usage!operator()&lt; ?? :: ?? const &gt;+0x13 0030f5dc 000714f4 003781ec 0030f68c 0030f68b basic_usage! ?? :: ?? ::operator()+0x56 0030f5fc 00071408 003781ec 0030f68c 0030f68b basic_usage! ?? :: ?? ::operator()+0x44 0030f624 0007134f 003781ec 0030f68c 0030f68b basic_usage! ?? :: ?? ::operator()+0x48 0030f640 000712cd 003781ec 0030f680 0030f65b basic_usage! ?? :: ?? ::operator()+0x2f 0030f65c 000711d5 003781ec 0030f680 0030f698 basic_usage!operator()&lt; ?? :: ?? &amp;&gt;+0x1d 0030f66c 00070ebe 003781ec 0030f680 003781ec basic_usage!eval&lt; ?? :: ?? &gt;+0x15 0030f698 00070bd6 0030f844 0030f6b8 0030f6c0 basic_usage!boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2&lt;boost::phoenix::actor&lt;boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2&lt;boost::phoenix::actor&lt;boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2&lt;boost::phoenix::actor&lt;boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2&lt;boost::phoenix::actor&lt;boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term&lt;boost::phoenix::argument&lt;2&gt; &gt;,0&gt; &gt;,boost::posix_time::ptime,boost::log::v2_mt_nt5::fallback_to_none,boost::log::v2_mt_nt5::aux::light_function&lt;void <span class="underline">cdecl(boost::log::v2_mt_nt5::basic_formatting_ostream&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp;,boost::posix_time::ptime const &amp;)&gt; &gt; &gt;,boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term&lt;char [3]&gt;,0&gt; &gt; &gt;,2&gt; &gt;,boost::posix_time::time_duration,boost::log::v2_mt_nt5::fallback_to_none,boost::log::v2_mt_nt5::aux::light_function&lt;void </span>cdecl(boost::log::v2_mt_nt5::basic_formatting_ostream&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp;,boost::posix_time::time_duration const &amp;)&gt; &gt; &gt;,boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term&lt;char [4]&gt;,0&gt; &gt; &gt;,2&gt; &gt;,boost::log::v2_mt_nt5::attributes::named_scope_list+0x3e 0030f6a8 0006a5be 003781e0 0030f844 003780b8 basic_usage!boost::log::v2_mt_nt5::aux::light_function&lt;void <span class="underline">cdecl(boost::log::v2_mt_nt5::record_view const &amp;,boost::log::v2_mt_nt5::expressions::aux::stream_ref&lt;boost::log::v2_mt_nt5::basic_formatting_ostream&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;)&gt;::impl&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2&lt;boost::phoenix::actor&lt;boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2&lt;boost::phoenix::actor&lt;boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2&lt;boost::phoenix::actor&lt;boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2&lt;boost::phoenix::actor&lt;boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal&lt;boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term&lt;boost::phoenix::argument&lt;2&gt; &gt;,0&gt; &gt;,boost::posix_time::ptime,boost::log::v2_mt_nt5::fallback_to_none,boost::log::v2_mt_nt5::aux::light_function&lt;void </span>cdecl(boost::log::v2_mt_nt5::basic_formatting_ostream&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp;,boost::posix_time::ptime const &amp;)&gt; &gt; &gt;,boost::phoenix::actor&lt;boost::proto::exprns_::basic_expr&lt;boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term&lt;char [3]&gt;,0&gt; &gt; &gt;,2&gt; &gt;,boost::posix_time::time_duration,boost::log::v2_mt_nt5::fallback_to_none,boost::log::v2_mt_nt5::aux::light_function&lt;void <span class="underline">cdecl(boost::log::v2_mt_nt5::basic_formatting_ostream&lt;char,std::char_traits&lt;char&gt;,std::+0x16 0030f6c0 00068df4 0030f844 003780b8 00378158 basic_usage!boost::log::v2_mt_nt5::aux::light_function&lt;void </span>cdecl(boost::log::v2_mt_nt5::record_view const &amp;,boost::log::v2_mt_nt5::expressions::aux::stream_ref&lt;boost::log::v2_mt_nt5::basic_formatting_ostream&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;)&gt;::operator()+0x1e 0030f6d8 0006bd53 0030f844 003780b8 f255b0d0 basic_usage!boost::log::v2_mt_nt5::basic_formatter&lt;char&gt;::operator()+0x24 0030f734 00069456 0030f844 0030f777 0037774c basic_usage!boost::log::v2_mt_nt5::sinks::basic_formatting_sink_frontend&lt;char&gt;::feed_record&lt;boost::log::v2_mt_nt5::aux::fake_mutex,boost::log::v2_mt_nt5::sinks::text_file_backend&gt;+0x123 0030f790 00069076 0030f844 0037763c 0037774c basic_usage!boost::log::v2_mt_nt5::sinks::basic_formatting_sink_frontend&lt;char&gt;::try_feed_record&lt;boost::recursive_mutex,boost::log::v2_mt_nt5::sinks::text_file_backend&gt;+0x166 0030f7a8 5dd3203c 0030f844 f257c1eb 00000000 basic_usage!boost::log::v2_mt_nt5::sinks::synchronous_sink&lt;boost::log::v2_mt_nt5::sinks::text_file_backend&gt;::try_consume+0x26 0030f88c 00055ac4 0030fa88 003762a8 0030f8ac boost_log_vc100_mt_gd_1_60!boost::log::v2_mt_nt5::core::push_record_move+0x1ec 0030f89c 00055ba3 0030fa88 0030fac0 0030f8bc basic_usage!boost::log::v2_mt_nt5::core::push_record+0x14 0030f8ac 0005419c 0030fa88 0030fac0 0030f8e0 basic_usage!boost::log::v2_mt_nt5::sources::basic_logger&lt;char,boost::log::v2_mt_nt5::sources::severity_logger&lt;enum severity_level&gt;,boost::log::v2_mt_nt5::sources::single_thread_model&gt;::push_record_unlocked+0x23 0030f8bc 000539c6 0030fa88 f255bf04 0030f99c basic_usage!boost::log::v2_mt_nt5::sources::basic_composite_logger&lt;char,boost::log::v2_mt_nt5::sources::severity_logger&lt;enum severity_level&gt;,boost::log::v2_mt_nt5::sources::single_thread_model,boost::log::v2_mt_nt5::sources::features&lt;boost::log::v2_mt_nt5::sources::severity&lt;enum severity_level&gt;,void,void,void,void,void,void,void,void,void&gt; &gt;::push_record+0x1c 0030f8e0 00051e3b f255b914 77eeae8a 00730000 basic_usage!boost::log::v2_mt_nt5::aux::record_pump&lt;boost::log::v2_mt_nt5::sources::severity_logger&lt;enum severity_level&gt; &gt;::~record_pump&lt;boost::log::v2_mt_nt5::sources::severity_logger&lt;enum severity_level&gt; &gt;+0x76 0030fef0 0007947f 00000001 00375e48 00372590 basic_usage!main+0x7db 0030ff40 000792af 0030ff54 758f338a 7efde000 basic_usage__tmainCRTStartup+0x1bf 0030ff48 758f338a 7efde000 0030ff94 77e99882 basic_usage!mainCRTStartup+0xf 0030ff54 77e99882 7efde000 2599203a 00000000 kernel32BaseThreadInitThunk+0xe 0030ff94 77e99855 000792a0 7efde000 00000000 ntdll__RtlUserThreadStart+0x70 0030ffac 00000000 000792a0 7efde000 00000000 ntdll!_RtlUserThreadStart+0x1b </p> <p> THREAD_SHA1_HASH_MOD_FUNC: 2ee01213d81aced8ef78209836d9640527726a2c </p> <p> THREAD_SHA1_HASH_MOD_FUNC_OFFSET: 84b43e4056014207aa74cd9d11fd42d0e18e5ef1 </p> <p> THREAD_SHA1_HASH_MOD: e8563ff5c1b20105720dd70f4ac46ec908117c13 </p> <p> FAULT_INSTR_CODE: ffba018b </p> <p> SYMBOL_STACK_INDEX: 0 </p> <p> SYMBOL_NAME: msvcr100d!strlen+30 </p> <p> FOLLOWUP_NAME: <a class="missing wiki">MachineOwner</a> </p> <p> MODULE_NAME: MSVCR100D </p> <p> IMAGE_NAME: MSVCR100D.dll </p> <p> DEBUG_FLR_IMAGE_TIMESTAMP: 4df2be37 </p> <p> STACK_COMMAND: ~0s ; kb </p> <p> BUCKET_ID: INVALID_POINTER_READ_msvcr100d!strlen+30 </p> <p> PRIMARY_PROBLEM_CLASS: INVALID_POINTER_READ_msvcr100d!strlen+30 </p> <p> BUCKET_ID_OFFSET: 30 </p> <p> BUCKET_ID_MODULE_STR: MSVCR100D </p> <p> BUCKET_ID_MODTIMEDATESTAMP: 4df2be37 </p> <p> BUCKET_ID_MODCHECKSUM: 178dbe </p> <p> BUCKET_ID_MODVER_STR: 10.0.40219.325 </p> <p> BUCKET_ID_PREFIX_STR: INVALID_POINTER_READ_ </p> <p> FAILURE_PROBLEM_CLASS: INVALID_POINTER_READ </p> <p> FAILURE_EXCEPTION_CODE: c0000005 </p> <p> FAILURE_IMAGE_NAME: MSVCR100D.dll </p> <p> FAILURE_FUNCTION_NAME: strlen </p> <p> BUCKET_ID_FUNCTION_STR: strlen </p> <p> FAILURE_SYMBOL_NAME: MSVCR100D.dll!strlen </p> <p> FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_MSVCR100D.dll!strlen </p> <p> TARGET_TIME: 2016-02-27T00:32:22.000Z </p> <p> OSBUILD: 7601 </p> <p> OSSERVICEPACK: 1 </p> <p> SERVICEPACK_NUMBER: 0 </p> <p> OS_REVISION: 0 </p> <p> OSPLATFORM_TYPE: x86 </p> <p> OSNAME: Windows 7 </p> <p> OSEDITION: Windows 7 <a class="missing wiki">WinNt</a> (Service Pack 1) SingleUserTS </p> <p> USER_LCID: 0 </p> <p> OSBUILD_TIMESTAMP: 2015-12-30 10:44:15 </p> <p> BUILDDATESTAMP_STR: 151230-0600 </p> <p> BUILDLAB_STR: win7sp1_gdr </p> <p> BUILDOSVER_STR: 6.1.7601.19110 </p> <p> ANALYSIS_SESSION_ELAPSED_TIME: db4 </p> <p> ANALYSIS_SOURCE: UM </p> <p> FAILURE_ID_HASH_STRING: um:invalid_pointer_read_c0000005_msvcr100d.dll!strlen </p> <p> FAILURE_ID_HASH: {502542b2-9636-97cf-af96-026c360f1fbf} </p> <p> Followup: <a class="missing wiki">MachineOwner</a> </p> <hr /> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12025 Trac 1.4.3 fab@… Sat, 27 Feb 2016 00:41:25 GMT <link>https://svn.boost.org/trac10/ticket/12025#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12025#comment:1</guid> <description> <p> If needed, exact command to build boost: </p> <p> b2 -j %NUMBER_OF_PROCESSORS% toolset=msvc-10.0 --build-type=complete debug </p> <p> Command used to build basic_usage: </p> <p> C:\Users\fab\Documents\build\boost_1_60_0\libs\log\example\basic_usage&gt;..\..\..\..\bjam.exe toolset=msvc-10.0 </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sat, 27 Feb 2016 20:18:05 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/12025#comment:2 https://svn.boost.org/trac10/ticket/12025#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Should be fixed in <a class="ext-link" href="https://github.com/boostorg/log/commit/4cd22e1103ce2e15a54a3998390e0f9a1a1580f9"><span class="icon">​</span>https://github.com/boostorg/log/commit/4cd22e1103ce2e15a54a3998390e0f9a1a1580f9</a>. Thanks for the report. </p> Ticket fab@… Mon, 29 Feb 2016 18:17:13 GMT <link>https://svn.boost.org/trac10/ticket/12025#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12025#comment:3</guid> <description> <p> Thanks!!! I verified on my end that the fix is indeed very effective! </p> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/12025#comment:2" title="Comment 2">andysem</a>: </p> <blockquote class="citation"> <p> Should be fixed in <a class="ext-link" href="https://github.com/boostorg/log/commit/4cd22e1103ce2e15a54a3998390e0f9a1a1580f9"><span class="icon">​</span>https://github.com/boostorg/log/commit/4cd22e1103ce2e15a54a3998390e0f9a1a1580f9</a>. Thanks for the report. </p> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 24 Mar 2016 15:12:57 GMT</pubDate> <title>status changed; resolution deleted https://svn.boost.org/trac10/ticket/12025#comment:4 https://svn.boost.org/trac10/ticket/12025#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> As explained in <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/11918" title="#11918: Bugs: access violation when using string literals with lambda style ... (closed: duplicate)">#11918</a>, this error also occurs on msvc11. The fix seems to work for this version too. </p> <p> Could you push it as a bugfix to 1.61? </p> Ticket Andrey Semashev Thu, 24 Mar 2016 21:25:42 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12025#comment:5 https://svn.boost.org/trac10/ticket/12025#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Extended the workaround for MSVC-11 in <a class="ext-link" href="https://github.com/boostorg/log/commit/4eeadedc98f62db81dfff2e228c7ca1e0451605a"><span class="icon">​</span>https://github.com/boostorg/log/commit/4eeadedc98f62db81dfff2e228c7ca1e0451605a</a>. </p> Ticket