-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRASH (tests/free) release build linux suite: pointer overflow #1260
Comments
From [email protected] on June 04, 2013 09:23:21 Managed to repro after 100 iters:
<Application /work/drmemory/build_suite/build_drmemory-rel-32/tests/free (5361). Unrecoverable Error at PC 0xf756d61f. Program aborted. (gdb) p /x *sc in /proc/self/maps: release build, so callstack takes some effort: So shadow_set_range(0xffff8a70, 0xffffb000, 0x00000000) DrMem is setting the shadow value for the initial app stack. Why is the memset size so large, larger than the app size? |
From [email protected] on June 04, 2013 10:21:20 app_blk_base for 0xffff8a70 = 0xffff0000 ** TODO how fix this in general? not easy! Xref issue #302 where compiler turned "ptr + val < ptr" into "false". I only For DR this is DRi#704: "properly handle address overflow in stored end From DRi#704: We have many routines that take in "start, end". Anywhere that computes
Back to DR, looking at random spots: dr_query_memory() returns size, but allmem would trigger this add_vm_area() assert: Summary: CRASH (tests/free) release build linux suite: pointer overflow (was: CRASH (tests/free) release build linux suite) |
From [email protected] on June 04, 2013 13:28:55 I split the general issue off as issue #1261 . This issue just covers Umbra. ** TODO add a test confirmed this catches it pre-fix:
post-fix:
[----------] Global test environment tear-down |
From [email protected] on June 05, 2013 13:35:11 This issue was closed by revision r1406 . Status: Fixed |
From [email protected] on June 04, 2013 11:27:21
This happened in my test suite once. I can't reproduce manually, and this is Linux where there's no ldmp:
drmemory-rel-32: 50 tests passed, **** 2 tests failed, of which 1 were flaky: ****
free => Application /work/drmemory/build_suite/build_drmemory-rel-32/tests/free (1336). Unrecoverable Error at PC 0xf754965a. Program aborted. ; (1336). Unrecoverable Error at PC 0xf754965a. Program aborted.
Original issue: http://code.google.com/p/drmemory/issues/detail?id=1260
The text was updated successfully, but these errors were encountered: