[postgis-devel] [PostGIS] #273: ST_GeomFromGML crashes in Windows compiled in MingW

PostGIS trac at osgeo.org
Tue Nov 24 09:00:41 PST 2009


#273: ST_GeomFromGML crashes in Windows compiled in MingW
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  colivier     
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by robe):

 Here is the backtrace from both my PostgreSQL 8.4 (VC++ EDB build as well
 as my MingW build)


 {{{
 Under postgresql VC++ build
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 7700.0xb20]
 0x00000000 in ?? ()
 (gdb) bt
 #0  0x00000000 in ?? ()
 #1  0x68f22718 in parse_gml_data ()
    from C:\Program Files\PostgreSQL\8.4\lib\postgis-1.5.dll
 #2  0x68f22e13 in parse_gml ()
    from C:\Program Files\PostgreSQL\8.4\lib\postgis-1.5.dll
 #3  0x68f2430f in geom_from_gml ()
    from C:\Program Files\PostgreSQL\8.4\lib\postgis-1.5.dll
 #4  0x004dbc69 in postgres!get_attavgwidth ()
 #5  0x00caf708 in ?? ()
 #6  0x00caf708 in ?? ()
 #7  0x00caf6e8 in ?? ()
 #8  0x03f8ca20 in ?? ()
 #9  0x03f8c5d8 in ?? ()
 #10 0x000186cf in ?? ()
 #11 0x03a653d0 in ?? ()
 #12 0x00000000 in ?? ()

 ------

 MingW postgres 8.4

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 6288.0x1198]
 0x00000000 in ?? ()
 (gdb) bt
 #0  0x00000000 in ?? ()
 #1  0x68f22718 in parse_gml_data ()
    from C:\projects\pg\pg84\lib\postgresql\postgis-1.5.dll
 #2  0x68f22e13 in parse_gml ()
    from C:\projects\pg\pg84\lib\postgresql\postgis-1.5.dll
 #3  0x68f2430f in geom_from_gml ()
    from C:\projects\pg\pg84\lib\postgresql\postgis-1.5.dll
 #4  0x0050363c in ExecMakeFunctionResult ()
 #5  0x00506cd3 in ExecEvalExprSwitchContext ()
 #6  0x0056988f in evaluate_expr ()
 #7  0x0056a07f in simplify_function ()
 #8  0x0056a767 in eval_const_expressions_mutator ()
 #9  0x0052a733 in expression_tree_mutator ()
 #10 0x0056a58a in eval_const_expressions_mutator ()
 #11 0x0052ac57 in expression_tree_mutator ()
 #12 0x0056a58a in eval_const_expressions_mutator ()
 #13 0x0056b6ad in eval_const_expressions ()
 #14 0x0055c36b in preprocess_expression ()
 #15 0x03997ee0 in ?? ()
 #16 0x00000001 in ?? ()
 #17 0xffffffff in ?? ()
 #18 0x00000000 in ?? ()

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/273#comment:17>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list