Issue Details (XML | Word | Printable)

Key: CORE-2077
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Signal TERM in CS 2.1 for Linux

Created: 12/Sep/08 07:51 AM   Updated: 26/Jan/09 09:30 AM
Component/s: Engine
Affects Version/s: 2.1.0, 2.1.1
Fix Version/s: 2.0.5, 2.1.2

Time Tracking:
Not Specified

Environment: posix

Planning Status: Unspecified


 Description  « Hide
This bug was opriginally reported in devel by Dimitry Sibiryakov.

When classic server is used in embedded mode (is loaded into user
application's space), it handles TERM signal. But it looks like it
doesn't call other signal handlers in queue. As the result - signal
handler, set in application, isn't executed and the application continue
working.

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 12/Sep/08 08:35 AM
Now I see that it was really bad idea to invoke ISC_signal_cancel() from signal handler.
Fix does not require porting into HEAD - in HEAD code is reworked and no such problem due to it.