DragonFly bugs List (threaded) for 2012-04
[DragonFlyBSD - Bug #2344] dmalloc assertion: (*bmp & (1LU << bno)) == 0 in memfree
Issue #2344 has been updated by Venkatesh Srinivas.
I believe the test program posted above is wrong. Specifically, after realloc(), it checks if the original pointer, not the new return from realloc, is nonzero, and then free()s. This is not okay -- after a nonzero return from realloc, the original pointer has been released and is no longer valid.
Bug #2344: dmalloc assertion: (*bmp & (1LU << bno)) == 0 in memfree
Author: Sven Gaerner
When running zsh an assertion is shown each time zsh is closed.
DragonFly version is v184.108.40.206.g17720-RELEASE an X86_64.
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account