Azure / azure-storage-cpp

Microsoft Azure Storage Client Library for C++
http://azure.github.io/azure-storage-cpp
Apache License 2.0
132 stars 148 forks source link

Exception in azure storage version 2.1.0 #99

Open shlomiapel opened 8 years ago

shlomiapel commented 8 years ago

Hi,

while testing our code, we encountered the following exception:

2016-11-03 13:57:49.862,Error,3384,XXXXXXXXXXX,,EXCEPTION: code=2147483651 flags=0 addr=00007FFFAEE5C2FCSymInit: Symbol-SearchPath: '.;XXXXXXXXXXXXXX;C:\Windows;C:\Windows\system32;SRVC:\websymbolshttp://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'SYSTEM' OS-Version: 6.2.9200 () 0x190-0x3 XXXXXXX.exe:XXXXXX.exe (00007FF675BC0000), size: 6377472 (result: 0), SymType: 'PDB', PDB: 'XXXXXXXX.exe' C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (00007FFFBFE40000), size: 1757184 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntdll.dll', fileVersion: 6.3.9600.18438 C:\Windows\system32\KERNEL32.DLL:KERNEL32.DLL (00007FFFBFD00000), size: 1302528 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\KERNEL32.DLL', fileVersion: 6.3.9600.17415 C:\Windows\system32\KERNELBASE.dll:KERNELBASE.dll (00007FFFBD260000), size: 1134592 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\KERNELBASE.dll', fileVersion: 6.3.9600.18340 C:\Windows\system32\PSAPI.DLL:PSAPI.DLL (00007FFFBE0B0000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\PSAPI.DLL', fileVersion: 6.3.9600.17415 C:\Windows\system32\ADVAPI32.dll:ADVAPI32.dll (00007FFFBE000000), size: 696320 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ADVAPI32.dll', fileVersion: 6.3.9600.18155 XXXXXXX\MSVCP120.dll:MSVCP120.dll (00007FFFAFA20000), size: 679936 (result: 0), SymType: '-exported-', PDB: 'XXXXXXX\MSVCP120.dll', fileVersion: 12.0.21005.1 XXXXXXX\MSVCR120.dll:MSVCR120.dll (00007FFFAF930000), size: 978944 (result: 0), SymType: '-exported-', PDB: 'XXXXXX\MSVCR120.dll', fileVersion: 12.0.21005.1 C:\Windows\SYSTEM32\VERSION.dll:VERSION.dll (00007FFFB6FC0000), size: 40960 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\VERSION.dll', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\pdh.dll:pdh.dll (00007FFFAF8E0000), size: 323584 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\pdh.dll', fileVersion: 6.3.9600.17415 C:\Windows\system32\WS2_32.dll:WS2_32.dll (00007FFFBFA90000), size: 368640 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\WS2_32.dll', fileVersion: 6.3.9600.18340 C:\Windows\SYSTEM32\WINHTTP.dll:WINHTTP.dll (00007FFFB7630000), size: 815104 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\WINHTTP.dll', fileVersion: 6.3.9600.18378 C:\Windows\SYSTEM32\bcrypt.dll:bcrypt.dll (00007FFFBCA50000), size: 155648 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\bcrypt.dll', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\XmlLite.dll:XmlLite.dll (00007FFFB92D0000), size: 233472 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\XmlLite.dll', fileVersion: 6.3.9600.17415 XXXXXXX\cpprest120_2_6.dll:cpprest120_2_6.dll (00007FFFAF380000), size: 5627904 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Program Files\Zerto\Zerto Virtual Replication\cpprest120_2_6.dll', fileVersion: 2.6.0.0 XXXXXX\wastorage.dll:wastorage.dll (00007FFFAED70000), size: 6344704 (result: 0), SymType: '-nosymbols-', PDB: 'XXXXX\wastorage.dll', fileVersion: 2.1.0.0 C:\Windows\SYSTEM32\IPHLPAPI.DLL:IPHLPAPI.DLL (00007FFFB8BF0000), size: 172032 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\IPHLPAPI.DLL', fileVersion: 6.3.9600.18264 C:\Windows\system32\msvcrt.dll:msvcrt.dll (00007FFFBDE90000), size: 696320 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\msvcrt.dll', fileVersion: 7.0.9600.17415 C:\Windows\SYSTEM32\sechost.dll:sechost.dll (00007FFFBD6D0000), size: 364544 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\sechost.dll', fileVersion: 6.3.9600.17734 C:\Windows\system32\RPCRT4.dll:RPCRT4.dll (00007FFFBF950000), size: 1310720 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\RPCRT4.dll', fileVersion: 6.3.9600.18292 C:\Windows\system32\NSI.dll:NSI.dll (00007FFFBFCF0000), size: 36864 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\NSI.dll', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\combase.dll:combase.dll (00007FFFBDC70000), size: 2166784 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\combase.dll', fileVersion: 6.3.9600.18202 C:\Windows\SYSTEM32\HTTPAPI.dll:HTTPAPI.dll (00007FFFB2600000), size: 57344 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\HTTPAPI.dll', fileVersion: 6.3.9600.17415 C:\Windows\system32\CRYPT32.dll:CRYPT32.dll (00007FFFBD080000), size: 1961984 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\CRYPT32.dll', fileVersion: 6.3.9600.18372 C:\Windows\system32\USER32.dll:USER32.dll (00007FFFBF7D0000), size: 1536000 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\USER32.dll', fileVersion: 6.3.9600.18439 C:\Windows\system32\GDI32.dll:GDI32.dll (00007FFFBD8C0000), size: 1372160 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\GDI32.dll', fileVersion: 6.3.9600.18344 C:\Windows\SYSTEM32\WINNSI.DLL:WINNSI.DLL (00007FFFB8E20000), size: 40960 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\WINNSI.DLL', fileVersion: 6.3.9600.17415 C:\Windows\system32\SspiCli.dll:SspiCli.dll (00007FFFBD380000), size: 188416 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\SspiCli.dll', fileVersion: 6.3.9600.17415 C:\Windows\system32\MSASN1.dll:MSASN1.dll (00007FFFBD010000), size: 69632 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\DPAPI.DLL:DPAPI.DLL (00007FFFBBC30000), size: 40960 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\CRYPTBASE.dll:CRYPTBASE.dll (00007FFFBCED0000), size: 45056 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\bcryptPrimitives.dll:bcryptPrimitives.dll (00007FFFBCD60000), size: 405504 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18344 C:\Windows\System32\perfos.dll:perfos.dll (00007FFFAE280000), size: 53248 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\system32\mswsock.dll:mswsock.dll (00007FFFBC6A0000), size: 364544 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18340 C:\Windows\system32\napinsp.dll:napinsp.dll (00007FFFB5070000), size: 86016 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\system32\NLAapi.dll:NLAapi.dll (00007FFFBAAA0000), size: 110592 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\DNSAPI.dll:DNSAPI.dll (00007FFFBC420000), size: 671744 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18402 C:\Windows\System32\winrnr.dll:winrnr.dll (00007FFFB50B0000), size: 53248 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\System32\fwpuclnt.dll:fwpuclnt.dll (00007FFFB8A20000), size: 438272 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18229 C:\Windows\System32\rasadhlp.dll:rasadhlp.dll (00007FFFB7B10000), size: 40960 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\kernel.appcore.dll:kernel.appcore.dll (00007FFFBBC20000), size: 45056 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\webio.dll:webio.dll (00007FFFB2F90000), size: 528384 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18378 C:\Windows\system32\schannel.DLL:schannel.DLL (00007FFFBC3B0000), size: 450560 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18454 C:\Windows\SYSTEM32\ncrypt.dll:ncrypt.dll (00007FFFBCA20000), size: 151552 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18298 C:\Windows\SYSTEM32\NTASN1.dll:NTASN1.dll (00007FFFBC9E0000), size: 225280 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\system32\ncryptsslp.dll:ncryptsslp.dll (00007FFFB26B0000), size: 118784 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18377 C:\Windows\SYSTEM32\CRYPTSP.dll:CRYPTSP.dll (00007FFFBC7F0000), size: 131072 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\system32\rsaenh.dll:rsaenh.dll (00007FFFBC2A0000), size: 221184 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18191 C:\Windows\SYSTEM32\gpapi.dll:gpapi.dll (00007FFFBC180000), size: 147456 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18339 C:\Windows\SYSTEM32\dhcpcsvc6.DLL:dhcpcsvc6.DLL (00007FFFB8BA0000), size: 90112 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\dhcpcsvc.DLL:dhcpcsvc.DLL (00007FFFB8900000), size: 106496 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\dbghelp.dll:dbghelp.dll (00007FFFBA620000), size: 1609728 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17787 ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FFFAEE5C2FC) ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAEE5C2FC) 00007FFFAEE5C2FC (wastorage): (filename not available): (function-name not available) ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FFFAEE5A5C1) ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAEE5A5C1) 00007FFFAEE5A5C1 (wastorage): (filename not available): (function-name not available) ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FFFAEE561F9) ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAEE561F9) 00007FFFAEE561F9 (wastorage): (filename not available): (function-name not available) ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FFFAEE26097) ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAEE26097) 00007FFFAEE26097 (wastorage): (filename not available): (function-name not available) ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FFFAEE29EE4) ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAEE29EE4) 00007FFFAEE29EE4 (wastorage): (filename not available): (function-name not available) ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAF94CACC) 00007FFFAF94CACC (MSVCR120): (filename not available): Concurrency::details::_TaskCollection::~_TaskCollection ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAF932287) 00007FFFAF932287 (MSVCR120): (filename not available): Concurrency::details::_UnrealizedChore::_CheckTaskCollection ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAF939497) 00007FFFAF939497 (MSVCR120): (filename not available): CRT_RTC_INITW ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAF938025) 00007FFFAF938025 (MSVCR120): (filename not available): CRT_RTC_INITW ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAF94E15B) 00007FFFAF94E15B (MSVCR120): (filename not available): Concurrency::details::_SetUnobservedExceptionHandler ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFBFD013D2) 00007FFFBFD013D2 (KERNEL32): (filename not available): BaseThreadInitThunk ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFBFE554E4) 00007FFFBFE554E4 (ntdll): (filename not available): RtlUserThreadStart

and our system rebooted.

After the reboot, i started getting errors with the string "bad allocation" when trying to write to blob storage and followed by another exception:

2016-11-03 14:00:35.329,Error,5180,XXXXX,,EXCEPTION: code=2147483651 flags=0 addr=00007FFF8F33C2FCSymInit: Symbol-SearchPath: '.;XXXXXXXX;C:\Windows;C:\Windows\system32;SRVC:\websymbolshttp://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'SYSTEM' OS-Version: 6.2.9200 () 0x190-0x3 XXXXXXXXX.exe:VraMain.exe (00007FF675BC0000), size: 6377472 (result: 0), SymType: 'PDB', PDB: 'XXXXXXXXXX.exe' C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (00007FFFBFE40000), size: 1757184 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntdll.dll', fileVersion: 6.3.9600.18438 C:\Windows\system32\KERNEL32.DLL:KERNEL32.DLL (00007FFFBFD00000), size: 1302528 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\KERNEL32.DLL', fileVersion: 6.3.9600.17415 C:\Windows\system32\KERNELBASE.dll:KERNELBASE.dll (00007FFFBD260000), size: 1134592 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\KERNELBASE.dll', fileVersion: 6.3.9600.18340 C:\Windows\system32\PSAPI.DLL:PSAPI.DLL (00007FFFBE0B0000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\PSAPI.DLL', fileVersion: 6.3.9600.17415 C:\Windows\system32\ADVAPI32.dll:ADVAPI32.dll (00007FFFBE000000), size: 696320 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ADVAPI32.dll', fileVersion: 6.3.9600.18155 XXXXXXXX\MSVCP120.dll:MSVCP120.dll (00007FFFAFA20000), size: 679936 (result: 0), SymType: '-exported-', PDB: 'XXXXXXXX\MSVCP120.dll', fileVersion: 12.0.21005.1 XXXXXXXX\MSVCR120.dll:MSVCR120.dll (00007FFFAF930000), size: 978944 (result: 0), SymType: '-exported-', PDB: 'XXXXXXXX\MSVCR120.dll', fileVersion: 12.0.21005.1 C:\Windows\SYSTEM32\VERSION.dll:VERSION.dll (00007FFFB6FC0000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\VERSION.dll', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\pdh.dll:pdh.dll (00007FFFAF8E0000), size: 323584 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\pdh.dll', fileVersion: 6.3.9600.17415 C:\Windows\system32\WS2_32.dll:WS2_32.dll (00007FFFBFA90000), size: 368640 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WS2_32.dll', fileVersion: 6.3.9600.18340 C:\Windows\SYSTEM32\WINHTTP.dll:WINHTTP.dll (00007FFFB7630000), size: 815104 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\WINHTTP.dll', fileVersion: 6.3.9600.18378 C:\Windows\SYSTEM32\bcrypt.dll:bcrypt.dll (00007FFFBCA50000), size: 155648 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\bcrypt.dll', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\XmlLite.dll:XmlLite.dll (00007FFFB92D0000), size: 233472 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\XmlLite.dll', fileVersion: 6.3.9600.17415 XXXXXXXXXXXXXX\cpprest120_2_6.dll:cpprest120_2_6.dll (00007FFF8F860000), size: 5627904 (result: 0), SymType: '-exported-', PDB: 'XXXXXXXXX\cpprest120_2_6.dll', fileVersion: 2.6.0.0 XXXXXXXXXXXXXX\wastorage.dll:wastorage.dll (00007FFF8F250000), size: 6344704 (result: 0), SymType: '-exported-', PDB: 'XXXXXXXXXXXXXX\wastorage.dll', fileVersion: 2.1.0.0 C:\Windows\SYSTEM32\IPHLPAPI.DLL:IPHLPAPI.DLL (00007FFFB8BF0000), size: 172032 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\IPHLPAPI.DLL', fileVersion: 6.3.9600.18264 C:\Windows\system32\msvcrt.dll:msvcrt.dll (00007FFFBDE90000), size: 696320 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msvcrt.dll', fileVersion: 7.0.9600.17415 C:\Windows\SYSTEM32\sechost.dll:sechost.dll (00007FFFBD6D0000), size: 364544 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\sechost.dll', fileVersion: 6.3.9600.17734 C:\Windows\system32\RPCRT4.dll:RPCRT4.dll (00007FFFBF950000), size: 1310720 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\RPCRT4.dll', fileVersion: 6.3.9600.18292 C:\Windows\system32\NSI.dll:NSI.dll (00007FFFBFCF0000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NSI.dll', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\combase.dll:combase.dll (00007FFFBDC70000), size: 2166784 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\combase.dll', fileVersion: 6.3.9600.18202 C:\Windows\SYSTEM32\HTTPAPI.dll:HTTPAPI.dll (00007FFFB2600000), size: 57344 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\HTTPAPI.dll', fileVersion: 6.3.9600.17415 C:\Windows\system32\CRYPT32.dll:CRYPT32.dll (00007FFFBD080000), size: 1961984 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\CRYPT32.dll', fileVersion: 6.3.9600.18372 C:\Windows\system32\USER32.dll:USER32.dll (00007FFFBF7D0000), size: 1536000 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\USER32.dll', fileVersion: 6.3.9600.18439 C:\Windows\system32\GDI32.dll:GDI32.dll (00007FFFBD8C0000), size: 1372160 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\GDI32.dll', fileVersion: 6.3.9600.18344 C:\Windows\SYSTEM32\WINNSI.DLL:WINNSI.DLL (00007FFFB8E20000), size: 40960 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\SYSTEM32\WINNSI.DLL', fileVersion: 6.3.9600.17415 C:\Windows\system32\SspiCli.dll:SspiCli.dll (00007FFFBD380000), size: 188416 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\system32\MSASN1.dll:MSASN1.dll (00007FFFBD010000), size: 69632 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\DPAPI.DLL:DPAPI.DLL (00007FFFBBC30000), size: 40960 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\CRYPTBASE.dll:CRYPTBASE.dll (00007FFFBCED0000), size: 45056 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\bcryptPrimitives.dll:bcryptPrimitives.dll (00007FFFBCD60000), size: 405504 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18344 C:\Windows\System32\perfos.dll:perfos.dll (00007FFFAE280000), size: 53248 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\system32\mswsock.dll:mswsock.dll (00007FFFBC6A0000), size: 364544 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18340 C:\Windows\system32\napinsp.dll:napinsp.dll (00007FFFB5070000), size: 86016 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\system32\NLAapi.dll:NLAapi.dll (00007FFFBAAA0000), size: 110592 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\DNSAPI.dll:DNSAPI.dll (00007FFFBC420000), size: 671744 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18402 C:\Windows\System32\winrnr.dll:winrnr.dll (00007FFFB50B0000), size: 53248 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\System32\fwpuclnt.dll:fwpuclnt.dll (00007FFFB8A20000), size: 438272 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18229 C:\Windows\System32\rasadhlp.dll:rasadhlp.dll (00007FFFB7B10000), size: 40960 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\kernel.appcore.dll:kernel.appcore.dll (00007FFFBBC20000), size: 45056 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\webio.dll:webio.dll (00007FFFB2F90000), size: 528384 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18378 C:\Windows\system32\schannel.DLL:schannel.DLL (00007FFFBC3B0000), size: 450560 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18454 C:\Windows\SYSTEM32\ncrypt.dll:ncrypt.dll (00007FFFBCA20000), size: 151552 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18298 C:\Windows\SYSTEM32\NTASN1.dll:NTASN1.dll (00007FFFBC9E0000), size: 225280 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\system32\ncryptsslp.dll:ncryptsslp.dll (00007FFFB26B0000), size: 118784 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18377 C:\Windows\SYSTEM32\CRYPTSP.dll:CRYPTSP.dll (00007FFFBC7F0000), size: 131072 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\system32\rsaenh.dll:rsaenh.dll (00007FFFBC2A0000), size: 221184 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18191 C:\Windows\SYSTEM32\gpapi.dll:gpapi.dll (00007FFFBC180000), size: 147456 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.18339 C:\Windows\SYSTEM32\dhcpcsvc6.DLL:dhcpcsvc6.DLL (00007FFFB8BA0000), size: 90112 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\dhcpcsvc.DLL:dhcpcsvc.DLL (00007FFFB8900000), size: 106496 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17415 C:\Windows\SYSTEM32\dbghelp.dll:dbghelp.dll (00007FFFBA620000), size: 1609728 (result: 8), SymType: '-unknown-', PDB: '', fileVersion: 6.3.9600.17787 ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF8F33C2FC) 00007FFF8F33C2FC (wastorage): (filename not available): azure::storage::cloud_append_blob::append_text_async ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF8F33A5C1) 00007FFF8F33A5C1 (wastorage): (filename not available): azure::storage::cloud_append_blob::append_text_async ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF8F3361F9) 00007FFF8F3361F9 (wastorage): (filename not available): azure::storage::cloud_append_blob::append_text_async ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF8F306097) 00007FFF8F306097 (wastorage): (filename not available): azure::storage::cloud_append_blob::append_text_async ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF8F309EE4) 00007FFF8F309EE4 (wastorage): (filename not available): azure::storage::cloud_append_blob::append_text_async ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAF94CACC) 00007FFFAF94CACC (MSVCR120): (filename not available): Concurrency::details::_TaskCollection::~_TaskCollection ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAF932287) 00007FFFAF932287 (MSVCR120): (filename not available): Concurrency::details::_UnrealizedChore::_CheckTaskCollection ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAF939497) 00007FFFAF939497 (MSVCR120): (filename not available): CRT_RTC_INITW ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAF938025) 00007FFFAF938025 (MSVCR120): (filename not available): CRT_RTC_INITW ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFAF94E15B) 00007FFFAF94E15B (MSVCR120): (filename not available): Concurrency::details::_SetUnobservedExceptionHandler ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFBFD013D2) 00007FFFBFD013D2 (KERNEL32): (filename not available): BaseThreadInitThunk ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFBFE554E4) 00007FFFBFE554E4 (ntdll): (filename not available): RtlUserThreadStart

OS is windows server 2008 R2.

JasonYang-MSFT commented 8 years ago

@shlomiapel

"bad allocation" could happen in many places when memory usage goes high. Have you check the system status just before the exception?

Besides, it seems that the exception is thrown while calling "append_text_async". Two questions here:

  1. What's the size of text you want to append in one time.
  2. Have called .wait for "append_text_async" since it's an async operation?

Also, a short sample code around the exception point will help a lot to replay this issue.

shlomiapel commented 7 years ago

i am not appending text. The code is the same as described in issue #83 when writing i use:

std::string& blobName, u64 offsetBlocks, concurrency::streams::istream& source

for page blobs: azure::storage::cloud_page_blob blob = get_page_blob_reference(blobName); return blob.upload_pages_async(source, offsetBlocks * LB_SIZE_IN_BYTES, U(""));

for block blobs: azure::storage::cloud_block_blob blob = get_block_blob_reference(blobName); return blob.upload_from_stream_async(source);