DynamoRIO / DynamoRIO/drmemory

symcache file has wrong entries resulting in app crash

Open
#1,313 2 comments 0 reactions 0 assignees View on GitHub
Bug-AppCrash Migrated Priority-High
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on August 22, 2013 11:47:27_

http://build.chromium.org/p/client.drmemory/builders/win7-cr/builds/2990 printing:
INVALID HEAP ARGUMENT to free 0x02979468
#0 replace_operator_delete [e:\b\build\slave\win-builder\drmemory\common\alloc_replace.c:2495]
#1 SHELL32.dll!Ordinal764 +0xfe (0x7580de8c )
#2 SHELL32.dll!Ordinal764 +0x222 (0x7580dfb0 )
#3 SHELL32.dll!SHGetItemFromDataObject +0x3c35 (0x757c248a )
#4 SHELL32.dll!SHGetItemFromDataObject +0x142d (0x757bfc82 )
#5 SHELL32.dll!SHGetItemFromDataObject +0x13c4 (0x757bfc19 )
#6 SHELL32.dll!Ordinal764 +0x6a5 (0x7580e433 )
#7 SHELL32.dll!SHGetItemFromDataObject +0x2fbd (0x757c1812 )
#8 SHELL32.dll!SHGetItemFromDataObject +0x31e6 (0x757c1a3b )
#9 SHELL32.dll!SHGetItemFromDataObject +0x3e3f (0x757c2694 )
#10 SHELL32.dll!ILFindLastID +0xd78 (0x75813b55 )
#11 SHELL32.dll!InternalExtractIconListA +0x1a1 (0x757f71cf )
#12 SHELL32.dll!Ordinal201 +0x99c (0x757792dd )
#13 SHELL32.dll!Ordinal201 +0x2258 (0x7577ab99 )
#14 SHELL32.dll!IsUserAnAdmin +0x967 (0x757c4de5 )
#15 SHELL32.dll!SHFileOperationW +0xe6 (0x757c97ef )
#16 SHELL32.dll!SHFileOperationW +0xe (0x757c9717 )
#17 base.dll!base::DeleteFileW [base\file_util_win.cc:122]
#18 base.dll!base::ScopedTempDir::Delete [base\files\scoped_temp_dir.cc:66]
#19 base.dll!base::ScopedTempDir::~ScopedTempDir [base\files\scoped_temp_dir.cc:16]
#20 printing::EmfTest_FileBackedEmf_Test::TestBody [printing\emf_win_unittest.cc:203]
#21 testing::internal::HandleExceptionsInMethodIfSupportedtesting::Test,void [testing\gtest\src\gtest.cc:2051]
Note: @0:00:01.092 in thread 3520

sql:
INVALID HEAP ARGUMENT to free 0x0270b370
#0 replace_operator_delete [e:\b\build\slave\win-builder\drmemory\common\alloc_replace.c:2495]
#1 SHELL32.dll!Ordinal764 +0xfe (0x7580de8c )
#2 SHELL32.dll!Ordinal764 +0x222 (0x7580dfb0 )
#3 SHELL32.dll!SHGetItemFromDataObject +0x3c35 (0x757c248a )
#4 SHELL32.dll!SHGetItemFromDataObject +0x142d (0x757bfc82 )
#5 SHELL32.dll!SHGetItemFromDataObject +0x13c4 (0x757bfc19 )
#6 SHELL32.dll!Ordinal764 +0x6a5 (0x7580e433 )
#7 SHELL32.dll!SHGetItemFromDataObject +0x2fbd (0x757c1812 )
#8 SHELL32.dll!SHGetItemFromDataObject +0x31e6 (0x757c1a3b )
#9 SHELL32.dll!SHGetItemFromDataObject +0x3e3f (0x757c2694 )
#10 SHELL32.dll!ILFindLastID +0xd78 (0x75813b55 )
#11 SHELL32.dll!InternalExtractIconListA +0x1a1 (0x757f71cf )
#12 SHELL32.dll!Ordinal201 +0x99c (0x757792dd )
#13 SHELL32.dll!Ordinal201 +0x2258 (0x7577ab99 )
#14 SHELL32.dll!IsUserAnAdmin +0x967 (0x757c4de5 )
#15 SHELL32.dll!SHFileOperationW +0xe6 (0x757c97ef )
#16 SHELL32.dll!SHFileOperationW +0xe (0x757c9717 )
#17 base.dll!base::DeleteFileW [base\file_util_win.cc:122]
#18 base.dll!base::ScopedTempDir::Delete [base\files\scoped_temp_dir.cc:66]
#19 base.dll!base::ScopedTempDir::~ScopedTempDir [base\files\scoped_temp_dir.cc:16]
#20 `anonymous namespace'::SQLStatementTest::~SQLStatementTest
\#21 SQLStatementTest_Assign_Test::~SQLStatementTest_Assign_Test
\#22 SQLStatementTest_Assign_Test::`scalar deleting destructor'
#23 testing::Test::DeleteSelf_ [testing\gtest\include\gtest\gtest.h:438]
#24 testing::internal::HandleExceptionsInMethodIfSupportedtesting::Test,void [testing\gtest\src\gtest.cc:2051]
Note: @0:00:01.155 in thread 3684

remoting_, base_, net_, and unit_ have similar callstacks

_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1313_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.