Opened 7 years ago

Closed 7 years ago

#12025 closed Bugs (fixed)

basic_usage example crashes with Visual Studio 2010 SP1

Reported by: fab@… Owned by: Andrey Semashev
Milestone: To Be Determined Component: log
Version: Boost 1.60.0 Severity: Regression
Keywords: Cc: andrey.semashev@…

Description

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).

Microsoft (R) Windows Debugger Version 10.0.10586.567 X86 Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: 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

* Symbol Path validation summary 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*
ixro-symbolsrv\symbols*http://msdl.microsoft.com/download/symbols 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*
ixro-symbolsrv\symbols*http://msdl.microsoft.com/download/symbols Executable search path is: ModLoad: 00050000 00095000 basic_usage.exe ModLoad: 77e60000 77fe0000 ntdll.dll ModLoad: 758e0000 759f0000 C:\windows\syswow64\kernel32.dll ModLoad: 776b0000 776f7000 C:\windows\syswow64\KERNELBASE.dll ModLoad: 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 ModLoad: 61870000 61927000 C:\windows\SysWOW64\MSVCP100D.dll ModLoad: 5fab0000 5fc23000 C:\windows\SysWOW64\MSVCR100D.dll ModLoad: 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 ModLoad: 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 ModLoad: 76ae0000 76b81000 C:\windows\syswow64\ADVAPI32.dll ModLoad: 75ad0000 75b7c000 C:\windows\syswow64\msvcrt.dll ModLoad: 76f40000 76f59000 C:\windows\SysWOW64\sechost.dll ModLoad: 75b90000 75c80000 C:\windows\syswow64\RPCRT4.dll ModLoad: 75860000 758c0000 C:\windows\syswow64\SspiCli.dll ModLoad: 75850000 7585c000 C:\windows\syswow64\CRYPTBASE.dll ModLoad: 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 ModLoad: 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 ModLoad: 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 ModLoad: 774f0000 774f5000 C:\windows\syswow64\PSAPI.DLL ModLoad: 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 ModLoad: 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 ModLoad: 76f80000 77080000 C:\windows\syswow64\USER32.dll ModLoad: 773a0000 77430000 C:\windows\syswow64\GDI32.dll ModLoad: 76f00000 76f0a000 C:\windows\syswow64\LPK.dll ModLoad: 77430000 774cd000 C:\windows\syswow64\USP10.dll ModLoad: 75c80000 75cb5000 C:\windows\syswow64\WS2_32.dll ModLoad: 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> g ModLoad: 76b90000 76bf0000 C:\windows\SysWOW64\IMM32.DLL ModLoad: 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> !analyze -v
*

  • *
  • Exception Analysis *
  • *

*

DUMP_CLASS: 2

DUMP_QUALIFIER: 0

FAULTING_IP: MSVCR100D!strlen+30 5fb2d540 8b01 mov eax,dword ptr [ecx]

EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 5fb2d540 (MSVCR100D!strlen+0x00000030)

ExceptionCode: c0000005 (Access violation)

ExceptionFlags: 00000000

NumberParameters: 2

Parameter[0]: 00000000 Parameter[1]: cd005b20

Attempt to read from address cd005b20

FAULTING_THREAD: 00008784

DEFAULT_BUCKET_ID: INVALID_POINTER_READ

PROCESS_NAME: basic_usage.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

EXCEPTION_CODE_STR: c0000005

EXCEPTION_PARAMETER1: 00000000

EXCEPTION_PARAMETER2: cd005b20

READ_ADDRESS: cd005b20

FOLLOWUP_IP: MSVCR100D!strlen+30 5fb2d540 8b01 mov eax,dword ptr [ecx]

BUGCHECK_STR: INVALID_POINTER_READ

WATSON_BKT_PROCSTAMP: 56d0d90d

WATSON_BKT_MODULE: MSVCR100D.dll

WATSON_BKT_MODSTAMP: 4df2be37

WATSON_BKT_MODOFFSET: 7d540

WATSON_BKT_MODVER: 10.0.40219.325

MODULE_VER_PRODUCT: Microsoft® Visual Studio® 2010

BUILD_VERSION_STRING: 6.1.7601.19110 (win7sp1_gdr.151230-0600)

MODLIST_WITH_TSCHKSUM_HASH: 23f7d7b3424bd4578f73dc540ad6fafea9d49ba2

MODLIST_SHA1_HASH: 726c80d8215bb601da9fb8320eab4615a5dd08b8

NTGLOBALFLAG: 470

APPLICATION_VERIFIER_FLAGS: 0

PRODUCT_TYPE: 1

SUITE_MASK: 272

APP: basic_usage.exe

ANALYSIS_SESSION_HOST: USCA-301065-L

ANALYSIS_SESSION_TIME: 02-26-2016 16:32:18.0502

ANALYSIS_VERSION: 10.0.10586.567 x86fre

THREAD_ATTRIBUTES: OS_LOCALE: ENU

