Crash in LockManager on opening database
----------------------------------------

                 Key: CORE-4946
                 URL: http://tracker.firebirdsql.org/browse/CORE-4946
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.4
         Environment: Windows Server 2008 R2.
            Reporter: Hennadii Zabula


My application is a .NET application that uses Firebird in embedded 
configuration.
I have a background thread that performs migration data from one scheme to 
another.
The application continue works with the new scheme.

I've made a dump with the crash but can't provide it because of privacy 
concerns.

Stack causing the crash is following:
00000000`22d6d3a0 00000001`80032946 : 00000000`22d6d5a0 00000000`00000000 
00000000`00000000 000007fe`ef640000 : msvcr110!unlockexit+0xa2
00000000`22d6d410 00000001`801ef92f : ffffffff`00000005 00000001`80306758 
00000001`80306660 00000000`000004c8 : fbembed!fb_utils::logAndDie+0x26
00000000`22d6d440 00000001`801ee1ff : 00000000`00000001 00000001`00000000 
00000000`00000001 00000000`00000001 : fbembed!Jrd::LockManager::bug+0x1df
00000000`22d6d7e0 00000001`801efeb2 : 00000000`00ce0020 00000001`8002ee14 
00000000`1a237ab8 00000000`22d6e2f0 : 
fbembed!Jrd::LockManager::acquire_shmem+0x12f
00000000`22d6d900 00000001`801f1f99 : 00000000`22d6e2f0 00000000`1a237a68 
00000000`22d6e2f0 00000001`80005b06 : 
fbembed!Jrd::LockManager::create_owner+0x82
00000000`22d6d9f0 00000001`800b471f : 00000000`1a237ab8 00000000`22d6e130 
00000000`1d6cde08 00000000`00000000 : 
fbembed!Jrd::LockManager::initializeOwner+0x89
00000000`22d6da50 00000001`8007d6fe : 00000000`1d6cddd8 00000000`1d6cddd8 
00000000`22d6e780 00000000`00000000 : fbembed!LCK_init+0x7f
00000000`22d6da90 00000001`8004cb76 : 00000000`00000025 00000000`00000001 
00000000`22d6e780 00000000`0354d828 : fbembed!jrd8_attach_database+0xa4e
00000000`22d6e370 000007fe`8f0dc4a1 : 000007fe`8edfd7e0 00000000`1ee99210 
00000000`0354ce48 00000000`00000025 : fbembed!isc_attach_database+0x676
<Continuation Managed stack from FirebirdSql.Data.FirebirdClient>

Faulting line in sources is following:
\src\lock\lock.cpp:1154
                        if (!attach_shared_file(local_status)) {
                                bug(NULL, "ISC_map_file failed (reattach shared 
file)");
                        }

Content of firebird.log produced after crash:

<ComputerName>  <Crash timestamp>
        Fatal lock manager error: ISC_map_file failed (reattach shared file), 
errno: 1224

<ComputerName>  <Crash timestamp>
        Shutting down the server with 3 active connection(s) to 2 database(s), 
0 active service(s)

I've already checked the error message and found CORE-4500. I've rechecked. The 
used version of the fbembed.dll already contains fix implemented for specified 
issue.

I can provide all additional information need for this issue.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to