ASSERT(food_value > 0) in 'food.cc' at line 1740 failed. Version: Dungeon Crawl Stone Soup 0.15-a0-1030-g2a13bd1 Platform: unix Bits: 64 Game mode: normal Tiles: online Command line: /usr/games/crawl-potion_fun -name dbrotest -rc /dgldir/rcfiles/crawl-git/dbrotest.rc -macro /dgldir/rcfiles/crawl-git/dbrotest.macro -morgue /dgldir/morgue/dbrotest/ -webtiles-socket /crawl-master/webserver/sockets/dbrotest:2014-05-23.08:31:15.sock -await-connection -wizard RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 18 stack frames. /usr/games/crawl-potion_fun(_Z17write_stack_traceP8_IO_FILEi+0x2d) [0x8024f1]: write_stack_trace(_IO_FILE*, int) /usr/games/crawl-potion_fun(_Z13do_crash_dumpv+0x3eb) [0x80bde5]: do_crash_dump() /usr/games/crawl-potion_fun(_Z20crash_signal_handleri+0x2c1) [0x802322]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7fec90d5f4c0]: /lib/x86_64-linux-gnu/libpthread.so.0(raise+0x2b) [0x7fec910f5b7b]: /usr/games/crawl-potion_fun() [0x80c3bf] /usr/games/crawl-potion_fun(_Z3diePKciS0_z+0) [0x80c5b5]: die(char const*, int, char const*, ...) /usr/games/crawl-potion_fun() [0x8fb3ec] /usr/games/crawl-potion_fun(_Z8eat_itemR8item_def+0x120) [0x8f9970]: eat_item(item_def&) /usr/games/crawl-potion_fun(_Z25prompt_eat_inventory_itemi+0x169) [0x8f8ca5]: prompt_eat_inventory_item(int) /usr/games/crawl-potion_fun(_Z8eat_foodi+0xad) [0x8f8e14]: eat_food(int) /usr/games/crawl-potion_fun(_Z15process_command12command_type+0x4ed) [0xa39324]: process_command(command_type) /usr/games/crawl-potion_fun() [0xa37cea] /usr/games/crawl-potion_fun() [0xa359f7] /usr/games/crawl-potion_fun() [0xa3567c] /usr/games/crawl-potion_fun(main+0x197) [0xa35504]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fec90d4a76d]: /usr/games/crawl-potion_fun() [0x73abe9] Trying to run gdb. GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02 Copyright (C) 2012 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". For bug reporting instructions, please see: . [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007fec910f584e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 #0 0x00007fec910f584e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info available. #1 0x000000000080291f in call_gdb (file=0x7fec910e0180) at crash.cc:407 gdb = 13799 attach_cmd = "attach 13798\000\000\000\000\000\000\000" #2 0x000000000080be08 in do_crash_dump () at dbg-asrt.cc:686 t = 1400833887 dir = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x363c4c8 "/dgldir/morgue/dbrotest/"}} name = "/dgldir/morgue/dbrotest/crash-dbrotest-20140523-083127.txt", '\000' file = 0x7fec910e0180 #3 0x0000000000802322 in crash_signal_handler (sig_num=6) at crash.cc:183 No locals. #4 No symbol table info available. #5 0x00007fec910f5b7b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info available. #6 0x000000000080c3bf in _BreakStrToDebugger (mesg=0x7fffbf4436b0 "ASSERT(food_value > 0) in 'food.cc' at line 1740 failed.", assert=true) at dbg-asrt.cc:813 No locals. #7 0x000000000080c5b5 in AssertFailed (expr=0xe966f0 "food_value > 0", file=0xe95f77 "food.cc", line=1740, text=0x0) at dbg-asrt.cc:856 mesg = "ASSERT(food_value > 0) in 'food.cc' at line 1740 failed.\000\000\000\000\377\377\377\377)\000\000\000\000\000\000\000X8D\277\377\177\000\000\340a\367\221\354\177\000\000\001\000\000\000\000\000\000\000\303$Q\004\000\000\000\000\t", '\000' , "z,֑\354\177\000\000\000\000 \000\000\000\000\000\000\000\000\000\354\177\000\000\000\177\371\003\000\000\000\000\000\000\000\000\354\177\000\000\000\006\000\000\000\000\000\000!`\321\003\000\000\000\000 `\321\003", '\000' , "\001\000\000\000\000\000\000\000\000\220j\367\221\354\177\000\000+\000\000\000\000\000\000\000`\v-\004\000\000\000\000\000? \000\000\000\000\000\210"... args = {{gp_offset = 4294967295, fp_offset = 4294967295, overflow_arg_area = 0x0, reg_save_area = 0x0}} fileName = 0xe95f77 "food.cc" #8 0x00000000008fb3ec in _eating (food=...) at food.cc:1740 food_value = 0 duration = 0 #9 0x00000000008f9970 in eat_item (food=...) at food.cc:1002 link = 5 #10 0x00000000008f8ca5 in prompt_eat_inventory_item (slot=-1) at food.cc:669 which_inventory_slot = 5 item = @0x13983e0: {base_type = OBJ_FOOD, sub_type = 0 '\000', {plus = 0, mon_type = MONS_PROGRAM_BUG}, plus2 = 0, special = 0, colour = 6 '\006', rnd = 167 '\247', quantity = 1, flags = 0, pos = {x = -1, y = -1}, link = 5, slot = 102, orig_place = 5633, orig_monnum = 0, inscription = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7fec91b004d8 ""}}, props = {hash_map = 0x0}} #11 0x00000000008f8e14 in eat_food (slot=-1) at food.cc:731 No locals. #12 0x0000000000a39324 in process_command (cmd=CMD_EAT) at main.cc:1981 No locals. #13 0x0000000000a37cea in _input () at main.cc:1370 cmd = CMD_EAT player_disabled = {was_disabled = false} #14 0x0000000000a359f7 in _launch_game () at main.cc:483 game_start = false ccon = {cstate = false, smartcstate = false} #15 0x0000000000a3567c in _launch_game_loop () at main.cc:389 game_ended = false #16 0x0000000000a35504 in main (argc=13, argv=0x7fffbf443f38) at main.cc:347 No locals. Compilation info: <<<<<<<<<<< Compiled with GCC 4.6.3 on May 23 2014 at 04:30:13 Build platform: x86_64-linux-gnu Platform: x86_64-linux-gnu CFLAGS: -O0 -ggdb -pipe -Wall -Wformat-security -Wmissing-declarations -Wredundant-decls -DUSE_TILE -DUSE_TILE_WEB -DEXPERIMENTAL_BRANCH="potion_fun" -Wundef -Wno-array-bounds -Wno-parentheses -Wno-unused-parameter -Wwrite-strings -Wshadow -isystem contrib/install/x86_64-linux-gnu/include -Iutil -I. -isystem /usr/include/lua5.1 -Irltiles -isystem /usr/include/ncursesw -g -DDEBUG -DWIZARD -DASSERTS -DREGEX_PCRE -DCLUA_BINDINGS -DDGAMELAUNCH -DSAVE_DIR_PATH="/crawl-master/crawl-potion_fun/saves" -DDATA_DIR_PATH="/crawl-master/crawl-potion_fun/data/" -DWEB_DIR_PATH="/crawl-master/crawl-potion_fun/data/web/" LDFLAGS: -rdynamic -O0 >>>>>>>>>>> Place info: branch = 0, depth = 1 Level id: D:1 Level build method = random_map_for_place, level layout type = misc, absdepth0 = 0 Level vaults: lightli_arrival_quake layout_loops_cross Markers: <<<<<<<<<<<<<<<<<<<<<< Marker 0 at (12, 61): feature (stone_stairs_up_i) >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< Welcome, dbrotest the Demonspawn Abyssal Knight. Will you be the one to retrieve the fabulous Orb of Zot from the depths? Lugonu says: Depart the Abyss and spread corruption, my servant! (use the ability menu to exit the Abyss) Press ? for a list of commands and other information. Found a scratched diamond ring. Found a corrupted altar of Lugonu. Found 23 bolts. Found a gateway leading out of the Abyss. d - a scratched diamond ring You enter the shallow water. Moving in this stuff is going to be slow. f - a meat ration There are no items here. Put on which piece of jewellery? (? for menu, Esc to quit) d - a ring of sustain abilities (left hand) A small abomination comes into view. You aren't carrying any potions. Use which ability? (? or * to list) You pass through the gate. Welcome to the Dungeon! You feel somewhat more hungry. You can no longer depart the Abyss at will. Found a short sword. There is a staircase leading out of the dungeon here. WARNING: ABOUT TO ENTER WIZARD MODE! If you continue, your game will not be scored! Do you really want to enter wizard mode? [Y]es or [N]o only, please. Do you really want to enter wizard mode? [Y]es or [N]o only, please. Do you really want to enter wizard mode? [Y]es or [N]o only, please. Do you really want to enter wizard mode? Enter Wizard Command (? - help): ) - weapons ( - missiles [ - armour / - wands ? - scrolls = - jewellery ! - potions : - books | - staves \ - rods } - miscellany X - corpses % - food $ - gold 0 - the Orb ESC - exit What class of item? ! What type of item? conf Potion of confusion Something appears at your feet! e - 12 potions of confusion Drink which item? (? for menu, Esc to quit) Your mind becomes a haze as the intoxication sets in! You are confused. You start singing a song of slaying. Ouch! There is a staircase leading out of the dungeon here. Your song is almost over. You feel less confused. Your fortitude fades away. You feel sober You see here a short sword. Drink which item? (? for menu, Esc to quit) You're too exhausted to go intoxicated. You start waiting. You feel less exhausted. Drink which item? (? for menu, Esc to quit) Your mind becomes a haze as the intoxication sets in! You are confused. You start singing a song of slaying. You start waiting. Your song is almost over. You start waiting. You feel less confused. Your fortitude fades away. You feel sober You open the door. There is an open door here. Found 7 gold pieces. Found 22 stones. You now have 7 gold pieces. Found 12 poisoned needles. Found a stone staircase leading down. There is a stone staircase leading down here. A rat comes into view. Drink which item? (? for menu, Esc to quit) You're too exhausted to go intoxicated. You completely miss the rat. The rat bites you but does no damage. You hit the rat. You kill the rat! Lugonu accepts your kill. You see here a rat corpse. Found a whip. You see here a rat corpse. Saving game... please wait. Welcome back, dbrotest the Demonspawn Abyssal Knight. Lugonu says: Spread carnage and corruption! Press ? for a list of commands and other information. Drink which item? (? for menu, Esc to quit) You're too exhausted to go intoxicated. You start waiting. You feel less exhausted. Drink which item? (? for menu, Esc to quit) Your mind becomes a haze as the intoxication sets in! You are confused. You start singing a song of slaying. You see here a rat corpse. A kobold comes into view. It is wielding a dagger. Your song is almost over. The kobold shouts! The kobold throws an exploding dart. The exploding dart hits you. The exploding dart explodes! The explosion of dart fragments engulfs you! The kobold throws an exploding dart. The exploding dart barely misses you. The exploding dart explodes! The explosion of dart fragments engulfs you! The kobold throws an exploding dart. The exploding dart barely misses you. The exploding dart explodes! The explosion of dart fragments engulfs you! You feel less confused. Your fortitude fades away. You feel sober You hit the kobold. The kobold is moderately wounded. You feel your health improve. The kobold hits you but does no damage. You hit the kobold but do no damage. The kobold is moderately wounded. The kobold closely misses you. You puncture the kobold! You kill the kobold! Lugonu accepts your kill. Things that are here: a dagger; a kobold corpse Things that are here: a dagger; a kobold corpse Saving game... please wait. Welcome back, dbrotest the Demonspawn Abyssal Knight. Lugonu says: Spread carnage and corruption! Press ? for a list of commands and other information. You now have 20 gold pieces (gained 13). You see here a rat corpse. A bat comes into view. The bat hits you but does no damage. A bat is nearby! The bat completely misses you. No target in view! No target in view! No target in view! No target in view! The bat closely misses you. Found a scroll labeled KLUDUT TIRI. A bat is nearby! The bat closely misses you. The bat closely misses you. The bat barely misses you. x2 You completely miss the bat. The bat barely misses you. The bat completely misses you. The bat barely misses you. You closely miss the bat. The bat barely misses you. You hit the bat. You kill the bat! Lugonu accepts your kill. No target in view! No target in view! No target in view! You feel less exhausted. Found a stone staircase leading down. g - a scroll labeled KLUDUT TIRI Found a hand axe. h - a scroll labeled SHYNNEW FYUG There is a stone staircase leading down here. You now have 26 gold pieces (gained 6). HP restored. A goblin comes into view. It is wielding a dagger. The goblin shouts! Found 10 gold pieces. A goblin comes into view. It is wielding a club. The goblin shouts! You hit the goblin but do no damage. The goblin hits you with a dagger. Drink which item? (? for menu, Esc to quit) Your mind becomes a haze as the intoxication sets in! You are confused. You start singing a song of slaying. The goblin barely misses you. Ouch! The goblin hits you with a dagger. You closely miss the goblin. The goblin barely misses you. The goblin hits you with a club. The goblin hits you but does no damage. Ouch! The goblin hits you but does no damage. The goblin hits you with a club. You slash the goblin! You kill the goblin! Lugonu accepts your kill. The goblin misses you. You see here a dagger. The goblin hits you but does no damage. You slash the goblin! You kill the goblin! Lugonu accepts your kill. Your song is almost over. Ouch! Ouch! You start resting. HP restored. You start waiting. You feel less confused. Your fortitude fades away. You feel sober You are feeling very hungry. You feel your health improve. You now have 36 gold pieces (gained 10). You start waiting. You feel less exhausted. You start waiting. Done waiting. You are near starving! Saving game... please wait. Welcome back, dbrotest the Demonspawn Abyssal Knight. Lugonu says: Spread carnage and corruption! Press ? for a list of commands and other information. Eat which item? (? for menu, Esc to quit) >>>>>>>>>>>>>>>>>>>>>> Game state: mouse_enabled: 0, waiting_for_command: 0, terminal_resized: 0 io_inited: 1, need_save: 1, saving_game: 0, updating_scores: 0: seen_hups: 0, map_stat_gen: 0, type: 1, arena_suspended: 0 prev_cmd = CMD_EAT repeat_cmd = CMD_NO_CMD Player: {{{{{{{{{{{ Name: [dbrotest] Species: Demonspawn Job: Abyssal Knight class_name: Abyssal Knight HP: 18/18; mods: 0/0 MP: 1/1; mods: 0/0 Stats: 12 (12) 13 (13) 12 (12) Position: (65, 26), god: Lugonu (13), turn_is_over: 0, banished: 0 Standing on/in/over feature: floor Skills (mode: auto) Name | can_train | train | training | level | points | progress Fighting | X | 1 | 48 | 3 | 341 | 41/200 Short Blades | X | 1 | 13 | 1 | 161 | 102/119 Long Blades | | 1 | 0 | 0 | 0 | 0/59 Axes | | 1 | 0 | 0 | 0 | 0/59 Maces & Flails | | 1 | 0 | 0 | 0 | 0/59 Polearms | | 1 | 0 | 0 | 0 | 0/59 Staves | | 1 | 0 | 0 | 0 | 0/59 Slings | | 1 | 0 | 0 | 0 | 0/59 Bows | | 1 | 0 | 0 | 0 | 0/59 Crossbows | | 1 | 0 | 0 | 0 | 0/59 Throwing | X | 1 | 0 | 0 | 0 | 0/59 Armour | X | 1 | 19 | 1 | 171 | 112/119 Dodging | X | 1 | 3 | 0 | 51 | 51/59 Stealth | X | 1 | 0 | 0 | 0 | 0/50 Stabbing | | 1 | 0 | 0 | 0 | 0/1410790144 Shields | | 1 | 0 | 0 | 0 | 0/59 Traps | | 1 | 0 | 0 | 0 | 0/1410790144 Unarmed Combat | X | 1 | 0 | 0 | 0 | 0/59 Spellcasting | X | 1 | 0 | 0 | 0 | 0/59 Conjurations | | 1 | 0 | 0 | 0 | 0/50 Hexes | | 1 | 0 | 0 | 0 | 0/50 Charms | | 1 | 0 | 0 | 0 | 0/59 Summonings | | 1 | 0 | 0 | 0 | 0/50 Necromancy | | 1 | 0 | 0 | 0 | 0/42 Translocations | | 1 | 0 | 0 | 0 | 0/59 Transmutations | | 1 | 0 | 0 | 0 | 0/59 Fire Magic | | 1 | 0 | 0 | 0 | 0/59 Ice Magic | | 1 | 0 | 0 | 0 | 0/59 Air Magic | | 1 | 0 | 0 | 0 | 0/59 Earth Magic | | 1 | 0 | 0 | 0 | 0/59 Poison Magic | | 1 | 0 | 0 | 0 | 0/50 Invocations | X | 1 | 17 | 2 | 127 | 38/89 Evocations | | 1 | 0 | 0 | 0 | 0/42 Spell bugs: Durations: Attributes: #12: 36 #27: 7 #49: 181 Mutations: Inventory bugs: Equipment: eq slot #0, inv slot #0: +1,+1 short sword eq slot #6, inv slot #1: +0 leather armour eq slot #7, inv slot #3: ring of sustain abilities }}}}}}}}}}} Webtiles message buffer: Webtiles JSON stack: Screenshot: ######### #.......####### #.#####.......# #.#####..####.# #.............###### ##.#####..#)#..@....## ##...####..............# #.........##......##.#.# ......###.####....# # #..#..# #.# #....... #....## #.. ....##.# #.#.## ########..... #.#.# #.....##### # #..>#####.....# clua stack: dlua stack: Lua persistent data: <<<<<<<<<<<<<<<<<<<<<< aquarium_serial_pool_size: 2 >>>>>>>>>>>>>>>>>>>>>> Lua marker contents: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>