FirebirdSQL / firebird

Firebird server, client and tools
https://firebirdsql.org
1.26k stars 217 forks source link

Firebird 4.05 Crash #8272

Closed gerdus closed 1 month ago

gerdus commented 1 month ago

Had a series of crashes this morning. Log file only has the generic /opt/firebird/bin/fbguard: /opt/firebird/bin/firebird terminated abnormally (-1)

Version: V4.0.5.3140 (from website) OS: Linux Mode: Super

Link to Core dump

Crash Dump Info:

      PID: 2146162 (firebird)
           UID: 109 (firebird)
           GID: 116 (firebird)
        Signal: 11 (SEGV)
     Timestamp: Sun 2024-09-29 12:01:26 SAST (7min ago)
  Command Line: /opt/firebird/bin/firebird
    Executable: /opt/firebird/bin/firebird
 Control Group: /system.slice/firebird.service
          Unit: firebird.service
         Slice: system.slice
       Boot ID: 5d0055bb335e47b185c48c6b6b5936d1
    Machine ID: 5f578cbbe9b3413fb66084d017726484
      Hostname: sis002-truservplus-jhb1-001
       Storage: /var/lib/systemd/coredump/core.firebird.109.5d0055bb335e47b185c48c6b6b5936d1.2146162.1727604086000000.zst (present)
     Disk Size: 48.0M
       Message: Process 2146162 (firebird) of user 109 dumped core.

                Found module linux-vdso.so.1 with build-id: bcf11dcd6dd2f76c832fcd017faeceae4b3c9ffc
                Found module libChaCha.so without build-id.
                Found module libfbtrace.so without build-id.
                Found module libicui18n.so.70 with build-id: ff2dbcdd92cbe5a63d20291e295d8fed9f87d35b
                Found module libstdc++.so.6 with build-id: e37fe1a879783838de78cbc8c80621fa685d58a2
                Found module libicudata.so.70 with build-id: b1c2496dd0543023c7a19c961bb7f3abc818f465
                Found module libicuuc.so.70 with build-id: bef3ff1d70aadd68aab07d858a759360c8b919ae
                Found module fbintl without build-id.
                Found module libib_util.so without build-id.
                Found module libEngine13.so without build-id.
                Found module ISO8859-1.so with build-id: d425664f0849dcfeabefea8a9e1e77c45b39182c
                Found module ld-linux-x86-64.so.2 with build-id: 4186944c50f8a32b47d74931e3f512b811813b64
                Found module libc.so.6 with build-id: 490fef8403240c91833978d494d39e537409b92e
                Found module libpthread.so.0 with build-id: 81f46d553e2f7c999e43c3eede73a822bc8d5d93
                Found module libgcc_s.so.1 with build-id: e3a44e0da9c6e835d293ed8fd2882b4c4a87130c
                Found module libm.so.6 with build-id: a508ec5d8bf12fb7fd08204e0f87518e5cd0b102
                Found module libdl.so.2 with build-id: 6f6fe1a24b7b981e11c9a3373b806d3496d4d9d4
                Found module libtomcrypt.so.1 without build-id.
                Found module libtommath.so.0 with build-id: 309215294227ee7d2ff3d67dd726a5c47c9324b9
                Found module libfbclient.so.2 without build-id.
                Found module firebird without build-id.
                Stack trace of thread 2146172:
                #0  0x00007fb1db177d68 __memcpy_avx_unaligned_erms (libc.so.6 + 0x1a0d68)
                #1  0x00007fb1d93a44bd _ZN8Firebird5ArrayIhNS_13InlineStorageIhLj128EhEEE4pushEPKhj (libEngine13.so + 0x5a44bd)
                #2  0x00007fb1d8e9285f _ZNK3Jrd6Header12getClumpletsERN8Firebird14ClumpletWriterE (libEngine13.so + 0x9285f)
                #3  0x00007fb1d8e936bd _ZN3Jrd13CryptoManager6attachEPNS_9thread_dbEPNS_10AttachmentE (libEngine13.so + 0x936bd)
                #4  0x00007fb1d9022cb4 _ZN3Jrd9JProvider14internalAttachEPN8Firebird18CheckStatusWrapperEPKcjPKhPKNS_6UserIdE (libEngine13.so + 0x222cb4)
                #5  0x00007fb1d8e9952a _ZN8Firebird17IProviderBaseImplIN3Jrd9JProviderENS_18CheckStatusWrapperENS_15IPluginBaseImplIS2_S3_NS_7InheritINS_21IReferenceCountedImplIS2_S3_NS5_INS_14IVersionedImplIS2_S3_NS5_INS_9IProviderEEEEEEEEEEEEEE29cloopattachDatabaseDispatcherEPS8_PNS_7IStatusEPKcjPKh (libEngine13.so + 0x9952a)
                #6  0x00007fb1db6a6e20 _ZN8Firebird9IProvider14attachDatabaseINS_18CheckStatusWrapperEEEPNS_11IAttachmentEPT_PKcjPKh (libfbclient.so.2 + 0xa6e20)
                #7  0x00007fb1db653621 _ZN8Firebird17IProviderBaseImplIN3Why10DispatcherENS_18CheckStatusWrapperENS_15IPluginBaseImplIS2_S3_NS_7InheritINS_21IReferenceCountedImplIS2_S3_NS5_INS_14IVersionedImplIS2_S3_NS5_INS_9IProviderEEEEEEEEEEEEEE29cloopattachDatabaseDispatcherEPS8_PNS_7IStatusEPKcjPKh (libfbclient.so.2 + 0x53621)
                #8  0x0000000000444256 _ZN8Firebird9IProvider14attachDatabaseINS_18CheckStatusWrapperEEEPNS_11IAttachmentEPT_PKcjPKh (firebird + 0x44256)
                #9  0x0000000000437f7a authenticate (firebird + 0x37f7a)
                #10 0x00000000004474c0 attach_database (firebird + 0x474c0)
                #11 0x00000000004497ab loopThread (firebird + 0x497ab)
                #12 0x0000000000466920 run (firebird + 0x66920)
                #13 0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #14 0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146209:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146201:
                #0  0x00007fb1db0682c0 futex_wait (libc.so.6 + 0x912c0)
                #1  0x00007fb1db06f05d lll_mutex_lock_optimized (libc.so.6 + 0x9805d)
                #2  0x00007fb1d9004589 _ZN8Firebird5Mutex5enterEPKc (libEngine13.so + 0x204589)
                #3  0x00007fb1d902285f _ZN8Firebird12EnsureUnlockINS_5MutexENS_13NotRefCountedEE5enterEv (libEngine13.so + 0x22285f)
                #4  0x00007fb1d8e9952a _ZN8Firebird17IProviderBaseImplIN3Jrd9JProviderENS_18CheckStatusWrapperENS_15IPluginBaseImplIS2_S3_NS_7InheritINS_21IReferenceCountedImplIS2_S3_NS5_INS_14IVersionedImplIS2_S3_NS5_INS_9IProviderEEEEEEEEEEEEEE29cloopattachDatabaseDispatcherEPS8_PNS_7IStatusEPKcjPKh (libEngine13.so + 0x9952a)
                #5  0x00007fb1db6a6e20 _ZN8Firebird9IProvider14attachDatabaseINS_18CheckStatusWrapperEEEPNS_11IAttachmentEPT_PKcjPKh (libfbclient.so.2 + 0xa6e20)
                #6  0x00007fb1db653621 _ZN8Firebird17IProviderBaseImplIN3Why10DispatcherENS_18CheckStatusWrapperENS_15IPluginBaseImplIS2_S3_NS_7InheritINS_21IReferenceCountedImplIS2_S3_NS5_INS_14IVersionedImplIS2_S3_NS5_INS_9IProviderEEEEEEEEEEEEEE29cloopattachDatabaseDispatcherEPS8_PNS_7IStatusEPKcjPKh (libfbclient.so.2 + 0x53621)
                #7  0x0000000000444256 _ZN8Firebird9IProvider14attachDatabaseINS_18CheckStatusWrapperEEEPNS_11IAttachmentEPT_PKcjPKh (firebird + 0x44256)
                #8  0x0000000000437f7a authenticate (firebird + 0x37f7a)
                #9  0x00000000004474c0 attach_database (firebird + 0x474c0)
                #10 0x00000000004497ab loopThread (firebird + 0x497ab)
                #11 0x0000000000466920 run (firebird + 0x66920)
                #12 0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #13 0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146167:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d90cc1ca _ZN3Jrd8Database17garbage_collectorEPS0_ (libEngine13.so + 0x2cc1ca)
                #4  0x00007fb1d90cd9c3 _ZN16ThreadFinishSyncIPN3Jrd8DatabaseELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x2cd9c3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146212:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146216:
                #0  0x00007fb1db0682c0 futex_wait (libc.so.6 + 0x912c0)
                #1  0x00007fb1db06f05d lll_mutex_lock_optimized (libc.so.6 + 0x9805d)
                #2  0x00007fb1d9004589 _ZN8Firebird5Mutex5enterEPKc (libEngine13.so + 0x204589)
                #3  0x00007fb1d902285f _ZN8Firebird12EnsureUnlockINS_5MutexENS_13NotRefCountedEE5enterEv (libEngine13.so + 0x22285f)
                #4  0x00007fb1d8e9952a _ZN8Firebird17IProviderBaseImplIN3Jrd9JProviderENS_18CheckStatusWrapperENS_15IPluginBaseImplIS2_S3_NS_7InheritINS_21IReferenceCountedImplIS2_S3_NS5_INS_14IVersionedImplIS2_S3_NS5_INS_9IProviderEEEEEEEEEEEEEE29cloopattachDatabaseDispatcherEPS8_PNS_7IStatusEPKcjPKh (libEngine13.so + 0x9952a)
                #5  0x00007fb1db6a6e20 _ZN8Firebird9IProvider14attachDatabaseINS_18CheckStatusWrapperEEEPNS_11IAttachmentEPT_PKcjPKh (libfbclient.so.2 + 0xa6e20)
                #6  0x00007fb1db653621 _ZN8Firebird17IProviderBaseImplIN3Why10DispatcherENS_18CheckStatusWrapperENS_15IPluginBaseImplIS2_S3_NS_7InheritINS_21IReferenceCountedImplIS2_S3_NS5_INS_14IVersionedImplIS2_S3_NS5_INS_9IProviderEEEEEEEEEEEEEE29cloopattachDatabaseDispatcherEPS8_PNS_7IStatusEPKcjPKh (libfbclient.so.2 + 0x53621)
                #7  0x0000000000444256 _ZN8Firebird9IProvider14attachDatabaseINS_18CheckStatusWrapperEEEPNS_11IAttachmentEPT_PKcjPKh (firebird + 0x44256)
                #8  0x0000000000437f7a authenticate (firebird + 0x37f7a)
                #9  0x00000000004474c0 attach_database (firebird + 0x474c0)
                #10 0x00000000004497ab loopThread (firebird + 0x497ab)
                #11 0x0000000000466920 run (firebird + 0x66920)
                #12 0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #13 0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146191:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146214:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146219:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146223:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146196:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146221:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d90cc1ca _ZN3Jrd8Database17garbage_collectorEPS0_ (libEngine13.so + 0x2cc1ca)
                #4  0x00007fb1d90cd9c3 _ZN16ThreadFinishSyncIPN3Jrd8DatabaseELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x2cd9c3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146227:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d8f9442f _ZN3Jrd13BufferControl12cache_writerEPS0_ (libEngine13.so + 0x19442f)
                #4  0x00007fb1d8f94fc3 _ZN16ThreadFinishSyncIPN3Jrd13BufferControlELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x194fc3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146188:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146217:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146193:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146206:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146228:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d90cc1ca _ZN3Jrd8Database17garbage_collectorEPS0_ (libEngine13.so + 0x2cc1ca)
                #4  0x00007fb1d90cd9c3 _ZN16ThreadFinishSyncIPN3Jrd8DatabaseELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x2cd9c3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146306:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d90cc1ca _ZN3Jrd8Database17garbage_collectorEPS0_ (libEngine13.so + 0x2cc1ca)
                #4  0x00007fb1d90cd9c3 _ZN16ThreadFinishSyncIPN3Jrd8DatabaseELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x2cd9c3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146284:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d8f9442f _ZN3Jrd13BufferControl12cache_writerEPS0_ (libEngine13.so + 0x19442f)
                #4  0x00007fb1d8f94fc3 _ZN16ThreadFinishSyncIPN3Jrd13BufferControlELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x194fc3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146200:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146171:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146162:
                #0  0x00007fb1db0efbcf __GI___poll (libc.so.6 + 0x118bcf)
                #1  0x000000000040df92 _ZN6Select6selectEP7timeval (firebird + 0xdf92)
                #2  0x00000000004395bb _Z17SRVR_multi_threadP8rem_portt (firebird + 0x395bb)
                #3  0x0000000000407ddf main (firebird + 0x7ddf)
                #4  0x00007fb1db000d90 __libc_start_call_main (libc.so.6 + 0x29d90)
                #5  0x00007fb1db000e40 __libc_start_main_impl (libc.so.6 + 0x29e40)
                #6  0x000000000040930f _start (firebird + 0x930f)

                Stack trace of thread 2146185:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db06aa41 __pthread_cond_wait_common (libc.so.6 + 0x93a41)
                #2  0x00007fb1d937a72b _ZN8Firebird16SharedMemoryBase9eventWaitEPNS_7event_tEii (libEngine13.so + 0x57a72b)
                #3  0x00007fb1d8eede8f clearDeliveryThread (libEngine13.so + 0xede8f)
                #4  0x00007fb1d8ee6c63 internalRun (libEngine13.so + 0xe6c63)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146305:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d8f9442f _ZN3Jrd13BufferControl12cache_writerEPS0_ (libEngine13.so + 0x19442f)
                #4  0x00007fb1d8f94fc3 _ZN16ThreadFinishSyncIPN3Jrd13BufferControlELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x194fc3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146285:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d90cc1ca _ZN3Jrd8Database17garbage_collectorEPS0_ (libEngine13.so + 0x2cc1ca)
                #4  0x00007fb1d90cd9c3 _ZN16ThreadFinishSyncIPN3Jrd8DatabaseELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x2cd9c3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146192:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146222:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146173:
                #0  0x00007fb1db0682c0 futex_wait (libc.so.6 + 0x912c0)
                #1  0x00007fb1db06f05d lll_mutex_lock_optimized (libc.so.6 + 0x9805d)
                #2  0x00007fb1d9004589 _ZN8Firebird5Mutex5enterEPKc (libEngine13.so + 0x204589)
                #3  0x00007fb1d902285f _ZN8Firebird12EnsureUnlockINS_5MutexENS_13NotRefCountedEE5enterEv (libEngine13.so + 0x22285f)
                #4  0x00007fb1d8e9952a _ZN8Firebird17IProviderBaseImplIN3Jrd9JProviderENS_18CheckStatusWrapperENS_15IPluginBaseImplIS2_S3_NS_7InheritINS_21IReferenceCountedImplIS2_S3_NS5_INS_14IVersionedImplIS2_S3_NS5_INS_9IProviderEEEEEEEEEEEEEE29cloopattachDatabaseDispatcherEPS8_PNS_7IStatusEPKcjPKh (libEngine13.so + 0x9952a)
                #5  0x00007fb1db6a6e20 _ZN8Firebird9IProvider14attachDatabaseINS_18CheckStatusWrapperEEEPNS_11IAttachmentEPT_PKcjPKh (libfbclient.so.2 + 0xa6e20)
                #6  0x00007fb1db653621 _ZN8Firebird17IProviderBaseImplIN3Why10DispatcherENS_18CheckStatusWrapperENS_15IPluginBaseImplIS2_S3_NS_7InheritINS_21IReferenceCountedImplIS2_S3_NS5_INS_14IVersionedImplIS2_S3_NS5_INS_9IProviderEEEEEEEEEEEEEE29cloopattachDatabaseDispatcherEPS8_PNS_7IStatusEPKcjPKh (libfbclient.so.2 + 0x53621)
                #7  0x0000000000444256 _ZN8Firebird9IProvider14attachDatabaseINS_18CheckStatusWrapperEEEPNS_11IAttachmentEPT_PKcjPKh (firebird + 0x44256)
                #8  0x0000000000437f7a authenticate (firebird + 0x37f7a)
                #9  0x00000000004474c0 attach_database (firebird + 0x474c0)
                #10 0x00000000004497ab loopThread (firebird + 0x497ab)
                #11 0x0000000000466920 run (firebird + 0x66920)
                #12 0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #13 0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146194:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146164:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1db77e650 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libfbclient.so.2 + 0x17e650)
                #3  0x00007fb1db64e1cb timeThread (libfbclient.so.2 + 0x4e1cb)
                #4  0x00007fb1db72af70 run (libfbclient.so.2 + 0x12af70)
                #5  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #6  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146310:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db06aa41 __pthread_cond_wait_common (libc.so.6 + 0x93a41)
                #2  0x00007fb1d937a72b _ZN8Firebird16SharedMemoryBase9eventWaitEPNS_7event_tEii (libEngine13.so + 0x57a72b)
                #3  0x00007fb1d8fc91f4 _ZN3Jrd12EventManager14watcher_threadEv (libEngine13.so + 0x1c91f4)
                #4  0x00007fb1d8fca053 _ZN16ThreadFinishSyncIPN3Jrd12EventManagerELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x1ca053)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146169:
                #0  0x00007fb1dbc1a45b s_mp_montgomery_reduce_fast (libtommath.so.0 + 0xe45b)
                #1  0x00007fb1dbc20e55 s_mp_exptmod_fast (libtommath.so.0 + 0x14e55)
                #2  0x00000000004610b1 _ZNK8Firebird10BigInteger6modPowERKS0_S2_ (firebird + 0x610b1)
                #3  0x00000000004281bd _ZN4Auth14RemotePassword12genServerKeyERN8Firebird10StringBaseINS1_16StringComparatorEEERKNS1_5ArrayIhNS1_13InlineStorageIhLj128EhEEEE (firebird + 0x281bd)
                #4  0x0000000000451527 authenticate (firebird + 0x51527)
                #5  0x0000000000454081 cloopauthenticateDispatcher (firebird + 0x54081)
                #6  0x0000000000437b6d _ZN8Firebird7IServer12authenticateINS_18CheckStatusWrapperEEEiPT_PNS_12IServerBlockEPNS_7IWriterE (firebird + 0x37b6d)
                #7  0x0000000000447fdf accept_connection (firebird + 0x47fdf)
                #8  0x00000000004497ab loopThread (firebird + 0x497ab)
                #9  0x0000000000466920 run (firebird + 0x66920)
                #10 0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #11 0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146195:
                #0  0x00007fb1db0e978f __libc_pread64 (libc.so.6 + 0x11278f)
                #1  0x00007fb1d90d0532 _ZN8os_utils5preadEiPvml (libEngine13.so + 0x2d0532)
                #2  0x00007fb1d8f8af62 _ZZ14CCH_fetch_pagePN3Jrd9thread_dbEPNS_3winEbEN3Pio8callbackES1_PN8Firebird18CheckStatusWrapperEPN3Ods3pagE (libEngine13.so + 0x18af62)
                #3  0x00007fb1d8e8f3e5 _ZN3Jrd13CryptoManager12internalReadEPNS_9thread_dbEPN8Firebird18CheckStatusWrapperEPN3Ods3pagEPNS0_10IOCallbackE (libEngine13.so + 0x8f3e5)
                #4  0x00007fb1d8e938b6 _ZN3Jrd13CryptoManager4readEPNS_9thread_dbEPN8Firebird18CheckStatusWrapperEPN3Ods3pagEPNS0_10IOCallbackE (libEngine13.so + 0x938b6)
                #5  0x00007fb1d8f8c5d8 _Z14CCH_fetch_pagePN3Jrd9thread_dbEPNS_3winEb (libEngine13.so + 0x18c5d8)
                #6  0x00007fb1d8f914f3 _Z9CCH_fetchPN3Jrd9thread_dbEPNS_3winEicib (libEngine13.so + 0x1914f3)
                #7  0x00007fb1d8f859bf _Z9CCH_FETCHPN3Jrd9thread_dbEPNS_3winEtc (libEngine13.so + 0x1859bf)
                #8  0x00007fb1d8fec2ed insert_key (libEngine13.so + 0x1ec2ed)
                #9  0x00007fb1d91addd8 _ZNK3Jrd9StoreNode5storeEPNS_9thread_dbEPNS_7jrd_reqENS_8StmtNode12WhichTriggerE (libEngine13.so + 0x3addd8)
                #10 0x00007fb1d91adec0 _ZNK3Jrd9StoreNode7executeEPNS_9thread_dbEPNS_7jrd_reqEPNS_8StmtNode8ExeStateE (libEngine13.so + 0x3adec0)
                #11 0x00007fb1d8fce9d6 _Z10EXE_looperPN3Jrd9thread_dbEPNS_7jrd_reqEPKNS_8StmtNodeE (libEngine13.so + 0x1ce9d6)
                #12 0x00007fb1d8fcf17e looper_seh (libEngine13.so + 0x1cf17e)
                #13 0x00007fb1d8fd0370 _Z9EXE_startPN3Jrd9thread_dbEPNS_7jrd_reqEPNS_7jrd_traE (libEngine13.so + 0x1d0370)
                #14 0x00007fb1d8fd1236 _Z20EXE_execute_triggersPN3Jrd9thread_dbEPPNS_10TrigVectorEPNS_12record_paramES6_13TriggerActionNS_8StmtNode12WhichTriggerEi (libEngine13.so + 0x1d1236)
                #15 0x00007fb1d91adc16 _ZNK3Jrd9StoreNode5storeEPNS_9thread_dbEPNS_7jrd_reqENS_8StmtNode12WhichTriggerE (libEngine13.so + 0x3adc16)
                #16 0x00007fb1d91adec0 _ZNK3Jrd9StoreNode7executeEPNS_9thread_dbEPNS_7jrd_reqEPNS_8StmtNode8ExeStateE (libEngine13.so + 0x3adec0)
                #17 0x00007fb1d8fce9d6 _Z10EXE_looperPN3Jrd9thread_dbEPNS_7jrd_reqEPKNS_8StmtNodeE (libEngine13.so + 0x1ce9d6)
                #18 0x00007fb1d8fcf17e looper_seh (libEngine13.so + 0x1cf17e)
                #19 0x00007fb1d8fd0370 _Z9EXE_startPN3Jrd9thread_dbEPNS_7jrd_reqEPNS_7jrd_traE (libEngine13.so + 0x1d0370)
                #20 0x00007fb1d8fd1236 _Z20EXE_execute_triggersPN3Jrd9thread_dbEPPNS_10TrigVectorEPNS_12record_paramES6_13TriggerActionNS_8StmtNode12WhichTriggerEi (libEngine13.so + 0x1d1236)
                #21 0x00007fb1d91a089e preModifyEraseTriggers (libEngine13.so + 0x3a089e)
                #22 0x00007fb1d91c40d2 _ZNK3Jrd10ModifyNode6modifyEPNS_9thread_dbEPNS_7jrd_reqENS_8StmtNode12WhichTriggerE (libEngine13.so + 0x3c40d2)
                #23 0x00007fb1d91c452b _ZNK3Jrd10ModifyNode7executeEPNS_9thread_dbEPNS_7jrd_reqEPNS_8StmtNode8ExeStateE (libEngine13.so + 0x3c452b)
                #24 0x00007fb1d8fce9d6 _Z10EXE_looperPN3Jrd9thread_dbEPNS_7jrd_reqEPKNS_8StmtNodeE (libEngine13.so + 0x1ce9d6)
                #25 0x00007fb1d8fcf17e looper_seh (libEngine13.so + 0x1cf17e)
                #26 0x00007fb1d8fd0370 _Z9EXE_startPN3Jrd9thread_dbEPNS_7jrd_reqEPNS_7jrd_traE (libEngine13.so + 0x1d0370)
                #27 0x00007fb1d9008c39 _Z9JRD_startPN3Jrd9thread_dbEPNS_7jrd_reqEPNS_7jrd_traE (libEngine13.so + 0x208c39)
                #28 0x00007fb1d91e9848 _ZN3Jrd14DsqlDmlRequest9doExecuteEPNS_9thread_dbEPPNS_7jrd_traEPN8Firebird16IMessageMetadataEPhb (libEngine13.so + 0x3e9848)
                #29 0x00007fb1d91eaa25 _ZN3Jrd14DsqlDmlRequest7executeEPNS_9thread_dbEPPNS_7jrd_traEPN8Firebird16IMessageMetadataEPKhS8_Phb (libEngine13.so + 0x3eaa25)
                #30 0x00007fb1d91e1580 _Z12DSQL_executePN3Jrd9thread_dbEPPNS_7jrd_traEPNS_8dsql_reqEPN8Firebird16IMessageMetadataEPKhS9_Ph (libEngine13.so + 0x3e1580)
                #31 0x00007fb1d901eb1b _ZN3Jrd10JStatement7executeEPN8Firebird18CheckStatusWrapperEPNS1_12ITransactionEPNS1_16IMessageMetadataEPvS7_S8_ (libEngine13.so + 0x21eb1b)
                #32 0x00007fb1d90341c5 _ZN8Firebird18IStatementBaseImplIN3Jrd10JStatementENS_18CheckStatusWrapperENS_21IReferenceCountedImplIS2_S3_NS_7InheritINS_14IVersionedImplIS2_S3_NS5_INS_10IStatementEEEEEEEEEE22cloopexecuteDispatcherEPS7_PNS_7IStatusEPNS_12ITransactionEPNS_16IMessageMetadataEPvSJ_SK_ (libEngine13.so + 0x2341c5)
                #33 0x00007fb1db696e48 _ZN8Firebird10IStatement7executeINS_18CheckStatusWrapperEEEPNS_12ITransactionEPT_S4_PNS_16IMessageMetadataEPvS8_S9_ (libfbclient.so.2 + 0x96e48)
                #34 0x00007fb1db6b4585 _ZN8Firebird18IStatementBaseImplIN3Why10YStatementENS_18CheckStatusWrapperENS_21IReferenceCountedImplIS2_S3_NS_7InheritINS_14IVersionedImplIS2_S3_NS5_INS_10IStatementEEEEEEEEEE22cloopexecuteDispatcherEPS7_PNS_7IStatusEPNS_12ITransactionEPNS_16IMessageMetadataEPvSJ_SK_ (libfbclient.so.2 + 0xb4585)
                #35 0x000000000043e5a9 _ZN8Firebird10IStatement7executeINS_18CheckStatusWrapperEEEPNS_12ITransactionEPT_S4_PNS_16IMessageMetadataEPvS8_S9_ (firebird + 0x3e5a9)
                #36 0x0000000000446919 process_packet (firebird + 0x46919)
                #37 0x00000000004497ab loopThread (firebird + 0x497ab)
                #38 0x0000000000466920 run (firebird + 0x66920)
                #39 0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #40 0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146205:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x0000000000490850 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (firebird + 0x90850)
                #3  0x00000000004310de _ZN6Worker4waitEi (firebird + 0x310de)
                #4  0x000000000044a249 loopThread (firebird + 0x4a249)
                #5  0x0000000000466920 run (firebird + 0x66920)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146304:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d90cc1ca _ZN3Jrd8Database17garbage_collectorEPS0_ (libEngine13.so + 0x2cc1ca)
                #4  0x00007fb1d90cd9c3 _ZN16ThreadFinishSyncIPN3Jrd8DatabaseELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x2cd9c3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146220:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d8f9442f _ZN3Jrd13BufferControl12cache_writerEPS0_ (libEngine13.so + 0x19442f)
                #4  0x00007fb1d8f94fc3 _ZN16ThreadFinishSyncIPN3Jrd13BufferControlELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x194fc3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146303:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073a53 __new_sem_wait_slow64 (libc.so.6 + 0x9ca53)
                #2  0x00007fb1d93b20f0 _ZN8Firebird19SignalSafeSemaphore8tryEnterEii (libEngine13.so + 0x5b20f0)
                #3  0x00007fb1d8f9442f _ZN3Jrd13BufferControl12cache_writerEPS0_ (libEngine13.so + 0x19442f)
                #4  0x00007fb1d8f94fc3 _ZN16ThreadFinishSyncIPN3Jrd13BufferControlELPFvS2_E0EE11internalRunEv (libEngine13.so + 0x194fc3)
                #5  0x00007fb1d9358f40 run (libEngine13.so + 0x558f40)
                #6  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #7  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146168:
                #0  0x00007fb1db0e983f __libc_pwrite64 (libc.so.6 + 0x11283f)
                #1  0x00007fb1d90d08ee _ZN8os_utils6pwriteEiPKvml (libEngine13.so + 0x2d08ee)
                #2  0x00007fb1d8f8ce5a _ZZL10write_pagePN3Jrd9thread_dbEPNS_10BufferDescEPN8Firebird18CheckStatusWrapperEbEN3Pio8callbackES1_S6_PN3Ods3pagE (libEngine13.so + 0x18ce5a)
                #3  0x00007fb1d8e8f609 _ZN3Jrd13CryptoManager13internalWriteEPNS_9thread_dbEPN8Firebird18CheckStatusWrapperEPN3Ods3pagEPNS0_10IOCallbackE (libEngine13.so + 0x8f609)
                #4  0x00007fb1d8e93a32 _ZN3Jrd13CryptoManager5writeEPNS_9thread_dbEPN8Firebird18CheckStatusWrapperEPN3Ods3pagEPNS0_10IOCallbackE (libEngine13.so + 0x93a32)
                #5  0x00007fb1d8f89a69 write_page (libEngine13.so + 0x189a69)
                #6  0x00007fb1d8f8e189 write_buffer (libEngine13.so + 0x18e189)
                #7  0x00007fb1d8f90185 flushPages (libEngine13.so + 0x190185)
                #8  0x00007fb1d8f905eb _Z9CCH_flushPN3Jrd9thread_dbEty (libEngine13.so + 0x1905eb)
                #9  0x00007fb1d9054197 _ZN3Jrd13BackupManager9endBackupEPNS_9thread_dbEb (libEngine13.so + 0x254197)
                #10 0x00007fb1d9023566 _ZN3Jrd9JProvider14internalAttachEPN8Firebird18CheckStatusWrapperEPKcjPKhPKNS_6UserIdE (libEngine13.so + 0x223566)
                #11 0x00007fb1d8e9952a _ZN8Firebird17IProviderBaseImplIN3Jrd9JProviderENS_18CheckStatusWrapperENS_15IPluginBaseImplIS2_S3_NS_7InheritINS_21IReferenceCountedImplIS2_S3_NS5_INS_14IVersionedImplIS2_S3_NS5_INS_9IProviderEEEEEEEEEEEEEE29cloopattachDatabaseDispatcherEPS8_PNS_7IStatusEPKcjPKh (libEngine13.so + 0x9952a)
                #12 0x00007fb1db6a6e20 _ZN8Firebird9IProvider14attachDatabaseINS_18CheckStatusWrapperEEEPNS_11IAttachmentEPT_PKcjPKh (libfbclient.so.2 + 0xa6e20)
                #13 0x00007fb1db653621 _ZN8Firebird17IProviderBaseImplIN3Why10DispatcherENS_18CheckStatusWrapperENS_15IPluginBaseImplIS2_S3_NS_7InheritINS_21IReferenceCountedImplIS2_S3_NS5_INS_14IVersionedImplIS2_S3_NS5_INS_9IProviderEEEEEEEEEEEEEE29cloopattachDatabaseDispatcherEPS8_PNS_7IStatusEPKcjPKh (libfbclient.so.2 + 0x53621)
                #14 0x0000000000444256 _ZN8Firebird9IProvider14attachDatabaseINS_18CheckStatusWrapperEEEPNS_11IAttachmentEPT_PKcjPKh (firebird + 0x44256)
                #15 0x0000000000437f7a authenticate (firebird + 0x37f7a)
                #16 0x00000000004474c0 attach_database (firebird + 0x474c0)
                #17 0x00000000004497ab loopThread (firebird + 0x497ab)
                #18 0x0000000000466920 run (firebird + 0x66920)
                #19 0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #20 0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)

                Stack trace of thread 2146163:
                #0  0x00007fb1db068117 __futex_abstimed_wait_common64 (libc.so.6 + 0x91117)
                #1  0x00007fb1db073c78 __new_sem_wait_slow64 (libc.so.6 + 0x9cc78)
                #2  0x00007fb1db77e572 _ZN8Firebird19SignalSafeSemaphore5enterEv (libfbclient.so.2 + 0x17e572)
                #3  0x00007fb1db6a20f5 shutdownThread (libfbclient.so.2 + 0xa20f5)
                #4  0x00007fb1db72af70 run (libfbclient.so.2 + 0x12af70)
                #5  0x00007fb1db06bac3 start_thread (libc.so.6 + 0x94ac3)
                #6  0x00007fb1db0fd850 __clone3 (libc.so.6 + 0x126850)
AlexPeshkoff commented 1 month ago

You have seriously damaged header of database file. This particular segfault can be fixed but very soon you will have same problems due to some other reason.

gerdus commented 1 month ago

Thank you very much for the quick feedback.