Re: [GENERAL] conn = PQconnectdb(conninfo);

2015-08-10 Thread Albe Laurenz
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

Re: [GENERAL] conn = PQconnectdb(conninfo);

2015-07-31 Thread Peter Kroon
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

Re: [GENERAL] conn = PQconnectdb(conninfo);

2015-07-31 Thread Albe Laurenz
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

Re: [GENERAL] conn = PQconnectdb(conninfo);

2015-07-29 Thread Peter Kroon
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

Re: [GENERAL] conn = PQconnectdb(conninfo);

2015-07-17 Thread Tom Lane
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

[GENERAL] conn = PQconnectdb(conninfo);

2015-07-17 Thread Peter Kroon
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