matrix-construct / construct

This is The Construct
Other
367 stars 43 forks source link

Initial bootstrap on first-execution does not complete atomically. #95

Open Valinwolf opened 5 years ago

Valinwolf commented 5 years ago

OS: Fedora 29 64-bit (Linux REDACTED 5.1.18-200.fc29.x86_64 #1 SMP Mon Jul 15 16:09:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux) GCC:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 8.3.1 20190223 (Red Hat 8.3.1-2) (GCC)

GDB

Reading symbols from construct...done.
(gdb) set args w0lfr.net
(gdb) run
Starting program: /usr/local/bin/construct w0lfr.net
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
1564532633.645769      0 CRITICAL *                0 *          :DEADSTART
1564532633.645843      0    ERROR *                0 *          :DEADSTART
1564532633.645851      0  WARNING *                0 *          :DEADSTART
1564532633.645856      0   NOTICE *                0 *          :DEADSTART
1564532633.645861      0     INFO *                0 *          :DEADSTART
1564532633.645872      0     INFO ircd             0 *          :construct-1.0-dev-3157-g2b694d2c5 configured: Tue Jul 30 05:26:17 2019; compiled: Tue Jul 30 05:02:18 2019; executed: Tue Jul 30 05:26:17 2019; 
1564532633.645891      0     INFO ircd             0 *          :SD-6 201703. glibcxx 20190223. glibc 6.2.28. boost 1.66.0. RocksDB 5.16.6. sodium 1.0.18. OpenSSL 1.1.1c FIPS  28 May 2019. magic 534.
1564532633.645908      0     INFO ircd             0 *          :Linked: glibc 2.28. boost 0. RocksDB 0. sodium 1.0.18. OpenSSL 1.1.1c FIPS  28 May 2019. magic 534.
1564532633.645918      0     INFO ircd             0 *          :Linux srv1.octal.ventures 5.1.18-200.fc29.x86_64 #1 SMP Mon Jul 15 16:09:08 UTC 2019 x86_64
1564532633.646019      0   NOTICE ircd             0 *          :IRCd READY
1564532633.646169      1   NOTICE ircd             0 *          :IRCd START
1564532633.646449      1  WARNING net              1 main       :IPv6 is disabled by the configuration. Not checking for usable interfaces.
1564532633.654075      1   NOTICE db               1 main       :Created new database directory at `/usr/local/var/db/construct'
1564532633.666105      1  WARNING ircd             1 main       :Failed to find certificate private key @ `/root/w0lfr.net.crt.key'; creating...
1564532633.845222    109  WARNING ircd             1 main       :Failed to find SSL certificate @ `/root/w0lfr.net.crt'; creating for 'w0lfr.net'...
1564532633.851762    113     INFO matrix           1 main       :Certificate `/root/w0lfr.net.crt' :PEM 973 bytes; DER 677 bytes; sha256b64 SJM1Kl3SNyTk/Fl5/x8o++TkukemdAzm4g/SP6R/uR0
1564532633.851853    113     INFO matrix           1 main       :Certificate `/root/w0lfr.net.crt' :CN = w0lfr.net
1564532633.851882    113   NOTICE matrix           1 main       :Creating ed25519 secret key @ `/root/w0lfr.net.ed25519'
1564532633.852065    114     INFO matrix           1 main       :Current key is 'ed25519:DvMgBn7H' and the public key is: ILlSbEJJ1B6fGAY+Z3uZVFTtGAtc5s+fa/gOdvl0gFk
1564532633.852090    114     INFO modules          1 main       :Loaded module m_keys :Server keys
1564532633.852196    114   NOTICE db               1 main       :Created new database directory at `/usr/local/var/db/construct/w0lfr.net'
1564532633.852467    114    ERROR db.env           1 main       :[events] opening seqfile:0x820b80 `/usr/local/var/db/construct/w0lfr.net/events/0/CURRENT' (2) :No such file or directory
1564532633.853300    114     INFO db               1 main       :Opening database "events" @ `/usr/local/var/db/construct/w0lfr.net/events/0' with 20 columns...
1564532634.051178    254     INFO db               1 main       :[events] Opened database @ `/usr/local/var/db/construct/w0lfr.net/events/0' with 20 columns at sequence number 0.
1564532634.065765    254     INFO modules          1 main       :Loaded module net_dns :Domain Name System Client, Cache & Components
1564532634.069836    254     INFO modules          1 main       :Loaded module conf :Server Configuration
1564532634.071765    254     INFO modules          1 main       :Loaded module m_noop :No Operation
1564532634.074237    254     INFO modules          1 main       :Loaded module m_node :Server Nodes
1564532634.082841    254     INFO modules          1 main       :Loaded module m_fetch :Event Fetch Unit
1564532634.089114    254     INFO modules          1 main       :Loaded module m_feds :Federation :General Library and Utils
1564532634.092595    254     INFO modules          1 main       :Loaded module m_events :Matrix events library
1564532634.099386    254     INFO modules          1 main       :Loaded module m_rooms :Matrix rooms interface; modular components
1564532634.101747    254     INFO modules          1 main       :Loaded module m_user :Matrix user library; modular components.
1564532634.105370    254     INFO modules          1 main       :Loaded module m_user_rooms :Matrix rooms for a user.
1564532634.108154    254     INFO modules          1 main       :Loaded module m_user_events :Matrix events for a user.
1564532634.111477    254     INFO modules          1 main       :Loaded module m_user_highlight :Matrix user library; highlight notification support
1564532634.116720    254     INFO modules          1 main       :Loaded module m_user_profile :Matrix user profiles.
1564532634.119121    254     INFO modules          1 main       :Loaded module m_room_timeline :Matrix room library; timeline modular components.
1564532634.124723    254     INFO modules          1 main       :Loaded module m_room_aliases :Matrix m.room.aliases
1564532634.127325    254     INFO modules          1 main       :Loaded module m_room_canonical_alias :Matrix m.room.canonical_alias
1564532634.131064    254     INFO modules          1 main       :Loaded module m_room_create :Matrix m.room.create
1564532634.134699    254     INFO modules          1 main       :Loaded module m_room_history_visibility :Matrix m.room.history_visibility
1564532634.137350    254     INFO modules          1 main       :Loaded module m_room_join_rules :Matrix m.room.join_rules
1564532634.141791    254     INFO modules          1 main       :Loaded module m_room_member :Matrix m.room.member
1564532634.144429    254     INFO modules          1 main       :Loaded module m_room_third_party_invite :Matrix m.room.third_party_invite
1564532634.146806    254     INFO modules          1 main       :Loaded module m_room_message :Matrix m.room.message
1564532634.150773    254     INFO modules          1 main       :Loaded module m_room_power_levels :Matrix m.room.power_levels
1564532634.155334    254     INFO modules          1 main       :Loaded module m_room_server_acl :Matrix Room Server Access Control List
1564532634.159161    254     INFO modules          1 main       :Loaded module m_room_redaction :Matrix m.room.redaction
1564532634.166469    254     INFO modules          1 main       :Loaded module m_room_bootstrap :Matrix room bootstrap.
1564532634.171245    254     INFO modules          1 main       :Loaded module m_presence :Matrix Presence
1564532634.175092    254     INFO modules          1 main       :Loaded module m_receipt :Matrix Receipts
1564532634.180850    254     INFO modules          1 main       :Loaded module m_typing :Matrix Typing
1564532634.184799    254     INFO modules          1 main       :Loaded module m_device_list_update :Matrix Device List Update
1564532634.188854    254     INFO modules          1 main       :Loaded module m_device :Matrix device library; modular components.
1564532634.192730    254     INFO modules          1 main       :Loaded module m_direct :Client 14.23 :Direct Messaging
1564532634.196674    254     INFO modules          1 main       :Loaded module m_direct_to_device :Matrix Direct To Device
1564532634.199865    254     INFO modules          1 main       :Loaded module m_breadcrumb_rooms :Matrix Breadcrumb Rooms
1564532634.202814    254     INFO modules          1 main       :Loaded module m_ignored_user_list :14.24 :Ignoring Users
1564532634.205554    254     INFO modules          1 main       :Loaded module key_server :Federation 2.2.1.1 :Publishing Keys
1564532634.208827    254     INFO modules          1 main       :Loaded module identity_pubkey :Identity Service 7 :Key management
1564532634.211287    254     INFO modules          1 main       :Loaded module identity_v1 :Identity Service 6 :Status Check
1564532634.222107    254    ERROR db.env           1 main       :[media] opening seqfile:0x9d3440 `/usr/local/var/db/construct/w0lfr.net/media/0/CURRENT' (2) :No such file or directory
1564532634.222408    254     INFO db               1 main       :Opening database "media" @ `/usr/local/var/db/construct/w0lfr.net/media/0' with 2 columns...
1564532634.236151    277     INFO db               1 main       :[media] Opened database @ `/usr/local/var/db/construct/w0lfr.net/media/0' with 2 columns at sequence number 0.
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
1564532634.505254    277     INFO magick           1 main       :Initializing Magick Library version API:2301952 [1.3.32] ABI:2301952 [GraphicsMagick 1.3.32 2019-06-15 Q16 http://www.GraphicsMagick.org/]
1564532634.505620    277     INFO modules          1 main       :Loaded module magick :GraphicsMagick Library support for media manipulation
1564532634.505654    277     INFO modules          1 main       :Loaded module media_media :11.7 :Content respository
1564532634.512622    277     INFO modules          1 main       :Loaded module m_command :Server Command
1564532634.517256    277     INFO modules          1 main       :Loaded module m_control :Server Control
1564532634.520206    277     INFO modules          1 main       :Loaded module well_known :RFC5785 /.well-known/ support
1564532634.524723    277     INFO modules          1 main       :Loaded module webhook :Webhook Handler
1564532634.527394    277     INFO modules          1 main       :Loaded module stats :Prometheus Metrics
1564532634.531370    277     INFO modules          1 main       :Loaded module federation_backfill_ids :federation backfill event IDs
1564532634.538769    277     INFO modules          1 main       :Loaded module federation_backfill :federation backfill
1564532634.546814    277     INFO modules          1 main       :Loaded module federation_event_auth :federation event_auth (undocumented)
1564532634.553583    277     INFO modules          1 main       :Loaded module federation_event :federation event
1564532634.556640    277     INFO modules          1 main       :Loaded module federation_get_groups_publicised :Federation (undocumented) :Get groups publicised.
1564532634.566004    277     INFO modules          1 main       :Loaded module federation_get_missing_events :Federation (undocumented) :Get missing events.
1564532634.574045    277     INFO modules          1 main       :Loaded module federation_invite :Federation 10 :Inviting to a room
1564532634.581704    277     INFO modules          1 main       :Loaded module federation_invite2 :Federation 12 :Inviting to a room (v2)
1564532634.585381    277     INFO modules          1 main       :Loaded module federation_make_join :Federation :Request a prototype for creating a join event.
1564532634.588920    277     INFO modules          1 main       :Loaded module federation_make_leave :Federation :Request a prototype for creating a leave event.
1564532634.592966    277     INFO modules          1 main       :Loaded module federation_publicrooms :Federation 14.1 :Public Rooms
1564532634.596409    277     INFO modules          1 main       :Loaded module federation_query_auth :Federation 5.1.5.2 :Query Auth
1564532634.600247    277     INFO modules          1 main       :Loaded module federation_query :Federation :Query
1564532634.611173    277     INFO modules          1 main       :Loaded module federation_sender :federation sender
1564532634.622025    277     INFO modules          1 main       :Loaded module federation_send_join :Federation :Send join event
1564532634.626285    277     INFO modules          1 main       :Loaded module federation_send_leave :Federation :Send leave event
1564532634.631725    277     INFO modules          1 main       :Loaded module federation_send :federation send
1564532634.636114    277     INFO modules          1 main       :Loaded module federation_state_ids :federation state_ids
1564532634.645838    277     INFO modules          1 main       :Loaded module federation_state :federation state
1564532634.650021    277     INFO modules          1 main       :Loaded module federation_user_devices :Federation 20 :Device Management
1564532634.652948    277     INFO modules          1 main       :Loaded module federation_user_keys_claim :Federation 21 :End-to-End Encryption
1564532634.656884    277     INFO modules          1 main       :Loaded module federation_user_keys_query :Federation 21 :End-to-End Encryption
1564532634.659716    277     INFO modules          1 main       :Loaded module federation_version :Federation 2.2 :Version
1564532634.663718    277     INFO modules          1 main       :Loaded module client_account :Client 3.4,3.5,3.6 :Account
1564532634.671115    277     INFO modules          1 main       :Loaded module client_user :Client X.X :User endpoints
1564532634.675713    277     INFO modules          1 main       :Loaded module client_profile :Client 8.2 :Profiles
1564532634.678267    277     INFO modules          1 main       :Loaded module client_capabilities :Client 6 :Capabilities Negotiation
1564532634.683801    277     INFO modules          1 main       :Loaded module client_createroom :Client 7.1.1 :Create Room
1564532634.687439    277     INFO modules          1 main       :Loaded module client_delete_devices :Client 14.10.1.5 :Device Management
1564532634.691886    277     INFO modules          1 main       :Loaded module client_devices :Client 11.9 Device Management
1564532634.695051    277     INFO modules          1 main       :Loaded module client_directory_list_appservice :Application Service 2.3.5 :Application service room directories
1564532634.698530    277     INFO modules          1 main       :Loaded module client_directory_list_room :Client 10.5 :Listing rooms
1564532634.702422    277     INFO modules          1 main       :Loaded module client_directory_room :Client 7.2 :Room aliases
1564532634.705368    277     INFO modules          1 main       :Loaded module client_directory_user :Client 8.1 :User Directory
1564532634.713790    277     INFO modules          1 main       :Loaded module client_events :Client 14.17.1.1 :Room Previews
1564532634.722248    277     INFO modules          1 main       :Loaded module client_initialsync :Client 6.2.3 :initialSync
1564532634.724951    277     INFO modules          1 main       :Loaded module client_joined_groups :Client (unspecified) :Joined Groups
1564532634.728038    277     INFO modules          1 main       :Loaded module client_join :Client 7.4.2.3 :Join
1564532634.730868    277     INFO modules          1 main       :Loaded module client_keys_changes :Client 14.11.5.2 :Key management API
1564532634.737353    277     INFO modules          1 main       :Loaded module client_keys_claim :Client 14.11.5.2 :Key management API
1564532634.743825    277     INFO modules          1 main       :Loaded module client_keys_query :Client 14.11.5.2 :Key management API
1564532634.747682    277     INFO modules          1 main       :Loaded module client_keys_upload :Client 14.11.5.2 :Key management API
1564532634.752274    277     INFO modules          1 main       :Loaded module client_login :Client 3.3 :Login
1564532634.755141    277     INFO modules          1 main       :Loaded module client_logout :Client 3.3.2 :Logout
1564532634.758564    277     INFO modules          1 main       :Loaded module client_notifications :Client 14.13.1.3 :Listing Notifications
1564532634.763579    277     INFO modules          1 main       :Loaded module client_presence :Client 11.6 :Presence
1564532634.766499    277     INFO modules          1 main       :Loaded module client_publicised_groups :Client (unspecified) :Publicised Groups
1564532634.771748    277     INFO modules          1 main       :Loaded module client_publicrooms :Client 7.5 :Public Rooms
1564532634.774623    277     INFO modules          1 main       :Loaded module client_pushers :Client 11.12 :Pushers
1564532634.777271    277     INFO modules          1 main       :Loaded module client_pushrules :Client 11.12.1.5 :Push Rules API
1564532634.780923    277     INFO modules          1 main       :Loaded module client_register_available :Client 3.4.1 :Register Available
1564532634.786264    277     INFO modules          1 main       :Loaded module client_register :Client 3.4.1 :Register
1564532634.802512    277     INFO modules          1 main       :Loaded module client_rooms :Client 7 :Rooms
1564532634.805333    277     INFO modules          1 main       :Loaded module client_search :Client 11.14 :Server Side Search
1564532634.808534    277     INFO modules          1 main       :Loaded module client_send_to_device :Client 14.9 :Send-to-Device messaging
1564532634.811707    277     INFO modules          1 main       :Loaded module client_sync_account_data :Client Sync :Account Data
1564532634.814825    277     INFO modules          1 main       :Loaded module client_sync_device_lists :Client Sync :Device Lists
1564532634.817762    277     INFO modules          1 main       :Loaded module client_sync_device_one_time_keys_count :Client Sync :Device One Time Keys Count
1564532634.822163    277     INFO modules          1 main       :Loaded module client_sync_presence :Client Sync :Presence
1564532634.825350    277     INFO modules          1 main       :Loaded module client_sync_rooms_account_data :Client Sync :Room Account Data
1564532634.828964    277     INFO modules          1 main       :Loaded module client_sync_rooms_ephemeral_receipt :Client Sync :Room Ephemeral :Receipts
1564532634.831455    277     INFO modules          1 main       :Loaded module client_sync_rooms_ephemeral :Client Sync :Rooms Ephemeral
1564532634.834223    277     INFO modules          1 main       :Loaded module client_sync_rooms_ephemeral_typing :Client Sync :Room Ephemeral :Typing
1564532634.837338    277     INFO modules          1 main       :Loaded module client_sync_rooms :Client Sync :Rooms
1564532634.841823    277     INFO modules          1 main       :Loaded module client_sync_rooms_state :Client Sync :Room State
1564532634.846009    277     INFO modules          1 main       :Loaded module client_sync_rooms_timeline :Client Sync :Room Timeline
1564532634.848945    277     INFO modules          1 main       :Loaded module client_sync_rooms_unread_notifications :Client Sync :Room Unread Notifications
1564532634.851827    277     INFO modules          1 main       :Loaded module client_sync_rooms_summary :Client Sync :Room Summary
1564532634.860046    277     INFO modules          1 main       :Loaded module client_sync :Client 6.2.1 :Sync
1564532634.864301    277     INFO modules          1 main       :Loaded module client_sync_to_device :Client Sync :To Device
1564532634.866928    277     INFO modules          1 main       :Loaded module client_thirdparty_protocols :Client (unstable) (no-section) :Third party protocols
1564532634.869973    277     INFO modules          1 main       :Loaded module client_versions :Client 2.1 :Versions
1564532634.873247    277     INFO modules          1 main       :Loaded module client_voip_turnserver :Client 11.3 :Voice over IP
1564532634.877324    277     INFO modules          1 main       :Loaded module index :Web root content resource
1564532634.881604    277  WARNING ircd             1 main       :No listening sockets configured; can't hear anyone.
1564532634.881628    277     INFO modules          1 main       :Loaded module m_listen :Server listeners
1564532634.889494    277     INFO matrix.vm        1 main       :BOOT w0lfr.net @0 [NO EVENTS]
1564532634.889530    277     INFO modules          1 main       :Loaded module m_vm :Matrix Virtual Machine
1564532634.889541    277   NOTICE matrix           1 main       :This appears to be your first time running IRCd because the events database is empty. I will be bootstrapping it with initial events now...
1564532634.892533    277     INFO modules          1 main       :Loaded module m_init_bootstrap :Matrix initial bootstrap support.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff7be62bd in ircd::json::stringify (buf=..., iov=...) at json.cc:1754
#2  0x00007ffff135d4c3 in ircd::json::stringify<ircd::json::iov const&> (mb=...) at json/json.h:62
#3  ircd::json::strung::strung<ircd::json::iov const&>(ircd::json::iov const&)::{lambda(ircd::buffer::mutable_buffer const&)#1}::operator()(ircd::buffer::mutable_buffer const&) const (this=<optimized out>, out=...) at json/strung.h:63
#4  std::_Function_handler<ircd::string_view (ircd::buffer::mutable_buffer const&), ircd::json::strung::strung<ircd::json::iov const&>(ircd::json::iov const&)::{lambda(ircd::buffer::mutable_buffer const&)#1}>::_M_invoke(std::_Any_data const&, ircd::buffer::mutable_buffer const&) (__functor=..., __args#0=...)
    at /usr/include/c++/8/bits/std_function.h:282
#5  0x00007ffff7b9e714 in std::function<ircd::string_view (ircd::buffer::mutable_buffer const&)>::operator()(ircd::buffer::mutable_buffer const&) const (__args#0=..., 
    this=<optimized out>) at /usr/include/c++/8/bits/std_function.h:682
#6  ircd::util::<lambda(const ircd::buffer::mutable_buffer&)>::operator() (__closure=<optimized out>, buffer=...) at util.cc:435
#7  std::_Function_handler<long unsigned int(const ircd::buffer::mutable_buffer&), ircd::util::string(const size_t&, const string_closure_view&)::<lambda(const ircd::buffer::mutable_buffer&)> >::_M_invoke(const std::_Any_data &, const ircd::buffer::mutable_buffer &) (__functor=..., __args#0=...)
    at /usr/include/c++/8/bits/std_function.h:282
#8  0x00007ffff7b9f3de in std::function<unsigned long (ircd::buffer::mutable_buffer const&)>::operator()(ircd::buffer::mutable_buffer const&) const (__args#0=..., 
    this=0x7ffff6871580) at /usr/include/c++/8/bits/std_function.h:682
#9  ircd::util::string[abi:cxx11](unsigned long const&, std::function<unsigned long (ircd::buffer::mutable_buffer const&)> const&) (size=@0x7ffff68723f0: 66, 
    closure=...) at util.cc:459
#10 0x00007ffff7b9f747 in ircd::util::string[abi:cxx11](unsigned long const&, std::function<ircd::string_view (ircd::buffer::mutable_buffer const&)> const&) (
    size=@0x7ffff68723f0: 66, closure=...) at /usr/include/c++/8/new:169
#11 0x00007ffff1363997 in ircd::json::strung::strung<ircd::json::iov const&> (this=0x7ffff6871910) at /usr/include/c++/8/bits/move.h:74
#12 ircd::m::vm::inject3 (contents=..., event=..., eval=...) at m_vm.cc:579
#13 ircd::m::vm::inject (eval=..., event=..., contents=...) at m_vm.cc:460
#14 0x00007ffff7d5b500 in std::__invoke_impl<ircd::m::vm::fault, ircd::m::vm::fault (*)(ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&), ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&> (__f=<optimized out>) at /usr/include/c++/8/bits/invoke.h:89
#15 std::__invoke<ircd::m::vm::fault (*)(ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&), ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&> (
    __fn=<optimized out>) at /usr/include/c++/8/bits/invoke.h:95
#16 std::invoke<ircd::m::vm::fault (*)(ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&), ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&> (
    __fn=<optimized out>) at /usr/include/c++/8/functional:81
#17 ircd::mods::sym_ptr::operator()<ircd::m::vm::fault (ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&), ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&>(ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&) const (
    this=0x7ffff7fca160 <ircd::m::vm::eval::operator()(ircd::json::iov&, ircd::json::iov const&)::call>) at mods/sym_ptr.h:98
#18 ircd::mods::import<ircd::m::vm::fault (ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&)>::operator()<ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&>(ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&) (
    this=0x7ffff7fca160 <ircd::m::vm::eval::operator()(ircd::json::iov&, ircd::json::iov const&)::call>) at mods/import.h:158
--Type <RET> for more, q to quit, c to continue without paging--c
#19 ircd::m::vm::eval::operator() (this=this@entry=0x7ffff6872b40, event=..., contents=...) at m.cc:1537
#20 0x00007ffff7d5b593 in ircd::m::vm::eval::eval (this=0x7ffff6872b40, event=..., content=..., opts=...) at m.cc:1366
#21 0x00007ffff1581758 in ircd::m::_create_event (c=...) at client/createroom.cc:517
#22 0x00007ffff1583410 in ircd::m::create (c=..., errors=@0x7ffff6873ae8: 0x0) at client/createroom.cc:148
#23 0x00007ffff7d335c9 in std::__invoke_impl<ircd::m::room, ircd::m::room (*)(ircd::m::createroom const&, ircd::json::stack::array* const&), ircd::m::createroom const&, ircd::json::stack::array* const&> (__f=<optimized out>) at /usr/include/c++/8/bits/invoke.h:89
#24 std::__invoke<ircd::m::room (*)(ircd::m::createroom const&, ircd::json::stack::array* const&), ircd::m::createroom const&, ircd::json::stack::array* const&> (__fn=<optimized out>) at /usr/include/c++/8/bits/invoke.h:95
#25 std::invoke<ircd::m::room (*)(ircd::m::createroom const&, ircd::json::stack::array* const&), ircd::m::createroom const&, ircd::json::stack::array* const&> (__fn=<optimized out>) at /usr/include/c++/8/functional:81
#26 ircd::mods::sym_ptr::operator()<ircd::m::room (ircd::m::createroom const&, ircd::json::stack::array* const&), ircd::m::createroom const&, ircd::json::stack::array* const&>(ircd::m::createroom const&, ircd::json::stack::array* const&) const (this=0x7ffff7fc7d60 <ircd::m::create(ircd::m::createroom const&, ircd::json::stack::array* const&)::call>) at mods/sym_ptr.h:98
#27 ircd::mods::import<ircd::m::room (ircd::m::createroom const&, ircd::json::stack::array* const&)>::operator()<ircd::m::createroom const&, ircd::json::stack::array* const&>(ircd::m::createroom const&, ircd::json::stack::array* const&) (this=0x7ffff7fc7d60 <ircd::m::create(ircd::m::createroom const&, ircd::json::stack::array* const&)::call>) at mods/import.h:158
#28 ircd::m::create (c=..., errors=@0x7ffff6873ae8: 0x0) at m_room.cc:303
#29 0x00007ffff7d3d0d9 in ircd::m::create (room_id=..., creator=..., preset=...) at json/tuple/tuple.h:206
#30 0x00007ffff134e9c6 in ircd::m::init::bootstrap () at m/room/room.h:207
#31 0x00007ffff7d61e25 in std::__invoke_impl<void, void (* const&)()> (__f=<optimized out>) at /usr/include/c++/8/bits/invoke.h:89
#32 std::__invoke<void (* const&)()> (__fn=<optimized out>) at /usr/include/c++/8/bits/invoke.h:95
#33 std::invoke<void (* const&)()> (__fn=<optimized out>) at /usr/include/c++/8/functional:81
#34 ircd::mods::invoke<void (), , (void*)0>(void (* const&)()) (f=<optimized out>) at mods/sym_ptr.h:170
#35 ircd::mods::sym_ptr::operator()<void ()>() const (this=0x7ffff68747c0) at mods/sym_ptr.h:98
#36 ircd::mods::import<void ()>::operator()<>() const (this=0x7ffff68747c0) at mods/import.h:192
#37 ircd::m::init::modules::init_imports (this=<optimized out>) at m.cc:177
#38 0x00007ffff7d61f6d in ircd::m::init::modules::modules (this=<optimized out>) at m.cc:123
#39 0x00007ffff7d65bf9 in std::make_unique<ircd::m::init::modules> () at /usr/include/c++/8/bits/unique_ptr.h:830
#40 ircd::m::init::init (this=0x7ffff6874c10, origin=..., servername=...) at m.cc:53
#41 0x00007ffff7b9a73a in ircd::main () at /usr/include/c++/8/string_view:105
#42 0x00007ffff7c8e52e in std::function<void ()>::operator()() const (this=0x7ffff6874eb0) at /usr/include/c++/8/bits/std_function.h:682
#43 ircd::ctx::ctx::operator()(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) (this=0x752330, yc=..., func=...) at ctx.cc:117
#44 0x00007ffff7c944bd in std::__invoke_impl<void, void (ircd::ctx::ctx::*&)(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept, ircd::ctx::ctx*&, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, std::function<void ()>&>(std::__invoke_memfun_deref, void (ircd::ctx::ctx::*&)(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept, ircd::ctx::ctx*&, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, std::function<void ()>&) (__t=@0x753130: 0x752330, __f=@0x753100: (void (ircd::ctx::ctx::*)(ircd::ctx::ctx * const, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void()>)) 0x7ffff7c8e4a0 <ircd::ctx::ctx::operator()(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>)>) at /usr/include/boost/asio/io_context_strand.hpp:113
#45 std::__invoke<void (ircd::ctx::ctx::*&)(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept, ircd::ctx::ctx*&, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, std::function<void ()>&>(void (ircd::ctx::ctx::*&)(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept, ircd::ctx::ctx*&, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, std::function<void ()>&) (__fn=@0x753100: (void (ircd::ctx::ctx::*)(ircd::ctx::ctx * const, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void()>)) 0x7ffff7c8e4a0 <ircd::ctx::ctx::operator()(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>)>) at /usr/include/c++/8/bits/invoke.h:95
#46 std::_Bind<void (ircd::ctx::ctx::*(ircd::ctx::ctx*, std::_Placeholder<1>, std::function<void ()>))(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept>::__call<void, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, 0ul, 1ul, 2ul>(std::tuple<boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (__args=..., this=0x753100) at /usr/include/c++/8/functional:400
#47 std::_Bind<void (ircd::ctx::ctx::*(ircd::ctx::ctx*, std::_Placeholder<1>, std::function<void ()>))(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept>::operator()<boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, void>(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&) (this=0x753100) at /usr/include/c++/8/functional:484
#48 boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand>, std::_Bind<void (ircd::ctx::ctx::*(ircd::ctx::ctx*, std::_Placeholder<1>, std::function<void ()>))(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept> >::operator()(boost::coroutines::pull_coroutine<void>&) (ca=..., this=<optimized out>) at /usr/include/boost/asio/impl/spawn.hpp:381
#49 boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand>, std::_Bind<void (ircd::ctx::ctx::*(ircd::ctx::ctx*, std::_Placeholder<1>, std::function<void ()>))(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept> >&, boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits> >::run() (this=0x7ffff6874f70) at /usr/include/boost/coroutine/detail/push_coroutine_object.hpp:293
#50 0x00007ffff74d61af in make_fcontext () at libs/context/src/asm/make_x86_64_sysv_elf_gas.S:70
#51 0x00007ffff7f9a088 in vtable for boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand>, std::_Bind<void (ircd::ctx::ctx::*(ircd::ctx::ctx*, std::_Placeholder<1>, std::function<void ()>))(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept> >&, boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits> > () from /usr/local/lib/libircd.so.3
#52 0x0000000000000006 in ?? ()
#53 0x0000000000000000 in ?? ()
(gdb) frame 1
#1  0x00007ffff7be62bd in ircd::json::stringify (buf=..., iov=...) at json.cc:1754
1754        const ctx::critical_assertion ca;
(gdb) print buf
$1 = (ircd::buffer::mutable_buffer &) @0x7ffff68714e0: {<ircd::buffer::buffer<char*>> = {<std::pair<char*, char*>> = {first = 0xcebdf0 "", 
      second = 0xcebe32 ""}, <No data fields>}, <No data fields>}
(gdb) print m
$2 = {0x0 <repeats 1024 times>}
(gdb) print iov
$3 = (const ircd::json::iov &) @0x7ffff6872850: {<ircd::iov<ircd::json::member>> = {<std::forward_list<ircd::json::member, ircd::allocator::node<ircd::json::member>::allocator>> = std::forward_list = {[0] = {<std::pair<ircd::json::value, ircd::json::value>> = {first = {static max_string_size = 65536, {integer = 13546432, 
              floating = 6.6928266749245291e-317, string = 0xceb3c0 "\"room_version\"", array = 0xceb3c0, object = 0xceb3c0}, len = 14, type = 0, serial = 1, 
            alloc = 1, floats = 0}, second = {static max_string_size = 65536, {integer = 140737242506136, floating = 6.9533436612710218e-310, 
              string = 0x7ffff158a398 <ircd::m::_create_event(ircd::m::createroom const&)::default_version+120> "4", 
              array = 0x7ffff158a398 <ircd::m::_create_event(ircd::m::createroom const&)::default_version+120>, 
              object = 0x7ffff158a398 <ircd::m::_create_event(ircd::m::createroom const&)::default_version+120>}, len = 1, type = 0, serial = 0, alloc = 0, 
            floats = 0}}, <No data fields>}, [1] = {<std::pair<ircd::json::value, ircd::json::value>> = {first = {static max_string_size = 65536, {integer = 13575488, 
              floating = 6.7071822463300924e-317, string = 0xcf2540 "\"type\"", array = 0xcf2540, object = 0xcf2540}, len = 6, type = 0, serial = 1, alloc = 1, 
            floats = 0}, second = {static max_string_size = 65536, {integer = 140737240168786, floating = 6.9533435457905881e-310, string = 0x7ffff134f952 "internal", 
              array = 0x7ffff134f952, object = 0x7ffff134f952}, len = 8, type = 0, serial = 0, alloc = 0, floats = 0}}, <No data fields>}, 
      [2] = {<std::pair<ircd::json::value, ircd::json::value>> = {first = {static max_string_size = 65536, {integer = 13575456, floating = 6.7071664362294254e-317, 
              string = 0xcf2520 "\"creator\"", array = 0xcf2520, object = 0xcf2520}, len = 9, type = 0, serial = 1, alloc = 1, floats = 0}, second = {
            static max_string_size = 65536, {integer = 140737353920176, floating = 6.9533491658559847e-310, 
              string = 0x7ffff7fcaeb0 <ircd_user_id+16> "@ircd:w0lfr.net", array = 0x7ffff7fcaeb0 <ircd_user_id+16>, object = 0x7ffff7fcaeb0 <ircd_user_id+16>}, 
            len = 15, type = 0, serial = 0, alloc = 0, floats = 0}}, <No data fields>}}, a = {next = 0x7ffff68728d0}}, static max_size = 1024}```
(gdb) print ca
$4 = {theirs = false}

Per Jason's request I tried the following: ircd/ircd.cc on line 127, change 256_KiB to 8_MiB after that modification:

Reading symbols from construct...done.
(gdb) set args w0lfr.net
(gdb) run
Starting program: /usr/local/bin/construct w0lfr.net
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
1564534046.479849      0 CRITICAL *                0 *          :DEADSTART
1564534046.479956      0    ERROR *                0 *          :DEADSTART
1564534046.479969      0  WARNING *                0 *          :DEADSTART
1564534046.479977      0   NOTICE *                0 *          :DEADSTART
1564534046.479985      0     INFO *                0 *          :DEADSTART
1564534046.480011      0     INFO ircd             0 *          :construct-1.0-dev-3157-g2b694d2c5 configured: Tue Jul 30 05:26:17 2019; compiled: Tue Jul 30 05:02:18 2019; executed: Tue Jul 30 05:26:17 2019; 
1564534046.480049      0     INFO ircd             0 *          :SD-6 201703. glibcxx 20190223. glibc 6.2.28. boost 1.66.0. RocksDB 5.16.6. sodium 1.0.18. OpenSSL 1.1.1c FIPS  28 May 2019. magic 534.
1564534046.480086      0     INFO ircd             0 *          :Linked: glibc 2.28. boost 0. RocksDB 0. sodium 1.0.18. OpenSSL 1.1.1c FIPS  28 May 2019. magic 534.
1564534046.480148      0     INFO ircd             0 *          :Linux srv1.octal.ventures 5.1.18-200.fc29.x86_64 #1 SMP Mon Jul 15 16:09:08 UTC 2019 x86_64
1564534046.480307      0   NOTICE ircd             0 *          :IRCd READY
1564534046.480523      1   NOTICE ircd             0 *          :IRCd START
1564534046.481484      1  WARNING net              1 main       :IPv6 is disabled by the configuration. Not checking for usable interfaces.
1564534046.489487      1     INFO db               1 main       :Using database directory at `/usr/local/var/db/construct'
1564534046.509226     98     INFO matrix           1 main       :Certificate `/root/w0lfr.net.crt' :PEM 973 bytes; DER 677 bytes; sha256b64 ZB62RqWNpYMYRA74nG4wIxdCoBRhL6ZBWceiMhHgbuE
1564534046.509367     98     INFO matrix           1 main       :Certificate `/root/w0lfr.net.crt' :CN = w0lfr.net
1564534046.509413     98     INFO matrix           1 main       :Using ed25519 secret key @ `/root/w0lfr.net.ed25519'
1564534046.509538     99     INFO matrix           1 main       :Current key is 'ed25519:jerMQFuk' and the public key is: ecFxKhskxb8T5vB3juzhrGuWCuZRfyAW11rw2DsotGg
1564534046.509581     99     INFO modules          1 main       :Loaded module m_keys :Server keys
1564534046.509623     99     INFO db               1 main       :Using database directory at `/usr/local/var/db/construct/w0lfr.net'
1564534046.510879    102     INFO db               1 main       :Opening database "events" @ `/usr/local/var/db/construct/w0lfr.net/events/0' with 20 columns...
1564534046.581722    178     INFO db               1 main       :[events] Opened database @ `/usr/local/var/db/construct/w0lfr.net/events/0' with 20 columns at sequence number 0.
1564534046.597190    178     INFO modules          1 main       :Loaded module net_dns :Domain Name System Client, Cache & Components
1564534046.602689    178     INFO modules          1 main       :Loaded module conf :Server Configuration
1564534046.604992    178     INFO modules          1 main       :Loaded module m_noop :No Operation
1564534046.607683    178     INFO modules          1 main       :Loaded module m_node :Server Nodes
1564534046.616308    178     INFO modules          1 main       :Loaded module m_fetch :Event Fetch Unit
1564534046.622786    178     INFO modules          1 main       :Loaded module m_feds :Federation :General Library and Utils
1564534046.626494    178     INFO modules          1 main       :Loaded module m_events :Matrix events library
1564534046.632078    178     INFO modules          1 main       :Loaded module m_rooms :Matrix rooms interface; modular components
1564534046.634044    178     INFO modules          1 main       :Loaded module m_user :Matrix user library; modular components.
1564534046.637098    178     INFO modules          1 main       :Loaded module m_user_rooms :Matrix rooms for a user.
1564534046.639669    178     INFO modules          1 main       :Loaded module m_user_events :Matrix events for a user.
1564534046.643780    178     INFO modules          1 main       :Loaded module m_user_highlight :Matrix user library; highlight notification support
1564534046.649175    178     INFO modules          1 main       :Loaded module m_user_profile :Matrix user profiles.
1564534046.651472    178     INFO modules          1 main       :Loaded module m_room_timeline :Matrix room library; timeline modular components.
1564534046.657102    178     INFO modules          1 main       :Loaded module m_room_aliases :Matrix m.room.aliases
1564534046.660089    178     INFO modules          1 main       :Loaded module m_room_canonical_alias :Matrix m.room.canonical_alias
1564534046.663211    178     INFO modules          1 main       :Loaded module m_room_create :Matrix m.room.create
1564534046.666448    178     INFO modules          1 main       :Loaded module m_room_history_visibility :Matrix m.room.history_visibility
1564534046.669349    178     INFO modules          1 main       :Loaded module m_room_join_rules :Matrix m.room.join_rules
1564534046.673920    178     INFO modules          1 main       :Loaded module m_room_member :Matrix m.room.member
1564534046.676948    178     INFO modules          1 main       :Loaded module m_room_third_party_invite :Matrix m.room.third_party_invite
1564534046.679391    178     INFO modules          1 main       :Loaded module m_room_message :Matrix m.room.message
1564534046.683261    178     INFO modules          1 main       :Loaded module m_room_power_levels :Matrix m.room.power_levels
1564534046.688059    178     INFO modules          1 main       :Loaded module m_room_server_acl :Matrix Room Server Access Control List
1564534046.692003    178     INFO modules          1 main       :Loaded module m_room_redaction :Matrix m.room.redaction
1564534046.699572    178     INFO modules          1 main       :Loaded module m_room_bootstrap :Matrix room bootstrap.
1564534046.704670    178     INFO modules          1 main       :Loaded module m_presence :Matrix Presence
1564534046.709183    178     INFO modules          1 main       :Loaded module m_receipt :Matrix Receipts
1564534046.714712    178     INFO modules          1 main       :Loaded module m_typing :Matrix Typing
1564534046.718091    178     INFO modules          1 main       :Loaded module m_device_list_update :Matrix Device List Update
1564534046.721743    178     INFO modules          1 main       :Loaded module m_device :Matrix device library; modular components.
1564534046.725306    178     INFO modules          1 main       :Loaded module m_direct :Client 14.23 :Direct Messaging
1564534046.728733    178     INFO modules          1 main       :Loaded module m_direct_to_device :Matrix Direct To Device
1564534046.731626    178     INFO modules          1 main       :Loaded module m_breadcrumb_rooms :Matrix Breadcrumb Rooms
1564534046.734517    178     INFO modules          1 main       :Loaded module m_ignored_user_list :14.24 :Ignoring Users
1564534046.737372    178     INFO modules          1 main       :Loaded module key_server :Federation 2.2.1.1 :Publishing Keys
1564534046.740389    178     INFO modules          1 main       :Loaded module identity_pubkey :Identity Service 7 :Key management
1564534046.742955    178     INFO modules          1 main       :Loaded module identity_v1 :Identity Service 6 :Status Check
1564534046.754248    187     INFO db               1 main       :Opening database "media" @ `/usr/local/var/db/construct/w0lfr.net/media/0' with 2 columns...
1564534046.766675    203     INFO db               1 main       :[media] Opened database @ `/usr/local/var/db/construct/w0lfr.net/media/0' with 2 columns at sequence number 0.
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
1564534047.017924    203     INFO magick           1 main       :Initializing Magick Library version API:2301952 [1.3.32] ABI:2301952 [GraphicsMagick 1.3.32 2019-06-15 Q16 http://www.GraphicsMagick.org/]
1564534047.018397    203     INFO modules          1 main       :Loaded module magick :GraphicsMagick Library support for media manipulation
1564534047.018530    203     INFO modules          1 main       :Loaded module media_media :11.7 :Content respository
1564534047.023909    203     INFO modules          1 main       :Loaded module m_command :Server Command
1564534047.028376    203     INFO modules          1 main       :Loaded module m_control :Server Control
1564534047.030768    203     INFO modules          1 main       :Loaded module well_known :RFC5785 /.well-known/ support
1564534047.034862    203     INFO modules          1 main       :Loaded module webhook :Webhook Handler
1564534047.037651    203     INFO modules          1 main       :Loaded module stats :Prometheus Metrics
1564534047.041481    203     INFO modules          1 main       :Loaded module federation_backfill_ids :federation backfill event IDs
1564534047.049299    203     INFO modules          1 main       :Loaded module federation_backfill :federation backfill
1564534047.058016    203     INFO modules          1 main       :Loaded module federation_event_auth :federation event_auth (undocumented)
1564534047.066302    203     INFO modules          1 main       :Loaded module federation_event :federation event
1564534047.069722    203     INFO modules          1 main       :Loaded module federation_get_groups_publicised :Federation (undocumented) :Get groups publicised.
1564534047.078828    203     INFO modules          1 main       :Loaded module federation_get_missing_events :Federation (undocumented) :Get missing events.
1564534047.086665    203     INFO modules          1 main       :Loaded module federation_invite :Federation 10 :Inviting to a room
1564534047.094163    203     INFO modules          1 main       :Loaded module federation_invite2 :Federation 12 :Inviting to a room (v2)
1564534047.098155    203     INFO modules          1 main       :Loaded module federation_make_join :Federation :Request a prototype for creating a join event.
1564534047.101707    203     INFO modules          1 main       :Loaded module federation_make_leave :Federation :Request a prototype for creating a leave event.
1564534047.106409    203     INFO modules          1 main       :Loaded module federation_publicrooms :Federation 14.1 :Public Rooms
1564534047.110148    203     INFO modules          1 main       :Loaded module federation_query_auth :Federation 5.1.5.2 :Query Auth
1564534047.113970    203     INFO modules          1 main       :Loaded module federation_query :Federation :Query
1564534047.123910    203     INFO modules          1 main       :Loaded module federation_sender :federation sender
1564534047.132971    203     INFO modules          1 main       :Loaded module federation_send_join :Federation :Send join event
1564534047.136686    203     INFO modules          1 main       :Loaded module federation_send_leave :Federation :Send leave event
1564534047.140847    203     INFO modules          1 main       :Loaded module federation_send :federation send
1564534047.144676    203     INFO modules          1 main       :Loaded module federation_state_ids :federation state_ids
1564534047.152375    203     INFO modules          1 main       :Loaded module federation_state :federation state
1564534047.155526    203     INFO modules          1 main       :Loaded module federation_user_devices :Federation 20 :Device Management
1564534047.157835    203     INFO modules          1 main       :Loaded module federation_user_keys_claim :Federation 21 :End-to-End Encryption
1564534047.161502    203     INFO modules          1 main       :Loaded module federation_user_keys_query :Federation 21 :End-to-End Encryption
1564534047.163845    203     INFO modules          1 main       :Loaded module federation_version :Federation 2.2 :Version
1564534047.170641    203     INFO modules          1 main       :Loaded module client_account :Client 3.4,3.5,3.6 :Account
1564534047.181555    203     INFO modules          1 main       :Loaded module client_user :Client X.X :User endpoints
1564534047.188148    203     INFO modules          1 main       :Loaded module client_profile :Client 8.2 :Profiles
1564534047.191667    203     INFO modules          1 main       :Loaded module client_capabilities :Client 6 :Capabilities Negotiation
1564534047.197097    203     INFO modules          1 main       :Loaded module client_createroom :Client 7.1.1 :Create Room
1564534047.200621    203     INFO modules          1 main       :Loaded module client_delete_devices :Client 14.10.1.5 :Device Management
1564534047.204952    203     INFO modules          1 main       :Loaded module client_devices :Client 11.9 Device Management
1564534047.207990    203     INFO modules          1 main       :Loaded module client_directory_list_appservice :Application Service 2.3.5 :Application service room directories
1564534047.211538    203     INFO modules          1 main       :Loaded module client_directory_list_room :Client 10.5 :Listing rooms
1564534047.215962    203     INFO modules          1 main       :Loaded module client_directory_room :Client 7.2 :Room aliases
1564534047.219676    203     INFO modules          1 main       :Loaded module client_directory_user :Client 8.1 :User Directory
1564534047.227349    203     INFO modules          1 main       :Loaded module client_events :Client 14.17.1.1 :Room Previews
1564534047.236180    203     INFO modules          1 main       :Loaded module client_initialsync :Client 6.2.3 :initialSync
1564534047.238964    203     INFO modules          1 main       :Loaded module client_joined_groups :Client (unspecified) :Joined Groups
1564534047.242259    203     INFO modules          1 main       :Loaded module client_join :Client 7.4.2.3 :Join
1564534047.245347    203     INFO modules          1 main       :Loaded module client_keys_changes :Client 14.11.5.2 :Key management API
1564534047.252143    203     INFO modules          1 main       :Loaded module client_keys_claim :Client 14.11.5.2 :Key management API
1564534047.258404    203     INFO modules          1 main       :Loaded module client_keys_query :Client 14.11.5.2 :Key management API
1564534047.262628    203     INFO modules          1 main       :Loaded module client_keys_upload :Client 14.11.5.2 :Key management API
1564534047.268332    203     INFO modules          1 main       :Loaded module client_login :Client 3.3 :Login
1564534047.271283    203     INFO modules          1 main       :Loaded module client_logout :Client 3.3.2 :Logout
1564534047.274667    203     INFO modules          1 main       :Loaded module client_notifications :Client 14.13.1.3 :Listing Notifications
1564534047.279117    203     INFO modules          1 main       :Loaded module client_presence :Client 11.6 :Presence
1564534047.281851    203     INFO modules          1 main       :Loaded module client_publicised_groups :Client (unspecified) :Publicised Groups
1564534047.285724    203     INFO modules          1 main       :Loaded module client_publicrooms :Client 7.5 :Public Rooms
1564534047.288245    203     INFO modules          1 main       :Loaded module client_pushers :Client 11.12 :Pushers
1564534047.290783    203     INFO modules          1 main       :Loaded module client_pushrules :Client 11.12.1.5 :Push Rules API
1564534047.294373    203     INFO modules          1 main       :Loaded module client_register_available :Client 3.4.1 :Register Available
1564534047.300031    203     INFO modules          1 main       :Loaded module client_register :Client 3.4.1 :Register
1564534047.316831    203     INFO modules          1 main       :Loaded module client_rooms :Client 7 :Rooms
1564534047.319577    203     INFO modules          1 main       :Loaded module client_search :Client 11.14 :Server Side Search
1564534047.322862    203     INFO modules          1 main       :Loaded module client_send_to_device :Client 14.9 :Send-to-Device messaging
1564534047.325999    203     INFO modules          1 main       :Loaded module client_sync_account_data :Client Sync :Account Data
1564534047.328699    203     INFO modules          1 main       :Loaded module client_sync_device_lists :Client Sync :Device Lists
1564534047.331468    203     INFO modules          1 main       :Loaded module client_sync_device_one_time_keys_count :Client Sync :Device One Time Keys Count
1564534047.335448    203     INFO modules          1 main       :Loaded module client_sync_presence :Client Sync :Presence
1564534047.339219    203     INFO modules          1 main       :Loaded module client_sync_rooms_account_data :Client Sync :Room Account Data
1564534047.343379    203     INFO modules          1 main       :Loaded module client_sync_rooms_ephemeral_receipt :Client Sync :Room Ephemeral :Receipts
1564534047.346075    203     INFO modules          1 main       :Loaded module client_sync_rooms_ephemeral :Client Sync :Rooms Ephemeral
1564534047.349160    203     INFO modules          1 main       :Loaded module client_sync_rooms_ephemeral_typing :Client Sync :Room Ephemeral :Typing
1564534047.352421    203     INFO modules          1 main       :Loaded module client_sync_rooms :Client Sync :Rooms
1564534047.357034    203     INFO modules          1 main       :Loaded module client_sync_rooms_state :Client Sync :Room State
1564534047.362040    203     INFO modules          1 main       :Loaded module client_sync_rooms_timeline :Client Sync :Room Timeline
1564534047.365260    203     INFO modules          1 main       :Loaded module client_sync_rooms_unread_notifications :Client Sync :Room Unread Notifications
1564534047.368796    203     INFO modules          1 main       :Loaded module client_sync_rooms_summary :Client Sync :Room Summary
1564534047.377314    203     INFO modules          1 main       :Loaded module client_sync :Client 6.2.1 :Sync
1564534047.381078    203     INFO modules          1 main       :Loaded module client_sync_to_device :Client Sync :To Device
1564534047.383517    203     INFO modules          1 main       :Loaded module client_thirdparty_protocols :Client (unstable) (no-section) :Third party protocols
1564534047.386345    203     INFO modules          1 main       :Loaded module client_versions :Client 2.1 :Versions
1564534047.389446    203     INFO modules          1 main       :Loaded module client_voip_turnserver :Client 11.3 :Voice over IP
1564534047.393000    203     INFO modules          1 main       :Loaded module index :Web root content resource
1564534047.397209    203  WARNING ircd             1 main       :No listening sockets configured; can't hear anyone.
1564534047.397338    203     INFO modules          1 main       :Loaded module m_listen :Server listeners
1564534047.405407    203     INFO matrix.vm        1 main       :BOOT w0lfr.net @0 [NO EVENTS]
1564534047.405568    203     INFO modules          1 main       :Loaded module m_vm :Matrix Virtual Machine
1564534047.405654    203   NOTICE matrix           1 main       :This appears to be your first time running IRCd because the events database is empty. I will be bootstrapping it with initial events now...
1564534047.408531    203     INFO modules          1 main       :Loaded module m_init_bootstrap :Matrix initial bootstrap support.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) frame 1
#1  0x00007ffff7be462d in ircd::json::stringify (buf=..., iov=...) at json.cc:1754
1754        const ctx::critical_assertion ca;
(gdb) print buf
$1 = (ircd::buffer::mutable_buffer &) @0x7ffff6870530: {<ircd::buffer::buffer<char*>> = {<std::pair<char*, char*>> = {first = 0xa4e080 "", 
      second = 0xa4e0c2 ""}, <No data fields>}, <No data fields>}
(gdb) print m
$2 = {0x0 <repeats 1024 times>}
(gdb) print iov
$3 = (const ircd::json::iov &) @0x7ffff68718a0: {<ircd::iov<ircd::json::member>> = {<std::forward_list<ircd::json::member, ircd::allocator::node<ircd::json::member>::allocator>> = std::forward_list = {[0] = {<std::pair<ircd::json::value, ircd::json::value>> = {first = {static max_string_size = 65536, {integer = 10805152, 
              floating = 5.3384544012928368e-317, string = 0xa4dfa0 "\"room_version\"", array = 0xa4dfa0, object = 0xa4dfa0}, len = 14, type = 0, serial = 1, 
            alloc = 1, floats = 0}, second = {static max_string_size = 65536, {integer = 140737231590296, floating = 6.9533431219568679e-310, 
              string = 0x7ffff0b21398 <ircd::m::_create_event(ircd::m::createroom const&)::default_version+120> "4", 
              array = 0x7ffff0b21398 <ircd::m::_create_event(ircd::m::createroom const&)::default_version+120>, 
              object = 0x7ffff0b21398 <ircd::m::_create_event(ircd::m::createroom const&)::default_version+120>}, len = 1, type = 0, serial = 0, alloc = 0, 
            floats = 0}}, <No data fields>}, [1] = {<std::pair<ircd::json::value, ircd::json::value>> = {first = {static max_string_size = 65536, {integer = 10805120, 
              floating = 5.3384385911921699e-317, string = 0xa4df80 "\"type\"", array = 0xa4df80, object = 0xa4df80}, len = 6, type = 0, serial = 1, alloc = 1, 
            floats = 0}, second = {static max_string_size = 65536, {integer = 140737229252946, floating = 6.9533430064764341e-310, string = 0x7ffff08e6952 "internal", 
              array = 0x7ffff08e6952, object = 0x7ffff08e6952}, len = 8, type = 0, serial = 0, alloc = 0, floats = 0}}, <No data fields>}, 
      [2] = {<std::pair<ircd::json::value, ircd::json::value>> = {first = {static max_string_size = 65536, {integer = 10805088, floating = 5.3384227810915029e-317, 
              string = 0xa4df60 "\"creator\"", array = 0xa4df60, object = 0xa4df60}, len = 9, type = 0, serial = 1, alloc = 1, floats = 0}, second = {
            static max_string_size = 65536, {integer = 140737353920304, floating = 6.9533491658623087e-310, 
              string = 0x7ffff7fcaf30 <ircd_user_id+16> "@ircd:w0lfr.net", array = 0x7ffff7fcaf30 <ircd_user_id+16>, object = 0x7ffff7fcaf30 <ircd_user_id+16>}, 
            len = 15, type = 0, serial = 0, alloc = 0, floats = 0}}, <No data fields>}}, a = {next = 0x7ffff6871920}}, static max_size = 1024}
(gdb) print ca
$4 = {theirs = false}
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff7be462d in ircd::json::stringify (buf=..., iov=...) at json.cc:1754
#2  0x00007ffff08f44c3 in ircd::json::stringify<ircd::json::iov const&> (mb=...) at json/json.h:62
#3  ircd::json::strung::strung<ircd::json::iov const&>(ircd::json::iov const&)::{lambda(ircd::buffer::mutable_buffer const&)#1}::operator()(ircd::buffer::mutable_buffer const&) const (this=<optimized out>, out=...) at json/strung.h:63
#4  std::_Function_handler<ircd::string_view (ircd::buffer::mutable_buffer const&), ircd::json::strung::strung<ircd::json::iov const&>(ircd::json::iov const&)::{lambda(ircd::buffer::mutable_buffer const&)#1}>::_M_invoke(std::_Any_data const&, ircd::buffer::mutable_buffer const&) (__functor=..., __args#0=...)
    at /usr/include/c++/8/bits/std_function.h:282
#5  0x00007ffff7b9ca84 in std::function<ircd::string_view (ircd::buffer::mutable_buffer const&)>::operator()(ircd::buffer::mutable_buffer const&) const (__args#0=..., 
    this=<optimized out>) at /usr/include/c++/8/bits/std_function.h:682
#6  ircd::util::<lambda(const ircd::buffer::mutable_buffer&)>::operator() (__closure=<optimized out>, buffer=...) at util.cc:435
#7  std::_Function_handler<long unsigned int(const ircd::buffer::mutable_buffer&), ircd::util::string(const size_t&, const string_closure_view&)::<lambda(const ircd::buffer::mutable_buffer&)> >::_M_invoke(const std::_Any_data &, const ircd::buffer::mutable_buffer &) (__functor=..., __args#0=...)
    at /usr/include/c++/8/bits/std_function.h:282
#8  0x00007ffff7b9d74e in std::function<unsigned long (ircd::buffer::mutable_buffer const&)>::operator()(ircd::buffer::mutable_buffer const&) const (__args#0=..., 
    this=0x7ffff68705d0) at /usr/include/c++/8/bits/std_function.h:682
#9  ircd::util::string[abi:cxx11](unsigned long const&, std::function<unsigned long (ircd::buffer::mutable_buffer const&)> const&) (size=@0x7ffff6871440: 66, 
    closure=...) at util.cc:459
#10 0x00007ffff7b9dab7 in ircd::util::string[abi:cxx11](unsigned long const&, std::function<ircd::string_view (ircd::buffer::mutable_buffer const&)> const&) (
    size=@0x7ffff6871440: 66, closure=...) at /usr/include/c++/8/new:169
#11 0x00007ffff08fa997 in ircd::json::strung::strung<ircd::json::iov const&> (this=0x7ffff6870960) at /usr/include/c++/8/bits/move.h:74
#12 ircd::m::vm::inject3 (contents=..., event=..., eval=...) at m_vm.cc:579
#13 ircd::m::vm::inject (eval=..., event=..., contents=...) at m_vm.cc:460
#14 0x00007ffff7d59870 in std::__invoke_impl<ircd::m::vm::fault, ircd::m::vm::fault (*)(ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&), ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&> (__f=<optimized out>) at /usr/include/c++/8/bits/invoke.h:89
#15 std::__invoke<ircd::m::vm::fault (*)(ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&), ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&> (
    __fn=<optimized out>) at /usr/include/c++/8/bits/invoke.h:95
#16 std::invoke<ircd::m::vm::fault (*)(ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&), ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&> (
    __fn=<optimized out>) at /usr/include/c++/8/functional:81
#17 ircd::mods::sym_ptr::operator()<ircd::m::vm::fault (ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&), ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&>(ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&) const (
    this=0x7ffff7fca1e0 <ircd::m::vm::eval::operator()(ircd::json::iov&, ircd::json::iov const&)::call>) at mods/sym_ptr.h:98
#18 ircd::mods::import<ircd::m::vm::fault (ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&)>::operator()<ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&>(ircd::m::vm::eval&, ircd::json::iov&, ircd::json::iov const&) (
    this=0x7ffff7fca1e0 <ircd::m::vm::eval::operator()(ircd::json::iov&, ircd::json::iov const&)::call>) at mods/import.h:158
--Type <RET> for more, q to quit, c to continue without paging--c
#19 ircd::m::vm::eval::operator() (this=this@entry=0x7ffff6871b90, event=..., contents=...) at m.cc:1537
#20 0x00007ffff7d59903 in ircd::m::vm::eval::eval (this=0x7ffff6871b90, event=..., content=..., opts=...) at m.cc:1366
#21 0x00007ffff0b18758 in ircd::m::_create_event (c=...) at client/createroom.cc:517
#22 0x00007ffff0b1a410 in ircd::m::create (c=..., errors=@0x7ffff6872b38: 0x0) at client/createroom.cc:148
#23 0x00007ffff7d31939 in std::__invoke_impl<ircd::m::room, ircd::m::room (*)(ircd::m::createroom const&, ircd::json::stack::array* const&), ircd::m::createroom const&, ircd::json::stack::array* const&> (__f=<optimized out>) at /usr/include/c++/8/bits/invoke.h:89
#24 std::__invoke<ircd::m::room (*)(ircd::m::createroom const&, ircd::json::stack::array* const&), ircd::m::createroom const&, ircd::json::stack::array* const&> (__fn=<optimized out>) at /usr/include/c++/8/bits/invoke.h:95
#25 std::invoke<ircd::m::room (*)(ircd::m::createroom const&, ircd::json::stack::array* const&), ircd::m::createroom const&, ircd::json::stack::array* const&> (__fn=<optimized out>) at /usr/include/c++/8/functional:81
#26 ircd::mods::sym_ptr::operator()<ircd::m::room (ircd::m::createroom const&, ircd::json::stack::array* const&), ircd::m::createroom const&, ircd::json::stack::array* const&>(ircd::m::createroom const&, ircd::json::stack::array* const&) const (this=0x7ffff7fc7de0 <ircd::m::create(ircd::m::createroom const&, ircd::json::stack::array* const&)::call>) at mods/sym_ptr.h:98
#27 ircd::mods::import<ircd::m::room (ircd::m::createroom const&, ircd::json::stack::array* const&)>::operator()<ircd::m::createroom const&, ircd::json::stack::array* const&>(ircd::m::createroom const&, ircd::json::stack::array* const&) (this=0x7ffff7fc7de0 <ircd::m::create(ircd::m::createroom const&, ircd::json::stack::array* const&)::call>) at mods/import.h:158
#28 ircd::m::create (c=..., errors=@0x7ffff6872b38: 0x0) at m_room.cc:303
#29 0x00007ffff7d3b449 in ircd::m::create (room_id=..., creator=..., preset=...) at json/tuple/tuple.h:206
#30 0x00007ffff08e59c6 in ircd::m::init::bootstrap () at m/room/room.h:207
#31 0x00007ffff7d60195 in std::__invoke_impl<void, void (* const&)()> (__f=<optimized out>) at /usr/include/c++/8/bits/invoke.h:89
#32 std::__invoke<void (* const&)()> (__fn=<optimized out>) at /usr/include/c++/8/bits/invoke.h:95
#33 std::invoke<void (* const&)()> (__fn=<optimized out>) at /usr/include/c++/8/functional:81
#34 ircd::mods::invoke<void (), , (void*)0>(void (* const&)()) (f=<optimized out>) at mods/sym_ptr.h:170
#35 ircd::mods::sym_ptr::operator()<void ()>() const (this=0x7ffff6873810) at mods/sym_ptr.h:98
#36 ircd::mods::import<void ()>::operator()<>() const (this=0x7ffff6873810) at mods/import.h:192
#37 ircd::m::init::modules::init_imports (this=<optimized out>) at m.cc:177
#38 0x00007ffff7d602dd in ircd::m::init::modules::modules (this=<optimized out>) at m.cc:123
#39 0x00007ffff7d63f69 in std::make_unique<ircd::m::init::modules> () at /usr/include/c++/8/bits/unique_ptr.h:830
#40 ircd::m::init::init (this=0x7ffff6873c20, origin=..., servername=...) at m.cc:53
#41 0x00007ffff7d7f005 in ircd::main () at /usr/include/c++/8/string_view:105
#42 0x00007ffff7d7fc16 in std::_Function_handler<void (), void (*)() noexcept>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/8/bits/std_function.h:88
#43 0x00007ffff7c8c89e in std::function<void ()>::operator()() const (this=0x7ffff6873eb0) at /usr/include/c++/8/bits/std_function.h:682
#44 ircd::ctx::ctx::operator()(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) (this=0x752330, yc=..., func=...) at ctx.cc:117
#45 0x00007ffff7c9282d in std::__invoke_impl<void, void (ircd::ctx::ctx::*&)(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept, ircd::ctx::ctx*&, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, std::function<void ()>&>(std::__invoke_memfun_deref, void (ircd::ctx::ctx::*&)(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept, ircd::ctx::ctx*&, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, std::function<void ()>&) (__t=@0x753130: 0x752330, __f=@0x753100: (void (ircd::ctx::ctx::*)(ircd::ctx::ctx * const, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void()>)) 0x7ffff7c8c810 <ircd::ctx::ctx::operator()(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>)>) at /usr/include/boost/asio/io_context_strand.hpp:113
#46 std::__invoke<void (ircd::ctx::ctx::*&)(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept, ircd::ctx::ctx*&, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, std::function<void ()>&>(void (ircd::ctx::ctx::*&)(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept, ircd::ctx::ctx*&, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, std::function<void ()>&) (__fn=@0x753100: (void (ircd::ctx::ctx::*)(ircd::ctx::ctx * const, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void()>)) 0x7ffff7c8c810 <ircd::ctx::ctx::operator()(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>)>) at /usr/include/c++/8/bits/invoke.h:95
#47 std::_Bind<void (ircd::ctx::ctx::*(ircd::ctx::ctx*, std::_Placeholder<1>, std::function<void ()>))(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept>::__call<void, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, 0ul, 1ul, 2ul>(std::tuple<boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (__args=..., this=0x753100) at /usr/include/c++/8/functional:400
#48 std::_Bind<void (ircd::ctx::ctx::*(ircd::ctx::ctx*, std::_Placeholder<1>, std::function<void ()>))(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept>::operator()<boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&, void>(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand> > const&) (this=0x753100) at /usr/include/c++/8/functional:484
#49 boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand>, std::_Bind<void (ircd::ctx::ctx::*(ircd::ctx::ctx*, std::_Placeholder<1>, std::function<void ()>))(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept> >::operator()(boost::coroutines::pull_coroutine<void>&) (ca=..., this=<optimized out>) at /usr/include/boost/asio/impl/spawn.hpp:381
#50 boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand>, std::_Bind<void (ircd::ctx::ctx::*(ircd::ctx::ctx*, std::_Placeholder<1>, std::function<void ()>))(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept> >&, boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits> >::run() (this=0x7ffff6873f70) at /usr/include/boost/coroutine/detail/push_coroutine_object.hpp:293
#51 0x00007ffff74d51af in make_fcontext () at libs/context/src/asm/make_x86_64_sysv_elf_gas.S:70
#52 0x00007ffff7f9a088 in vtable for boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::io_context::strand>, std::_Bind<void (ircd::ctx::ctx::*(ircd::ctx::ctx*, std::_Placeholder<1>, std::function<void ()>))(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, std::function<void ()>) noexcept> >&, boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits> > () from /usr/local/lib/libircd.so.3
#53 0x0000000000000006 in ?? ()
#54 0x0000000000000000 in ?? ()
Valinwolf commented 5 years ago
Wed 2019-07-31 06:39:10 CDT   13404     0     0   6 present   /usr/local/bin/construct
[root@srv1 ~]# coredumpctl info 13404
           PID: 13404 (construct)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 6 (ABRT)
     Timestamp: Wed 2019-07-31 06:39:09 CDT (32s ago)
  Command Line: construct w0lfr.net
    Executable: /usr/local/bin/construct
 Control Group: /user.slice/user-0.slice/session-29.scope
          Unit: session-29.scope
         Slice: user-0.slice
       Session: 29
     Owner UID: 0 (root)
       Boot ID: 4c58a31cc6f143c88b55b92d56eeb259
    Machine ID: 5d0dba73f4cb422aadaddf07d43e6f79
      Hostname: REDACTED
       Storage: /var/lib/systemd/coredump/core.construct.0.4c58a31cc6f143c88b55b92d56eeb259.13404.1564573149000000.lz4
       Message: Process 13404 (construct) of user 0 dumped core.

                Stack trace of thread 13404:
                #0  0x00007f2ad25c857f __GI_raise (libc.so.6)
                #1  0x00007f2ad25b295e __GI_abort (libc.so.6)
                #2  0x00007f2accb56274 MagickPanicSignalHandler (libGraphicsMagick-Q16.so.3)
                #3  0x00007f2ad25c8600 .annobin_sigaction.c (libc.so.6)

perhaps this will help?

I also have the core dump generated by gdb after the crash available here.

Valinwolf commented 5 years ago

After reverting the changes and updating the repository to the latest commit, it has become much worse. The segfault occurs before any output.

Things I've tried:

  1. Disabling GraphicsMagick and Enabling JEMalloc
  2. Disabling GraphicsMagick and Disabling JEMalloc
  3. Enabling GraphicsMagick and Enabling JEMalloc
Valinwolf commented 5 years ago

I don't know if this will help, but I checked it with Valgrind. The output was too long for a comment apparently, so I had to create a gist.

Valinwolf commented 5 years ago

And here's the new GDB output:

Reading symbols from construct...done.
(gdb) set args w0lfr.net
(gdb) run
Starting program: /usr/local/bin/construct w0lfr.net
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff7d25200 in ircd::m::_hook_make_feature (members=...)
    at m.cc:4109
#2  0x00007ffff7d30750 in ircd::m::hook::base::base (
    this=0x7ffff7fcb5a0 <ircd::m::vm::conform_check_origin>, members=...)
    at m.cc:3804
#3  0x00007ffff7d49521 in ircd::m::hook::hook<ircd::m::vm::eval&>::hook(std::initializer_list<ircd::json::member const> const&, std::function<void (ircd::m::event const&, ircd::m::vm::eval&)>) (
    this=0x7ffff7fcb5a0 <ircd::m::vm::conform_check_origin>, feature=..., 
    function=...) at m/hook.h:115
#4  0x00007ffff7b67b30 in __static_initialization_and_destruction_0 (
    __priority=65535, __initialize_p=1) at /usr/include/c++/8/new:169
#5  0x00007ffff7fe1dea in call_init (l=<optimized out>, argc=argc@entry=2, 
    argv=argv@entry=0x7fffffffe308, env=env@entry=0x7fffffffe320)
    at dl-init.c:72
#6  0x00007ffff7fe1eea in call_init (env=0x7fffffffe320, argv=0x7fffffffe308, 
    argc=2, l=<optimized out>) at dl-init.c:30
#7  _dl_init (main_map=0x7ffff7ffe150, argc=2, argv=0x7fffffffe308, 
    env=0x7fffffffe320) at dl-init.c:119
#8  0x00007ffff7fd314a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#9  0x0000000000000002 in ?? ()
#10 0x00007fffffffe572 in ?? ()
--Type <RET> for more, q to quit, c to continue without paging--c
#11 0x00007fffffffe58b in ?? ()
#12 0x0000000000000000 in ?? ()
(gdb) frame 1
#1  0x00007ffff7d25200 in ircd::m::_hook_make_feature (members=...)
    at m.cc:4109
4109        const ctx::critical_assertion ca;
(gdb) print buf
$1 = 0x0
(gdb) print m
Attempt to use a type name as an expression
(gdb) print iov
No symbol "iov" in current context.
(gdb) print ca
$2 = {theirs = false}
Valinwolf commented 5 years ago

After updating to the other repo, here's the new GDB:

Reading symbols from construct...done.
(gdb) set args w0lfr.net
(gdb) run
Starting program: /usr/local/bin/construct w0lfr.net
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff7d2a170 in ircd::m::_hook_make_feature (members=...)
    at m.cc:4109
#2  0x00007ffff7d356c0 in ircd::m::hook::base::base (
    this=0x7ffff7fcb660 <ircd::m::vm::conform_check_origin>, members=...)
    at m.cc:3804
#3  0x00007ffff7d4e491 in ircd::m::hook::hook<ircd::m::vm::eval&>::hook(std::initializer_list<ircd::json::member const> const&, std::function<void (ircd::m::event const&, ircd::m::vm::eval&)>) (
    this=0x7ffff7fcb660 <ircd::m::vm::conform_check_origin>, feature=..., 
    function=...) at m/hook.h:115
#4  0x00007ffff7b60370 in __static_initialization_and_destruction_0 (
    __priority=65535, __initialize_p=1) at /usr/include/c++/8/new:169
#5  0x00007ffff7fe1dea in call_init (l=<optimized out>, argc=argc@entry=2, 
    argv=argv@entry=0x7fffffffe308, env=env@entry=0x7fffffffe320)
    at dl-init.c:72
#6  0x00007ffff7fe1eea in call_init (env=0x7fffffffe320, argv=0x7fffffffe308, 
    argc=2, l=<optimized out>) at dl-init.c:30
#7  _dl_init (main_map=0x7ffff7ffe150, argc=2, argv=0x7fffffffe308, 
    env=0x7fffffffe320) at dl-init.c:119
#8  0x00007ffff7fd314a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#9  0x0000000000000002 in ?? ()
#10 0x00007fffffffe572 in ?? ()
#11 0x00007fffffffe58b in ?? ()
#12 0x0000000000000000 in ?? ()
(gdb) frame 1
#1  0x00007ffff7d2a170 in ircd::m::_hook_make_feature (members=...)
    at m.cc:4109
4109        const ctx::critical_assertion ca;
(gdb) print buf
$1 = 0x0
(gdb) print m
Attempt to use a type name as an expression
(gdb) print iov
No symbol "iov" in current context.
(gdb) print ca
$2 = {theirs = false}
jevolk commented 5 years ago

Hey, thanks for all the information to track down the issue. This it appears to be occurring at static initialization time. I have a feeling everything here is a build issue specific to the redhat/fedora platform and its toolchain, specifically the linker. Does your system have the ld.gold linker? If so, is link-time optimization disabled? Link time optimization fails in a similar fashion to what is described here (#5)

Otherwise, this information is good, but additional details about the compiler and linker and any additional flags that may be included into the build would be most useful. If you're not sure, the best information to include here is a full output recording starting all the way back from ./autogen.sh, through your ./configure, the compilation, and linking, up to your attempt at execution (which you've already included). All of this is ideal to shed light on what is going on with this environment. (Example: from a CI log: https://ci.appveyor.com/project/jevolk/charybdis-x72h8?fullLog=true)

After reverting the changes and updating the repository to the latest commit, it has become much worse. The segfault occurs before any output.

Try pulling from my repository at https://github.com/jevolk/charybdis so you can get the latest. After pulling significant changes, to be sure of untainted results, I would advise cleaning your repository with either a simple make clean; or if re-running ./configure after a harder git clean -f -x -d

Valinwolf commented 5 years ago

I have no idea about the ld.gold linker and don't even know how I would find out. After running make uninstall && cd .. && rm -fr construct && git clone https://github.com/jevolk/charybdis.git construct && cd construct and commenting the line containing key_query like we talked about in the chat, here is the output you asked for:

[root@srv1 construct]# ./autogen.sh 
*** Generating Charybdis build...
aclocal -I tools/m4 ... OK
libtoolize --force --copy ... libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'tools/m4'.
libtoolize: copying file 'tools/m4/libtool.m4'
libtoolize: copying file 'tools/m4/ltoptions.m4'
libtoolize: copying file 'tools/m4/ltsugar.m4'
libtoolize: copying file 'tools/m4/ltversion.m4'
libtoolize: copying file 'tools/m4/lt~obsolete.m4'
OK
autoheader ... OK
autoconf ... OK
automake --add-missing --copy ... configure.ac:5: installing './compile'
configure.ac:20: installing './config.guess'
configure.ac:20: installing './config.sub'
configure.ac:49: installing './install-sh'
configure.ac:49: installing './missing'
construct/Makefile.am: installing './depcomp'
OK
* 33482 ./configure

* Ready to configure Charybdis.
* Now run ./configure
[root@srv1 construct]# ./configure --prefix=/usr/local --with-included-rocksdb --enable-debug --with-assert=
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for automake... /usr/bin/automake
checking for aclocal... /usr/bin/aclocal
checking for autoheader... /usr/bin/autoheader
checking for as... /usr/bin/as
checking for rm... /usr/bin/rm
checking for cp... /usr/bin/cp
checking for mv... /usr/bin/mv
checking for ln... /usr/bin/ln
checking for touch... /usr/bin/touch
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... /usr/bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /usr/bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... /usr/bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking whether g++ understands -c and -o together... yes
checking whether make sets $(MAKE)... yes
checking whether g++ supports C++17 features by default... no
checking whether g++ supports C++17 features with -std=gnu++17... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking dependency style of g++ -std=gnu++17... gcc3
checking whether to enable debugging... yes
checking Optimize for size; strip symbols; force no debugging... no
checking whether to explicitly enable assertions... no, but assertions are enabled anyway
checking whether to change the behavior of assertions... yes
checking whether to explicitly enable optimized build... no
checking whether to enable link-time optimization... no
checking whether to explicitly set the optimization level... no, but --enable-debug has implied level -Og
checking whether to explicitly set the logging level ceiling... no, but debug mode enables all log levels through DEBUG
checking whether to do a profile build... checking whether to disable precompiled headers... yes
checking whether to enable generic mode or tune for this host... no
checking whether to enable fully untuned mode... no
checking whether to prevent available third-party allocator libraries from being used... no
checking whether to disable warnings... checking GCC flag(s) -Wall... ok
checking GCC flag(s) -Wextra... ok
checking GCC flag(s) -Wpointer-arith... ok
checking GCC flag(s) -Wcast-align... ok
checking GCC flag(s) -Wcast-qual... ok
checking GCC flag(s) -Wfloat-equal... ok
checking GCC flag(s) -Wwrite-strings... ok
checking GCC flag(s) -Wparentheses... ok
checking GCC flag(s) -Wmissing-noreturn... ok
checking GCC flag(s) -Wundef... ok
checking GCC flag(s) -Wpacked... ok
checking GCC flag(s) -Wformat -Wformat-y2k -Wformat-nonliteral... ok
checking GCC flag(s) -Wstrict-aliasing=2 -Wstrict-overflow=5... ok
checking GCC flag(s) -Wdisabled-optimization... ok
checking GCC flag(s) -Winvalid-pch... ok
checking GCC flag(s) -Winit-self... ok
checking GCC flag(s) -Wuninitialized... ok
checking GCC flag(s) -Wunreachable-code... ok
checking GCC flag(s) -Wno-overloaded-virtual... ok
checking GCC flag(s) -Wnon-virtual-dtor... ok
checking GCC flag(s) -Wnoexcept... ok
checking GCC flag(s) -Wsized-deallocation... ok
checking GCC flag(s) -Wctor-dtor-privacy... ok
checking GCC flag(s) -Wsign-promo... ok
checking GCC flag(s) -Wsuggest-final-types... ok
checking GCC flag(s) -Wsuggest-final-methods... ok
checking GCC flag(s) -Wsuggest-override... ok
checking GCC flag(s) -Wtrampolines... ok
checking GCC flag(s) -Wduplicate-cond... no
checking GCC flag(s) -Wduplicate-branches... no
checking GCC flag(s) -Wrestrict... ok
checking GCC flag(s) -Wnull-dereference... ok
checking GCC flag(s) -Wplacement-new=2... ok
checking GCC flag(s) -Wundef... (cached) ok
checking GCC flag(s) -Wodr... ok
checking GCC flag(s) -Werror=return-type... ok
checking GCC flag(s) -Wno-missing-field-initializers... ok
checking GCC flag(s) -Wno-unused... ok
checking GCC flag(s) -Wno-unused-function... ok
checking GCC flag(s) -Wno-unused-label... ok
checking GCC flag(s) -Wno-unused-value... ok
checking GCC flag(s) -Wno-unused-variable... ok
checking GCC flag(s) -Wno-unused-parameter... ok
checking GCC flag(s) -Wno-terminate... ok
checking GCC flag(s) -Wno-endif-labels... ok
checking GCC flag(s) -Wlogical-op... ok
checking GCC flag(s) -Wformat-security... ok
checking GCC flag(s) -Wsuggest-attribute=format... ok
checking GCC flag(s) -Wstack-usage=16384... ok
checking GCC flag(s) -Wframe-larger-than=8192... ok
checking for library containing strerror... none required
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... (cached) yes
checking for intptr_t... yes
checking for uintptr_t... yes
checking for int128_t... no
checking for uint128_t... no
checking for __int128... yes
checking for __int128_t... yes
checking for __uint128_t... yes
checking for long double... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 16
checking size of int128_t... 0
checking size of uint128_t... 0
checking size of __int128... 16
checking size of __int128_t... 16
checking size of __uint128_t... 16
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking cstddef usability... yes
checking cstddef presence... yes
checking for cstddef... yes
checking cstdint usability... yes
checking cstdint presence... yes
checking for cstdint... yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking limits usability... yes
checking limits presence... yes
checking for limits... yes
checking type_traits usability... yes
checking type_traits presence... yes
checking for type_traits... yes
checking typeindex usability... yes
checking typeindex presence... yes
checking for typeindex... yes
checking variant usability... yes
checking variant presence... yes
checking for variant... yes
checking utility usability... yes
checking utility presence... yes
checking for utility... yes
checking functional usability... yes
checking functional presence... yes
checking for functional... yes
checking algorithm usability... yes
checking algorithm presence... yes
checking for algorithm... yes
checking numeric usability... yes
checking numeric presence... yes
checking for numeric... yes
checking cmath usability... yes
checking cmath presence... yes
checking for cmath... yes
checking cfenv usability... yes
checking cfenv presence... yes
checking for cfenv... yes
checking memory usability... yes
checking memory presence... yes
checking for memory... yes
checking exception usability... yes
checking exception presence... yes
checking for exception... yes
checking cerrno usability... yes
checking cerrno presence... yes
checking for cerrno... yes
checking system_error usability... yes
checking system_error presence... yes
checking for system_error... yes
checking map usability... yes
checking map presence... yes
checking for map... yes
checking set usability... yes
checking set presence... yes
checking for set... yes
checking list usability... yes
checking list presence... yes
checking for list... yes
checking stack usability... yes
checking stack presence... yes
checking for stack... yes
checking queue usability... yes
checking queue presence... yes
checking for queue... yes
checking deque usability... yes
checking deque presence... yes
checking for deque... yes
checking array usability... yes
checking array presence... yes
checking for array... yes
checking vector usability... yes
checking vector presence... yes
checking for vector... yes
checking forward_list usability... yes
checking forward_list presence... yes
checking for forward_list... yes
checking unordered_map usability... yes
checking unordered_map presence... yes
checking for unordered_map... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking cstring usability... yes
checking cstring presence... yes
checking for cstring... yes
checking locale usability... yes
checking locale presence... yes
checking for locale... yes
checking codecvt usability... yes
checking codecvt presence... yes
checking for codecvt... yes
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking fstream usability... yes
checking fstream presence... yes
checking for fstream... yes
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking iosfwd usability... yes
checking iosfwd presence... yes
checking for iosfwd... yes
checking iomanip usability... yes
checking iomanip presence... yes
checking for iomanip... yes
checking cstdio usability... yes
checking cstdio presence... yes
checking for cstdio... yes
checking chrono usability... yes
checking chrono presence... yes
checking for chrono... yes
checking ctime usability... yes
checking ctime presence... yes
checking for ctime... yes
checking atomic usability... yes
checking atomic presence... yes
checking for atomic... yes
checking thread usability... yes
checking thread presence... yes
checking for thread... yes
checking mutex usability... yes
checking mutex presence... yes
checking for mutex... yes
checking shared_mutex usability... yes
checking shared_mutex presence... yes
checking for shared_mutex... yes
checking condition_variable usability... yes
checking condition_variable presence... yes
checking for condition_variable... yes
checking random usability... yes
checking random presence... yes
checking for random... yes
checking bitset usability... yes
checking bitset presence... yes
checking for bitset... yes
checking string_view usability... yes
checking string_view presence... yes
checking for string_view... yes
checking optional usability... yes
checking optional presence... yes
checking for optional... yes
checking new usability... yes
checking new presence... yes
checking for new... yes
checking regex usability... yes
checking regex presence... yes
checking for regex... yes
checking memory_resource usability... no
checking memory_resource presence... no
checking for memory_resource... no
checking filesystem usability... yes
checking filesystem presence... yes
checking for filesystem... yes
checking cxxabi.h usability... yes
checking cxxabi.h presence... yes
checking for cxxabi.h... yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for dlfcn.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/stat.h... (cached) yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking gnu/libc-version.h usability... yes
checking gnu/libc-version.h presence... yes
checking for gnu/libc-version.h... yes
checking sys/auxv.h usability... yes
checking sys/auxv.h presence... yes
checking for sys/auxv.h... yes
checking sys/eventfd.h usability... yes
checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking linux/aio_abi.h usability... yes
checking linux/aio_abi.h presence... yes
checking for linux/aio_abi.h... yes
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
checking linux/perf_event.h usability... yes
checking linux/perf_event.h presence... yes
checking for linux/perf_event.h... yes
checking linux/hw_breakpoint.h usability... yes
checking linux/hw_breakpoint.h presence... yes
checking for linux/hw_breakpoint.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking iphlpapi.h usability... no
checking iphlpapi.h presence... no
checking for iphlpapi.h... no
checking x86intrin.h usability... yes
checking x86intrin.h presence... yes
checking for x86intrin.h... yes
checking cpuid.h usability... yes
checking cpuid.h presence... yes
checking for cpuid.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking valgrind/callgrind.h usability... no
checking valgrind/callgrind.h presence... no
checking for valgrind/callgrind.h... no
checking experimental/string_view usability... yes
checking experimental/string_view presence... yes
checking for experimental/string_view... yes
checking experimental/optional usability... yes
checking experimental/optional presence... yes
checking for experimental/optional... yes
checking experimental/memory_resource usability... yes
checking experimental/memory_resource presence... yes
checking for experimental/memory_resource... yes
checking for strlcpy... no
checking for strlcat... no
checking for strnlen... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for posix_fadvise... yes
checking for pwritev2... yes
checking for preadv2... yes
checking for library containing dlinfo... -ldl
checking for library containing nanosleep... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to modify database directory... no
checking whether to modify logdir... no
checking whether to modify moduledir... no
checking whether to modify webappdir... no
checking for SODIUM... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/asn1.h usability... yes
checking openssl/asn1.h presence... yes
checking for openssl/asn1.h... yes
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
checking openssl/hmac.h usability... yes
checking openssl/hmac.h presence... yes
checking for openssl/hmac.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/ec.h usability... yes
checking openssl/ec.h presence... yes
checking for openssl/ec.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/ripemd.h usability... yes
checking openssl/ripemd.h presence... yes
checking for openssl/ripemd.h... yes
checking openssl/dh.h usability... yes
checking openssl/dh.h presence... yes
checking for openssl/dh.h... yes
checking openssl/tls1.h usability... yes
checking openssl/tls1.h presence... yes
checking for openssl/tls1.h... yes
checking for SSL_version in -lssl... yes
checking for OPENSSL_init in -lcrypto... yes
checking magic.h usability... yes
checking magic.h presence... yes
checking for magic.h... yes
checking for magic_version in -lmagic... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for zlibVersion in -lz... yes
checking lz4.h usability... no
checking lz4.h presence... no
checking for lz4.h... no
checking for LZ4_versionNumber in -llz4... no
checking snappy.h usability... no
checking snappy.h presence... no
checking for snappy.h... no
checking for snappy_compress in -lsnappy... no
checking for GMP... no
checking Magick++.h usability... no
checking Magick++.h presence... no
checking for Magick++.h... no
checking for GraphicsMagickPP... no
checking wand/wand_api.h usability... yes
checking wand/wand_api.h presence... yes
checking for wand/wand_api.h... yes
checking for GraphicsMagickWand... yes
checking magick/api.h usability... yes
checking magick/api.h presence... yes
checking for magick/api.h... yes
checking for GraphicsMagick... yes
checking whether you asked to use boost sources included here... no
checking for boostlib >= 1.66... yes
checking whether the Boost::ASIO library is available... yes
checking for main in -lboost_system... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem... yes
checking whether the Boost::Coroutine library is available... yes
checking for exit in -lboost_coroutine... yes
checking whether the Boost::Context library is available... yes
checking for exit in -lboost_context... yes
checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono... yes
checking whether you asked to use the RocksDB included here... yes
checking whether to use shared RocksDB... yes
configure: Shared RocksDB linkage requires running charybdis with an intact build directory
*** Building RocksDB... 
git submodule update --init deps/rocksdb ... Submodule 'rocksdb' (https://github.com/facebook/rocksdb.git) registered for path 'deps/rocksdb'
Cloning into '/root/construct/deps/rocksdb'...
Submodule path 'deps/rocksdb': checked out 'cfdea78fdeb9332cb7688da7f23790e36254d4e3'
yes
cd deps/rocksdb ... yes
git fetch --tags ... yes
git checkout v5.16.6 ... HEAD is now at cfdea78fd Update history and version for 5.16.6 release.
yes
make -j2 shared_lib ...   GEN      util/build_version.cc
  GEN      util/build_version.cc
  CC       shared-objects/cache/clock_cache.o
  CC       shared-objects/cache/lru_cache.o
  CC       shared-objects/cache/sharded_cache.o
  CC       shared-objects/db/builder.o
  CC       shared-objects/db/c.o
  CC       shared-objects/db/column_family.o
  CC       shared-objects/db/compacted_db_impl.o
  CC       shared-objects/db/compaction.o
  CC       shared-objects/db/compaction_iterator.o
  CC       shared-objects/db/compaction_job.o
  CC       shared-objects/db/compaction_picker.o
  CC       shared-objects/db/compaction_picker_universal.o
  CC       shared-objects/db/convenience.o
  CC       shared-objects/db/db_filesnapshot.o
  CC       shared-objects/db/db_impl.o
  CC       shared-objects/db/db_impl_compaction_flush.o
  CC       shared-objects/db/db_impl_debug.o
  CC       shared-objects/db/db_impl_experimental.o
  CC       shared-objects/db/db_impl_files.o
  CC       shared-objects/db/db_impl_open.o
  CC       shared-objects/db/db_impl_readonly.o
  CC       shared-objects/db/db_impl_write.o
  CC       shared-objects/db/db_info_dumper.o
  CC       shared-objects/db/db_iter.o
  CC       shared-objects/db/dbformat.o
  CC       shared-objects/db/error_handler.o
  CC       shared-objects/db/event_helpers.o
  CC       shared-objects/db/experimental.o
  CC       shared-objects/db/external_sst_file_ingestion_job.o
  CC       shared-objects/db/file_indexer.o
  CC       shared-objects/db/flush_job.o
  CC       shared-objects/db/flush_scheduler.o
  CC       shared-objects/db/forward_iterator.o
  CC       shared-objects/db/internal_stats.o
  CC       shared-objects/db/logs_with_prep_tracker.o
  CC       shared-objects/db/log_reader.o
  CC       shared-objects/db/log_writer.o
  CC       shared-objects/db/malloc_stats.o
  CC       shared-objects/db/memtable.o
  CC       shared-objects/db/memtable_list.o
  CC       shared-objects/db/merge_helper.o
  CC       shared-objects/db/merge_operator.o
  CC       shared-objects/db/range_del_aggregator.o
  CC       shared-objects/db/repair.o
  CC       shared-objects/db/snapshot_impl.o
  CC       shared-objects/db/table_cache.o
  CC       shared-objects/db/table_properties_collector.o
  CC       shared-objects/db/transaction_log_impl.o
  CC       shared-objects/db/version_builder.o
  CC       shared-objects/db/version_edit.o
  CC       shared-objects/db/version_set.o
  CC       shared-objects/db/wal_manager.o
  CC       shared-objects/db/write_batch.o
  CC       shared-objects/db/write_batch_base.o
  CC       shared-objects/db/write_controller.o
  CC       shared-objects/db/write_thread.o
  CC       shared-objects/env/env.o
  CC       shared-objects/env/env_chroot.o
  CC       shared-objects/env/env_encryption.o
  CC       shared-objects/env/env_hdfs.o
  CC       shared-objects/env/env_posix.o
  CC       shared-objects/env/io_posix.o
  CC       shared-objects/env/mock_env.o
  CC       shared-objects/memtable/alloc_tracker.o
  CC       shared-objects/memtable/hash_cuckoo_rep.o
  CC       shared-objects/memtable/hash_linklist_rep.o
  CC       shared-objects/memtable/hash_skiplist_rep.o
  CC       shared-objects/memtable/skiplistrep.o
  CC       shared-objects/memtable/vectorrep.o
  CC       shared-objects/memtable/write_buffer_manager.o
  CC       shared-objects/monitoring/histogram.o
  CC       shared-objects/monitoring/histogram_windowing.o
  CC       shared-objects/monitoring/instrumented_mutex.o
  CC       shared-objects/monitoring/iostats_context.o
  CC       shared-objects/monitoring/perf_context.o
  CC       shared-objects/monitoring/perf_level.o
  CC       shared-objects/monitoring/statistics.o
  CC       shared-objects/monitoring/thread_status_impl.o
  CC       shared-objects/monitoring/thread_status_updater.o
  CC       shared-objects/monitoring/thread_status_updater_debug.o
  CC       shared-objects/monitoring/thread_status_util.o
  CC       shared-objects/monitoring/thread_status_util_debug.o
  CC       shared-objects/options/cf_options.o
  CC       shared-objects/options/db_options.o
  CC       shared-objects/options/options.o
  CC       shared-objects/options/options_helper.o
  CC       shared-objects/options/options_parser.o
  CC       shared-objects/options/options_sanity_check.o
  CC       shared-objects/port/port_posix.o
  CC       shared-objects/port/stack_trace.o
  CC       shared-objects/table/adaptive_table_factory.o
  CC       shared-objects/table/block.o
  CC       shared-objects/table/block_based_filter_block.o
  CC       shared-objects/table/block_based_table_builder.o
  CC       shared-objects/table/block_based_table_factory.o
  CC       shared-objects/table/block_based_table_reader.o
  CC       shared-objects/table/block_builder.o
  CC       shared-objects/table/block_fetcher.o
  CC       shared-objects/table/block_prefix_index.o
  CC       shared-objects/table/bloom_block.o
  CC       shared-objects/table/cuckoo_table_builder.o
  CC       shared-objects/table/cuckoo_table_factory.o
  CC       shared-objects/table/cuckoo_table_reader.o
  CC       shared-objects/table/data_block_hash_index.o
  CC       shared-objects/table/data_block_footer.o
  CC       shared-objects/table/flush_block_policy.o
  CC       shared-objects/table/format.o
  CC       shared-objects/table/full_filter_block.o
  CC       shared-objects/table/get_context.o
  CC       shared-objects/table/index_builder.o
  CC       shared-objects/table/iterator.o
  CC       shared-objects/table/merging_iterator.o
  CC       shared-objects/table/meta_blocks.o
  CC       shared-objects/table/partitioned_filter_block.o
  CC       shared-objects/table/persistent_cache_helper.o
  CC       shared-objects/table/plain_table_builder.o
  CC       shared-objects/table/plain_table_factory.o
  CC       shared-objects/table/plain_table_index.o
  CC       shared-objects/table/plain_table_key_coding.o
  CC       shared-objects/table/plain_table_reader.o
  CC       shared-objects/table/sst_file_writer.o
  CC       shared-objects/table/table_properties.o
  CC       shared-objects/tools/trace_analyzer_tool.o
  CC       shared-objects/table/two_level_iterator.o
  CC       shared-objects/tools/dump/db_dump_tool.o
  CC       shared-objects/util/arena.o
  CC       shared-objects/util/auto_roll_logger.o
  CC       shared-objects/util/bloom.o
  CC       shared-objects/util/build_version.o
  CC       shared-objects/util/coding.o
  CC       shared-objects/util/compaction_job_stats_impl.o
  CC       shared-objects/util/comparator.o
  CC       shared-objects/util/compression_context_cache.o
  CC       shared-objects/util/concurrent_arena.o
  CC       shared-objects/util/crc32c.o
  CC       shared-objects/util/delete_scheduler.o
  CC       shared-objects/util/dynamic_bloom.o
  CC       shared-objects/util/event_logger.o
  CC       shared-objects/util/file_reader_writer.o
  CC       shared-objects/util/file_util.o
  CC       shared-objects/util/filename.o
  CC       shared-objects/util/filter_policy.o
  CC       shared-objects/util/hash.o
  CC       shared-objects/util/log_buffer.o
  CC       shared-objects/util/murmurhash.o
  CC       shared-objects/util/random.o
  CC       shared-objects/util/rate_limiter.o
  CC       shared-objects/util/slice.o
  CC       shared-objects/util/sst_file_manager_impl.o
  CC       shared-objects/util/status.o
  CC       shared-objects/util/string_util.o
  CC       shared-objects/util/sync_point.o
  CC       shared-objects/util/sync_point_impl.o
  CC       shared-objects/util/thread_local.o
  CC       shared-objects/util/threadpool_imp.o
  CC       shared-objects/util/trace_replay.o
  CC       shared-objects/util/transaction_test_util.o
  CC       shared-objects/util/xxhash.o
  CC       shared-objects/utilities/backupable/backupable_db.o
  CC       shared-objects/utilities/blob_db/blob_compaction_filter.o
  CC       shared-objects/utilities/blob_db/blob_db.o
  CC       shared-objects/utilities/blob_db/blob_db_impl.o
  CC       shared-objects/utilities/blob_db/blob_db_impl_filesnapshot.o
  CC       shared-objects/utilities/blob_db/blob_file.o
  CC       shared-objects/utilities/blob_db/blob_log_format.o
  CC       shared-objects/utilities/blob_db/blob_log_reader.o
  CC       shared-objects/utilities/blob_db/blob_log_writer.o
  CC       shared-objects/utilities/cassandra/cassandra_compaction_filter.o
  CC       shared-objects/utilities/cassandra/format.o
  CC       shared-objects/utilities/cassandra/merge_operator.o
  CC       shared-objects/utilities/checkpoint/checkpoint_impl.o
  CC       shared-objects/utilities/compaction_filters/remove_emptyvalue_compactionfilter.o
  CC       shared-objects/utilities/convenience/info_log_finder.o
  CC       shared-objects/utilities/date_tiered/date_tiered_db_impl.o
  CC       shared-objects/utilities/debug.o
  CC       shared-objects/utilities/document/document_db.o
  CC       shared-objects/utilities/document/json_document.o
  CC       shared-objects/utilities/document/json_document_builder.o
  CC       shared-objects/utilities/env_mirror.o
  CC       shared-objects/utilities/env_timed.o
  CC       shared-objects/utilities/geodb/geodb_impl.o
  CC       shared-objects/utilities/leveldb_options/leveldb_options.o
  CC       shared-objects/utilities/lua/rocks_lua_compaction_filter.o
  CC       shared-objects/utilities/memory/memory_util.o
  CC       shared-objects/utilities/merge_operators/max.o
  CC       shared-objects/utilities/merge_operators/put.o
  CC       shared-objects/utilities/merge_operators/string_append/stringappend.o
  CC       shared-objects/utilities/merge_operators/string_append/stringappend2.o
  CC       shared-objects/utilities/merge_operators/uint64add.o
  CC       shared-objects/utilities/merge_operators/bytesxor.o
  CC       shared-objects/utilities/option_change_migration/option_change_migration.o
  CC       shared-objects/utilities/options/options_util.o
  CC       shared-objects/utilities/persistent_cache/block_cache_tier.o
  CC       shared-objects/utilities/persistent_cache/block_cache_tier_file.o
  CC       shared-objects/utilities/persistent_cache/block_cache_tier_metadata.o
  CC       shared-objects/utilities/persistent_cache/persistent_cache_tier.o
  CC       shared-objects/utilities/persistent_cache/volatile_tier_impl.o
  CC       shared-objects/utilities/redis/redis_lists.o
  CC       shared-objects/utilities/simulator_cache/sim_cache.o
  CC       shared-objects/utilities/spatialdb/spatial_db.o
  CC       shared-objects/utilities/table_properties_collectors/compact_on_deletion_collector.o
  CC       shared-objects/utilities/trace/file_trace_reader_writer.o
  CC       shared-objects/utilities/transactions/optimistic_transaction.o
  CC       shared-objects/utilities/transactions/optimistic_transaction_db_impl.o
  CC       shared-objects/utilities/transactions/pessimistic_transaction.o
  CC       shared-objects/utilities/transactions/pessimistic_transaction_db.o
  CC       shared-objects/utilities/transactions/snapshot_checker.o
  CC       shared-objects/utilities/transactions/transaction_base.o
  CC       shared-objects/utilities/transactions/transaction_db_mutex_impl.o
  CC       shared-objects/utilities/transactions/transaction_lock_mgr.o
  CC       shared-objects/utilities/transactions/transaction_util.o
  CC       shared-objects/utilities/transactions/write_prepared_txn.o
  CC       shared-objects/utilities/transactions/write_prepared_txn_db.o
  CC       shared-objects/utilities/transactions/write_unprepared_txn.o
  CC       shared-objects/utilities/transactions/write_unprepared_txn_db.o
  CC       shared-objects/utilities/ttl/db_ttl_impl.o
  CC       shared-objects/utilities/write_batch_with_index/write_batch_with_index.o
  CC       shared-objects/utilities/write_batch_with_index/write_batch_with_index_internal.o
  CC       shared-objects/tools/ldb_cmd.o
  CC       shared-objects/tools/ldb_tool.o
  CC       shared-objects/tools/sst_dump_tool.o
  CC       shared-objects/utilities/blob_db/blob_dump_tool.o
g++ -Wl,--no-as-needed -shared -Wl,-soname -Wl,librocksdb.so.5.16  -faligned-new -DHAVE_ALIGNED_NEW -fno-rtti -g -W -Wextra -Wall -Wsign-compare -Wshadow -Wunused-parameter -Werror -I. -I./include -std=c++11  -DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX  -fPIC -ftls-model=initial-exec -Wno-error -DOS_LINUX -fno-builtin-memcmp -DROCKSDB_FALLOCATE_PRESENT -DZLIB -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_BACKTRACE -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -march=native  -DHAVE_SSE42 -DHAVE_PCLMUL -DROCKSDB_SUPPORT_THREAD_LOCAL -isystem ./third-party/gtest-1.7.0/fused-src -O2 -fno-omit-frame-pointer -momit-leaf-frame-pointer -DNDEBUG -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -fPIC shared-objects/cache/clock_cache.o shared-objects/cache/lru_cache.o shared-objects/cache/sharded_cache.o shared-objects/db/builder.o shared-objects/db/c.o shared-objects/db/column_family.o shared-objects/db/compacted_db_impl.o shared-objects/db/compaction.o shared-objects/db/compaction_iterator.o shared-objects/db/compaction_job.o shared-objects/db/compaction_picker.o shared-objects/db/compaction_picker_universal.o shared-objects/db/convenience.o shared-objects/db/db_filesnapshot.o shared-objects/db/db_impl.o shared-objects/db/db_impl_compaction_flush.o shared-objects/db/db_impl_debug.o shared-objects/db/db_impl_experimental.o shared-objects/db/db_impl_files.o shared-objects/db/db_impl_open.o shared-objects/db/db_impl_readonly.o shared-objects/db/db_impl_write.o shared-objects/db/db_info_dumper.o shared-objects/db/db_iter.o shared-objects/db/dbformat.o shared-objects/db/error_handler.o shared-objects/db/event_helpers.o shared-objects/db/experimental.o shared-objects/db/external_sst_file_ingestion_job.o shared-objects/db/file_indexer.o shared-objects/db/flush_job.o shared-objects/db/flush_scheduler.o shared-objects/db/forward_iterator.o shared-objects/db/internal_stats.o shared-objects/db/logs_with_prep_tracker.o shared-objects/db/log_reader.o shared-objects/db/log_writer.o shared-objects/db/malloc_stats.o shared-objects/db/memtable.o shared-objects/db/memtable_list.o shared-objects/db/merge_helper.o shared-objects/db/merge_operator.o shared-objects/db/range_del_aggregator.o shared-objects/db/repair.o shared-objects/db/snapshot_impl.o shared-objects/db/table_cache.o shared-objects/db/table_properties_collector.o shared-objects/db/transaction_log_impl.o shared-objects/db/version_builder.o shared-objects/db/version_edit.o shared-objects/db/version_set.o shared-objects/db/wal_manager.o shared-objects/db/write_batch.o shared-objects/db/write_batch_base.o shared-objects/db/write_controller.o shared-objects/db/write_thread.o shared-objects/env/env.o shared-objects/env/env_chroot.o shared-objects/env/env_encryption.o shared-objects/env/env_hdfs.o shared-objects/env/env_posix.o shared-objects/env/io_posix.o shared-objects/env/mock_env.o shared-objects/memtable/alloc_tracker.o shared-objects/memtable/hash_cuckoo_rep.o shared-objects/memtable/hash_linklist_rep.o shared-objects/memtable/hash_skiplist_rep.o shared-objects/memtable/skiplistrep.o shared-objects/memtable/vectorrep.o shared-objects/memtable/write_buffer_manager.o shared-objects/monitoring/histogram.o shared-objects/monitoring/histogram_windowing.o shared-objects/monitoring/instrumented_mutex.o shared-objects/monitoring/iostats_context.o shared-objects/monitoring/perf_context.o shared-objects/monitoring/perf_level.o shared-objects/monitoring/statistics.o shared-objects/monitoring/thread_status_impl.o shared-objects/monitoring/thread_status_updater.o shared-objects/monitoring/thread_status_updater_debug.o shared-objects/monitoring/thread_status_util.o shared-objects/monitoring/thread_status_util_debug.o shared-objects/options/cf_options.o shared-objects/options/db_options.o shared-objects/options/options.o shared-objects/options/options_helper.o shared-objects/options/options_parser.o shared-objects/options/options_sanity_check.o shared-objects/port/port_posix.o shared-objects/port/stack_trace.o shared-objects/table/adaptive_table_factory.o shared-objects/table/block.o shared-objects/table/block_based_filter_block.o shared-objects/table/block_based_table_builder.o shared-objects/table/block_based_table_factory.o shared-objects/table/block_based_table_reader.o shared-objects/table/block_builder.o shared-objects/table/block_fetcher.o shared-objects/table/block_prefix_index.o shared-objects/table/bloom_block.o shared-objects/table/cuckoo_table_builder.o shared-objects/table/cuckoo_table_factory.o shared-objects/table/cuckoo_table_reader.o shared-objects/table/data_block_hash_index.o shared-objects/table/data_block_footer.o shared-objects/table/flush_block_policy.o shared-objects/table/format.o shared-objects/table/full_filter_block.o shared-objects/table/get_context.o shared-objects/table/index_builder.o shared-objects/table/iterator.o shared-objects/table/merging_iterator.o shared-objects/table/meta_blocks.o shared-objects/table/partitioned_filter_block.o shared-objects/table/persistent_cache_helper.o shared-objects/table/plain_table_builder.o shared-objects/table/plain_table_factory.o shared-objects/table/plain_table_index.o shared-objects/table/plain_table_key_coding.o shared-objects/table/plain_table_reader.o shared-objects/table/sst_file_writer.o shared-objects/table/table_properties.o shared-objects/tools/trace_analyzer_tool.o shared-objects/table/two_level_iterator.o shared-objects/tools/dump/db_dump_tool.o shared-objects/util/arena.o shared-objects/util/auto_roll_logger.o shared-objects/util/bloom.o shared-objects/util/build_version.o shared-objects/util/coding.o shared-objects/util/compaction_job_stats_impl.o shared-objects/util/comparator.o shared-objects/util/compression_context_cache.o shared-objects/util/concurrent_arena.o shared-objects/util/crc32c.o shared-objects/util/delete_scheduler.o shared-objects/util/dynamic_bloom.o shared-objects/util/event_logger.o shared-objects/util/file_reader_writer.o shared-objects/util/file_util.o shared-objects/util/filename.o shared-objects/util/filter_policy.o shared-objects/util/hash.o shared-objects/util/log_buffer.o shared-objects/util/murmurhash.o shared-objects/util/random.o shared-objects/util/rate_limiter.o shared-objects/util/slice.o shared-objects/util/sst_file_manager_impl.o shared-objects/util/status.o shared-objects/util/string_util.o shared-objects/util/sync_point.o shared-objects/util/sync_point_impl.o shared-objects/util/thread_local.o shared-objects/util/threadpool_imp.o shared-objects/util/trace_replay.o shared-objects/util/transaction_test_util.o shared-objects/util/xxhash.o shared-objects/utilities/backupable/backupable_db.o shared-objects/utilities/blob_db/blob_compaction_filter.o shared-objects/utilities/blob_db/blob_db.o shared-objects/utilities/blob_db/blob_db_impl.o shared-objects/utilities/blob_db/blob_db_impl_filesnapshot.o shared-objects/utilities/blob_db/blob_file.o shared-objects/utilities/blob_db/blob_log_format.o shared-objects/utilities/blob_db/blob_log_reader.o shared-objects/utilities/blob_db/blob_log_writer.o shared-objects/utilities/cassandra/cassandra_compaction_filter.o shared-objects/utilities/cassandra/format.o shared-objects/utilities/cassandra/merge_operator.o shared-objects/utilities/checkpoint/checkpoint_impl.o shared-objects/utilities/compaction_filters/remove_emptyvalue_compactionfilter.o shared-objects/utilities/convenience/info_log_finder.o shared-objects/utilities/date_tiered/date_tiered_db_impl.o shared-objects/utilities/debug.o shared-objects/utilities/document/document_db.o shared-objects/utilities/document/json_document.o shared-objects/utilities/document/json_document_builder.o shared-objects/utilities/env_mirror.o shared-objects/utilities/env_timed.o shared-objects/utilities/geodb/geodb_impl.o shared-objects/utilities/leveldb_options/leveldb_options.o shared-objects/utilities/lua/rocks_lua_compaction_filter.o shared-objects/utilities/memory/memory_util.o shared-objects/utilities/merge_operators/max.o shared-objects/utilities/merge_operators/put.o shared-objects/utilities/merge_operators/string_append/stringappend.o shared-objects/utilities/merge_operators/string_append/stringappend2.o shared-objects/utilities/merge_operators/uint64add.o shared-objects/utilities/merge_operators/bytesxor.o shared-objects/utilities/option_change_migration/option_change_migration.o shared-objects/utilities/options/options_util.o shared-objects/utilities/persistent_cache/block_cache_tier.o shared-objects/utilities/persistent_cache/block_cache_tier_file.o shared-objects/utilities/persistent_cache/block_cache_tier_metadata.o shared-objects/utilities/persistent_cache/persistent_cache_tier.o shared-objects/utilities/persistent_cache/volatile_tier_impl.o shared-objects/utilities/redis/redis_lists.o shared-objects/utilities/simulator_cache/sim_cache.o shared-objects/utilities/spatialdb/spatial_db.o shared-objects/utilities/table_properties_collectors/compact_on_deletion_collector.o shared-objects/utilities/trace/file_trace_reader_writer.o shared-objects/utilities/transactions/optimistic_transaction.o shared-objects/utilities/transactions/optimistic_transaction_db_impl.o shared-objects/utilities/transactions/pessimistic_transaction.o shared-objects/utilities/transactions/pessimistic_transaction_db.o shared-objects/utilities/transactions/snapshot_checker.o shared-objects/utilities/transactions/transaction_base.o shared-objects/utilities/transactions/transaction_db_mutex_impl.o shared-objects/utilities/transactions/transaction_lock_mgr.o shared-objects/utilities/transactions/transaction_util.o shared-objects/utilities/transactions/write_prepared_txn.o shared-objects/utilities/transactions/write_prepared_txn_db.o shared-objects/utilities/transactions/write_unprepared_txn.o shared-objects/utilities/transactions/write_unprepared_txn_db.o shared-objects/utilities/ttl/db_ttl_impl.o shared-objects/utilities/write_batch_with_index/write_batch_with_index.o shared-objects/utilities/write_batch_with_index/write_batch_with_index_internal.o shared-objects/tools/ldb_cmd.o shared-objects/tools/ldb_tool.o shared-objects/tools/sst_dump_tool.o shared-objects/utilities/blob_db/blob_dump_tool.o   -lpthread -lrt -lz -o librocksdb.so.5.16.6
ln -fs librocksdb.so.5.16.6 librocksdb.so
ln -fs librocksdb.so.5.16.6 librocksdb.so.5
ln -fs librocksdb.so.5.16.6 librocksdb.so.5.16
yes
cd /root/construct ... yes
checking whether you asked to use the JS engine included here... no
checking for _Z11JS_ShutDownv in -lmozjs-52... no
configure: WARNING: Unable to find JS engine (SpiderMonkey 52) package. Try apt-get install libmozjs-dev
checking jemalloc/jemalloc.h usability... yes
checking jemalloc/jemalloc.h presence... yes
checking for jemalloc/jemalloc.h... yes
checking for malloc in -ljemalloc... yes
checking whether to enable use of jemalloc... no
checking whether custom branding is requested... no
checking whether a custom version is requested... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/ircd/Makefile
config.status: creating construct/Makefile
config.status: creating ircd/Makefile
config.status: creating modules/Makefile
config.status: creating share/Makefile
config.status: creating include/ircd/config.h
config.status: executing libtool commands
/usr/bin/rm: cannot remove 'libtoolT': No such file or directory
config.status: executing depfiles commands

Configured ........................ construct 1.0-dev
Version ........................... 7364a4d9b
Configuration time ................ Wed Jul 31 17:49:56 CDT 2019
Host OS ........................... linux-gnu
Compiler .......................... g++ -std=gnu++17
Compiler flags (CXXFLAGS) ......... -pipe -march=native -Og -falign-functions -g -ggdb -fvar-tracking -fvar-tracking-assignments -frecord-gcc-switches -fstack-protector-explicit -fvisibility-inlines-hidden -fnothrow-opt -fno-threadsafe-statics -fsigned-char
Building boost .................... no
Building RocksDB .................. yes
Building JS (SpiderMonkey) ........ no
Ziplinks (libz) support ........... yes
LZ4 support ....................... no
Snappy support .................... no
GNU MP support .................... no
Sodium support .................... yes
SSL support ....................... yes
Crypto support .................... yes
Magic support ..................... yes
ImageMagick support ............... yes
Linux AIO support ................. yes
IPv6 support ...................... yes
Precompiled headers ............... yes
Developer debug ................... yes
Developer assert .................. yes ()
Optimized build ................... no
Link-time optimized ............... no
Optimization level ................ g
Generic binary .................... no
Untuned binary .................... no
Memory allocator .................. standard
Logging level ..................... 7
Installing into ................... /usr/local

* Ready to build construct
* Now run 'make'
Valinwolf commented 5 years ago

I have the build output, but it was too long for a comment so I have created a gist for it.

Valinwolf commented 5 years ago

This time it's randomly working... finally. No idea what changed.

jevolk commented 5 years ago

Possibly related to #84

Valinwolf commented 5 years ago

Possibly related to #84

You're probably right, even though my local copy of the repo was not that old it sounds like the shoe fits. Probably needs further investigation, but hard to do that since it's working now...

jevolk commented 5 years ago

The whole initial bootstrap process on first execution is not very robust to failures or partial completion. If the initial bootstrap doesn't fully complete (crash), the next execution won't know to continue/try again.

While I don't think it's feasible to track down the specific issue exactly as reported here as it appears to be related to #84, I think this issue can be salvaged rather than closed to fix the fact that bootstrap needs some more resiliency without requiring the user to rm -rf their database directory when problems do occur; otherwise very very bad things happen.

Valinwolf commented 5 years ago

Fair enough.