Issue Details (XML | Word | Printable)

Key: CORE-6031
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Petr Kristan
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Little valgrind memory leak in isc_attach_database

Created: 21/Mar/19 11:57 AM   Updated: 29/Mar/19 01:12 PM
Component/s: API / Client Library
Affects Version/s: 3.0.4
Fix Version/s: 3.0.5, 4.0 Beta 2

Environment: Linux Firebird-debuginfo-3.0.4.33054-0.amd64.tar.gz

QA Status: Cannot be tested


 Description  « Hide
==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::Inherit<Firebird::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::StringBase<Firebird::PathNameComparator>, Firebird::StringBase<Firebird::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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.