[Firebird-devel] [FB-Tracker] Created: (CORE-5282) Too small new limit of alias length

2016-06-14 Thread Sergey (JIRA)
Too small new limit of alias length --- Key: CORE-5282 URL: http://tracker.firebirdsql.org/browse/CORE-5282 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 3.0.0

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Alex Peshkoff
On 06/14/2016 05:50 PM, Dimitry Sibiryakov wrote: > 14.06.2016 16:43, Alex Peshkoff wrote: >> If you think it's pool's bug > No, I don't think that missing protection from double deallocation of > blocks is a bug. > > Suggested in your patch has one disadvantage - block can be overwritten

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Dimitry Sibiryakov
14.06.2016 16:43, Alex Peshkoff wrote: > If you think it's pool's bug No, I don't think that missing protection from double deallocation of blocks is a bug. -- WBR, SD. -- What NetFlow Analyzer can do for you?

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Alex Peshkoff
On 06/14/2016 05:46 PM, Dimitry Sibiryakov wrote: > 14.06.2016 16:30, Alex Peshkoff wrote: >> I've asked what does contain a block (i.e. it's hex >> dump) which is deallocated second time... > > Try to apply attached patch and run some tests. Double deallocation > seem to be more frequent than

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Dimitry Sibiryakov
14.06.2016 16:30, Alex Peshkoff wrote: I've asked what does contain a block (i.e. it's hex dump) which is deallocated second time... Try to apply attached patch and run some tests. Double deallocation seem to be more frequent than I expected or I did something wrong. -- WBR, SD.

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Alex Peshkoff
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

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Dimitry Sibiryakov
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, they are pointless without context. Block's content wasn't changed on deallocation, it still contain

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Alex Peshkoff
On 06/14/2016 05:22 PM, Dimitry Sibiryakov wrote: > 14.06.2016 16:17, Alex Peshkoff wrote: >> In dev_build - should. Except the head of a block which is reused for >> internal needs. How big is a block? What does it contain? > I got it on Savepoint. Quite small thing. > Probably, there are

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Alex Peshkoff
On 06/14/2016 05:03 PM, Dimitry Sibiryakov wrote: > 14.06.2016 15:59, Alex Peshkoff wrote: >>>and how to determine which member is valid? union { MemPool*pool; >> Used when block is allocated (points to the pool from which block is >> allocated).

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Dimitry Sibiryakov
14.06.2016 16:17, Alex Peshkoff wrote: > In dev_build - should. Except the head of a block which is reused for > internal needs. How big is a block? What does it contain? I got it on Savepoint. Quite small thing. Probably, there are more: I got about dozen crashes during full test cycle,

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Dimitry Sibiryakov
14.06.2016 15:59, Alex Peshkoff wrote: >> and how to determine which member is >> > valid? >> > >> > union >> > { >> >MemPool*pool; > Used when block is allocated (points to the pool from which block is > allocated). >> >MemBlock* next; > Used when block is free (points to

Re: [Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Alex Peshkoff
On 06/14/2016 04:14 PM, Dimitry Sibiryakov wrote: > Hello, All. > > Do anybody know why in MemHeader this is an union To save memory - that pointers are never used together. > and how to determine which member is > valid? > > union > { > MemPool*pool; Used when block is

[Firebird-devel] Memory pool: memory block header

2016-06-14 Thread Dimitry Sibiryakov
Hello, All. Do anybody know why in MemHeader this is an union and how to determine which member is valid? union { MemPool*pool; MemBlock* next; }; -- WBR, SD. -- What NetFlow

[Firebird-devel] [FB-Tracker] Created: (CORE-5281) Support AS CURSOR and . features in FOR EXECUTE STATEMENT loops

2016-06-14 Thread Dmitry Yemanov (JIRA)
Support AS CURSOR and . features in FOR EXECUTE STATEMENT loops -- Key: CORE-5281 URL: http://tracker.firebirdsql.org/browse/CORE-5281 Project: Firebird Core Issue

[Firebird-devel] [FB-Tracker] Created: (CORE-5280) Grant field rights + grant select to package = internal Firebird consistency check (bad ACL (293), file: grant.cpp line: 2431)

2016-06-14 Thread JIRA
Grant field rights + grant select to package = internal Firebird consistency check (bad ACL (293), file: grant.cpp line: 2431) --- Key: CORE-5280