I just created a simple CGI hello world using brookfreepascal from brookfreepascal example (
https://github.com/risoflora/brookfreepascal) and run the resulted .bf file on lighttpd. The test in browser run just fine but in lighttpd console there are some EAccessViolation:
An unhandled exception occurred at $0000000100037B00:
EAccessViolation: Access violation
$0000000100037B00
$0000000100008640
$0000000100037E8E
$0000000100008640
$000000010002E899 line 99 of ../brokers/brookfclcgibroker.pas
$000000010000917C
$000000010000845B
$0000000100012318
$0000000100009FAA
$000000010000A282
$000000010000A31A
$00000001000016C8 line 13 of brookhello.lpr
$00000001000016D6 line 13 of brookhello.lpr
$000000010000F773
$0000000100010271
$00007FFFA91E7BD4
$00007FFFA9C0CE51
line 13 on brookhello.lpr is just a simple "end."
lighttpd.conf I modified:
...
server.modules = (
...
"mod_cgi",
...
)
...
cgi.assign = (".bf" => "")
...
Did I miss something somewhere?