[postgis-devel] [PostGIS] #363: GUI Options Window won't Re-open
PostGIS
trac at osgeo.org
Sat Jan 2 00:24:54 PST 2010
#363: GUI Options Window won't Re-open
----------------------+-----------------------------------------------------
Reporter: pramsey | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 1.5.0
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by pramsey):
OK, I replicated and stepped into this. I found an unrelated crasher
(well, it only crashed when running in gdb) that occurred just by opening
and closing the options. The malformed iconv key problem is not related to
iconv, it's related to the shutdown of the process. However, it's pretty
hard to understand what's going wrong, the fault is actually occurring
down in SHPClose.
{{{
pgui_action_import (widget=0xb59758, data=0x0) at shp2pgsql-gui.c:832
832 ShpLoaderDestroy(state);
(gdb) s
ShpLoaderDestroy (state=0x1324120) at shp2pgsql-core.c:1828
1828 {
(gdb) s
1831 if (state != NULL)
(gdb) s
1833 if (state->hSHPHandle)
(gdb) s
1834 SHPClose(state->hSHPHandle);
(gdb) s
SHPClose (psSHP=0xc01fe0) at shpopen.c:574
574 {
(gdb) s
578 if ( psSHP->bUpdated )
(gdb) s
584 free( psSHP->panRecOffset );
(gdb) s
585 free( psSHP->panRecSize );
(gdb) s
587 fclose( psSHP->fpSHX );
(gdb) s
588 fclose( psSHP->fpSHP );
(gdb) s
590 if ( psSHP->pabyRec != NULL )
(gdb) s
595 free( psSHP );
(gdb) s
0x00425ad0 in free ()
(gdb) s
Single stepping until exit from function free, which has no line number
information.
0x77c2c21b in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
(gdb) s
Single stepping until exit from function msvcrt!free, which has no line
number information.
0x77c37420 in strerror () from C:\WINDOWS\system32\msvcrt.dll
(gdb) s
Single stepping until exit from function strerror, which has no line
number information.
0x77c2c227 in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
(gdb) s
Single stepping until exit from function msvcrt!free, which has no line
number information.
0x7c90ff2d in ntdll!RtlFreeThreadActivationContextStack ()
from C:\WINDOWS\system32\ntdll.dll
(gdb) s
Single stepping until exit from function
ntdll!RtlFreeThreadActivationContextStack, which has no line number
information.
0x7c90e8cb in strchr () from C:\WINDOWS\system32\ntdll.dll
(gdb) s
Single stepping until exit from function strchr, which has no line number
information.
0x7c90ff3c in ntdll!RtlFreeThreadActivationContextStack ()
from C:\WINDOWS\system32\ntdll.dll
(gdb) s
Single stepping until exit from function
ntdll!RtlFreeThreadActivationContextStack, which has no line number
information.
0x7c927569 in ntdll!RtlPcToFileHeader () from
C:\WINDOWS\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!RtlPcToFileHeader, which
has no line number information.
Program received signal SIGSEGV, Segmentation fault.
0x7c96f749 in ntdll!RtlpNtMakeTemporaryKey ()
from C:\WINDOWS\system32\ntdll.dll
(gdb)
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/363#comment:11>
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