ASSERT(item.base_type != OBJ_WEAPONS || subtype < get_max_subtype(item.base_type)) in 'item-prop.cc' at line 2204 failed. Version: Dungeon Crawl Stone Soup 0.33-a0-35-g516f9d4 Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 15934847389997201602, deterministic pregen: 1 Command line: /var/dcss/builds/dcss-trunk/latest/bin/dcss -name Jame -rc /var/dcss/gamedata/dcss-trunk/rc-files/Jame.rc -macro /var/dcss/gamedata/dcss-trunk/rc-files/Jame.macro -morgue /var/dcss/gamedata/dcss/morgue/Jame/ -extra-opt-first travel_delay=20 -extra-opt-first rest_delay=0 -dir /var/dcss/gamedata/dcss-trunk/save/ -webtiles-socket /var/dcss/sockets/Jame:2024-08-28.07:05:39.sock -await-connection RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 18 stack frames. /var/dcss/builds/dcss-trunk/latest/bin/dcss(_Z17write_stack_traceP8_IO_FILE+0x38) [0x7c8b98]: write_stack_trace(_IO_FILE*) /var/dcss/builds/dcss-trunk/latest/bin/dcss(_Z13do_crash_dumpv+0x3de) [0x7d286e]: do_crash_dump() /var/dcss/builds/dcss-trunk/latest/bin/dcss(_Z20crash_signal_handleri+0x1f0) [0x7c9000]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x354c0) [0x7fe6b987d4c0]: /lib/x86_64-linux-gnu/libpthread.so.0(raise+0x29) [0x7fe6b9c23269]: /var/dcss/builds/dcss-trunk/latest/bin/dcss() [0x7d2019] /var/dcss/builds/dcss-trunk/latest/bin/dcss() [0x7d21c1] /var/dcss/builds/dcss-trunk/latest/bin/dcss(_Z19is_weapon_wieldableRK8item_def9size_type+0x6b) [0x9d7a8b]: is_weapon_wieldable(item_def const&, size_type) /var/dcss/builds/dcss-trunk/latest/bin/dcss(_ZNK6player11could_wieldERK8item_defbbb+0xc5) [0xc23235]: player::could_wield(item_def const&, bool, bool, bool) const /var/dcss/builds/dcss-trunk/latest/bin/dcss(_Z15is_useless_itemRK8item_defbb+0x255) [0x9d4455]: is_useless_item(item_def const&, bool, bool) /var/dcss/builds/dcss-trunk/latest/bin/dcss(_Z17newgame_make_item17object_class_typeiiiib+0x16c) [0xbf26ac]: newgame_make_item(object_class_type, int, int, int, int, bool) /var/dcss/builds/dcss-trunk/latest/bin/dcss(_Z17give_items_skillsRK11newgame_def+0x422) [0xbf3062]: give_items_skills(newgame_def const&) /var/dcss/builds/dcss-trunk/latest/bin/dcss(_Z10setup_gameRK11newgame_defb+0x287) [0xbf5967]: setup_game(newgame_def const&, bool) /var/dcss/builds/dcss-trunk/latest/bin/dcss(_Z12startup_stepv+0x156d) [0xd3909d]: startup_step() /var/dcss/builds/dcss-trunk/latest/bin/dcss() [0xe83fa8] /var/dcss/builds/dcss-trunk/latest/bin/dcss(main+0x18c) [0x718b1c]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fe6b9868840]: /var/dcss/builds/dcss-trunk/latest/bin/dcss(_start+0x29) [0x719639]: Trying to run gdb. GNU gdb (Ubuntu 8.2-0ubuntu1~16.04.1) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007fe6b9c22f2a in __waitpid (pid=19970, stat_loc=stat_loc@entry=0x0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29 #0 0x00007fe6b9c22f2a in __waitpid (pid=19970, stat_loc=stat_loc@entry=0x0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29 resultvar = 18446744073709551104 sc_ret = #1 0x00000000007c8a15 in call_gdb (file=file@entry=0x7fe6b9c0d540 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 19968\000\000\000\000\000\000\000" #2 0x00000000007d288a in do_crash_dump () at dbg-asrt.cc:692 t = 1724828750 dir = "/var/dcss/gamedata/dcss/morgue/Jame/" name = "/var/dcss/gamedata/dcss/morgue/Jame/crash-Jame-20240828-070550.txt", '\000' signal_info = "Crash caused by signal #6: Aborted" cause_msg = "ASSERT(item.base_type != OBJ_WEAPONS || subtype < get_max_subtype(item.base_type)) in 'item-prop.cc' at line 2204 failed." file = 0x7fe6b9c0d540 <_IO_2_1_stderr_> #3 0x00000000007c9000 in crash_signal_handler (sig_num=6) at crash.cc:198 No locals. #4 No locals. #5 0x00007fe6b9c23269 in raise (sig=6) at ../sysdeps/unix/sysv/linux/pt-raise.c:35 resultvar = 0 pid = #6 0x00000000007d2019 in _BreakStrToDebugger (mesg=mesg@entry=0x7ffd4bac1e90 "ASSERT(item.base_type != OBJ_WEAPONS || subtype < get_max_subtype(item.base_type)) in 'item-prop.cc' at line 2204 failed.", assert=true) at dbg-asrt.cc:818 No locals. #7 0x00000000007d21c1 in AssertFailed (expr=expr@entry=0xf1fd68 "item.base_type != OBJ_WEAPONS || subtype < get_max_subtype(item.base_type)", file=file@entry=0xea8f50 "item-prop.cc", line=line@entry=2204, text=text@entry=0x0) at dbg-asrt.cc:856 mesg = "ASSERT(item.base_type != OBJ_WEAPONS || subtype < get_max_subtype(item.base_type)) in 'item-prop.cc' at line 2204 failed.", '\000' , "\004", '\000' ... args = {{gp_offset = 0, fp_offset = 0, overflow_arg_area = 0x0, reg_save_area = 0x0}} fileName = #8 0x00000000009d7a8b in is_weapon_wieldable (item=..., size=SIZE_MEDIUM) at item-prop.cc:2204 subtype = 62 #9 0x0000000000c23235 in player::could_wield (this=0x13a1a80 , item=..., ignore_transform=, quiet=quiet@entry=true) at player-act.cc:491 bsize = #10 0x00000000009d4455 in is_useless_item (item=..., temp=temp@entry=false, ident=ident@entry=true) at item-name.cc:3371 No locals. #11 0x0000000000bf26ac in newgame_make_item (force_tutorial=, force_ego=, plus=, qty=, sub_type=, base=) at ng-setup.cc:156 slot = item = slot = item = item = #12 newgame_make_item (base=, sub_type=62, qty=1, plus=0, force_ego=0, force_tutorial=) at ng-setup.cc:96 slot = item = item = #13 0x0000000000bf3062 in give_items_skills (ng=...) at ng-setup.cc:301 No locals. #14 0x0000000000bf5967 in _setup_generic (normal_dungeon_setup=true, ng=...) at ng-setup.cc:538 no_more = dj_rng = {current = {state_ = 1701667073, inc_ = 42, count_ = 1}, previous = 0x7ffd4bac2a78, previous_main = rng::GAMEPLAY} no_more = dj_rng = i = item = item = __for_range = __for_begin = __for_end = talisman = item = __for_range = __for_begin = __for_end = #15 setup_game (ng=..., normal_dungeon_setup=normal_dungeon_setup@entry=true) at ng-setup.cc:411 No locals. #16 0x0000000000d3909d in startup_step () at startup.cc:1110 choice = {name = "Jame", type = GAME_TYPE_NORMAL, filename = "", seed = 0, pregenerate = false, map = "", arena_teams = "", allowed_combos = std::vector of length 0, capacity 0, allowed_species = std::vector of length 1, capacity 1 = {SP_VIABLE}, allowed_jobs = std::vector of length 1, capacity 1 = {JOB_VIABLE}, allowed_weapons = std::vector of length 1, capacity 1 = {WPN_FLAIL}, species = SP_VIABLE, job = JOB_VIABLE, weapon = WPN_VIABLE, fully_random = true} defaults = {name = "", type = GAME_TYPE_NORMAL, filename = "", seed = 0, pregenerate = false, map = "", arena_teams = "", allowed_combos = std::vector of length 0, capacity 0, allowed_species = std::vector of length 1, capacity 1 = {SP_VIABLE}, allowed_jobs = std::vector of length 1, capacity 1 = {JOB_VIABLE}, allowed_weapons = std::vector of length 1, capacity 1 = {WPN_FLAIL}, species = SP_VIABLE, job = JOB_VIABLE, weapon = WPN_FLAIL, fully_random = true} newchar = false ng = {name = "Jame", type = GAME_TYPE_NORMAL, filename = "", seed = 0, pregenerate = false, map = "", arena_teams = "", allowed_combos = std::vector of length 0, capacity 0, allowed_species = std::vector of length 0, capacity 0, allowed_jobs = std::vector of length 0, capacity 0, allowed_weapons = std::vector of length 0, capacity 0, species = SP_ARMATAUR, job = JOB_BERSERKER, weapon = WPN_VIABLE, fully_random = false} #17 0x0000000000e83fa8 in _launch_game () at main.cc:420 game_start = ccon = #18 0x0000000000718b1c in _launch_game_loop () at main.cc:392 game_ended = false game_ended = ge = fe = E = #19 main (argc=, argv=0x7ffd4bac3598) at main.cc:342 echo = {prev_state = {value = maybe_bool::mbool_t::maybe, static maybe = {value = maybe_bool::mbool_t::maybe, static maybe = , static t = {value = maybe_bool::mbool_t::t, static maybe = , static t = , static f = {value = maybe_bool::mbool_t::f, static maybe = , static t = , static f = }}, static f = }, static t = , static f = }} [Inferior 1 (process 19968) detached] Compilation info: <<<<<<<<<<< Compiled with GCC 9.4.0 Build platform: x86_64-linux-gnu Platform: x86_64-linux-gnu CFLAGS: -O2 -pipe -DUSE_TILE -DUSE_TILE_WEB -Wall -Wformat-security -Wundef -Wextra -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-type-limits -Wno-uninitialized -Wno-array-bounds -Wno-format-zero-length -Wmissing-declarations -Wredundant-decls -Wno-parentheses -Wwrite-strings -Wshadow -pedantic -Wuninitialized -Iutil -I. -isystem /usr/include/lua5.1 -g -DWIZARD -DASSERTS -DREGEX_PCRE -DCLUA_BINDINGS -DDGAMELAUNCH -DWEB_DIR_PATH="/web/" -D_GNU_SOURCE -isystem /usr/include/ncursesw LDFLAGS: -rdynamic -fuse-ld=gold -O2 >>>>>>>>>>> Place info: branch = 0, depth = 1 Level id: D:1 Level build method = ABSENT, level layout type = ABSENT, absdepth0 = 0 Markers: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Version history: No version history (current version is 0.33-a0-35-g516f9d4) Game state: mouse_enabled: 0, waiting_for_command: 0, terminal_resized: 0 io_inited: 1, need_save: 0, saving_game: 0, updating_scores: 0: seen_hups: 1, map_stat_gen: 0, type: 1, arena_suspended: 0 prev_cmd = CMD_NO_CMD repeat_cmd = CMD_NO_CMD Player: {{{{{{{{{{{ Name: [Jame] Species: Armataur Job: Berserker HP: 0/0; mods: 0/0 MP: 0/0; mod: 0 Stats: 22 (22) 7 (7) 9 (9) Position: (0, 0) , god: Trog (10), turn_is_over: 0, banished: 0 Skills (mode: manual) Name | can_currently_train | train | training | level | points | progress Fighting | | 0 | 0 | 0 | 0 | 0/59 Short Blades | | 0 | 0 | 0 | 0 | 0/59 Long Blades | | 0 | 0 | 0 | 0 | 0/59 Axes | | 0 | 0 | 0 | 0 | 0/70 Maces & Flails | | 0 | 0 | 0 | 0 | 0/59 Polearms | | 0 | 0 | 0 | 0 | 0/70 Staves | | 0 | 0 | 0 | 0 | 0/59 Ranged Weapons | | 0 | 0 | 0 | 0 | 0/84 Throwing | | 0 | 0 | 0 | 0 | 0/59 Armour | | 0 | 0 | 2 | 0 | -106/106 Dodging | | 0 | 0 | 0 | 0 | 0/84 Stealth | | 0 | 0 | 0 | 0 | 0/35 Shields | | 0 | 0 | 0 | 0 | 0/42 Unarmed Combat | | 0 | 0 | 0 | 0 | 0/59 Spellcasting | | 0 | 0 | 0 | 0 | 0/70 Conjurations | | 0 | 0 | 0 | 0 | 0/59 Hexes | | 0 | 0 | 0 | 0 | 0/59 Summonings | | 0 | 0 | 0 | 0 | 0/70 Necromancy | | 0 | 0 | 0 | 0 | 0/70 Translocations | | 0 | 0 | 0 | 0 | 0/50 Fire Magic | | 0 | 0 | 0 | 0 | 0/59 Ice Magic | | 0 | 0 | 0 | 0 | 0/59 Air Magic | | 0 | 0 | 0 | 0 | 0/59 Earth Magic | | 0 | 0 | 0 | 0 | 0/59 Alchemy | | 0 | 0 | 0 | 0 | 0/59 Invocations | | 0 | 0 | 0 | 0 | 0/50 Evocations | | 0 | 0 | 0 | 0 | 0/50 Shapeshifting | | 0 | 0 | 0 | 0 | 0/70 Spell bugs: Durations: Attributes: Mutations: deformed body: 1 (innate) tough skin: 3 (innate) armoured tail: 1 (innate) rollpage: 1 (innate) Inventory bugs: Recursive crash.