Peter Kroon wrote:
>>> I've found perhaps a bug.
>>> I've narrowed down my code and the problem is indeed at: conn =
>>> PQconnectdb(conninfo);
>>>
>>> My connection string: host=192.168.178.12 dbname=DATABASE user=foo
>>> password=bar
>>>
>>> When I remove key/value host=xxx then everything is O
Hi Laurenz,
I'm not using ssl at the moment.
The thing is when the reachable leak is there is just grows. It is not
constant. And at a given point the program will break.
I've ran the program with: valgrind --leak-check=full --show-reachable=yes
--log-file="_pg_test_debug.log" ./_pg_test_debug
V
Peter Kroon wrote:
> I've found perhaps a bug.
> I've narrowed down my code and the problem is indeed at: conn =
> PQconnectdb(conninfo);
>
> My connection string: host=192.168.178.12 dbname=DATABASE user=foo
> password=bar
>
> When I remove key/value host=xxx then everything is OK. Valgrind me
I've found perhaps a bug.
I've narrowed down my code and the problem is indeed at: conn =
PQconnectdb(conninfo);
My connection string: host=192.168.178.12 dbname=DATABASE user=foo
password=bar
When I remove key/value host=xxx then everything is OK. Valgrind mentions:
no leaks are possible.
When key
Peter Kroon writes:
> Every now and then my program will abort.
> IAnd this is because: conn = PQconnectdb(conninfo);
> The error given:
> *** Error in `./server_prog': malloc(): smallbin double linked list
> corrupted: 0x092c10a0 ***
This looks like malloc() complaining because something has cor
Hi,
Every now and then my program will abort.
IAnd this is because: conn = PQconnectdb(conninfo);
The error given:
*** Error in `./server_prog': malloc(): smallbin double linked list
corrupted: 0x092c10a0 ***
Any thoughts on why I'm getting this message?
Regards,
Peter