Re: gdamm1.3.4: segfault on data_model->get_n_rows();
"Murray Cumming" <[email protected]> Wed, 17 Nov 2004 12:28:55 +0100 (CET)
| Newsgroups | gmane.comp.gnome.gnomemm,gmane.comp.gnome.db |
|---|---|
| Message-ID | <[email protected]> |
> Hello everyone, > > I hope I got the right list. > > I'm using gdamm1.3.4 with gda1.1.99 and followed basically the examples > in the tarball. I use a PostgreSQL server (on another box) and use a > simple query, which works perfectly well in pgaccess . > > This ( int rows = data_model->get_n_rows(); ) crashes my project. For a > full context see > http://cvs.berlios.de/cgi-bin/viewcvs.cgi/protosquared/protosquared/src/DBUtils.cc?rev=1.3&content-type=text/vnd.viewcvs-markup > > Here the last lines of an ordinary strace -run. Hope someone can help. What does the gdb backtrace look like? What does valgrind memcheck say? Murray Cumming [email protected] www.murrayc.com www.openismus.com