AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  zsh in AIX via yum installled AIX ToolBox

    Posted Mon June 21, 2021 02:46 AM
      |   view attached
    Hello,

    Does anybody faces crashes and coredumps when using zsh on AIX? 
    IBM Support pointed back this is  Opensource - get in touch with zsh List.


    Thanks,
    Faizu

    ------------------------------
    Root Team
    ------------------------------

    Attachment(s)

    zip
    core.zip   5 KB 1 version


  • 2.  RE: zsh in AIX via yum installled AIX ToolBox

    Posted Mon June 21, 2021 03:03 AM
    Thank you for providing core file. 
    Is there any specific sequence of command or testcase that causes coredump ? 
    That would be easier to debug the issue.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: zsh in AIX via yum installled AIX ToolBox

    Posted Mon June 21, 2021 03:17 AM
    Also please provide the version of zsh you are using.

    # rpm -qi zsh ​

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 4.  RE: zsh in AIX via yum installled AIX ToolBox

    Posted Mon June 21, 2021 03:35 AM
    Nevermind I can recreate issue of core dump.
    We will look into it. 
    Thank you for reporting this issue.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 5.  RE: zsh in AIX via yum installled AIX ToolBox

    Posted Mon June 28, 2021 05:55 AM
    Edited by Root Team Mon June 28, 2021 05:57 AM
    Please find the requried version.


     > rpm -qi zsh ​
    Name : zsh
    Version : 5.8
    Release : 1
    Architecture: ppc
    Install Date: Mon Apr 19 15:19:02 MST 2021
    Group : System Environment/Shells
    Size : 9308559
    License : BSD
    Signature : (none)
    Source RPM : zsh-5.8-1.src.rpm
    Build Date : Wed Jul 29 17:06:56 MST 2020
    Build Host : aix51.perzl.org
    URL : http://www.zsh.org
    Summary : A powerful interactive shell
    Description :
    The zsh shell is a command interpreter usable as an interactive login
    shell and as a shell script command processor. Zsh resembles the ksh
    shell (the Korn shell), but includes many enhancements. Zsh supports
    command line editing, built-in spelling correction, programmable
    command completion, shell functions (with autoloading), a history
    mechanism, and more.
    package ​ is not installed
    >

    ------------------------------
    Root Team
    ------------------------------



  • 6.  RE: zsh in AIX via yum installled AIX ToolBox

    Posted Mon June 28, 2021 05:56 AM
    the zsh crash doesn't happen in a script. It is related to the command completion. The crash happens, when we invoice the command completion and only a single completion result exists.

    Example:

    Start zsh

    /opt/freeware/bin/zsh
    Go to the root directory
    cd /
    In / there's the etc directory. It's the only entry starting with "et"
    Enter the beginning of the cd etc command, however, after typing cd et hit the TAB key to execute the auto-completion.
    cd et<TAB>
    This results in the zsh crash

    cd et[1] 16778086 segmentation fault /opt/freeware/bin/zsh

    You should be able to repeat the crash using these steps.

    ------------------------------
    Root Team
    ------------------------------