|
Last information from firebird.log (created at during test cycle)
----- HOME2 Mon Sep 06 01:03:46 2010 Database: D:\DATABASE\IBP_TEST_FB25_D1.GDB internal Firebird consistency check (decompression overran buffer (179), file: sqz.cpp line: 235) HOME2 Mon Sep 06 01:03:46 2010 Database: D:\DATABASE\IBP_TEST_FB25_D1.GDB internal Firebird consistency check (decompression overran buffer (179), file: sqz.cpp line: 235) HOME2 Mon Sep 06 01:03:46 2010 Database: D:\DATABASE\IBP_TEST_FB25_D1.GDB internal Firebird consistency check (decompression overran buffer (179), file: sqz.cpp line: 235) HOME2 Mon Sep 06 02:02:22 2010 Database: D:\DATABASE\IBP_TEST_FB25_D3.GDB internal Firebird consistency check (decompression overran buffer (179), file: sqz.cpp line: 235) HOME2 Mon Sep 06 02:02:23 2010 Database: D:\DATABASE\IBP_TEST_FB25_D3.GDB internal Firebird consistency check (decompression overran buffer (179), file: sqz.cpp line: 235) HOME2 Mon Sep 06 02:02:23 2010 Database: D:\DATABASE\IBP_TEST_FB25_D3.GDB internal Firebird consistency check (decompression overran buffer (179), file: sqz.cpp line: 235) HOME2 Mon Sep 06 02:02:23 2010 Access violation. The code attempted to access a virtual address without privilege to do so. This exception will cause the Firebird server to terminate abnormally. HOME2 Mon Sep 06 02:02:23 2010 INET/inet_error: send errno = 10093 HOME2 Mon Sep 06 02:02:23 2010 INET/inet_error: select in packet_receive errno = 10093 HOME2 Mon Sep 06 02:02:23 2010 INET/select_wait: select failed, errno = 10093 HOME2 Mon Sep 06 02:02:23 2010 SRVR_multi_thread/RECEIVE: error on main_port, shutting down With great help of Dmitry Kovalenko i found following:
thread 4524 doing sweep. sweep terminated abnormally because of bugcheck 179 (why it happens is another story). sweep's Attachment was released (see unwindAttach()) and its Database is releasing also. It waits in LM because there is an AST which is currently delivered. Note, Attachment is gone completely and Database almost destroyed. thread 7676 executed some query . An AST interrupted its execution. This is DatabaseSnapshot::blockingAst(). An AST established new execution context (this is almost destroyed database from thread 4524). As Attachment from thread 4524 is gone, it detached from all locks it holds at destroy time. Therefore in AST's tdbb we have Database from thread 4524 and NULL Attachment. An AST handler call PIO_get_number_of_pages() which call GetFileSize(hFile, ...) which returns error, as Database file is already closed. nt_error() call ERR_punt() and we have AV there at gds__log_status(tdbb->getAttachment()->att_filename.hasData() ? tdbb->getAttachment()->att_filename.c_str() : NULL, remember, we have NULL attachment in tdbb. This AV is loggeg in firebird.log and it is OK. But ISC_exception_post() calls exit() which is initialted engine shutdown and started to destroy all global variables and performs additional cleanup. One of the cleanup routines is INET\wsaExitHandler(). It calls WSACleanup(). Therefore we have 10093 errors in firebird.log. Listener is stopped and waiting for all worker threads to exit. But its static mutex Worker::m_mutex is destroyed and we have second AV which is a subject of this ticket. Guten morgen (#2)
I like my new combination of tests :) target\ibp_oledb_test_vc9_Win32_Release.exe /auto /thread_count 8 /log_dir _log /log_file_prefix local_d1 /cn_str "provider=LCPI.IBProvider.3;location=localhost:d:\database\ibp_test_fb25_d1.gdb;user id=gamer;password=vermut;ctype=win1251;icu_library=icuuc30.dll;dbclient_library=fbclient.dll" /test cmd* /test column* /test array*001* /test icr* /test rowset* /test schema*column* /test schema*param* /test octet* HOME2 Fri Sep 10 00:52:23 2010 Database: D:\DATABASE\IBP_TEST_FB25_D1.GDB internal Firebird consistency check (decompression overran buffer (179), file: sqz.cpp line: 235) HOME2 Fri Sep 10 00:52:23 2010 Database: D:\DATABASE\IBP_TEST_FB25_D1.GDB internal Firebird consistency check (decompression overran buffer (179), file: sqz.cpp line: 235) HOME2 Fri Sep 10 00:52:23 2010 Database: D:\DATABASE\IBP_TEST_FB25_D1.GDB internal Firebird consistency check (decompression overran buffer (179), file: sqz.cpp line: 235) HOME2 Fri Sep 10 00:52:23 2010 Access violation. The code attempted to access a virtual address without privilege to do so. This exception will cause the Firebird server to terminate abnormally. HOME2 Fri Sep 10 00:52:23 2010 INET/inet_error: select in packet_receive errno = 10093 HOME2 Fri Sep 10 00:52:23 2010 INET/select_wait: select failed, errno = 10093 HOME2 Fri Sep 10 00:52:23 2010 SRVR_multi_thread/RECEIVE: error on main_port, shutting down |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
01_threads.txt
01_threads__sorted_by_func.txt
01_threads__sorted_by_ID.txt
02_thread__1384.txt
02_thread__1864.txt
02_thread__1880.txt
02_thread__2432.txt
02_thread__3324.txt
02_thread__3356.txt
02_thread__3724.txt
02_thread__4524.txt
02_thread__4744.txt
02_thread__5064.txt
02_thread__5140.txt
02_thread__5416.txt
02_thread__5556.txt
02_thread__6112.txt
02_thread__6280.txt
02_thread__7676.txt
03_fb_inet_server.exe_info__DLLs.txt
03_fb_inet_server.exe_info__files.txt
04_modules.txt
VS2008_screen.bmp