Hi all,
my setup: ArchLinux x64, fpc from trunk (rev 30739).
Running FCGI daemon and calling module method forces application to crash with following backtrace:
Program received signal SIGSEGV, Segmentation fault.
MOVE (SOURCE=0, DEST=0, COUNT=7505560) at ../x86_64/x86_64.inc:134
134 mov (%rcx,%rdx,1),%rax
(gdb) bt
#0 MOVE (SOURCE=0, DEST=0, COUNT=7505560) at ../x86_64/x86_64.inc:134
#1 0x000000000046b8f3 in WRITE (this=0x728658, BUFFER=0, COUNT=16) at ../objpas/classes/streams.inc:760
#2 0x000000000046a0b0 in WRITEBUFFER (this=0x728658, BUFFER=0, COUNT=16)
at ../objpas/classes/streams.inc:208
#3 0x0000000000499777 in INITPOSTVARS (this=0x727508) at fcl-web/src/base/httpdefs.pp:1770
#4 0x000000000049965f in INITREQUESTVARS (this=0x727508) at fcl-web/src/base/httpdefs.pp:1739
#5 0x0000000000432865 in PROCESSFCGIRECORD (this=0x727508, AFCGIRECORD=0x7282d8)
at fcl-web/src/base/custfcgi.pp:270
#6 0x0000000000434604 in PROCESSRECORD (this=0x714af8, AFCGI_RECORD=0x7282d8, AREQUEST=0x0,
ARESPONSE=0x0) at fcl-web/src/base/custfcgi.pp:873
#7 0x0000000000434955 in WAITFORREQUEST (this=0x714af8, AREQUEST=0x0, ARESPONSE=0x0)
at fcl-web/src/base/custfcgi.pp:964
#8 0x000000000049e2bc in RUN (this=0x714af8) at fcl-web/src/base/custweb.pp:215
#9 0x000000000049feec in DORUN (this=0x714a38) at fcl-web/src/base/custweb.pp:643
#10 0x000000000045eac6 in RUN (this=0x714a38) at fcl-base/src/custapp.pp:286
#11 0x0000000000401d69 in main () at fcgilesnik.lpr:101
FCGI daemon compiled with 2.6.4 and everything works as expected.
Any clues whats going on there?
Greets,
Vince