-
-
Notifications
You must be signed in to change notification settings - Fork 233
Assert in CachedMasterInterface::set [CORE5350] #2063
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
Comments
Modified by: @ibproviderdescription: 1. Start server [debug build, x64] void CachedMasterInterface::set(IMaster* master) Stack of crash: => 1. Start server [debug build, x64] void CachedMasterInterface::set(IMaster* master) Stack of crash: |
Commented by: @AlexPeshkoff Does not reproduce on linux on current B3_0_Release |
Commented by: @ibprovider Reproduced on clear source code of FB 3.0.1.32597 [B3_0_Release] Microsoft Visual Studio Community 2015 |
Commented by: @ibprovider The problem with this assert still exists. Original source from B3_0_Release, FB 3.0.2.32629, x64, VS2015 build, SuperServer. 1. Connect to database Watch: Stack: |
Commented by: @AlexPeshkoff Confirmed on windows |
Modified by: @hvladassignee: Vlad Khorsun [ hvlad ] |
Commented by: @ibprovider With release build (in same scenario - connect/disconnect/pause/connect) I get the "Error occurred during login, please check server firebird.log for details." error. Tested at FB x64 SuperServer (VS2015 SP3 build). |
Commented by: @hvlad Fix is committed, verify please |
Commented by: @ibprovider Debug and release binaries (SuperServer x64) now work without these problems. |
Modified by: @hvladstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 4.0 Alpha 1 [ 10731 ] Fix Version: 3.0.2 [ 10785 ] |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: No test => Cannot be tested |
Does not reproduce on fresh builds. |
Submitted by: @ibprovider
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);
fb_assert(!cached); // <-------------- line with problem
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<Firebird::PluginManager,Firebird::CheckStatusWrapper,Firebird::IVersionedImpl<Firebird::PluginManager,Firebird::CheckStatusWrapper,Firebird::InheritFirebird::IPluginManager\ > >::cloopgetPluginsDispatcher(Firebird::IPluginManager * self, Firebird::IStatus * status, unsigned int pluginType, const char * namesList, Firebird::IFirebirdConf * firebirdConf) Line 6464 C++
fbclient.dll!Firebird::IPluginManager::getPluginsFirebird::CheckStatusWrapper\(Firebird::CheckStatusWrapper * status, unsigned int pluginType, const char * namesList, Firebird::IFirebirdConf * firebirdConf) Line 810 C++
fbclient.dll!Firebird::GetPluginsFirebird::IProvider\::GetPluginsFirebird::IProvider\(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 5705 C++
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<Why::Dispatcher,Firebird::CheckStatusWrapper,Firebird::IPluginBaseImpl<Why::Dispatcher,Firebird::CheckStatusWrapper,Firebird::Inherit<Firebird::IReferenceCountedImpl<Why::Dispatcher,Firebird::CheckStatusWrapper,Firebird::Inherit<Firebird::IVersionedImpl<Why::Dispatcher,Firebird::CheckStatusWrapper,Firebird::InheritFirebird::IProvider\ > > > > > >::cloopattachDatabaseDispatcher(Firebird::IProvider * self, Firebird::IStatus * status, const char * fileName, unsigned int dpbLength, const unsigned char * dpb) Line 8995 C++
firebird.exe!Firebird::IProvider::attachDatabaseFirebird::CheckStatusWrapper\(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 138 C++
firebird.exe!Firebird::IServerBaseImpl<Auth::SrpServer,Firebird::CheckStatusWrapper,Firebird::IAuthImpl<Auth::SrpServer,Firebird::CheckStatusWrapper,Firebird::Inherit<Firebird::IPluginBaseImpl<Auth::SrpServer,Firebird::CheckStatusWrapper,Firebird::Inherit<Firebird::IReferenceCountedImpl<Auth::SrpServer,Firebird::CheckStatusWrapper,Firebird::Inherit<Firebird::IVersionedImpl<Auth::SrpServer,Firebird::CheckStatusWrapper,Firebird::InheritFirebird::IServer\ > > > > > > > >::cloopauthenticateDispatcher(Firebird::IServer * self, Firebird::IStatus * status, Firebird::IServerBlock * sBlock, Firebird::IWriter * writerInterface) Line 9753 C++
firebird.exe!Firebird::IServer::authenticateFirebird::CheckStatusWrapper\(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 94 C++
Commits: c72cb57 be8a09d
The text was updated successfully, but these errors were encountered: