You are not logged in.
Pages: 1
I recently rebuilt a Linux daemon that was last built back in March 2023. I usually just pull the latest code from Github and with the latest I get a SIGSEGV. Using console and the debugger this occurs in TRestOrmServerDB.CreateMissingTables at the first line writing to the log - fDB.Log.Add.Log(sllDB, 'CreateMissingTables on %', [fDB], self); If I comment the logging then it runs fine.
I've moved back and forward through the commit history and it appears to have been introduced somewhere between 5bbf1ca70b862429dda76bf07f582209e6b5a433 (18/04) and 4ac661b0ce839456b17088d573c3c30d93b5efab (21/04).
Let me know if you want me to narrow it down a bit further.
I'm using the correct SQLite static file and FPC 3.2.3 on Fedora.
Cheers, Bob
Last edited by rdevine (2023-10-15 20:00:37)
Offline
The problem is still present with the latest code. I've debugged further and it first appears in commit:
e778e5e8bcf79a210f7a45c15542cb97861e2ede 20/04/2023 @ 15:28
It occurs in TSynLog.LogInternalFmt at the line:
fWriter.Add(TextFmt, TextArgs, twOnSameLine,
[woDontStoreDefault, woDontStoreVoid, woFullExpand]);
At the time it occurs TextFmt contains 'CreateMissingTables on %'.
The only thing I can see that looks odd is a chinese-type character in VWideChar in TextArgs.
I'll try and find time tomorrow to dig a bit deeper.
Cheers, Bob
Offline
Pages: 1