Comments (3)
Do you know what exactly is getting leaked? E.g. a report from ASAN or whichever tool you use?
Also, please try to provide the minimum way to reproduce the problem.
from soci.
Do you know what exactly is getting leaked? E.g. a report from ASAN or whichever tool you use?
No particular Tool used. Just watched the Memory Allocation in the Task Manager over about 4 Days in multiple trial series. Till Process crashes.
Also, please try to provide the minimum way to reproduce the problem.
To reproduce:
// Call the "open" function from soci\src\core\session.cpp in your code,
// The database one wants to connect to must not to exist, so that the connection attempt fails.
try
void session::open(connection_parameters const & parameters)
catch (soci::odbc_soci_error const& e)
// Call the "close" function from soci\src\core\session.cpp to free the resources after the failed connection attempt.
void session::close()
catch (exception& ex)
// Call the "close" function from soci\src\core\session.cpp to free the resources after the failed connection attempt.
void session::close()
let the proces Run for Days (about 4) and watch how memory is allocated but not freed by the Process, till crash.
from soci.
Sorry, but I won't be able able to run a process for 4 days to debug this. Please try to use any of the memory leak detection tools to gather more information to help fix this problem.
from soci.
Related Issues (20)
- failed to connect to mysql database after I upgrade the mariadbclient library inside the msys2 HOT 2
- MSVC: number of sections exceeded object file format limit
- Issue with Boost 1.84 HOT 6
- Incorrect query result with `use` and `into` into vector, at least for sqlite3. HOT 1
- Incorrect query result with `use` and `into` into vector, at least for sqlite3. HOT 2
- SOCI with MySQL on Linux (Ubuntu) - impossible to link static HOT 12
- Dates before year 1900 stored in Oracle as one hundred years earlier. HOT 1
- Win10, sqlite3 , MultiThread , Can not use into and use . HOT 2
- Getting Invalid Cursor State on mssql - complex queries - Urgent help needed HOT 3
- BLOB does not work in Oracle HOT 11
- Cant use sqlstate(). Undefined reference HOT 2
- Using `row::move_as` while iterating `rowset` yields segmentation fault HOT 3
- Question on how to convert empty std::tm to timestamp and convert back in a MySQL database HOT 2
- How to create database using soci in mysql? HOT 1
- MariaDB? HOT 1
- Query not working through freeTDS works in Microsoft ODBC Driver HOT 4
- fatal error: 'mysql.h' file not found HOT 21
- File "private/soci-trivial-blob-backend.h" missing HOT 5
- Metadata and schemas other than public HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soci.