DynamoRIO / DynamoRIO/drmemory

APP CRASH (unit_tests DesktopNotificationsTest)

Open
#335 0 comments 0 reactions 0 assignees View on GitHub
Bug-AppCrash Migrated Priority-Medium
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 March 10, 2011 15:27:27_

on my win7 laptop, when I ran sets of 50 tests this one worked.
but running from start it has a lot of failures and then the process exits.
I had a native unit_tests running, could that have messed it up?
after that run, later runs all worked on my laptop.

but on my win7 VM, this fails when run as part of the full suite.
when run by itself it works.

--------------------------------------------------

[----------] 10 tests from DesktopNotificationsTest
[ RUN ] DesktopNotificationsTest.TestShow
.\browser\notifications\desktop_notifications_unittest.cc(122): error: Value of: balloon_collection_->count()
Actual: 0
Expected: 1
.\browser\notifications\desktop_notifications_unittest.cc(133): error: Value of: balloon_collection_->count()
Actual: 0
Expected: 2
.\browser\notifications\desktop_notifications_unittest.cc(137): error: Value of: log_output_
Actual: ""
Expected: "notification displayed\n" "notification displayed\n"
Which is: "notification displayed
notification displayed
"
[ FAILED ] DesktopNotificationsTest.TestShow (2218 ms)
[ RUN ] DesktopNotificationsTest.TestClose
.\browser\notifications\desktop_notifications_unittest.cc(148): error: Value of: balloon_collection_->count()
Actual: 0
Expected: 1
.\browser\notifications\desktop_notifications_unittest.cc(157): error: Value of: log_output_
Actual: ""
Expected: "notification displayed\n" "notification closed by user\n"
Which is: "notification displayed
notification closed by user
"
[ FAILED ] DesktopNotificationsTest.TestClose (1566 ms)
[ RUN ] DesktopNotificationsTest.TestCancel
.\browser\notifications\desktop_notifications_unittest.cc(173): error: Value of: balloon_collection_->count()
Actual: 0
Expected: 1
.\browser\notifications\desktop_notifications_unittest.cc(185): error: Value of: log_output_
Actual: ""
Expected: "notification displayed\n" "notification closed by script\n"
Which is: "notification displayed
notification closed by script
"
[ FAILED ] DesktopNotificationsTest.TestCancel (1899 ms)
[ RUN ] DesktopNotificationsTest.TestPositioning
.\browser\notifications\desktop_notifications_unittest.cc(202): error: Expected: (top) <= (last_top - balloon_collection_->MinHeight()), actual: 0 vs -24
.\browser\notifications\desktop_notifications_unittest.cc(202): error: Expected: (top) <= (last_top - balloon_collection_->MinHeight()), actual: 0 vs -24
.\browser\notifications\desktop_notifications_unittest.cc(202): error: Expected: (top) <= (last_top - balloon_collection_->MinHeight()), actual: 0 vs -24
.\browser\notifications\desktop_notifications_unittest.cc(206): error: Value of: log_output_
Actual: ""
Expected: expected_log
Which is: "notification displayed\nnotification displayed\nnotification displayed\nnotification displayed\n"
[ FAILED ] DesktopNotificationsTest.TestPositioning (2181 ms)
...
script\nnotification displayed\nnotification closed by script\nnotification displayed\nnotification closed by script\nnotification closed by script\nnotification closed by script\nnotification closed by script\nnotification closed by script\n"
[ FAILED ] DesktopNotificationsTest.TestQueueing (4481 ms)
[ RUN ] DesktopNotificationsTest.TestEarlyDestruction
[ OK ] DesktopNotificationsTest.TestEarlyDestruction (2043 ms)
[ RUN ] DesktopNotificationsTest.TestUserInputEscaping
.\browser\notifications\desktop_notifications_unittest.cc(331): error: Value of: balloon_collection_->count()
Actual: 0
Expected: 1
:::Dr.Memory::: ERRORS FOUND:
:::Dr.Memory::: 200 unique, 22306 total unaddressable access(es)
:::Dr.Memory::: 11421 unique, 1723882 total uninitialized access(es)
:::Dr.Memory::: 0 unique, 0 total invalid heap argument(s)
:::Dr.Memory::: 0 unique, 0 total warning(s)
:::Dr.Memory::: 97 unique, 254 total, 144820 byte(s) of leak(s)
:::Dr.Memory::: 95 unique, 988 total, 159025 byte(s) of possible leak(s)
:::Dr.Memory::: ERRORS IGNORED:
:::Dr.Memory::: 0 suppressed error(s)
:::Dr.Memory::: 19 suppressed leak(s)
:::Dr.Memory::: 65 ignored assumed-innocuous system leak(s)
:::Dr.Memory::: 27404 still-reachable allocation(s)
:::Dr.Memory::: (re-run with "-show_reachable" for details)
:::Dr.Memory::: 0 error(s) beyond -report_max
:::Dr.Memory::: 0 leak(s) beyond -report_leak_max
:::Dr.Memory::: Details: C:\src\drmemory\git\build_drmemory/logs/DrMemory-unit_tests.exe.5416.000/results.txt

--------------------------------------------------

happened again on laptop, same circumstances with another unit_tests
running. but I can't seem to repro that by having one under DR at msgbox
mask (at startup: maybe needs to be partway through) while running another
one natively.

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

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.