[postgis-devel] [PostGIS] #363: GUI segfaults after iconv error during load

PostGIS trac at osgeo.org
Mon Jan 4 13:42:02 PST 2010


#363: GUI segfaults after iconv error during load
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 1.5.1
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by pramsey):

 For completeness, here's the stack at the time when the hSHPHandle gets
 clobbered
 {{{
 (gdb) print state->hSHPHandle
 $1 = (SHPHandle) 0x132b1c0
 (gdb) watch *0x132b1c0+0x04
 Hardware watchpoint 2: *0x132b1c0+0x04
 (gdb) c
 Continuing.
 Hardware watchpoint 2: *0x132b1c0+0x04

 Old value = 2009464036
 New value = 4063772
 0x7c9276f9 in ntdll!RtlPcToFileHeader () from
 C:\WINDOWS\system32\ntdll.dll
 (gdb) bt
 #0  0x7c9276f9 in ntdll!RtlPcToFileHeader ()
    from C:\WINDOWS\system32\ntdll.dll
 #1  0x7c96f85a in ntdll!RtlpNtMakeTemporaryKey ()
    from C:\WINDOWS\system32\ntdll.dll
 #2  0x7c94bc4c in ntdll!LdrFindEntryForAddress ()
    from C:\WINDOWS\system32\ntdll.dll
 #3  0x003e0000 in ?? ()
 #4  0x50000061 in ?? ()
 #5  0x0132b1c0 in ?? ()
 #6  0x003e0000 in ?? ()
 #7  0x0132b1c0 in ?? ()
 #8  0x40000060 in ?? ()
 #9  0x0022f008 in ?? ()
 #10 0x858c2df6 in ?? ()
 #11 0x00047c5d in ?? ()
 #12 0x00b423fc in ?? ()
 #13 0x0022f018 in ?? ()
 #14 0x685eb9c8 in g_get_current_time ()
    from z:\win32build\output\pgsql-postgis\bin\libglib-2.0-0.dll
 #15 0x7c927573 in ntdll!RtlPcToFileHeader ()
    from C:\WINDOWS\system32\ntdll.dll
 #16 0x77c2c2de in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
 #17 0x003e0000 in ?? ()
 #18 0x00000000 in ?? ()
 (gdb)
 }}}
 Nice, hey?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/363#comment:16>
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