[postgis-tickets] [PostGIS] #2442: [rasters] Segfault when doing raster2pgsql

PostGIS trac at osgeo.org
Wed Aug 21 21:08:19 PDT 2013


#2442: [rasters] Segfault when doing raster2pgsql
-----------------------+----------------------------------------------------
 Reporter:  thesteve0  |       Owner:  pramsey      
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.1.0
Component:  postgis    |     Version:  2.0.x        
 Keywords:             |  
-----------------------+----------------------------------------------------
 When trying to run raster2pgsql on Fedora 19 to process a geotiff I get a
 segfault

 psql (PostgreSQL) 9.2.4
 GDAL 1.9.2, released 2012/10/08

 The file I am using is over 100 megs so I don't think I should attach it
 to the ticket.


 (gdb) run -s 3309 -t 100x100 -I -M -l 4 IR_R_G.tif  public.erdastest >
 gdb.sql
 Starting program: /usr/bin/raster2pgsql -s 3309 -t 100x100 -I -M -l 4
 IR_R_G.tif  public.erdastest > gdb.sql
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".
 Processing 1/1: IR_R_G.tif

 Program received signal SIGSEGV, Segmentation fault.
 0x0000003d7667c44d in malloc_consolidate () from /usr/lib64/libc.so.6
 (gdb) bt
 #0  0x0000003d7667c44d in malloc_consolidate () from /usr/lib64/libc.so.6
 #1  0x0000003d7667cfd6 in _int_free () from /usr/lib64/libc.so.6
 #2  0x0000003a0c418278 in gtCSVDeaccess () from
 /usr/lib64/libgeotiff.so.1.2
 #3  0x0000003a0c4182c9 in gtCSVDeaccess () from
 /usr/lib64/libgeotiff.so.1.2
 #4  0x0000003a0934a8c2 in GDALDriver::~GDALDriver() ()
    from /usr/lib64/libgdal.so.1
 #5  0x0000003a0934a8f9 in GDALDriver::~GDALDriver() ()
    from /usr/lib64/libgdal.so.1
 #6  0x0000003a0934cac0 in GDALDriverManager::~GDALDriverManager() ()
    from /usr/lib64/libgdal.so.1
 #7  0x0000003a0934caf9 in GDALDriverManager::~GDALDriverManager() ()
    from /usr/lib64/libgdal.so.1
 #8  0x0000003a090e37ce in GDALDestroy() () from /usr/lib64/libgdal.so.1
 #9  0x0000003d75e0fb6a in _dl_fini () from /lib64/ld-linux-x86-64.so.2
 #10 0x0000003d766392a9 in __run_exit_handlers () from /usr/lib64/libc.so.6
 #11 0x0000003d766392f5 in exit () from /usr/lib64/libc.so.6
 #12 0x0000003d76621b7c in __libc_start_main () from /usr/lib64/libc.so.6
 #13 0x00000000004053a5 in _start ()

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2442>
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-tickets mailing list