Bugs and complaints on current master

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Nick
    replied
    Right, that's ... comprehensive I'll report back when there are fixes up.

    Leave a comment:


  • kandrc
    replied
    And another (this one when recalling from town back down):

    Code:
    Program received signal SIGSEGV, Segmentation fault.
    0x000000000049a955 in wr_string (
        str=0x7ffff7000000 <Address 0x7ffff7000000 out of bounds>)
        at savefile.c:252
    252             while (*str)
    (gdb) bt
    #0  0x000000000049a955 in wr_string (
        str=0x7ffff7000000 <Address 0x7ffff7000000 out of bounds>)
        at savefile.c:252
    #1  0x0000000000498cc6 in wr_messages () at save.c:317
    #2  0x000000000049ab84 in try_save (file=0xdea988) at savefile.c:336
    #3  0x000000000049af76 in savefile_save (
        path=0x76d7c0 <savefile> "/home/someuser//.angband/Angband/save/Sheaffer")
        at savefile.c:404
    #4  0x00000000004ae435 in save_game () at ui-game.c:499
    #5  0x00000000004ac22c in new_level_display_update (
        type=EVENT_NEW_LEVEL_DISPLAY, data=0x0, user=0x0) at ui-display.c:2183
    #6  0x0000000000419fe3 in game_event_dispatch (type=EVENT_NEW_LEVEL_DISPLAY, 
        data=0x0) at game-event.c:43
    #7  0x000000000041a29c in event_signal (type=EVENT_NEW_LEVEL_DISPLAY)
        at game-event.c:142
    #8  0x000000000041bec5 in on_new_level () at game-world.c:710
    #9  0x000000000041c317 in run_game_loop () at game-world.c:841
    #10 0x00000000004ae2d3 in play_game (new_game=false) at ui-game.c:433
    #11 0x00000000004e662d in main (argc=1, argv=0x7fffffffdc48) at main.c:524
    (gdb)

    Leave a comment:


  • kandrc
    replied
    Code:
    *** Error in `/home/someuser/angband/src/angband': corrupted double-linked list: 0x0000000000d88600 ***
    bt
    ^C
    Program received signal SIGINT, Interrupt.
    0x00007ffff6e5138b in __lll_lock_wait_private () from /lib64/libc.so.6
    (gdb) b5
    Undefined command: "b5".  Try "help".
    (gdb) bt
    #0  0x00007ffff6e5138b in __lll_lock_wait_private () from /lib64/libc.so.6
    #1  0x00007ffff6dce24a in _L_lock_12669 () from /lib64/libc.so.6
    #2  0x00007ffff6dcb975 in malloc () from /lib64/libc.so.6
    #3  0x00007ffff7ddf2b6 in open_path () from /lib64/ld-linux-x86-64.so.2
    #4  0x00007ffff7de1905 in _dl_map_object () from /lib64/ld-linux-x86-64.so.2
    #5  0x00007ffff7ded387 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
    #6  0x00007ffff7de8924 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
    #7  0x00007ffff7decc7b in _dl_open () from /lib64/ld-linux-x86-64.so.2
    #8  0x00007ffff6e7e752 in do_dlopen () from /lib64/libc.so.6
    #9  0x00007ffff7de8924 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
    #10 0x00007ffff6e7e812 in __libc_dlopen_mode () from /lib64/libc.so.6
    #11 0x00007ffff6e57981 in backtrace () from /lib64/libc.so.6
    #12 0x00007ffff6dc12a4 in __libc_message () from /lib64/libc.so.6
    #13 0x00007ffff6dc7e85 in malloc_consolidate () from /lib64/libc.so.6
    #14 0x00007ffff6dc8836 in _int_free () from /lib64/libc.so.6
    #15 0x00000000004e5a8a in mem_free (p=0xc63f58) at z-virt.c:65
    #16 0x000000000046f8a3 in object_free (obj=0xc63f58) at obj-pile.c:216
    #17 0x000000000046fb72 in object_delete (obj_address=0x7fffffffd990)
        at obj-pile.c:268
    #18 0x000000000046fbad in object_pile_free (obj=0xc63f58) at obj-pile.c:281
    #19 0x0000000000403e10 in cave_free (c=0xc9cba8) at cave.c:171
    #20 0x000000000041e03c in cave_clear (c=0xc9cba8, p=0x9bd0a8) at generate.c:827
    #21 0x000000000041e6b1 in cave_generate (c=0x74b900 <cave>, p=0x9bd0a8)
    ---Type <return> to continue, or q <return> to quit---
        at generate.c:951
    #22 0x000000000041c312 in run_game_loop () at game-world.c:840
    #23 0x00000000004ae2d3 in play_game (new_game=false) at ui-game.c:433
    #24 0x00000000004e662d in main (argc=1, argv=0x7fffffffdc48) at main.c:524
    (gdb) up
    #1  0x00007ffff6dce24a in _L_lock_12669 () from /lib64/libc.so.6
    (gdb) 
    #2  0x00007ffff6dcb975 in malloc () from /lib64/libc.so.6
    (gdb) 
    #3  0x00007ffff7ddf2b6 in open_path () from /lib64/ld-linux-x86-64.so.2
    (gdb) 
    #4  0x00007ffff7de1905 in _dl_map_object () from /lib64/ld-linux-x86-64.so.2
    (gdb) 
    #5  0x00007ffff7ded387 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
    (gdb) 
    #6  0x00007ffff7de8924 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
    (gdb) 
    #7  0x00007ffff7decc7b in _dl_open () from /lib64/ld-linux-x86-64.so.2
    (gdb) 
    #8  0x00007ffff6e7e752 in do_dlopen () from /lib64/libc.so.6
    (gdb) 
    #9  0x00007ffff7de8924 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
    (gdb) 
    #10 0x00007ffff6e7e812 in __libc_dlopen_mode () from /lib64/libc.so.6
    (gdb) 
    #11 0x00007ffff6e57981 in backtrace () from /lib64/libc.so.6
    (gdb) 
    #12 0x00007ffff6dc12a4 in __libc_message () from /lib64/libc.so.6
    (gdb) 
    #13 0x00007ffff6dc7e85 in malloc_consolidate () from /lib64/libc.so.6
    (gdb) 
    #14 0x00007ffff6dc8836 in _int_free () from /lib64/libc.so.6
    (gdb) 
    #15 0x00000000004e5a8a in mem_free (p=0xc63f58) at z-virt.c:65
    65              free((char *)p - sizeof(size_t));
    (gdb) 
    #16 0x000000000046f8a3 in object_free (obj=0xc63f58) at obj-pile.c:216
    216             mem_free(obj);
    (gdb) 
    #17 0x000000000046fb72 in object_delete (obj_address=0x7fffffffd990)
        at obj-pile.c:268
    268             object_free(obj);
    (gdb) print obj
    $4 = (struct object *) 0xc63f58
    (gdb) print *obj
    $5 = {kind = 0xd97bb0, ego = 0x0, artifact = 0x0, prev = 0x0, next = 0x0, 
      known = 0x0, oidx = 56, iy = 9 '\t', ix = 132 '\204', tval = 32 ' ', 
      sval = 3 '\003', pval = 435, weight = 0, dd = 0 '\000', ds = 0 '\000', 
      ac = 0, to_a = 0, to_h = 0, to_d = 0, flags = "\000\000\000\000", 
      modifiers = {0 <repeats 13 times>}, el_info = {{res_level = 0, 
          flags = 0 '\000'} <repeats 25 times>}, brands = 0x0, slays = 0x0, 
      curses = 0x0, effect = 0x0, effect_msg = 0x0, activation = 0x0, time = {
        base = 0, dice = 0, sides = 0, m_bonus = 0}, timeout = 0, 
      number = 1 '\001', notice = 0 '\000', held_m_idx = 0, mimicking_m_idx = 0, 
      origin = 1 '\001', origin_depth = 34 '"', origin_race = 0x0, note = 0}
    (gdb) print *obj->kind
    $6 = {name = 0x0, text = 0x10a1 <Address 0x10a1 out of bounds>, 
      base = 0xc63f40, next = 0xca1d30, kidx = 0, tval = 0, sval = 0, pval = {
        base = 0, dice = 12992320, sides = 0, m_bonus = -149895240}, to_h = {
        base = 32767, dice = 0, sides = 0, m_bonus = 0}, to_d = {base = 0, 
        dice = 12992320, sides = 0, m_bonus = -149895240}, to_a = {base = 32767, 
        dice = 0, sides = 0, m_bonus = 0}, ac = 0, dd = 12992320, ds = 0, 
      weight = -149895240, cost = 32767, flags = "\000\000\000\000", 
      kind_flags = "\000", modifiers = {{base = 0, dice = 0, sides = 12992320, 
          m_bonus = 0}, {base = -149895240, dice = 32767, sides = 0, m_bonus = 0}, 
        {base = 0, dice = 0, sides = 12992320, m_bonus = 0}, {base = -149895240, 
          dice = 32767, sides = 0, m_bonus = 0}, {base = 0, dice = 0, 
          sides = 12992320, m_bonus = 0}, {base = -149895240, dice = 32767, 
          sides = 0, m_bonus = 0}, {base = 0, dice = 0, sides = 12992320, 
          m_bonus = 0}, {base = -149895240, dice = 32767, sides = 0, m_bonus = 0}, 
        {base = 0, dice = 0, sides = 12992320, m_bonus = 0}, {base = -149895240, 
          dice = 32767, sides = 0, m_bonus = 0}, {base = 0, dice = 0, 
          sides = 12992320, m_bonus = 0}, {base = -149895240, dice = 32767, 
          sides = 0, m_bonus = 0}, {base = 0, dice = 0, sides = 12992320, 
          m_bonus = 0}}, el_info = {{res_level = -14408, flags = 16 '\020'}, {
          res_level = 32767, flags = 0 '\000'}, {res_level = 0, flags = 0 '\000'}, 
        {res_level = 0, flags = 0 '\000'}, {res_level = 0, flags = 0 '\000'}, {
          res_level = 0, flags = 0 '\000'}, {res_level = 16192, 
          flags = 198 '\306'}, {res_level = 0, flags = 0 '\000'}, {
    ---Type <return> to continue, or q <return> to quit---
          res_level = -14408, flags = 16 '\020'}, {res_level = 32767, 
          flags = 0 '\000'}, {res_level = 0, flags = 0 '\000'}, {res_level = 0, 
          flags = 0 '\000'}, {res_level = 0, flags = 0 '\000'}, {res_level = 0, 
          flags = 0 '\000'}, {res_level = 16192, flags = 198 '\306'}, {
          res_level = 0, flags = 0 '\000'}, {res_level = -14408, 
          flags = 16 '\020'}, {res_level = 32767, flags = 0 '\000'}, {
          res_level = 0, flags = 0 '\000'}, {res_level = 0, flags = 0 '\000'}, {
          res_level = 0, flags = 0 '\000'}, {res_level = 0, flags = 0 '\000'}, {
          res_level = 16192, flags = 198 '\306'}, {res_level = 0, 
          flags = 0 '\000'}, {res_level = -14408, flags = 16 '\020'}}, 
      brands = 0x0, slays = 0x0, curses = 0xc63f40, d_attr = 184 '\270', 
      d_char = 32767 L'ç&#191;&#191;', alloc_prob = 0, alloc_min = 0, alloc_max = 0, 
      level = 0, effect = 0xc63f40, power = -149895240, effect_msg = 0x0, time = {
        base = 0, dice = 0, sides = 12992320, m_bonus = 0}, charge = {
        base = -149895240, dice = 32767, sides = 0, m_bonus = 0}, 
      gen_mult_prob = 0, stack_size = {base = 0, dice = 12992320, sides = 0, 
        m_bonus = -149895240}, flavor = 0x0, note_aware = 0, 
      note_unaware = 12992320, aware = 184, tried = 199, ignore = 16 '\020', 
      everseen = 247}
    (gdb)

    Leave a comment:


  • kandrc
    replied
    And a similar one here:

    Code:
    angband: effects.c:2694: effect_handler_TELEPORT: Assertion `context->origin.what == SRC_MONSTER' failed.
    
    Program received signal SIGABRT, Aborted.
    0x00007ffff6d7f979 in raise () from /lib64/libc.so.6
    (gdb) bt
    #0  0x00007ffff6d7f979 in raise () from /lib64/libc.so.6
    #1  0x00007ffff6d81088 in abort () from /lib64/libc.so.6
    #2  0x00007ffff6d78966 in __assert_fail_base () from /lib64/libc.so.6
    #3  0x00007ffff6d78a12 in __assert_fail () from /lib64/libc.so.6
    #4  0x00000000004164bc in effect_handler_TELEPORT (context=0x7fffffffd880)
        at effects.c:2694
    #5  0x0000000000419e54 in effect_do (effect=0x87c048, origin=..., obj=0x0, 
        ident=0x7fffffffd94f, aware=false, dir=0, beam=0, boost=0)
        at effects.c:4486
    #6  0x00000000004a10df in hit_trap (y=13, x=122) at trap.c:433
    #7  0x000000000040c083 in do_cmd_disarm_aux (y=13, x=122) at cmd-cave.c:750
    #8  0x000000000040c53b in do_cmd_alter_aux (dir=6) at cmd-cave.c:878
    #9  0x000000000040c739 in move_player (dir=6, disarm=true) at cmd-cave.c:933
    #10 0x000000000040cf7c in do_cmd_walk (cmd=0x74bcb0 <cmd_queue+880>)
        at cmd-cave.c:1125
    #11 0x000000000040d9b5 in process_command (ctx=CMD_GAME, 
        cmd=0x74bcb0 <cmd_queue+880>) at cmd-core.c:222
    #12 0x000000000040daae in cmdq_pop (c=CMD_GAME) at cmd-core.c:250
    #13 0x000000000041bd86 in process_player () at game-world.c:666
    #14 0x000000000041c3ab in run_game_loop () at game-world.c:860
    #15 0x00000000004ae2d3 in play_game (new_game=false) at ui-game.c:433
    #16 0x00000000004e662d in main (argc=1, argv=0x7fffffffdc48) at main.c:524
    (gdb)

    Leave a comment:


  • kandrc
    replied
    And here's another one:

    Code:
    angband: effects.c:695: effect_handler_DRAIN_MANA: Assertion `context->origin.what == SRC_MONSTER' failed.
    
    Program received signal SIGABRT, Aborted.
    0x00007ffff6d7f979 in raise () from /lib64/libc.so.6
    (gdb) bt
    #0  0x00007ffff6d7f979 in raise () from /lib64/libc.so.6
    #1  0x00007ffff6d81088 in abort () from /lib64/libc.so.6
    #2  0x00007ffff6d78966 in __assert_fail_base () from /lib64/libc.so.6
    #3  0x00007ffff6d78a12 in __assert_fail () from /lib64/libc.so.6
    #4  0x0000000000412616 in effect_handler_DRAIN_MANA (context=0x7fffffffd880)
        at effects.c:695
    #5  0x0000000000419e54 in effect_do (effect=0x7fd788, origin=..., obj=0x0, 
        ident=0x7fffffffd94f, aware=false, dir=0, beam=0, boost=0)
        at effects.c:4486
    #6  0x00000000004a10df in hit_trap (y=34, x=77) at trap.c:433
    #7  0x000000000040c083 in do_cmd_disarm_aux (y=34, x=77) at cmd-cave.c:750
    #8  0x000000000040c53b in do_cmd_alter_aux (dir=8) at cmd-cave.c:878
    #9  0x000000000040c739 in move_player (dir=8, disarm=true) at cmd-cave.c:933
    #10 0x000000000040cf7c in do_cmd_walk (cmd=0x74bf70 <cmd_queue+1584>)
        at cmd-cave.c:1125
    #11 0x000000000040d9b5 in process_command (ctx=CMD_GAME, 
        cmd=0x74bf70 <cmd_queue+1584>) at cmd-core.c:222
    #12 0x000000000040daae in cmdq_pop (c=CMD_GAME) at cmd-core.c:250
    #13 0x000000000041bd86 in process_player () at game-world.c:666
    #14 0x000000000041c011 in run_game_loop () at game-world.c:761
    #15 0x00000000004ae2d3 in play_game (new_game=false) at ui-game.c:433
    #16 0x00000000004e662d in main (argc=1, argv=0x7fffffffdc48) at main.c:524
    (gdb)

    Leave a comment:


  • kandrc
    replied
    In 4.0.3-579-g36ded51 I got:

    Code:
    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff6dc7bb5 in malloc_consolidate () from /lib64/libc.so.6
    (gdb) bt
    #0  0x00007ffff6dc7bb5 in malloc_consolidate () from /lib64/libc.so.6
    #1  0x00007ffff6dc8836 in _int_free () from /lib64/libc.so.6
    #2  0x00000000004e5a8a in mem_free (p=0xdba2b8) at z-virt.c:65
    #3  0x0000000000403e98 in cave_free (c=0xbeba88) at cave.c:179
    #4  0x000000000041e674 in cave_generate (c=0x74b900 <cave>, p=0x93b418)
        at generate.c:945
    #5  0x000000000041c312 in run_game_loop () at game-world.c:840
    #6  0x00000000004ae2d3 in play_game (new_game=false) at ui-game.c:433
    #7  0x00000000004e662d in main (argc=1, argv=0x7fffffffdc48) at main.c:524
    (gdb) up
    #1  0x00007ffff6dc8836 in _int_free () from /lib64/libc.so.6
    (gdb) 
    #2  0x00000000004e5a8a in mem_free (p=0xdba2b8) at z-virt.c:65
    65              free((char *)p - sizeof(size_t));
    (gdb) up
    #3  0x0000000000403e98 in cave_free (c=0xbeba88) at cave.c:179
    179             mem_free(c->monsters);
    (gdb) print *c
    $1 = {name = 0x0, created_at = 85929, depth = 0, feeling = 0 '\000', 
      obj_rating = 0, mon_rating = 0, good_item = false, height = 52, width = 166, 
      feeling_squares = 0, feat_count = 0x80d918, squares = 0xdb9fe8, 
      objects = 0xd61408, obj_max = 127, monsters = 0xdba2b8, mon_max = 1, 
      mon_cnt = 0, mon_current = -1}
    (gdb) print *c->monsters
    $2 = {race = 0xdb9fd0, midx = 0, fy = 0 '\000', fx = 0 '\000', hp = 0, 
      maxhp = 0, m_timed = {0, 0, 0, 0, 0, 0}, mspeed = 0 '\000', 
      energy = 0 '\000', cdis = 0 '\000', mflag = "\000", mimicked_obj = 0x0, 
      held_obj = 0x0, attr = 0 '\000', known_pstate = {stat_add = {0, 0, 0, 0, 0}, 
        stat_ind = {0, 0, 0, 0, 0}, stat_use = {0, 0, 0, 0, 0}, stat_top = {0, 0, 
          0, 0, 0}, skills = {0, 0, 0, 0, 0, 0, 0, 0, 0}, speed = 0, 
        num_blows = 0, num_shots = 0, ammo_mult = 0, ammo_tval = 0, ac = 0, 
        to_a = 0, to_h = 0, to_d = 0, see_infra = 0, cur_light = 0, noise = 0, 
        heavy_wield = false, heavy_shoot = false, icky_wield = false, 
        cumber_armor = false, cumber_glove = false, flags = "\000\000\000\000", 
        pflags = "\000", el_info = {{res_level = 0, 
            flags = 0 '\000'} <repeats 25 times>}}, ty = 0 '\000', tx = 0 '\000', 
      min_range = 0 '\000', best_range = 0 '\000'}
    (gdb) print *c->monsters->race
    $3 = {next = 0x10000, ridx = 433, name = 0xdba2a0 "", text = 0xd63020 " ", 
      plural = 0xb33448 "\260Ă•´", base = 0xcd7818, avg_hp = 11234040, ac = 0, 
      sleep = 11240696, aaf = 0, speed = 11851208, mexp = 0, 
      freq_innate = 11857864, freq_spell = 0, spell_power = 11762104, 
      flags = "\000\000\000\000\270\223\263\000\000", 
      spell_flags = "\000\000\270\255\263\000\000\000\000\000h", blow = 0xc7b468, 
      level = 13094504, rarity = 0, d_attr = 72 'H', d_char = 0 L'\000', 
      max_num = 72 'H', cur_num = 0, drops = 0xb27448, friends = 0xb28e48, 
      friends_base = 0xb2a848, mimic_kinds = 0xb2c248}
    (gdb) cont
    Continuing.
    ^C
    Program received signal SIGINT, Interrupt.
    0x00007ffff6e5138b in __lll_lock_wait_private () from /lib64/libc.so.6
    (gdb) kill
    Kill the program being debugged? (y or n) y
    (gdb)
    Looks like the race field points to garbage, but I haven't poked around the code to confirm my interpretation.

    Most frustrating, when I continued, it blocked inside libc; I had to kill the program. When I attempted to restart, I discovered that it never saved.

    Leave a comment:


  • Nick
    replied
    Originally posted by Azuria
    36ded51 is crashing on load on Mac OSX Yosemite (Dec 28)

    EDIT: 93f2a7d is opening fine (Dec 27)
    Yes, sorry, I meant to post about that one (I was waiting for it to build, and got distracted).

    36ded51 breaks savefiles, and also doesn't load previous lore.txt files any more. The trick of copying monster.txt to lore.txt for full monster memory still works, or if you want to use your previous lore.txt you can go through and replace every line like this
    Code:
    name:22:large brown snake
    with this
    Code:
    name:large brown snake
    - so remove the numbers from the name: lines.

    EDIT: I should say, too, that there will be a bit of savefile breaking in the next few builds. I'm going through and removing the numbers from the name: lines in all the other text files (object.txt, artifact.txt, terrain.txt, etc) as well.
    Last edited by Nick; December 28, 2016, 10:33. Reason: More info

    Leave a comment:


  • Azuria
    replied
    36ded51 is crashing on load on Mac OSX Yosemite (Dec 28)

    EDIT: 93f2a7d is opening fine (Dec 27)

    Leave a comment:


  • Nick
    replied
    OK, latest build (a41a202) has the stone to mud and projection issues fixed.

    Leave a comment:


  • Nick
    replied
    Originally posted by Malatar
    Yeah Stone to Mud doesn't work on granite for my mage any more...
    Looks like all projections are broken on current master (probably since 93cc228). I'll let you know when they're fixed.

    EDIT: Ooh, and stone to mud on granite is separately broken for those playing earlier versions. Fun times
    Last edited by Nick; December 26, 2016, 21:50.

    Leave a comment:


  • Malatar
    replied
    Originally posted by spara
    I have a Ring of Digging that I'm activating at a granite wall. Nothing happens . It's been a while since I've used one, but shouldn't it make a hole? Or is it not effective against granite?
    Yeah Stone to Mud doesn't work on granite for my mage any more...

    Leave a comment:


  • Medieval
    replied
    I don't know if I missed a new command or creative way of doing things, but it seems that there is no way to drop items from your quiver in 4.0.5.

    I was using a sling, and upgraded to a short bow. I wanted to get rid of my pebbles/iron shots but when I tried to drop them (using the "d" command) they weren't listed anywhere. I had to shoot them, individually, from my quiver just to get rid of them. Surely there must be a better way....

    EDIT: Never mind, I figured it out. The method of dropping items from a quiver changed since 3.4.1, and I didn't read the prompts. It's pretty obvious if you actually do that. Nothing to see here, move along....
    Last edited by Medieval; December 26, 2016, 06:38.

    Leave a comment:


  • spara
    replied
    I have a Ring of Digging that I'm activating at a granite wall. Nothing happens . It's been a while since I've used one, but shouldn't it make a hole? Or is it not effective against granite?

    Leave a comment:


  • AnonymousHero
    replied
    Originally posted by Nick
    I'm on OpenSUSE, and I think I only have gcc 5 because I deliberately installed the package for sanitize support...
    Ah, OK, so "the other distro" . Arch is rolling release which does kind of induce this sort of "of course everyone has the latest version of $FOO!" bias.

    Leave a comment:


  • Nick
    replied
    Originally posted by AnonymousHero
    I was unaware of the "gcc-5" thing -- it must be a Debian/Ubuntu/Fedora thing? I'm on Arch Linux, FWIW.
    I'm on OpenSUSE, and I think I only have gcc 5 because I deliberately installed the package for sanitize support...

    Leave a comment:

Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