Bugs item #1971632, was opened at 2008-05-25 01:54
Message generated for change (Settings changed) made by nielsnes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1971632&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules
Group: Geom CVS Head
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Stefan de Konink (skinkie)
Assigned to: Niels Nes (nielsnes)
Summary: X(g) / Y(g) segmentation fault

Initial Comment:
Using basic.sql

sql>select X(g) from geoms ;



(gdb) bt
#0  0x00002aaab3153c87 in GEOSCoordSeq_getOrdinate () from 
/usr/lib/libgeos_c.so.1
#1  0x00002aaab2f26d04 in wkbgetcoordX (out=0x12e1e78, geom=<value optimized 
out>) at geom.mx:788
#2  0x00002b37484c28ee in runMALsequence (cntxt=0x6046d0, mb=0x12e2328, 
startpc=1, stoppc=0, stk=0x12e1ac8, env=0x0, pcicaller=0x0)
    at mal_interpreter.mx:1118
#3  0x00002b37484c7c95 in callMAL (cntxt=0x6046d0, mb=0x12e2328, 
env=0x42003018, argv=0x42002ff0, debug=0 '\0') at mal_interpreter.mx:412
#4  0x00002aaab3c0a71d in SQLexecutePrepared (c=0x6046d0, be=<value optimized 
out>, q=0x12e21a8) at sql_scenario.mx:1189
#5  0x00002aaab3c0c9ca in SQLengineIntern (c=0x6046d0, be=0x12e0ec8) at 
sql_scenario.mx:1300
#6  0x00002b37484e6b1d in runScenario (c=0x6046d0) at mal_scenario.mx:630
#7  0x00002b37484be308 in MSserveClient (dummy=<value optimized out>) at 
mal_session.mx:471
#8  0x00002b3749c3d067 in start_thread () from /lib/libpthread.so.0
#9  0x00002b374ab48bdd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()


----------------------------------------------------------------------

>Comment By: Niels Nes (nielsnes)
Date: 2008-06-02 06:48

Message:
Logged In: YES 
user_id=43556
Originator: NO

after the m5 multiplex fix we now get the correct errors too, ie closing
this bug.

----------------------------------------------------------------------

Comment By: Niels Nes (nielsnes)
Date: 2008-05-28 09:52

Message:
Logged In: YES 
user_id=43556
Originator: NO

added a test X_crash.SF-1971632.sql to geom/BugTracker. The test output
isn't correct as we do expect an error.

----------------------------------------------------------------------

Comment By: Niels Nes (nielsnes)
Date: 2008-05-28 09:06

Message:
Logged In: YES 
user_id=43556
Originator: NO

only points and linestrings can have an Coord Sequence. So we now protect
against GetCoord returning NULL.

----------------------------------------------------------------------

Comment By: Stefan de Konink (skinkie)
Date: 2008-05-27 20:58

Message:
Logged In: YES 
user_id=533026
Originator: YES

Interesting...

sql>select X(g) from nodes limit 1;
+------------------------+
| x_g                    |
+========================+
|     52.069699999999997 |
+------------------------+
sql>select Y(g) from nodes limit 1;
+------------------------+
| y_g                    |
+========================+
|     4.3723000000000001 |
+------------------------+

(I didn't update)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1971632&group_id=56967

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to