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
Firebird stops responding, required restart to get going again. Related to process shutdown code [CORE3053] #3433
Comments
Commented by: Neil Pickles (npickles) The attached crashdump & Dr Watson log files illustrate the issue. |
Modified by: Neil Pickles (npickles)Attachment: leedscrashdump.7z [ 11650 ] |
Modified by: @hvladassignee: Vlad Khorsun [ hvlad ] |
Commented by: @AlexPeshkoff Neil, can you try latest snapshot of 2.1 branch? |
Commented by: Neil Pickles (npickles) Attached are the Dr Watson logs & Firebird logs from another site that has fallen over during the weekend. This site was using the latest build of FB 2.1.4, v2.1.4.18314 but is still having a problem. I'll post details of where the crashdump file can be downloaded from once i have it back from site as it'll be around 100 Meg and too large to upload onto the tracker directly. |
Modified by: Neil Pickles (npickles)Attachment: benton crash logs.7z [ 11652 ] |
Commented by: Neil Pickles (npickles) Here is another Dr Watson log file (leeds drwtsn32.log) from another site. This time there is nothing in the Firebird log to speak of, there is this log file and a crashdump file. I'll get the crashdump file back from site and post details of where it can be downloaded from as it'll be around 100 Meg zipped up. Again, this site was using the latest v2.1.4 build I could find last week, 18314. |
Modified by: Neil Pickles (npickles)Attachment: leeds drwtsn32.log [ 11653 ] |
Commented by: Neil Pickles (npickles) The two crashdumps for the two sites can be downloaded from http://news.csy.co.uk/leedscrashdump3.7z & http://news.csy.co.uk/bentoncrashdump.7z Any help would be very much appreciated as to what's going on here. |
Commented by: @hvlad About leedscrashdump3. The call stack is : > fbserver.exe!looper(Jrd::thread_db * tdbb=0x044ef988, Jrd::jrd_req * request=0x0538f6f8, Jrd::jrd_nod * in_node=0x00d39d34) Line 1863 C++ and AV is at exe.cpp, line 1863 : static jrd_nod* looper(thread_db* tdbb, jrd_req* request, jrd_nod* in_node)
local variable "node" contains garbage bytes. tdbb, database, attachment and request - all seems OK and valid. The SQL text of request is UPDATE VETRANS SET CREATESYNCID=? WHERE TRANSID=? So far i have no ideas what happens :( |
Commented by: @hvlad About bentoncrushdump The call stack is : > msvcr80.dll!7814537a() AV is at memmove, which was called from Array::remove(size_t index) : template <class LockClass>
It seems that que_inst at line 171is wrong and points to the heal of que (this->m_lru) :
therefore "lock" is also invalid and its key can't be found at m_sortedLocks. So, "pos" have wrong value and memmove crashed. Unfortunately due to inlined code and high usage of registers by MSVC optimizer i can't verify this guess even with crush dump with full process memory. To fix this i offer following patch : Index: jrd/LocksCache.hRCS file: /cvsroot/firebird/firebird2/src/jrd/Attic/LocksCache.h,v
+ if (que_inst == &m_lru) { |
Commented by: Neil Pickles (npickles) I have another instance of an access violation occuring within Firebird, the associated crashdump & dr watson log files can be downloaded from http://news.csy.co.uk/christchurch.7z. Again this is using the same v2.1.4 build as the other sites. |
Commented by: @hvlad cristchurch is the same case as above with LocksCache |
Commented by: @hvlad Neil, try please http://www.firebirdsql.org/download/rabbits/hvlad/fbserver-2.1.4.18314-1_Win32.7z this is fbserver.exe, based on current 2.1.4 branch with patch above. It should fix issues with LocksCache, i hope |
Commented by: Neil Pickles (npickles) I'll try that at the 6 or so sites that are running v2.1.4. I also have another instance, not sure if it is the same as before, that can be downloaded from http://news.csy.co.uk/brackmills.7z |
Commented by: @hvlad "brackmills" is also same issue with LocksCache. FB 2.1.3 this time |
Commented by: Neil Pickles (npickles) I updated the 10 test sites to the patched version of v2.1.4 overnight. Two have since produced crashdump files again. These can be downloaded from http://news.csy.co.uk/stirling_v214_patch.7z & http://news.csy.co.uk/brackmills_v214_patch.7z |
Commented by: Neil Pickles (npickles) I've since got another 3 crashdumps from the 10 test sites, I'll let you know where they can be downloaded from when I have them back from site. Two are from the same sites as the previous 2 and 1 is from a different site. |
Commented by: Neil Pickles (npickles) The three new crashdumps can be downloaded from http://news.csy.co.uk/stirling_v214_patched_2.7z , http://news.csy.co.uk/bedminster_v214_patched.7z & http://news.csy.co.uk/brackmills_v214_patched_2.7z |
Commented by: @hvlad stirling_v214_patch is the same issue with LocksCache. Other dumps will look shortly. I prepared new build with new patch : http://www.firebirdsql.org/download/rabbits/hvlad/fbserver-2.1.4.18314-2_Win32.7z |
Commented by: Neil Pickles (npickles) I'll get that new version installed and see how I get on with that. I'll try to do it today. There is another crashdump available for download that is from the first patched version. http://news.csy.co.uk/benton_v214_patched.7z , if you could confirm that they are experiencing the same issue as the others with LocksCache or not. |
Commented by: Neil Pickles (npickles) Updated the 10 test sites last night and so far today, it's 3.30pm in the UK now, none have fallen over. I'll monitor things over the weekend and update you on Monday but it's looking good so far. Thanks for all your help. Any idea when v2.1.4 is going to be released, is there much still to be fixed into v2.1.4 that you know about ? Cheers, Neil Pickles |
Commented by: Neil Pickles (npickles) I've been monitoring this since last week and it now appears to be sorted out. Thanks for your prompt help with this, I look forward to the official release of v2.1.4, soon hopefully. Cheers, |
Commented by: @hvlad Neil, thanks for reports and patience. I'll commit fix for "LocksCache" issue into your CORE3050 as this ticket (CORE3053) points to the another issue, related to the process shutdown and sooner of all fixed by Alex in CORE2865. I'll change description at CORE3050 to better reflex nature of bug. |
Submitted by: Neil Pickles (npickles)
Attachments:
leedscrashdump.7z
benton crash logs.7z
leeds drwtsn32.log
Firebird just stops responding and requires a restart to get it going again. Initially thought to relate to CORE2900 but subsequently told it is a seperate issue.
The text was updated successfully, but these errors were encountered: