Re: [Firebird-devel] CNCT_user and CNCT_host

2016-09-17 Thread Alex Peshkoff
On 16.09.2016 23:22, Jiří Činčura wrote:
> I was thinking quite the opposite. Dropping the CNCT values. In DPB
> there's more (like process ID etc.) so I thought I would logically
> group it there.

Historical reasons.
This values were passed in CNCT since pre-firebird times therefore 
current solution was OK for old clients.


--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] [FB-Tracker] Created: (CORE-5350) Assert in CachedMasterInterface::set

2016-09-17 Thread Kovalenko Dmitry (JIRA)
Assert in CachedMasterInterface::set


 Key: CORE-5350
 URL: http://tracker.firebirdsql.org/browse/CORE-5350
 Project: Firebird Core
  Issue Type: Bug
Affects Versions: 3.0.0, 3.0.1
 Environment: Windows 7 x64
Reporter: Kovalenko Dmitry


1. Start server [debug build, x64]
2. Connect to database
3. Disconnect from database
4. Wait some time (1-2 minutes)
5. Connect to database again

void CachedMasterInterface::set(IMaster* master)
{
fb_assert(master); // <-- line with problem
fb_assert(!cached);
cached = master;
}

Stack of crash:
engine12.dll!fb_assert_impl(const char * msg, const char * file, int 
line, bool do_abort) Line 40   C++
>   engine12.dll!Firebird::CachedMasterInterface::set(Firebird::IMaster * 
> master) Line 56   C++
engine12.dll!firebird_plugin(Firebird::IMaster * master) Line 428   
C++
fbclient.dll!`anonymous namespace'::PluginSet::loadModule(const 
`anonymous-namespace'::PluginLoadInfo & info) Line 1091 C++
fbclient.dll!`anonymous 
namespace'::PluginSet::next(Firebird::CheckStatusWrapper * status) Line 1013
C++
fbclient.dll!`anonymous namespace'::PluginSet::PluginSet(const unsigned 
int pinterfaceType, const char * const pnamesList, Firebird::IFirebirdConf * 
const fbConf) Line 928 C++

fbclient.dll!Firebird::PluginManager::getPlugins(Firebird::CheckStatusWrapper * 
status, unsigned int interfaceType, const char * namesList, 
Firebird::IFirebirdConf * firebirdConf) Line 1250   C++

fbclient.dll!Firebird::IPluginManagerBaseImpl
 > >::cloopgetPluginsDispatcher(Firebird::IPluginManager * self, 
Firebird::IStatus * status, unsigned int pluginType, const char * namesList, 
Firebird::IFirebirdConf * firebirdConf) Line 6464 C++

fbclient.dll!Firebird::IPluginManager::getPlugins(Firebird::CheckStatusWrapper
 * status, unsigned int pluginType, const char * namesList, 
Firebird::IFirebirdConf * firebirdConf) Line 810C++

fbclient.dll!Firebird::GetPlugins::GetPlugins(const
 unsigned int interfaceType, Config * const knownConfig, const char * 
namesList) Line 136  C++

fbclient.dll!Why::Dispatcher::attachOrCreateDatabase(Firebird::CheckStatusWrapper
 * status, bool createFlag, const char * filename, unsigned int dpbLength, 
const unsigned char * dpb) Line 5705C++

fbclient.dll!Why::Dispatcher::attachDatabase(Firebird::CheckStatusWrapper * 
status, const char * filename, unsigned int dpbLength, const unsigned char * 
dpb) Line 5625 C++

fbclient.dll!Firebird::IProviderBaseImpl
 > > > > > >::cloopattachDatabaseDispatcher(Firebird::IProvider * self, 
Firebird::IStatus * status, const char * fileName, unsigned int dpbLength, 
const unsigned char * dpb) Line 8995   C++

firebird.exe!Firebird::IProvider::attachDatabase(Firebird::CheckStatusWrapper
 * status, const char * fileName, unsigned int dpbLength, const unsigned char * 
dpb) Line 2026   C++
firebird.exe!Auth::SrpServer::authenticate(Firebird::CheckStatusWrapper 
* status, Firebird::IServerBlock * sb, Firebird::IWriter * writerInterface) 
Line 138C++

firebird.exe!Firebird::IServerBaseImpl
 > > > > > > > >::cloopauthenticateDispatcher(Firebird::IServer * self, 
Firebird::IStatus * status, Firebird::IServerBlock * sBlock, Firebird::IWriter 
* writerInterface) Line 9753C++

firebird.exe!Firebird::IServer::authenticate(Firebird::CheckStatusWrapper
 * status, Firebird::IServerBlock * sBlock, Firebird::IWriter * 
writerInterface) Line 2359   C++
firebird.exe!`anonymous namespace'::ServerAuth::authenticate(packet * 
send, ServerAuthBase::AuthenticateFlags flags) Line 434   C++
firebird.exe!accept_connection(rem_port * port, p_cnct * connect, 
packet * send) Line 1785  C++
firebird.exe!process_packet(rem_port * port, packet * sendL, packet * 
receive, rem_port * * result) Line 4193   C++
firebird.exe!loopThread(void * __formal) Line 5836  C++
firebird.exe!`anonymous namespace'::ThreadArgs::run() Line 78   C++
firebird.exe!threadStart(void * arg) Line 94C++


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel