Skip to content
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

Little valgrind memory leak in isc_attach_database [CORE6031] #6281

Closed
firebird-issue-importer opened this issue Mar 21, 2019 · 4 comments
Closed

Comments

@firebird-issue-importer

Submitted by: Petr Kristan (epospro)

==28282== 66 bytes in 1 blocks are still reachable in loss record 2 of 2
==28282== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28282== by 0x61F79B9: strdup (strdup.c:42)
==28282== by 0x4EEADFE: _br_find_exe_for_symbol.isra.0.constprop.3 (binreloc.c:287)
==28282== by 0x4EEB148: Jnmy32213756385051_br_init_lib (binreloc.c:339)
==28282== by 0x4EEAA00: ConfigRoot::osConfigInstallDir() (config_root.cpp:67)
==28282== by 0x4E91F5B: GetInstallDir (config_root.h:84)
==28282== by 0x4E91F5B: ConfigRoot (config_root.h:91)
==28282== by 0x4E91F5B: create (init.h:218)
==28282== by 0x4E91F5B: operator() (init.h:247)
==28282== by 0x4E91F5B: getRootDirectory (PluginManager.cpp:1298)
==28282== by 0x4E91F5B: Firebird::IConfigManagerBaseImpl<Firebird::ConfigManager, Firebird::CheckStatusWrapper, Firebird::IVersionedImpl<Firebird::ConfigManager, Firebird::CheckStatusWrapper, Firebird::InheritFirebird::IConfigManager\ > >::cloopgetRootDirectoryDispatcher(Firebird::IConfigManager*) (IdlFbInterfaces.h:6841)
==28282== by 0x4EA1B7C: InitPrefix::init() (gds.cpp:3757)
==28282== by 0x4EA0F0D: init (init.h:190)
==28282== by 0x4EA0F0D: GDS_init_prefix (gds.cpp:3877)
==28282== by 0x4EA1164: gds__prefix (gds.cpp:1747)
==28282== by 0x4F59326: fb_utils::getPrefix(unsigned int, char const*) (utils.cpp:1107)
==28282== by 0x4F47108: AliasesConf (db_alias.cpp:266)
==28282== by 0x4F47108: create (init.h:218)
==28282== by 0x4F47108: operator() (init.h:247)
==28282== by 0x4F47108: expandDatabaseName(Firebird::StringBaseFirebird::PathNameComparator\, Firebird::StringBaseFirebird::PathNameComparator\&, Firebird::RefPtr<Config const>*) (db_alias.cpp:500)
==28282== by 0x4ECC8CF: Why::Dispatcher::attachOrCreateDatabase(Firebird::CheckStatusWrapper*, bool, char const*, unsigned int, unsigned char const*) (why.cpp:5684)
==28282== by 0x4ECD6E9: isc_attach_database (why.cpp:1543)

db_name: eposux:/home/firebird/petr/licence.fdb

Commits: 6211407 df8982b

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 21, 2019

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 25, 2019

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0.5 [ 10885 ]

Fix Version: 4.0 Beta 2 [ 10888 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 29, 2019

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Cannot be tested

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 29, 2019

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment