Open-source Languages & Tools for z/OS

 View Only
Expand all | Collapse all

Git Rebase Abend S0C4-X'4'

  • 1.  Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 08:53

    Hi when attempting a rebase our users are receiving the following error:

    $ git rebase master
        CEE3204S The system detected a protection exception (System Completion Code=0C4).
                 From entry point echo_builtin at compile unit offset +0000032A at entry offset +0000032A at address 2ECCAEF2.
        IDI0001I Fault Analyzer V13R1M0 (UI40640 2016/09/06) invoked by IDIXDCAP using SYS3.FAULTAZR.PARMLIB(IDICNF00)
        IDI0002I Module CELHV003 offset X'663682': Abend S0C4-X'4' (Protection Exception)
        IDI0003I Fault ID F07427 assigned in history file SYS3.FAULTAZR.E100.HISTORY
        <> LEAID ENTERED (LEVEL 05/14/2013 AT 15.14)
        <> LEAID LEAID112 LEAID ACKNOWLEDGES UNSUPPORTED USS ENVIRONMENT
    <> LEAID LEAID112 ABEND-AID PROCESSING SUPPRESSED
    <> LEAID PROCESSING COMPLETE. RC=4
    First, rewinding head to replay your work on top of it...
    CEE3204S The system detected a protection exception (System Completion Code=0C4).
             From entry point echo_builtin at compile unit offset +0000032A at entry offset +0000032A at address 2ECCAEF2.
    IDI0001I Fault Analyzer V13R1M0 (UI40640 2016/09/06) invoked by IDIXDCAP using SYS3.FAULTAZR.PARMLIB(IDICNF00)
    IDI0002I Module CELHV003 offset X'663682': Abend S0C4-X'4' (Protection Exception)
    IDI0003I Fault ID F07428 assigned in history file SYS3.FAULTAZR.E100.HISTORY
    <> LEAID ENTERED (LEVEL 05/14/2013 AT 15.14)
    <> LEAID LEAID112 LEAID ACKNOWLEDGES UNSUPPORTED USS ENVIRONMENT
    <> LEAID LEAID112 ABEND-AID PROCESSING SUPPRESSED
    <> LEAID PROCESSING COMPLETE. RC=4
    error: git-am died of signal 11


  • 2.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 09:16

    Can you please provide the output of the following commands, run in the git working directory that is having the problem?

    • git --version
    • git status
    • git branch
    • set
    • env | sort
    • GIT_TRACE=1 git rebase master

    Thank you.



  • 3.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 09:23
    $ git --version
    git version 2.3.5_os390_b013
    $ git status
    On branch rebaseTest
    Your branch is up-to-date with 'origin/rebaseTest'.
    nothing to commit, working directory clean
    $ git branch
      develop
      master
    * rebaseTest
    $ set
    @="-sh"
    CLASSPATH=":/usr/lpp/suf/classes"
    ERRNO="0"
    GIT_EXEC_PATH="/usr/lpp/git/libexec/git-core"
    GIT_SHELL="/usr/lpp/git/bin/bash"
    GIT_TEMPLATE_DIR="/usr/lpp/git/share/git-core/templates"
    HOME="/u/automount/zk745"
    IFS="
    "
    JAVA_HOME="/usr/lpp/java/IBM/"
    LANG="C"
    LIBPATH="/usr/lpp/git/lib/perl5/5.24.0/os390/CORE:/lib:/usr/lib:."
    LINENO="0"
    LOGNAME="ZK745"
    MAIL="/usr/mail/ZK745"
    MAILCHECK="600"
    MANPATH="/usr/man/%L:/usr/lpp/git/man"
    NLSPATH="/usr/lib/nls/msg/%L/%N"
    OLDPWD="/u/automount/zk745"
    OPTIND="1"
    PATH="/usr/lpp/git/bin:/bin:/usr/lpp/java/IBM/bin:."
    PERL5LIB="/usr/lpp/git/lib/perl5:"
    PPID="33554657"
    PS1="\$ "
    PS2="> "
    PS3="#? "
    PS4="+ "
    PWD="/u/automount/zk745/mainframedevopsscripts"
    RANDOM="31308"
    SECONDS="2682"
    SHELL="/bin/sh"
    SSH_CLIENT="10.66.4.93 51170 22"
    SSH_CONNECTION="10.66.4.93 51170 10.54.2.36 22"
    SSH_TTY="/dev/ttyp0000"
    STEPLIB="SYS1.CEE.SCEERUN"
    TERM="xterm"
    TZ="EST5EDT"
    USER="ZK745"
    _="branch"
    _BPXK_AUTOCVT="ON"
    _C89_CLIB_PREFIX="SYS1"
    _C89_PLIB_PREFIX="SYS1.CEE"
    _CC_CLIB_PREFIX="SYS1"
    _CC_PLIB_PREFIX="SYS1.CEE"
    _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
    _CXX_CLIB_PREFIX="SYS1"
    _CXX_PLIB_PREFIX="SYS1.CEE"
    _TAG_REDIR_ERR="txt"
    _TAG_REDIR_IN="txt"
    _TAG_REDIR_OUT="txt"
    $ env | sort
    CLASSPATH=:/usr/lpp/suf/classes
    GIT_EXEC_PATH=/usr/lpp/git/libexec/git-core
    GIT_SHELL=/usr/lpp/git/bin/bash
    GIT_TEMPLATE_DIR=/usr/lpp/git/share/git-core/templates
    HOME=/u/automount/zk745
    JAVA_HOME=/usr/lpp/java/IBM/
    LANG=C
    LIBPATH=/usr/lpp/git/lib/perl5/5.24.0/os390/CORE:/lib:/usr/lib:.
    LOGNAME=ZK745
    MAIL=/usr/mail/ZK745
    MANPATH=/usr/man/%L:/usr/lpp/git/man
    NLSPATH=/usr/lib/nls/msg/%L/%N
    PATH=/usr/lpp/git/bin:/bin:/usr/lpp/java/IBM/bin:.
    PERL5LIB=/usr/lpp/git/lib/perl5:
    SHELL=/bin/sh
    SSH_CLIENT=10.66.4.93 51170 22
    SSH_CONNECTION=10.66.4.93 51170 10.54.2.36 22
    SSH_TTY=/dev/ttyp0000
    STEPLIB=SYS1.CEE.SCEERUN
    TERM=xterm
    TZ=EST5EDT
    USER=ZK745
    _=/bin/env
    _BPXK_AUTOCVT=ON
    _C89_CLIB_PREFIX=SYS1
    _C89_PLIB_PREFIX=SYS1.CEE
    _CC_CLIB_PREFIX=SYS1
    _CC_PLIB_PREFIX=SYS1.CEE
    _CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
    _CXX_CLIB_PREFIX=SYS1
    _CXX_PLIB_PREFIX=SYS1.CEE
    _TAG_REDIR_ERR=txt
    _TAG_REDIR_IN=txt
    _TAG_REDIR_OUT=txt
    $ GIT_TRACE=1 git rebase master
    09:19:45.655252 ./git.c:560             trace: exec: 'git-rebase' 'master'
    09:19:45.655357 ./run-command.c:369     trace: run_command: 'git-rebase' 'master'
    09:19:45.706994 ./run-command.c:131     trace: execvp: 'git-rebase' 'master'
    09:19:46.153504 ./git.c:351             trace: built-in: git 'rev-parse' '--parseopt' '--stuck-long' '--' 'master'
    09:19:46.546234 ./git.c:351             trace: built-in: git 'rev-parse' '--git-dir'
    09:19:46.773099 ./git.c:351             trace: built-in: git 'rev-parse' '--is-bare-repository'
    09:19:46.934643 ./git.c:351             trace: built-in: git 'rev-parse' '--show-toplevel'
    09:19:47.215460 ./git.c:351             trace: built-in: git 'config' '--bool' 'rebase.stat'
    09:19:47.434942 ./git.c:351             trace: built-in: git 'config' '--bool' 'rebase.autostash'
    CEE3204S The system detected a protection exception (System Completion Code=0C4).
             From entry point echo_builtin at compile unit offset +0000032A at entry offset +0000032A at address 2ECCAEF2.
    IDI0001I Fault Analyzer V13R1M0 (UI40640 2016/09/06) invoked by IDIXDCAP using SYS3.FAULTAZR.PARMLIB(IDICNF00)
    IDI0002I Module CELHV003 offset X'663682': Abend S0C4-X'4' (Protection Exception)
    IDI0003I Fault ID F07432 assigned in history file SYS3.FAULTAZR.E100.HISTORY
    <> LEAID ENTERED (LEVEL 05/14/2013 AT 15.14)
    <> LEAID LEAID112 LEAID ACKNOWLEDGES UNSUPPORTED USS ENVIRONMENT
    <> LEAID LEAID112 ABEND-AID PROCESSING SUPPRESSED
    <> LEAID PROCESSING COMPLETE. RC=4
    09:19:50.236151 ./git.c:351             trace: built-in: git 'config' '--bool' 'rebase.autosquash'
    09:19:50.470564 ./git.c:351             trace: built-in: git 'rev-parse' '--verify' 'master^0'
    09:19:50.723156 ./git.c:351             trace: built-in: git 'rev-parse' '--verify' 'master^0'
    09:19:50.885461 ./git.c:351             trace: built-in: git 'symbolic-ref' '-q' 'HEAD'
    09:19:51.157365 ./git.c:351             trace: built-in: git 'rev-parse' '--verify' 'HEAD'
    09:19:51.383969 ./git.c:351             trace: built-in: git 'rev-parse' '--verify' 'HEAD'
    09:19:51.567327 ./git.c:351             trace: built-in: git 'update-index' '-q' '--ignore-submodules' '--refresh'
    09:19:51.737430 ./git.c:351             trace: built-in: git 'diff-files' '--quiet' '--ignore-submodules'
    09:19:51.899568 ./git.c:351             trace: built-in: git 'diff-index' '--cached' '--quiet' '--ignore-submodules' 'HEAD' '--'
    09:19:52.068517 ./git.c:351             trace: built-in: git 'merge-base' '0a4eac7e5fe7381de80784dec5e8286469006383' 'e467bbf6e9c2b38c8002bb731b05235104e33df8'
    First, rewinding head to replay your work on top of it...
    09:19:52.326765 ./git.c:351             trace: built-in: git 'checkout' '-q' '0a4eac7e5fe7381de80784dec5e8286469006383^0'
    09:19:52.588903 ./git.c:351             trace: built-in: git 'update-ref' 'ORIG_HEAD' 'e467bbf6e9c2b38c8002bb731b05235104e33df8'
    09:19:52.951900 ./git.c:351             trace: built-in: git 'format-patch' '-k' '--stdout' '--full-index' '--cherry-pick' '--right-only' '--src-prefix=a/' '--dst-prefix=b/' '--no-renames' '--no-cover-letter' '0a4eac7e5fe7381de80784dec5e8286469006383...e467bbf6e9c2b38c8002bb731b05235104e33df8'
    09:19:53.296289 ./git.c:560             trace: exec: 'git-am' '--rebasing' '--resolvemsg=
    When you have resolved this problem, run "git rebase --continue".
    If you prefer to skip this patch, run "git rebase --skip" instead.
    To check out the original branch and stop rebasing, run "git rebase --abort".
    '
    09:19:53.296377 ./run-command.c:369     trace: run_command: 'git-am' '--rebasing' '--resolvemsg=
    When you have resolved this problem, run "git rebase --continue".
    If you prefer to skip this patch, run "git rebase --skip" instead.
    To check out the original branch and stop rebasing, run "git rebase --abort".
    '
    09:19:53.344508 ./run-command.c:131     trace: execvp: 'git-am' '--rebasing' '--resolvemsg=
    When you have resolved this problem, run "git rebase --continue".
    If you prefer to skip this patch, run "git rebase --skip" instead.
    To check out the original branch and stop rebasing, run "git rebase --abort".
    '
    09:19:53.756694 ./git.c:351             trace: built-in: git 'rev-parse' '--parseopt' '--stuck-long' '--' '--rebasing' '--resolvemsg=
    When you have resolved this problem, run "git rebase --continue".
    If you prefer to skip this patch, run "git rebase --skip" instead.
    To check out the original branch and stop rebasing, run "git rebase --abort".
    '
    09:19:54.135852 ./git.c:351             trace: built-in: git 'rev-parse' '--git-dir'
    09:19:54.348960 ./git.c:351             trace: built-in: git 'rev-parse' '--show-prefix'
    09:19:54.734774 ./git.c:351             trace: built-in: git 'rev-parse' '--show-toplevel'
    09:19:54.896793 ./git.c:351             trace: built-in: git 'var' 'GIT_COMMITTER_IDENT'
    09:19:55.091655 ./git.c:351             trace: built-in: git 'rev-parse' '--verify' '-q' 'HEAD'
    09:19:55.252562 ./git.c:351             trace: built-in: git 'config' '--bool' '--get' 'am.messageid'
    09:19:55.424375 ./git.c:351             trace: built-in: git 'config' '--bool' '--get' 'am.keepcr'
    09:19:55.701929 ./git.c:351             trace: built-in: git 'mailsplit' '-d4' '-o/u/automount/zk745/mainframedevopsscripts/.git/rebase-apply' '-b' '--'
    CEE3204S The system detected a protection exception (System Completion Code=0C4).
             From entry point echo_builtin at compile unit offset +0000032A at entry offset +0000032A at address 2ECCAEF2.
    IDI0001I Fault Analyzer V13R1M0 (UI40640 2016/09/06) invoked by IDIXDCAP using SYS3.FAULTAZR.PARMLIB(IDICNF00)
    IDI0002I Module CELHV003 offset X'663682': Abend S0C4-X'4' (Protection Exception)
    IDI0003I Fault ID F07433 assigned in history file SYS3.FAULTAZR.E100.HISTORY
    <> LEAID ENTERED (LEVEL 05/14/2013 AT 15.14)
    <> LEAID LEAID112 LEAID ACKNOWLEDGES UNSUPPORTED USS ENVIRONMENT
    <> LEAID LEAID112 ABEND-AID PROCESSING SUPPRESSED
    <> LEAID PROCESSING COMPLETE. RC=4
    error: git-am died of signal 11


  • 4.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 13:43

    I have opened RocketTrack issue USSP-867.



  • 5.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 13:43

    Can you check to see if there is a CEEDUMP file in the directory in which this was run?

    Also, does this happen with all rebase commands, or does it matter whether the rebase has conflicts or not, and whether or not there are uncommitted changes in the working directory?



  • 6.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 14:20

    This seems to be happenning with all rebase commands. There was a CEEDUMP in the directory, I clean the directory, but I can do another rebase to get the CEEDUMP



  • 7.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 14:27

    Please do that and attach it to this thread. There are some restrictions on the types of files you can attach; you may need to turn it into a text file (".txt" extension).



  • 8.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 14:49

    Seems text files are not permitted as attachments. I just changed the extension to .doc.

    Please let me know if you can read it CEEDUMP.20170926.143619.83886829.doc (1.1 MB)

    It seems fine:

    $ git config --bool user.foo true
    $ x=$(git config --bool user.foo || echo false); echo $x
    true
    $ git config --bool --unset user.foo
    $ x=$(git config --bool user.foo || echo false); echo $x
    false


  • 9.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 14:55

    Got it, and it’s helpful. Thanks!

    I will not be able to work on this any further today, but someone in another time zone will pick this up.



  • 10.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 15:00

    Thanks for taking the time, really appreciate it!



  • 11.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-29-2017 05:57

    Hi Ahmed,

    Could you run these commands in the git workin directory and supply the output:

    autostash="$(git config --bool rebase.autostash || echo false)"; echo $autostash

    Please, also run this sequence of commands:

    echo $GIT_SHELL
    echo $GIT_EXEC_PATH
    echo $GIT_TEMPLATE_DIR
    ps
    bash --version
    which bash
    set -o
    set
    set > any



  • 12.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-29-2017 09:01


  • 13.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-29-2017 14:06

    Thanks.
    Could you please run bash and next 2 commands:

    /usr/lpp/git/bin/bash
    set -o
    set



  • 14.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-29-2017 14:20


  • 15.  RE: Git Rebase Abend S0C4-X'4'

    Posted 09-26-2017 14:45

    Can you please run this sequence of commands in the git working directory and supply the output?

     git config --bool user.foo true
     x=$(git config --bool user.foo || echo false); echo $x
     git config --bool --unset user.foo
     x=$(git config --bool user.foo || echo false); echo $x
    

    Thanks!



  • 16.  RE: Git Rebase Abend S0C4-X'4'

    Posted 10-26-2017 06:15

    We saw the same error when performing git pull with the Git configuration variable pull.rebase set to true:

    (1) $ git pull                                                           
    CEE3204S The system detected a protection exception (System Completion Code=0C4).
             From entry point echo_builtin at compile unit offset +0000032A at entry offset +0000032A at address 12ACAEF2.
    Current branch master is up to date.
    

    A workaround is to explicitly set the Git configuration variable rebase.autostash to the default value false.

    git config --bool rebase.autostash false
    

    This made the error go away for us.



  • 17.  RE: Git Rebase Abend S0C4-X'4'

    Posted 10-26-2017 09:11

    Hi,

    Thanks for report. We are working on this problem.