Re: [gnome-db] Problems with GnomeDbQuery
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Daniel Espinosa <esodan gmail com>
- Cc: gnome-db-list gnome org
- Subject: Re: [gnome-db] Problems with GnomeDbQuery
- Date: Fri, 15 Jul 2005 14:46:48 +0200
On Thu, 2005-07-14 at 19:15 -0500, Daniel Espinosa wrote:
> I have the following code:
>
> GnomeDbQuery q_proyectos;
> GError error = NULL
>
> /* I pass a valid pointer to a GnomeDbDict conf->dict */
>
> q_proyectos = GNOME_DB_QUERY (gnome_db_query_new_from_sql (conf->dict,
> "SELECT * FROM proyectos", error));
>
> but the program stops with a segmentation violation.
>
> I tested the same query in mergeant and it works well.
>
> Following the error I find some points calling the sql parser.
>
> Any idea?
>
could you run the program in gdb and get a stacktrace? (bt command in
gdb when the program crashes)
--
Rodrigo Moya <rodrigo gnome-db org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]