Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/mapgen.cpp:5874 [std::vector<item*> map::place_items(const items_location&, int, const tripoint&, const tripoint&, bool, const time_point&, int, int)] place_items: invalid item group 'bunkbed', om_terrain = 'bunker_basement' (bunker_basement) #37515

Closed
l29ah opened this issue Jan 29, 2020 · 1 comment
Labels
<Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes. Items / Item Actions / Item Qualities Items and how they work and interact Map / Mapgen Overmap, Mapgen, Map extras, Map display Spawn Creatures, items, vehicles, locations appearing on map

Comments

@l29ah
Copy link
Contributor

l29ah commented Jan 29, 2020

Describe the bug

20:30:40.201 ERROR : (error message will follow backtrace)
    cataclysm(_Z21debug_write_backtraceRSo+0x3a) [0x55f45949d7fa]
    cataclysm(_Z8DebugLog10DebugLevel10DebugClass+0x260) [0x55f45949fd30]
    cataclysm(_Z12realDebugmsgPKcS0_S0_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x67) [0x55f4594a1b97]
    cataclysm(_Z12realDebugmsgIJPKcS1_S1_EEvS1_S1_S1_S1_DpOT_+0x354) [0x55f459a045d4]
    cataclysm(_ZN3map11place_itemsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRK8tripointSA_bRK10time_pointii+0x1af) [0x55f4599aabff]
    cataclysm(_ZNK18jmapgen_item_group5applyER10mapgendataRK11jmapgen_intS4_+0x95) [0x55f459a04e65]
    cataclysm(_ZNK15jmapgen_objects5applyER10mapgendata+0x84) [0x55f45999fd94]
    cataclysm(_ZNK15jmapgen_objects5applyER10mapgendataRK5point+0x114) [0x55f45999fed4]
    cataclysm(_ZN20mapgen_function_json8generateER10mapgendata+0xcb) [0x55f4599ae12b]
    cataclysm(_Z15run_mapgen_funcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER10mapgendata+0xb2) [0x55f4599a0c92]
    cataclysm(_ZN3map8draw_mapER10mapgendata+0x55) [0x55f4599cb6a5]
    cataclysm(_ZN3map8generateERK8tripointRK10time_point+0x607) [0x55f4599cc217]
    cataclysm(_ZN3map5loadnERK8tripointb+0x706) [0x55f459928cc6]
    cataclysm(_ZN3map5shiftERK5point+0x74e) [0x55f45992979e]
    cataclysm(_ZN4game10update_mapERiS0_+0x210) [0x55f4595e01f0]
    cataclysm(_ZN4game10update_mapER6player+0x67) [0x55f4595e1287]
    cataclysm(_ZN4game12place_playerERK8tripoint+0x60a) [0x55f4595e18da]
    cataclysm(_ZN4game9walk_moveERK8tripoint+0xcf2) [0x55f459604922]
    cataclysm(_ZN13avatar_action4moveER6avatarR3mapiii+0x1440) [0x55f4592ebd20]
    cataclysm(_ZN4game13handle_actionEv+0x5377) [0x55f45966c2f7]

    Attempting to repeat stack trace using debug symbols…
    debug_write_backtrace(std::ostream&)
    …/src/debug.cpp:761
    DebugLog(DebugLevel, DebugClass)
    …/src/debug.cpp:926
    realDebugmsg(char const*, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    …/src/debug.cpp:111
    std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_is_local() const
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:211
    std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:220
    std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:657
    void realDebugmsg<char const*, char const*, char const*>(char const*, char const*, char const*, char const*, char const*&&, char const*&&, char const*&&)
    …/src/debug.h:79
    std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:220 (discriminator 4)
    std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:657 (discriminator 4)
    map::place_items(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, tripoint const&, tripoint const&, bool, time_point const&, int, int)
    …/src/mapgen.cpp:5873 (discriminator 4)
    std::vector<item*, std::allocator<item*> >::~vector()
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/stl_vector.h:567
    jmapgen_item_group::apply(mapgendata&, jmapgen_int const&, jmapgen_int const&) const
    …/src/mapgen.cpp:1052
    jmapgen_objects::apply(mapgendata&) const
    …/src/mapgen.cpp:2676
    jmapgen_objects::apply(mapgendata&, point const&) const
    …/src/mapgen.cpp:2687
    mapgen_function_json::generate(mapgendata&)
    …/src/mapgen.cpp:2638
    run_mapgen_func(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mapgendata&)
    …/src/mapgen.cpp:7321
    map::draw_map(mapgendata&)
    …/src/mapgen.cpp:2726
    int_id<oter_t>::operator->() const
    …/src/int_id.h:105
    map::generate(tripoint const&, time_point const&)
    …/src/mapgen.cpp:145
    tinymap::~tinymap()
    …/src/map.h:1830
    map::loadn(tripoint const&, bool)
    …/src/map.cpp:6600
    map::shift(point const&)
    …/src/map.cpp:6444
    point::operator-=(point const&)
    …/src/point.h:54
    game::update_map(int&, int&)
    …/src/game.cpp:10533
    game::update_map(player&)
    …/src/game.cpp:10492
    game::place_player(tripoint const&)
    …/src/game.cpp:9218
    game::walk_move(tripoint const&)
    …/src/game.cpp:9054
    avatar_action::move(avatar&, map&, int, int, int)
    …/src/avatar_action.cpp:356
    game::handle_action()
    …/src/handle_action.cpp:1762
Backtrace emission took 4 seconds.
src/mapgen.cpp:5874 [std::vector<item*> map::place_items(const items_location&, int, const tripoint&, const tripoint&, bool, const time_point&, int, int)] place_items: invalid item group 'bunkbed', om_terrain = 'bunker_basement' (bunker_basement)

Steps To Reproduce

dunno

Versions and configuration

  • OS: Linux
    • OS Version:
  • Game Version: 0.D-11601-g30a5718ba6-dirty [64-bit]
  • Graphics Version: Curses
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Modular Turrets [modular_turrets],
    Salvaged Robots [Salvaged_Robots],
    Alternative Map Key [alt_map_key]
    ]

Additional context

2020.01.29.zip

@ZhilkinSerg
Copy link
Contributor

Should be resolved in #37411

@ZhilkinSerg ZhilkinSerg added <Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes. Items / Item Actions / Item Qualities Items and how they work and interact Map / Mapgen Overmap, Mapgen, Map extras, Map display Spawn Creatures, items, vehicles, locations appearing on map labels Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes. Items / Item Actions / Item Qualities Items and how they work and interact Map / Mapgen Overmap, Mapgen, Map extras, Map display Spawn Creatures, items, vehicles, locations appearing on map
Projects
None yet
Development

No branches or pull requests

2 participants