On 06/14/2016 05:37 PM, Dimitry Sibiryakov wrote:
> 14.06.2016 16:30, Alex Peshkoff wrote:
>> That's nice but I've asked what does contain a block (i.e. it's hex
>> dump) which is deallocated second time...
>     I think that you don't need bytes,

Then I can't help you any more...

> they are pointless without context. Block's content
> wasn't changed on deallocation, it still contain valid data.
>
>

If you think it's pool's bug look at diff between 3 & 4:

localhost classes # diff alloc.cpp 
/usr/home/firebird/B3_0_Release/src/common/classes
2218c2218
<       void* result = os_utils::mmap(NULL, size, PROT_READ | 
PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
---
 >       void* result = mmap(NULL, size, PROT_READ | PROT_WRITE, 
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
2224c2224
<       void* result = os_utils::mmap(NULL, size, PROT_READ | 
PROT_WRITE, MAP_PRIVATE, dev_zero_fd, 0);
---
 >       void* result = mmap(NULL, size, PROT_READ | PROT_WRITE, 
MAP_PRIVATE, dev_zero_fd, 0);

Windows build is not touched at all. I.e. this bug should be 
reproducible in fb3.


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to