[postgis-users] itemnquery limitation

Tom Melhuish tmelhuish at webinsightsinc.com
Mon Aug 25 06:15:20 PDT 2003


Dave,

Attached is the gdb log I obtained from running the program with more then
21 items.

tom

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of David
Blasby
Sent: Wednesday, August 13, 2003 3:28 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] itemnquery limitation


Tom Melhuish wrote:
> Can you provide me some instruction on turning on the debugger you are
> referring to. I have no problem running the debugger.

1. recompile mapserver with debug (either ./configure with
--enable-debug or change you Makefile so CFLAGS has "-g" in it.

2. run your program like this:
	a. from your command line: gdb <mapserv executable>
	b. from inside gdb: set args <your big "QUERY_STRING=..." argument>
	c. run the program using gdb's "r" command. (type in "r" then enter)
	d. wait a little while until its "stuck"
	e. hit control-C
	f. use gdb's "where" command.


	g. continue the program with the "c" command
	h. wait a little while
	i. hit control-C
	f. use gdb's "where" command

The "where" command will give you the current call stack in the program
and, hence, where's it stuck.

dave


_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb_log
Type: application/octet-stream
Size: 12218 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20030825/847e6784/attachment.obj>


More information about the postgis-users mailing list