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

Problem with tracing on Linux [CORE2807] #3195

Closed
firebird-automations opened this issue Jan 14, 2010 · 6 comments
Closed

Problem with tracing on Linux [CORE2807] #3195

firebird-automations opened this issue Jan 14, 2010 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @AlexPeshkoff

Reported in devel by Milan Babuskov.

Trace, started embedded, prevents remote attachments to SC server. With fbtrace.conf:
<database>
enabled true
log_statement_prepare true
log_statement_free true
log_statement_start true
log_statement_finish true
time_threshold 0
</database>
as root:

root@milanb:/#⁠ /opt/firebird/bin/fbsvcmgr service_mgr
action_trace_start trc_name "My trace" trc_cfg ./fbtrace.conf

makes it impossible to attach to server:
------------------------------------------
SQL Message : -902
Unsuccessful execution caused by a system error that precludes
successful execution of subsequent statements

Engine Code : 335544373
Engine Message :
operating system directive write failed
Bad file descriptor
------------------------------------------

When tracing is not running, everything works fine.

Commits: e38dfdf cf3ef42

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

reporter: Pavel Cisar [ pcisar ] => Alexander Peshkov [ alexpeshkoff ]

security: Managers [ 10013 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Version: 2.5 RC1 [ 10362 ]

Version: 3.0 Initial [ 10301 ]

description: Report ed in devel by Milan Babuskov.

Trace, started embedded, prevents remote attachments to SC server. With fbtrace.conf:
<database>
enabled true
log_statement_prepare true
log_statement_free true
log_statement_start true
log_statement_finish true
time_threshold 0
</database>
as root:

root@milanb:/#⁠ /opt/firebird/bin/fbsvcmgr service_mgr
action_trace_start trc_name "My trace" trc_cfg ./fbtrace.conf

makes it impossible to attach to server:
------------------------------------------
SQL Message : -902
Unsuccessful execution caused by a system error that precludes
successful execution of subsequent statements

Engine Code : 335544373
Engine Message :
operating system directive write failed
Bad file descriptor
------------------------------------------

When tracing is not running, everything works fine.

=>

Reported in devel by Milan Babuskov.

Trace, started embedded, prevents remote attachments to SC server. With fbtrace.conf:
<database>
enabled true
log_statement_prepare true
log_statement_free true
log_statement_start true
log_statement_finish true
time_threshold 0
</database>
as root:

root@milanb:/#⁠ /opt/firebird/bin/fbsvcmgr service_mgr
action_trace_start trc_name "My trace" trc_cfg ./fbtrace.conf

makes it impossible to attach to server:
------------------------------------------
SQL Message : -902
Unsuccessful execution caused by a system error that precludes
successful execution of subsequent statements

Engine Code : 335544373
Engine Message :
operating system directive write failed
Bad file descriptor
------------------------------------------

When tracing is not running, everything works fine.

summary: Claudio Valderrama C. => Problem with tracing on linux

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 2.5 RC2 [ 10372 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

Component: Engine [ 10000 ]

assignee: Alexander Peshkov [ alexpeshkoff ]

summary: Problem with tracing on linux => Problem with tracing on Linux

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Use generic openCreate for trace data files.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Fixed [ 1 ]

@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