12 Replies Latest reply on Nov 14, 2016 8:11 AM by danielponist

    FileMaker Server 14, 15 - Frequently crashes ( fmserverd - stack overflow )

    danielponist

      Hello all,

       

      We have a problem with frequently crashing of FM Server . The error is "fmserverd - stack overflow". What does it mean? Where could be a problem, please? Help us please.

       

      Our solution have size cca 60 GB + often scanning of documents to the 500 MB database with external contents cca 2,5 TB (containers are stored secured and externally). We have 100 user licences. Thank you for any advice.

       

      PS1: This error occured also on our backup server Mac Mini 3GHz i7 16GB. Normally we use MacPro 3.5GHz 6-core Xeon E5 64GB.

      PS2: Java 8 update 73, RAM Reserved for Cache: 36894 MB

       

      Again, thank you for any advice!!!

       

      ___

      Process:               fmserverd [259]

      Path:                  /Users/USER/*/fmserverd

      Identifier:            fmserverd

      Version:               0

      Code Type:             X86-64 (Native)

      Parent Process:        launchd [1]

      Responsible:           fmserverd [259]

      User ID:               501

       

      Date/Time:             2016-10-12 11:14:59.805 +0200

      OS Version:            Mac OS X 10.11.6 (15G1004)

      Report Version:        11

      Anonymous UUID:        C9A5CD37-1657-9DE4-AB56-7064955394B0

       

      Time Awake Since Boot: 16000 seconds

       

      System Integrity Protection: enabled

       

      Crashed Thread:        24

       

      Exception Type:        EXC_CRASH (SIGABRT)

      Exception Codes:       0x0000000000000000, 0x0000000000000000

      Exception Note:        EXC_CORPSE_NOTIFY

       

      Application Specific Information:

      [259] stack overflow

      ...

      .

      .

      .

      Thread 24 Crashed:

      0   libsystem_kernel.dylib        0x00007fff86a25f06 __pthread_kill + 10

      1   libsystem_pthread.dylib       0x00007fff85c984ec pthread_kill + 90

      2   libsystem_c.dylib             0x00007fff86c7777f __abort + 145

      3   libsystem_c.dylib             0x00007fff86c7805e __stack_chk_fail + 200

      4   com.filemaker.dbengine.framework 0x000000010f3c10cd Draco::DBSafeDeleteMgr::Add(Draco::HBAbstractKey const&, bool) + 489

      5   com.filemaker.dbengine.framework 0x000000010f3b6888 Draco::DBFileUser::Download(Draco::HBAbstractKey const&, Draco::HBAbstractKey const&, Draco::HBPosition&) const + 152

      6   com.filemaker.dbengine.framework 0x000000010f368f19 Draco::DBCatalog::Download(Draco::HBPosition&, Draco::HBAbstractKey const&) const + 437

      7   com.filemaker.dbengine.framework 0x000000010f36aef6 Draco::DBCatalog::SetupNodePos(Draco::HBPosition&, Draco::HBAbstractKey const&) const + 780

      8   com.filemaker.dbengine.framework 0x000000010f361d82 Draco::DBCatalogCommon::GetDataPos(Draco::HBPosition&, Draco::HBAbstractKey const&, bool) const + 48

      9   com.filemaker.dbengine.framework 0x000000010f362dd3 Draco::DBCatalogMember::Download(Draco::HBPosition&, Draco::HBAbstractKey const&) const + 339

      10  com.filemaker.dbengine.framework 0x000000010f362afa Draco::DBCatalogMember::SetupNodePos(Draco::HBPosition&, Draco::HBAbstractKey const&) const + 602

      11  com.filemaker.dbengine.framework 0x000000010f363480 Draco::DBCatalogMember::Exists() const + 148

      12  com.filemaker.dbengine.framework 0x000000010f3e521c Draco::DBLibrary::Lookup(Draco::CRC const&, Draco::HBSerialKey<(unsigned char)5>&) const + 474

      13  com.filemaker.FMS.framework   0x000000010ecd2f75 FMS::StreamingCacheMgr::IsSameDBBinaryDataInLibrary(Draco::DBBinaryData const&) + 101

      14  com.filemaker.FMS.framework   0x000000010ecca368 FMS::StreamingCacheMgr::RetrieveStreamingItem(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 232

      15  com.filemaker.FMS.framework   0x000000010ecca141 FMS::RCFileProcessor::CheckPermissions(boost::shared_ptr<Draco::FMWebServices::connection> const&) + 257

      16  com.filemaker.FMS.framework   0x000000010eda710d Draco::FMWebServices::Request::Preprocess(boost::shared_ptr<Draco::FMWebServices::connection>) + 153

      17  com.filemaker.FMS.framework   0x000000010eda1b4f Draco::FMWebServices::request_handler::handle_request(Draco::FMWebServices::Request&, Draco::FMWebServices::Reply&, Draco::FMWebServices::connection&) + 6569

      18  com.filemaker.FMS.framework   0x000000010ed8342b Draco::FMWebServices::connection::handle_read(boost::system::error_code const&, unsigned long) + 181

      19  com.filemaker.FMS.framework   0x000000010ed8c083 void boost::asio::detail::strand_service::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long> >(boost::asio::detail::strand_service::strand_impl*&, boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>&) + 55

      20  com.filemaker.FMS.framework   0x000000010ed8c027 boost::asio::async_result<boost::asio::handler_type<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>, void ()>::type>::type boost::asio::io_service::strand::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long> >(boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>&&) + 97

      21  com.filemaker.FMS.framework   0x000000010ed8bf8f void boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>::operator()<boost::system::error_code, unsigned long>(boost::system::error_code const&, unsigned long const&) + 151

      22  com.filemaker.FMS.framework   0x000000010ed8cb0a boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) + 206

      23  com.filemaker.FMS.framework   0x000000010ed8c9d6 void boost::asio::detail::strand_service::dispatch<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >(boost::asio::detail::strand_service::strand_impl*&, boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&) + 444

      24  com.filemaker.FMS.framework   0x000000010ed8c7e3 boost::asio::async_result<boost::asio::handler_type<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, void ()>::type>::type boost::asio::io_service::strand::dispatch<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >(boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&&) + 165

      25  com.filemaker.FMS.framework   0x000000010ed8c66c boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Draco::FMWebServices::connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<Draco::FMWebServices::connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running> >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) + 218

      26  com.filemaker.FMS.framework   0x000000010ed970f5 boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) + 457

      27  com.filemaker.FMS.framework   0x000000010ed96e0b boost::asio::detail::task_io_service::run(boost::system::error_code&) + 165

      28  com.filemaker.FMS.framework   0x000000010ed935a1 boost::asio::io_service::run() + 41

      29  com.filemaker.support.framework 0x0000000110173daa boost::(anonymous namespace)::thread_proxy(void*) + 138

      30  libsystem_pthread.dylib       0x00007fff85c9599d _pthread_body + 131

      31  libsystem_pthread.dylib       0x00007fff85c9591a _pthread_start + 168

      32  libsystem_pthread.dylib       0x00007fff85c93351 thread_start + 13

       

      Thread 25:

      0   libsystem_kernel.dylib        0x00007fff86a25db6 __psynch_cvwait + 10

      1   libsystem_pthread.dylib       0x00007fff85c96728 _pthread_cond_wait + 767

      2   com.filemaker.support.framework 0x0000000110150706 Draco::Semaphore::P(Draco::Thread*) + 106

      3   com.filemaker.support.framework 0x00000001101515fc Draco::MsgQ::GetMsg() + 30

      4   com.filemaker.FMS.framework   0x000000010ec8129c FMS::ComponentBaseThread::Main() + 156

      5   com.filemaker.FMS.framework   0x000000010ecc18a9 FMS::LifeLineThread::Main() + 585

      6   com.filemaker.support.framework 0x0000000110152cc3 Draco::Thread::RunThread() + 59

      7   com.filemaker.support.framework 0x0000000110151d57 Draco::Thread::ThreadUnixProc(void*) + 51

      8   libsystem_pthread.dylib       0x00007fff85c9599d _pthread_body + 131

      9   libsystem_pthread.dylib       0x00007fff85c9591a _pthread_start + 168

      10  libsystem_pthread.dylib       0x00007fff85c93351 thread_start + 13

      .

      .

      ….

      ___

       

      or this log:

      ___

      ...

      Oct 12 11:09:00 host-188-120-11-51 syslogd[47]: ASL Sender Statistics

      Oct 12 11:14:59 host-188-120-11-51 fmserverd[259]: [259] stack overflow

      Oct 12 11:14:59 host-188-120-11-51 com.apple.xpc.launchd[1] (com.apple.ReportCrash.Root[2321]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash.DirectoryService

      Oct 12 11:15:04 host-188-120-11-51 ReportCrash[2321]: Saved crash report for fmserverd[259] version 0 to /Library/Logs/DiagnosticReports/fmserverd_2016-10-12-111504_FM-Server-15.crash

      ...

      ___