Server crashes during database shutdown ---------------------------------------
Key: CORE-4045 URL: http://tracker.firebirdsql.org/browse/CORE-4045 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 2.5.2, 2.5.1, 2.5.0 Reporter: Dmitry Yemanov The problem appears when a parallel helper thread attempts to detach from a database after the shutdown thread has decided to release all the database locks. Stack trace: Jrd::GlobalRWLock::lockRead(Jrd::thread_db * tdbb=0x0000000002cc7450, short wait=1, const bool queueJump=true) Jrd::Attachment::backupStateReadLock(Jrd::thread_db * tdbb=0x00000001402bf831, short wait=-8680) CCH_fetch_lock(Jrd::thread_db * tdbb=0x00000000020282b0, Jrd::win * window=0x0000000002ccde18, unsigned short lock_type=62688, short wait=-32096, char page_type='') CCH_fetch(Jrd::thread_db * tdbb=0x000000000227b830, Jrd::win * window=0x0000000003fcfc10, unsigned short lock_type=64528, char page_type='ю', short checksum=1, short latch_wait=1, const bool read_shadow=true) IDX_delete_indices(Jrd::thread_db * tdbb=0x00000000032d0040, Jrd::jrd_rel * relation=0x000000000455f3a0, Jrd::RelationPages * relPages=0x0000000003fcf710) Jrd::jrd_rel::delPages(Jrd::thread_db * tdbb=0x000000000337ed18, long tran=1077321176, Jrd::RelationPages * aPages=0x0000000000000000) TRA_release_transaction(Jrd::thread_db * tdbb=0x00000000000003e7, Jrd::jrd_tra * transaction=0x000000000337ed18, Jrd::TraceTransactionEnd * trace=0x0000000000000000) purge_transactions(Jrd::thread_db * tdbb=0x0000000002cc7450, Jrd::Attachment * attachment=0x0000000002cc7450, const bool force_flag=false, const unsigned long att_flags=18) purge_attachment(Jrd::thread_db * tdbb=0x0000000003fcfc10, Jrd::Attachment * attachment=0x0000000002cc7450, const bool force_flag=false) jrd8_detach_database(__int64 * user_status=0x0000000003fcfe10, Jrd::Attachment * * handle=0x000000000061e438) fb_ping(__int64 * user_status=0x000000000061e438, unsigned int * db_handle=0x000000000061d550) `anonymous namespace'::attachmentShutdownThread(void * arg=0x0000000000000004) `anonymous namespace'::threadStart(void * arg=0x0000000000000000) -- 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 ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel