Re: PQclear() causes coredump

Поиск
Список
Период
Сортировка
От Alfred Perlstein
Тема Re: PQclear() causes coredump
Дата
Msg-id 20001015132509.J272@fw.wintelcom.net
обсуждение исходный текст
Ответ на PQclear() causes coredump  ("Oliver Fischer" <nexus@fileseeker.net>)
Список pgsql-interfaces
* Oliver Fischer <nexus@fileseeker.net> [001015 11:19] wrote:
> Hi Folks,
> 
> I write a program in c++ using PostgreSQL 7.0 at the moment.
> During this, I have
> written some small classes for accessing the database. One of
> this classes is QtResultSet. I use them to manage my statments.
> 
> To avoid memory leaks, I use the dtor to free the resultset with
> PQclear(). Unfortunaly every call to PQclear causes a coredump.
> What is my mistake?
> 
> === QtResultSet.h ===

[snip]

Perhaps you can post us a traceback from your coredump?  If you could
also give a relatively simple way to reproduce the bug with a driver
program that uses your class it would be helpful.

-Alfred


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Oliver Fischer"
Дата:
Сообщение: PQclear() causes coredump
Следующее
От: "Oliver Fischer"
Дата:
Сообщение: Re: PQclear() causes coredump