Closed livius2 closed 4 months ago
The more easy way to reproduce the issue.
Use database that has never run profiler session before - the problem happens when profiler creates its metadata.
Statements cache should be enabled (MaxStatementCacheSize
<> 0)
start 1st isql instance against test DB and run any query, I use select current_connection from rdb$database;
as its result will be used in next step
start 2nd isql instance against same DB and start profile session against attachment from 1st session:
SELECT RDB$PROFILER.START_SESSION('Profile', NULL, <N>) FROM RDB$DATABASE;
where
Firebird is hung at this point.
Check next snapshot build, please
... QA notes ...
PS.
Link to FB 5.x and 6.x snapshots/dumps/traces when trying to run test under Classic:
https://drive.google.com/drive/folders/1rKtdjjrKGXuqbyldxbXUKtKvuYz086g0?usp=sharing
On CLASSIC problem still exists: firebird hangs
Could you test on Linux, please ? I suppose this is Windows-related and completely independent bug
Checked on Linux, 5.0.1.1439-c7d5566 and 6.0.0.395-845f483, ServerMode = Classic: all fine, FB does not hang. Used firebird.conf:
AuthServer = Srp, Win_Sspi, Legacy_Auth
BugCheckAbort = 1
ClearGTTAtRetaining = 0
ClientBatchBuffer = 131072
ConnectionIdleTimeout = 0
DefaultDBCachePages = 4K
ExtConnPoolLifeTime = 10
ExtConnPoolSize = 10
ExternalFileAccess = Full
InlineSortThreshold = 1000
IpcName = xnet_fb6x_cs
KeyHolderPlugin = fbSampleKeyHolder
MaxIdentifierByteLength = 252
MaxIdentifierCharLength = 63
MaxParallelWorkers = 8
MaxUnflushedWrites = -1
MaxUnflushedWriteTime = -1
ParallelWorkers = 1
ReadConsistency = 0
RemoteServicePort = 4700
ServerMode = Classic
SnapshotsMemSize = 64K
StatementTimeout = 300
TempCacheLimit = 128M
TempDirectories = /var/tmp/qa_2024b
TipCacheBlockSize = 4M
UseFileSystemCache = true
UserManager = Srp, Legacy_UserManager
WireCrypt = Enabled
WireCryptPlugin = ChaCha, Arc4
Reopened to fix more problems with profiler IPC
Should be fixed now
Check next snapshot build, please
It is ok now, thanks
Starting RDB$PROFILER.START_SESSION hangs server completely. It stops responding to requests and new connections.
I tried above session on current Firebird 5 snapshot on Windows (5.0.1.1432) 64bit, and the server hung completely. No new connections were allowed and current connections stopped responding.