Skip to content

Crashes when running Fedora package #2182

Closed
@subpop

Description

@subpop

Environment

  • FreeOrion Version: 0.4.7.1
  • Operating System: Linux (Fedora 28)
  • Graphic card used: Intel HD 520
  • Fetched as
    • Compiled from source

Description

I am maintaining the FreeOrion in Fedora. I recently started receiving crash reports of a crash occurring immediately when running /usr/bin/freeorion. The message when crashing is:

/usr/include/c++/8/bits/stl_vector.h:950: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = float; _Alloc = std::allocator<float>; std::vector<_Tp, _Alloc>::const_reference = const float&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.

From the stack trace reported on retrace.fedoraproject.org, it's passing through some font render related function calls. I checked my installed versions of DejaVu and Roboto fonts. I also ran /usr/bin/freeorion --resource-dir ~/git/freeorion/data/default and it still crashes, so it's not a problem with the system version of the fonts. Is there something else I should check? Freetype versions or Boost versions?

Expected Result

I expect the game to simply launch. :)

Steps to reproduce

  • Install freeorion from the Fedora repository: dnf install freeorion
  • Run freeorion

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:bugThe Issue/PR describes or solves a perceived malfunction within the game.component:internalThe Issue/PR deals with any project component that has no explicit `component` label.status:resolvedThe Issue was resolved, either by answering properly or fixing the underlying bug.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions