[osgeo4w-dev] Re: gdb debug for grass g.proj crash in Windows Vista
G. Allegri
giohappy at gmail.com
Mon Mar 23 05:50:55 EDT 2009
0x774a7dff in ntdll!DbgUiConvertStateChangeStructure ()
from C:\Windows\system32\ntdll.dll
(gdb) warning: HEAP[g.proj.exe]:
warning: Invalid address specified to RtlFreeHeap( 01400000, 017F4700 )
this is what causes the crash.
--------------------------------------
Debug session output
--------------------------------------
print_wkt (esristyle=2, dontprettify=20986248) at output.c:138
138 G_free(outwkt);
(gdb) n
0x004035e0 in G_free ()
(gdb) n
Single stepping until exit from function G_free,
which has no line number information.
G_free (buf=0x17f4700) at alloc.c:128
128 {
(gdb) n
129 free(buf);
(gdb) n
0x6f574d20 in free ()
from c:\OSGeo4W\apps\grass\grass-6.5.svn\lib\libgrass_gis.6.5.svn.dll
(gdb) n
Single stepping until exit from function free,
which has no line number information.
0x76689d32 in msvcrt!free () from C:\Windows\system32\msvcrt.dll
(gdb) n
Single stepping until exit from function msvcrt!free,
which has no line number information.
0x76689cd4 in msvcrt!memcpy () from C:\Windows\system32\msvcrt.dll
(gdb) n
Single stepping until exit from function msvcrt!memcpy,
which has no line number information.
0x76689d3e in msvcrt!free () from C:\Windows\system32\msvcrt.dll
(gdb) n
Single stepping until exit from function msvcrt!free,
which has no line number information.
0x765ec55b in KERNEL32!HeapLock () from C:\Windows\system32\kernel32.dll
(gdb) n
Single stepping until exit from function KERNEL32!HeapLock,
which has no line number information.
Program received signal SIGTRAP, Trace/breakpoint trap.
0x774a7dff in ntdll!DbgUiConvertStateChangeStructure ()
from C:\Windows\system32\ntdll.dll
(gdb) warning: HEAP[g.proj.exe]:
warning: Invalid address specified to RtlFreeHeap( 01400000, 017F4700 )
s
Single stepping until exit from function
ntdll!DbgUiConvertStateChangeStructure,
which has no line number information.
0x77511c93 in ntdll!RtlpNtMakeTemporaryKey ()
from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!RtlpNtMakeTemporaryKey,
which has no line number information.
0x774e2b26 in ntdll!RtlTimeToTimeFields () from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!RtlTimeToTimeFields,
which has no line number information.
0x77472140 in ntdll!RtlOwnerAcesPresent () from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!RtlOwnerAcesPresent,
which has no line number information.
0x77512cf3 in ntdll!RtlpNtMakeTemporaryKey ()
from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!RtlpNtMakeTemporaryKey,
which has no line number information.
0x774ba1bd in ntdll!A_SHAInit () from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!A_SHAInit,
which has no line number information.
0x77512ec1 in ntdll!RtlpNtMakeTemporaryKey ()
from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!RtlpNtMakeTemporaryKey,
which has no line number information.
0x774dbfe8 in ntdll!RtlTimeToTimeFields () from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!RtlTimeToTimeFields,
which has no line number information.
0x774c861a in ntdll!RtlUnhandledExceptionFilter ()
from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!RtlUnhandledExceptionFilter,
which has no line number information.
0x774ba1bd in ntdll!A_SHAInit () from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!A_SHAInit,
which has no line number information.
0x774c861f in ntdll!RtlUnhandledExceptionFilter ()
from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function ntdll!RtlUnhandledExceptionFilter,
which has no line number information.
0x774c589a 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.
0x765ec56f in KERNEL32!HeapLock () from C:\Windows\system32\kernel32.dll
(gdb) s
Single stepping until exit from function KERNEL32!HeapLock,
which has no line number information.
0x76689d6b 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.
0x766c1bd2 in msvcrt!_ftol2_sse_excpt () from C:\Windows\system32\msvcrt.dll
(gdb) s
Single stepping until exit from function msvcrt!_ftol2_sse_excpt,
which has no line number information.
0x76694ffd in strpbrk () from C:\Windows\system32\msvcrt.dll
(gdb) s
Single stepping until exit from function strpbrk,
which has no line number information.
0x766c1be5 in msvcrt!_ftol2_sse_excpt () from C:\Windows\system32\msvcrt.dll
(gdb) s
Single stepping until exit from function msvcrt!_ftol2_sse_excpt,
which has no line number information.
0x76689d73 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.
0x76689d19 in msvcrt!memcpy () from C:\Windows\system32\msvcrt.dll
(gdb) s
Single stepping until exit from function msvcrt!memcpy,
which has no line number information.
0x76689d78 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.
main (argc=2, argv=0x1403988) at main.c:233
233 if (create->answer)
(gdb) s
239 if (projinfo != NULL)
(gdb) n
240 G_free_key_value(projinfo);
(gdb) n
241 if (projunits != NULL)
(gdb) n
242 G_free_key_value(projunits);
(gdb) n
244 exit(EXIT_SUCCESS);
(gdb) n
PROJCS["Transverse Mercator",
GEOGCS["international",
DATUM["Monte_Mario",
SPHEROID["International_1924",6378388,297],
TOWGS84[-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",9],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",1500000],
PARAMETER["false_northing",0],
UNIT["metre",1]]
Program exited normally
More information about the osgeo4w-dev
mailing list