[fpc-pascal] Need help with a backtrace from fpc 2.6.4
Dimitrios Chr. Ioannidis
d.ioannidis at nephelae.eu
Fri Jun 17 13:18:25 CEST 2016
Hi all,
i have an app, that is running at approx. 300 pc's with os's varying
from xp to win 10 ( all windows ).
All ( almost ) the pc's are controlled by the company I work for and
their installation is a simply img transfer to a new hdd ( preconfigured
windows images bundle).
Now, I have 2 or 3 installations with win xp ( I know that xp is old
but the customer wants what the customer wants ) which the app ( a
windows service ), doesn't behave correctly. The support people even
reinstalled the os, check with other similar xp installations the
settings to be identical etc.
So I installed the debug build of the app ( FYI it's a windows service
), transfer gdb to the client pc and took a backtrace to see what is
wrong. I don't understand why in one pc with win xp same locale,
codepage, etc works and in those machines chokes here :
[fpc 2.6.4 fixes branch, lazarus 1.6.1 rev: 52282, windows xp sp 3 greek
locale ]
#0 DOENCODEDATE (YEAR=64001, MONTH=64176, DAY=1)
at ../objpas/sysutils/dati.inc:29
result = 127269377
DOENCODEDATE = 127269377
RESULT = 127269377
D = 42538
#1 0x004302eb in SYSTEMTIMETODATETIME (SYSTEMTIME=...)
at ../objpas/sysutils/dati.inc:223
result = 42538
SYSTEMTIMETODATETIME = 42538
RESULT = 42538
#2 0x004303b1 in NOW () at ../objpas/sysutils/dati.inc:263
result = 42538
NOW = 42538
RESULT = 42538
SYSTEMTIME = {WYEAR = 2016, WMONTH = 6, WDAYOFWEEK = 5, WDAY =
17,
WHOUR = 13, WMINUTE = 54, WSECOND = 44, WMILLISECONDS = 474,
YEAR = 2016, MONTH = 6, DAYOFWEEK = 5, DAY = 17, HOUR = 13,
MINUTE = 54, SECOND = 44, MILLISECOND = 474}
#3 0x0053bf1f in TIDENTITYHEADERINFO__PROCESSHEADERS (
this=<error reading variable>)
at C:/Users/dimitris/Programming/Projects/R_1.2.4/3rdparty/indy/Pro
tocols/IdHTTPHeaderInfo.pas:452
LSECS = 546620041212591096
LVALUE = 0x0
LCRANGE = 0x0
LILENGTH = 0x0
#4 0x0053df19 in TIDREQUESTHEADERINFO__PROCESSHEADERS (
this=<error reading variable>)
at C:/Users/dimitris/Programming/Projects/R_1.2.4/3rdparty/indy/Pro
tocols/IdHTTPHeaderInfo.pas:935
No locals.
#5 0x00518785 in TIDCUSTOMHTTPSERVER__DOEXECUTE (ACONTEXT=0x185365c,
this=<error reading variable>)
at C:/Users/dimitris/Programming/Projects/R_1.2.4/3rdparty/indy/Pro
tocols/IdCustomHTTPServer.pas:1291
ACONTEXT = 0x185365c
result = false
LREQUESTINFO = 0x185c434
LRESPONSEINFO = 0x185c7b4
I = 6
S = 0x185cb64 '1'
LINPUTLINE = 0x185cb7c 'GET /'
LRAWHTTPCOMMAND = 0x185c3bc 'GET / HTTP/1.1'
LCMD = 0x0
LCONTENTTYPE = 0x0
LAUTHTYPE = 0x0
LURI = 0x41a708
LCONTINUEPROCESSING = true
LCLOSECONNECTION = true
LCONN = 0x1853444
---Type <return> to continue, or q <return> to quit---
LENCODING = {<IUNKNOWN> = {}, }
DOEXECUTE = false
RESULT = false
#6 0x0051d5f5 in TIDCONTEXT__RUN (this=<error reading variable>)
at C:/Users/dimitris/Programming/Projects/R_1.2.4/3rdparty/indy/Cor
e/IdContext.pas:185
result = 224
RUN = 224
RESULT = 224
#7 0x00540104 in TIDTASK__DORUN (this=<error reading variable>)
at C:/Users/dimitris/Programming/Projects/R_1.2.4/3rdparty/indy/Cor
e/IdTask.pas:136
result = 68
DORUN = 68
RESULT = 68
#8 0x00537e94 in TIDTHREADWITHTASK__RUN (this=<error reading variable>)
at C:/Users/dimitris/Programming/Projects/R_1.2.4/3rdparty/indy/Cor
e/IdThread.pas:697
No locals.
#9 0x005373b2 in TIDTHREAD__EXECUTE (this=<error reading variable>)
at C:/Users/dimitris/Programming/Projects/R_1.2.4/3rdparty/indy/Cor
e/IdThread.pas:428
No locals.
#10 0x0041da48 in THREADPROC (THREADOBJPTR=0x1852934)
at ../objpas/classes/classes.inc:97
result = 25502716
THREADPROC = 25502716
RESULT = 25502716
FREETHREAD = 248
THREAD = 0x1852934
#11 0x00410222 in THREADMAIN (PARAM=0x795fa01) at ../win/systhrd.inc:228
result = 127269377
THREADMAIN = 127269377
RESULT = 127269377
TI = {F = {function (POINTER) : LONGINT} 0x795ffa8, P =
0x1852934,
STKLEN = 4194304}
#12 0x7c80b729 in KERNEL32!GetModuleFileNameA ()
from C:\WINDOWS\system32\kernel32.dll
No symbol table info available.
#13 0x00000000 in ?? ()
No symbol table info available.
(gdb)
Any hint ?
regards,
--
Dimitrios Chr. Ioannidis
More information about the fpc-pascal
mailing list