Classic process crashes when client disconnected
------------------------------------------------

                 Key: CORE-5863
                 URL: http://tracker.firebirdsql.org/browse/CORE-5863
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0.3, 4.0 Alpha 1
            Reporter: Vlad Khorsun


The Classic process crashes few times on our test machine. All crash dumps 
shows the same:

     000000000072f8b0()    Unknown
>    firebird.exe!SRVR_multi_thread(0x000007fe00000001, 55200) Line 1730    C++
     firebird.exe!WinMain(0x0000000000463d4f, 0x0000000000000000, 
0x0000000000000000, 0) Line 295    C++
     firebird.exe!__tmainCRTStartup() Line 547    C
     kernel32.dll!BaseThreadInitThunk()    Unknown
     ntdll.dll!RtlUserThreadStart()    Unknown

The crach happens at the very end of SRVR_multi_thread:

  1720:     }
  1721:     catch (const Exception&)
  1722:     {
  1723:         // Some kind of unhandled error occurred during server setup.  
In lieu
  1724:         // of anything we CAN do, log something (and we might be so 
hosed
  1725:         // we can't log anything) and give up.
  1726:         // The likely error here is out-of-memory.
  1727:         gds__log("SRVR_multi_thread: error during startup, shutting 
down");
  1728:     }
  1729:     --cntServers;
0000000140030389  or          rax,0FFFFFFFFFFFFFFFFh
000000014003038D  lock xadd   qword ptr [cntServers (01400C7590h)],rax
  1730: }
0000000140030396  mov         rcx,qword ptr [mainPortRef]
000000014003039E  test        rcx,rcx
00000001400303A1  je          SRVR_multi_thread+68Ah (01400303AAh)
00000001400303A3  mov         rax,qword ptr [rcx]
00000001400303A6  call        qword ptr [rax+8]      <<<<<<<<<< HERE
00000001400303A9  nop

mainPortRef contains pointer to the already released port instance with 
reference count of zero.


-- 
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

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to