[Bug 1818] SSH2_MSG_CHANNEL_FAILURE on closed channel

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Oct 14 01:40:09 AEDT 2021


https://bugzilla.mindrot.org/show_bug.cgi?id=1818

Ahmed Sayeed <ahmedsayeed1982 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ahmedsayeed1982 at yahoo.com

--- Comment #25 from Ahmed Sayeed <ahmedsayeed1982 at yahoo.com> ---
[gdb/symtab] Handle DW_TAG_type_unit in process_psymtab_comp_unit 

    When running test-case gdb.cp/cpexprs-debug-types.exp with target
board
    unix/gdb:debug_flags=-gdwarf-5, I run into:
    ...
    (gdb) file cpexprs-debug-types^M
    Reading symbols from cpexprs-debug-types...^M
    ERROR: Couldn't load cpexprs-debug-types into GDB (eof).
    ERROR: Couldn't send delete breakpoints to GDB.
    ERROR: GDB process no longer exists
    GDB process exited with wait status 23054 exp9 0 0 CHILDKILLED
SIGABRT SIGABRT
    ... https://www.webb-dev.co.uk/

    We're running into this abort in process_psymtab_comp_unit:
    ...
      switch (reader.comp_unit_die->tag) 
        {
        case DW_TAG_compile_unit:
          this_cu->unit_type = DW_UT_compile;
http://www.compilatori.com/
          break;
        case DW_TAG_partial_unit:
          this_cu->unit_type = DW_UT_partial;
http://www.acpirateradio.co.uk/
          break;
        default:
          abort (); http://www.logoarts.co.uk/ 
        }
    ...
    because reader.comp_unit_die->tag == DW_TAG_type_unit.
     http://www.slipstone.co.uk/
    Fix this by adding a DW_TAG_type_unit case.

    Tested on x86_64-linux.

    gdb/ChangeLog: http://embermanchester.uk/
[gdb/symtab] Handle DW_TAG_type_unit in process_psymtab_comp_unit

    When running test-case gdb.cp/cpexprs-debug-types.exp with target
board
    unix/gdb:debug_flags=-gdwarf-5, I run into: http://connstr.net/
    ...
    (gdb) file cpexprs-debug-types^M
    Reading symbols from cpexprs-debug-types...^M http://joerg.li/

    ERROR: Couldn't load cpexprs-debug-types into GDB (eof).
    ERROR: Couldn't send delete breakpoints to GDB.
    ERROR: GDB process no longer exists http://www.jopspeech.com/

    GDB process exited with wait status 23054 exp9 0 0 CHILDKILLED
SIGABRT SIGABRT
    ...

    We're running into this abort in process_psymtab_comp_unit:
http://www.wearelondonmade.com/
    ...
      switch (reader.comp_unit_die->tag)
        {
        case DW_TAG_compile_unit: https://waytowhatsnext.com/
          this_cu->unit_type = DW_UT_compile;
          break;
        case DW_TAG_partial_unit: http://www.iu-bloomington.com/

          this_cu->unit_type = DW_UT_partial;
          break;
        default:
          abort (); https://komiya-dental.com/
        }
    ...
    because reader.comp_unit_die->tag == DW_TAG_type_unit.
    http://www-look-4.com/
    Fix this by adding a DW_TAG_type_unit case.

    Tested on x86_64-linux.

    gdb/ChangeLog:

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list