Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AV when server is shutted down with active trace session(s) [CORE4906] #5198

Closed
firebird-automations opened this issue Aug 12, 2015 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @hvlad

1. Run firebird server as application:
firebird -a

2. Start user trace session
fbsvcmgr localhost:service_mgr action_trace_start trc_cfg fbtrace1.conf

3. Shutdown firebird server using menu of tray icon

Trace output wiil be like below:
-----------------------
Trace session ID 1 started
2015-08-12T15:49:29.0270 (5420:000000000B6D2790) TRACE_INIT
SESSION_1

Error reading data from the connection.
-----------------------

Last line clearly shows that firebird crashed. Tray icon leave at tray and will disappear if one try to activate it.

Commits: 2291a41 FirebirdSQL/fbt-repository@07c1c12

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

The problem is in race conditions - dispatcher could unload trace plugin before service manager closes active services.

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

After the fix trace output looks like:

----------------
Trace session ID 1 started
2015-08-12T15:50:02.8420 (4572:000000000B742EE0) TRACE_INIT
SESSION_1

connection shutdown
----------------

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 RC 1 [ 10584 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Cannot be tested

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants