DynamoRIO / DynamoRIO/drmemory

app_suite_tests fail on Ubuntu 13.04

Open
#1,291 1 comment 0 reactions 0 assignees View on GitHub
Migrated OpSys-Linux Priority-Medium
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [zhao...@google.com](https://code.google.com/u/106321947286816917100/) on July 17, 2013 12:20:28_

Ubuntu 13.04

It fail on running natively, might caused by missing locales.
dynamorio@ubuntu:~/Workspace/DrMemory/builds/build_x86_dbg$ ./tests/app_suite_tests --gtest_filter=StringTests.strcasecmp
Running main() from gtest_main.cc
Note: Google Test filter = StringTests.strcasecmp
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from StringTests
[ RUN ] StringTests.strcasecmp
/home/dynamorio/Workspace/DrMemory/drmemory/tests/app_suite/strmem_tests.cpp:146: Failure
Value of: "en_US.iso885915"
Expected: locale
Which is: (null)
[ FAILED ] StringTests.strcasecmp (1 ms)
[----------] 1 test from StringTests (1 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] StringTests.strcasecmp

Run under DrM full mode:

[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from StringTests
[ RUN ] StringTests.strcasecmp
<(1+x) Handling our fault in a TRY at 0xf7257b71>
~~Dr.M~~
~~Dr.M~~ Error `#1`: UNINITIALIZED READ: reading 0x08381433-0x08381440 13 byte(s) within 0x08381430-0x08381440
~~Dr.M~~ # 0 libc.so.6!__strnlen_sse2 [../sysdeps/i386/i686/multiarch/strlen-sse2.S:358]
~~Dr.M~~ # 1 libc.so.6!__GI___argz_stringify [/build/buildd/eglibc-2.17/string/argz-stringify.c:31]
~~Dr.M~~ # 2 libc.so.6!_nl_make_l10nflist [/build/buildd/eglibc-2.17/intl/l10nflist.c:205]
~~Dr.M~~ # 3 libc.so.6!_nl_make_l10nflist [/build/buildd/eglibc-2.17/intl/l10nflist.c:313]
~~Dr.M~~ # 4 libc.so.6!_nl_make_l10nflist [/build/buildd/eglibc-2.17/intl/l10nflist.c:304]
~~Dr.M~~ # 5 libc.so.6!_nl_make_l10nflist [/build/buildd/eglibc-2.17/intl/l10nflist.c:304]
~~Dr.M~~ # 6 libc.so.6!_nl_find_locale [/build/buildd/eglibc-2.17/locale/findlocale.c:159]
~~Dr.M~~ # 7 libc.so.6!__GI_setlocale [/build/buildd/eglibc-2.17/locale/setlocale.c:302]
~~Dr.M~~ # 8 StringTests_strcasecmp_Test::TestBody() [/home/dynamorio/Workspace/DrMemory/drmemory/tests/app_suite/strmem_tests.cpp:141]
~~Dr.M~~ # 9 testing::internal::HandleSehExceptionsInMethodIfSupported<>() [/home/dynamorio/Workspace/DrMemory/drmemory/tests/app_suite/../../third_party/googletest/src/gtest.cc:2090]
~~Dr.M~~ `#10` testing::internal::HandleExceptionsInMethodIfSupported<>() [/home/dynamorio/Workspace/DrMemory/drmemory/tests/app_suite/../../third_party/googletest/src/gtest.cc:2126]
~~Dr.M~~ `#11` testing::Test::Run() [/home/dynamorio/Workspace/DrMemory/drmemory/tests/app_suite/../../third_party/googletest/src/gtest.cc:2162]
~~Dr.M~~ Note: @0:00:03.032 in thread 8091
...
~~Dr.M~~ Error `#17`: UNINITIALIZED READ: reading 0x08382283-0x08382290 13 byte(s) within 0x08382280-0x08382290
~~Dr.M~~ # 0 libc.so.6!__strnlen_sse2 [../sysdeps/i386/i686/multiarch/strlen-sse2.S:358]
~~Dr.M~~ # 1 libc.so.6!__GI___argz_stringify [/build/buildd/eglibc-2.17/string/argz-stringify.c:31]
~~Dr.M~~ # 2 libc.so.6!_nl_make_l10nflist [/build/buildd/eglibc-2.17/intl/l10nflist.c:205]
~~Dr.M~~ # 3 libc.so.6!_nl_make_l10nflist [/build/buildd/eglibc-2.17/intl/l10nflist.c:313]
~~Dr.M~~ # 4 libc.so.6!_nl_make_l10nflist [/build/buildd/eglibc-2.17/intl/l10nflist.c:304]
~~Dr.M~~ # 5 libc.so.6!_nl_find_locale [/build/buildd/eglibc-2.17/locale/findlocale.c:159]
~~Dr.M~~ # 6 libc.so.6!__GI_setlocale [/build/buildd/eglibc-2.17/locale/setlocale.c:302]
~~Dr.M~~ # 7 StringTests_strcasecmp_Test::TestBody() [/home/dynamorio/Workspace/DrMemory/drmemory/tests/app_suite/strmem_tests.cpp:145]
~~Dr.M~~ # 8 testing::internal::HandleSehExceptionsInMethodIfSupported<>() [/home/dynamorio/Workspace/DrMemory/drmemory/tests/app_suite/../../third_party/googletest/src/gtest.cc:2090]
~~Dr.M~~ # 9 testing::internal::HandleExceptionsInMethodIfSupported<>() [/home/dynamorio/Workspace/DrMemory/drmemory/tests/app_suite/../../third_party/googletest/src/gtest.cc:2126]
~~Dr.M~~ `#10` testing::Test::Run() [/home/dynamorio/Workspace/DrMemory/drmemory/tests/app_suite/../../third_party/googletest/src/gtest.cc:2162]
~~Dr.M~~ `#11` testing::TestInfo::Run() [/home/dynamorio/Workspace/DrMemory/drmemory/tests/app_suite/../../third_party/googletest/src/gtest.cc:2338]
~~Dr.M~~ Note: @0:00:03.316 in thread 8091
~~Dr.M~~ Note: instruction: data16 pcmpeqb (%eax) %xmm1 -> %xmm1

The suppression file should be updated.

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

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.