PROBLEM_CLASSES:

INVALID_POINTER_READ

Tid [0x8784] Frame [0x00]: msvcr100d!strlen

LAST_CONTROL_TRANSFER: from 00053b6c to 5fb2d540

STACK_TEXT: 0030f360 00053b6c cd005b20 0030f37c 000590d0 MSVCR100D!strlen+0x30 0030f36c 000590d0 cd005b20 003780b8 0030f390 basic_usage!std::char_traits<char>::length+0xc 0030f37c 00076812 cd005b20 0030f6b8 003780b8 basic_usage!boost::log::v2_mt_nt5::basic_formatting_ostream<char,std::char_traits<char>,std::allocator<char> >::operator<<+0x10 0030f390 000761ab 003781fc 0030f3bf 00071c3c basic_usage!boost::log::v2_mt_nt5::expressions::aux::stream_ref<boost::log::v2_mt_nt5::basic_formatting_ostream<char,std::char_traits<char>,std::allocator<char> > >::operator<<<char const (&)[3]>+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()< ?? :: ?? >+0x16 0030f428 00075516 003781ec 0030f440 0030f46a basic_usage!operator()< ?? :: ?? const >+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()< ?? :: ?? const &>+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()< ?? :: ?? >+0x16 0030f4f0 000735a6 003781ec 0030f508 0030f532 basic_usage!operator()< ?? :: ?? const >+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()< ?? :: ?? const &>+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()< ?? :: ?? >+0x16 0030f5b8 00071646 003781ec 0030f5d0 0030f5fa basic_usage!operator()< ?? :: ?? const >+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()< ?? :: ?? &>+0x1d 0030f66c 00070ebe 003781ec 0030f680 003781ec basic_usage!eval< ?? :: ?? >+0x15 0030f698 00070bd6 0030f844 0030f6b8 0030f6c0 basic_usage!boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<boost::phoenix::argument<2> >,0> >,boost::posix_time::ptime,boost::log::v2_mt_nt5::fallback_to_none,boost::log::v2_mt_nt5::aux::light_function<void cdecl(boost::log::v2_mt_nt5::basic_formatting_ostream<char,std::char_traits<char>,std::allocator<char> > &,boost::posix_time::ptime const &)> > >,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [3]>,0> > >,2> >,boost::posix_time::time_duration,boost::log::v2_mt_nt5::fallback_to_none,boost::log::v2_mt_nt5::aux::light_function<void cdecl(boost::log::v2_mt_nt5::basic_formatting_ostream<char,std::char_traits<char>,std::allocator<char> > &,boost::posix_time::time_duration const &)> > >,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [4]>,0> > >,2> >,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<void cdecl(boost::log::v2_mt_nt5::record_view const &,boost::log::v2_mt_nt5::expressions::aux::stream_ref<boost::log::v2_mt_nt5::basic_formatting_ostream<char,std::char_traits<char>,std::allocator<char> > >)>::impl<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt5::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<boost::phoenix::argument<2> >,0> >,boost::posix_time::ptime,boost::log::v2_mt_nt5::fallback_to_none,boost::log::v2_mt_nt5::aux::light_function<void cdecl(boost::log::v2_mt_nt5::basic_formatting_ostream<char,std::char_traits<char>,std::allocator<char> > &,boost::posix_time::ptime const &)> > >,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [3]>,0> > >,2> >,boost::posix_time::time_duration,boost::log::v2_mt_nt5::fallback_to_none,boost::log::v2_mt_nt5::aux::light_function<void cdecl(boost::log::v2_mt_nt5::basic_formatting_ostream<char,std::char_traits<char>,std::+0x16 0030f6c0 00068df4 0030f844 003780b8 00378158 basic_usage!boost::log::v2_mt_nt5::aux::light_function<void cdecl(boost::log::v2_mt_nt5::record_view const &,boost::log::v2_mt_nt5::expressions::aux::stream_ref<boost::log::v2_mt_nt5::basic_formatting_ostream<char,std::char_traits<char>,std::allocator<char> > >)>::operator()+0x1e 0030f6d8 0006bd53 0030f844 003780b8 f255b0d0 basic_usage!boost::log::v2_mt_nt5::basic_formatter<char>::operator()+0x24 0030f734 00069456 0030f844 0030f777 0037774c basic_usage!boost::log::v2_mt_nt5::sinks::basic_formatting_sink_frontend<char>::feed_record<boost::log::v2_mt_nt5::aux::fake_mutex,boost::log::v2_mt_nt5::sinks::text_file_backend>+0x123 0030f790 00069076 0030f844 0037763c 0037774c basic_usage!boost::log::v2_mt_nt5::sinks::basic_formatting_sink_frontend<char>::try_feed_record<boost::recursive_mutex,boost::log::v2_mt_nt5::sinks::text_file_backend>+0x166 0030f7a8 5dd3203c 0030f844 f257c1eb 00000000 basic_usage!boost::log::v2_mt_nt5::sinks::synchronous_sink<boost::log::v2_mt_nt5::sinks::text_file_backend>::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<char,boost::log::v2_mt_nt5::sources::severity_logger<enum severity_level>,boost::log::v2_mt_nt5::sources::single_thread_model>::push_record_unlocked+0x23 0030f8bc 000539c6 0030fa88 f255bf04 0030f99c basic_usage!boost::log::v2_mt_nt5::sources::basic_composite_logger<char,boost::log::v2_mt_nt5::sources::severity_logger<enum severity_level>,boost::log::v2_mt_nt5::sources::single_thread_model,boost::log::v2_mt_nt5::sources::features<boost::log::v2_mt_nt5::sources::severity<enum severity_level>,void,void,void,void,void,void,void,void,void> >::push_record+0x1c 0030f8e0 00051e3b f255b914 77eeae8a 00730000 basic_usage!boost::log::v2_mt_nt5::aux::record_pump<boost::log::v2_mt_nt5::sources::severity_logger<enum severity_level> >::~record_pump<boost::log::v2_mt_nt5::sources::severity_logger<enum severity_level> >+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

THREAD_SHA1_HASH_MOD_FUNC: 2ee01213d81aced8ef78209836d9640527726a2c

THREAD_SHA1_HASH_MOD_FUNC_OFFSET: 84b43e4056014207aa74cd9d11fd42d0e18e5ef1

THREAD_SHA1_HASH_MOD: e8563ff5c1b20105720dd70f4ac46ec908117c13

FAULT_INSTR_CODE: ffba018b

SYMBOL_STACK_INDEX: 0

SYMBOL_NAME: msvcr100d!strlen+30

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: MSVCR100D

IMAGE_NAME: MSVCR100D.dll

DEBUG_FLR_IMAGE_TIMESTAMP: 4df2be37

STACK_COMMAND: ~0s ; kb

BUCKET_ID: INVALID_POINTER_READ_msvcr100d!strlen+30

PRIMARY_PROBLEM_CLASS: INVALID_POINTER_READ_msvcr100d!strlen+30

BUCKET_ID_OFFSET: 30

BUCKET_ID_MODULE_STR: MSVCR100D

BUCKET_ID_MODTIMEDATESTAMP: 4df2be37

BUCKET_ID_MODCHECKSUM: 178dbe

BUCKET_ID_MODVER_STR: 10.0.40219.325

BUCKET_ID_PREFIX_STR: INVALID_POINTER_READ_

FAILURE_PROBLEM_CLASS: INVALID_POINTER_READ

FAILURE_EXCEPTION_CODE: c0000005

FAILURE_IMAGE_NAME: MSVCR100D.dll

FAILURE_FUNCTION_NAME: strlen

BUCKET_ID_FUNCTION_STR: strlen

FAILURE_SYMBOL_NAME: MSVCR100D.dll!strlen

FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_MSVCR100D.dll!strlen

TARGET_TIME: 2016-02-27T00:32:22.000Z

OSBUILD: 7601

OSSERVICEPACK: 1

SERVICEPACK_NUMBER: 0

OS_REVISION: 0

OSPLATFORM_TYPE: x86

OSNAME: Windows 7

OSEDITION: Windows 7 WinNt (Service Pack 1) SingleUserTS

USER_LCID: 0

OSBUILD_TIMESTAMP: 2015-12-30 10:44:15

BUILDDATESTAMP_STR: 151230-0600

BUILDLAB_STR: win7sp1_gdr

BUILDOSVER_STR: 6.1.7601.19110

ANALYSIS_SESSION_ELAPSED_TIME: db4

ANALYSIS_SOURCE: UM

FAILURE_ID_HASH_STRING: um:invalid_pointer_read_c0000005_msvcr100d.dll!strlen

FAILURE_ID_HASH: {502542b2-9636-97cf-af96-026c360f1fbf}

Followup: MachineOwner


Change History (5)

comment:1 by fab@…, 7 years ago

If needed, exact command to build boost:

b2 -j %NUMBER_OF_PROCESSORS% toolset=msvc-10.0 --build-type=complete debug

Command used to build basic_usage:

C:\Users\fab\Documents\build\boost_1_60_0\libs\log\example\basic_usage>..\..\..\..\bjam.exe toolset=msvc-10.0

comment:2 by Andrey Semashev, 7 years ago

Resolution: fixed
Status: newclosed

in reply to:  2 comment:3 by fab@…, 7 years ago

Thanks!!! I verified on my end that the fix is indeed very effective!

Replying to andysem:

Should be fixed in https://github.com/boostorg/log/commit/4cd22e1103ce2e15a54a3998390e0f9a1a1580f9. Thanks for the report.

comment:4 by anonymous, 7 years ago

Resolution: fixed
Status: closedreopened

As explained in #11918, this error also occurs on msvc11. The fix seems to work for this version too.

Could you push it as a bugfix to 1.61?

comment:5 by Andrey Semashev, 7 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.