Segmentation fault when trying to make an index


I’m having a problem when I’m trying to create an index, following the programs included in Meta as an example. The problem is that when trying to create a minimalistic program as a kind of sanity check, I get a segmentation fault when I try to make an index. There are no warnings during compiling/linking and I use the standard config file.
Meta compiled and all the tests passed, all the tools such as lda.cpp works as well.

My code:

int main (int argc, char** argv)
    auto config = cpptoml::parse_file("/home/guest/meta/config.toml");
    std::vector<std::string> args(argv, argv + argc);
    auto f_idx
        = index::make_index<index::forward_index, caching::no_evict_cache>(
    auto lda_group = config->get_table("lda");
    auto type = *lda_group->get_as<std::string>("inference");
    auto iters = *lda_group->get_as<uint64_t>("max-iters");
    auto alpha = *lda_group->get_as<double>("alpha");
    auto beta = *lda_group->get_as<double>("beta");
    auto topics = *lda_group->get_as<std::size_t>("topics");
    auto save_prefix = *lda_group->get_as<std::string>("model-prefix");
    topics::lda_gibbs model(f_idx, topics, alpha, beta);;"c");
    return 0;

Thankful for any help!