[GRASS-dev] db.execute segfaults on simplest SQL query
Markus Neteler
neteler at itc.it
Mon Oct 8 16:15:29 EDT 2007
Remember that v.db.select can follow to tables in
different mapsets while the db.* command cannot.
Can this be the issue?
If not, could you provide some code to repeat in
Spearfish or North Carolina dataset?
Markus
On Mon, Oct 08, 2007 at 10:08:59PM +0200, Maciej Sieczka wrote:
> This works:
>
> $ v.db.select pts_out col=rast_val
> rast_val
> 108.3656
> 102.906
> 41.60993
>
> but, it's SQL counterpart segfaults:
>
> $ echo "SELECT rast_val FROM pts_out" | db.execute
> Segmentation fault
> dbmi: Protocol error
> ERROR: Error while executing: 'SELECT rast_val FROM pts_out
> '
>
> DBF driver. Tested with latest 6.3 CVS. Has been the same in
> 6.3 CVS of 17.09.2007 at least and 6.2.2 CVS of 13.09.2007.
>
> Shall I open a ticket in the tracker? If more info or test
> dataset is needed pls let me know.
>
> Maciek
>
------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------
More information about the grass-dev
mailing list