z/OS Tools & Language

Expand all | Collapse all

ABEND S0C1 using cURL 7.66.0

  • 1.  ABEND S0C1 using cURL 7.66.0

    Posted 11-08-2019 06:15

    Hello,

    we just installed the new distribution of cURL 7.66.0 on our z/OS V2.2 system, but the first test wasn’t successful. We got a system abend S0C1 with the following message:

    CEE3201S The system detected an operation exception (System Completion Code=0C1)
    From entry point Curl_vsetopt at compile unit offset +0000000028D40146
    at entry offset +000000000000422E at address 0000000028D40146.

    Are there any ideas, what’s going wrong there? Thanks for any help.

    Kind regards.
    Juergen



  • 2.  RE: ABEND S0C1 using cURL 7.66.0

    Posted 11-08-2019 12:04

    Hi Juergen,
    Thanks for report. Which command did you run? Also we need CEEDUMP. Could you attach it, please?

    Thanks,
    Tatiana



  • 3.  RE: ABEND S0C1 using cURL 7.66.0

    Posted 11-08-2019 13:54

    Hello Tatyana,

    we’re running the following REXX procedure

    /* rexx */
    parse arg id .
    p1 = '(cd /tst/software/cbt && /tst/rct20a1/usr/lpp/rocket/curl/bin/curl -v ’
    p2 = '-x http://xxxxxxxxxxxxxxxxxxxxx:xx ’
    p3 = ‘–proxy-user xxxxxxxxxxxx:xxxxxxxxxx ’
    p4 = ‘-O http://www.cbttape.org/ftp/cbt/CBT’id’.zip)’
    cmd = p1 p2 p3 p4
    call bpxwunix ‘‘cmd’’
    file = ‘CBT’id’.zip’
    u1 = ‘/usr/lpp/rocket/unzip/bin/unzip’
    u2 = ‘/tst/software/cbt/’ !! file
    u3 = ‘-d /tst/software/cbt/’
    cmd = u1 u2 u3
    call bpxwunix ‘‘cmd’’
    exit 0

    Proxy-Id, Proxy-User and Proxy-Password are anonymized. The purpose of this procedure is to download and unzip files from cbttape.org which are about 1.000 z/OS freeware tools.

    Kind regards.
    Juergen



  • 4.  RE: ABEND S0C1 using cURL 7.66.0

    Posted 11-08-2019 14:01

    Hello Tatyana,

    how can I send CEEDUMP file, it’s larger than 32k?

    Regards.
    Juergen



  • 5.  RE: ABEND S0C1 using cURL 7.66.0

    Posted 11-08-2019 16:46

    Hello Juergen,

    Since it is an 0C1, it should be sufficient to send the part that says “storage dump near condition” and the top 10 or so entries of the “Traceback” section and the top 10 or so entries in the section “Fully Qualified Names”.

    It would also be useful to see the results of

    uname -Ia

    on your system. (that is capital i, lowercase a)

    regards,

    Rick Harris



  • 6.  RE: ABEND S0C1 using cURL 7.66.0

    Posted 11-08-2019 20:31

    Hello Rick,

    here is the part of CEEDUMP youn mentioned before:

    CEE3DMP V2 R2.0: Condition processing resulted in the unhandled condition. Fri Nov 8 18:44:10 2019 Page: 1
    ASID: 00F8 PID: 65996 Parent PID: 33620430 User name: S0100JK

    CEE3845I CEEDUMP Processing started.

    Information for enclave main

    Information for thread 2972B80000000000

    Traceback:
    DSA Entry E Offset Statement Load Mod Program Unit Service Status
    1 CEEHDSP +00003EF6 CELQLIB CEEHDSP HLE77A0 Call
    2 CEEOSIGJ +00000972 CELQLIB CEEOSIGJ HLE77A0 Call
    3 CELQHROD +00000266 CELQLIB CELQHROD HLE77A0 Call
    4 CEEOSIGG +000BB600 CELQLIB CEEOSIGG HLE77A0 Call
    5 CELQHROD +00000266 CELQLIB CELQHROD HLE77A0 Call
    6 Curl_vsetopt+0000422E curl Exception
    7 curl_easy_setopt
    +00000042 curl Call
    8 tool_setopt +0000014E curl Call
    9 create_transfers
    +000014E2 curl Call
    10 operate_do +000001E8 curl Call
    11 operate +000002C8 curl Call
    12 main +000001A4 curl Call
    13 CELQINIT +00001A98 CELQLIB CELQINIT UI56954 Call

    DSA   DSA Addr          E  Addr             PU Addr           PU Offset   Comp Date Compile Attributes
    1     00000050082F98C0  0000000029745970    0000000029745970  00003EF6    20150304  CEL       POSIX  XPLINK  EBCDIC  HFP
    2     00000050082FC9E0  00000000299E1B10    00000000299E1B10  00000972    20150304  CEL       POSIX  XPLINK  EBCDIC  HFP
    3     00000050082FD400  0000000029759260    0000000029759260  00000266    20150304  CEL       POSIX  XPLINK  EBCDIC  HFP
    4     00000050082FD600  00000000299DAAF0    00000000299DAAF0  000BB600    20150304  CEL       POSIX  XPLINK  EBCDIC  HFP
    5     00000050082FE620  0000000029759260    0000000029759260  00000266    20150304  CEL       POSIX  XPLINK  EBCDIC  HFP
    6     00000050082FE820  0000000028D3BF18    0000000000000000  ********    20191101  C/C++     POSIX  XPLINK  ASCII  IEEE
    7     00000050082FE920  0000000028D40CA8    0000000000000000  ********    20191101  C/C++     POSIX  XPLINK  ASCII  IEEE
    8     00000050082FEA20  0000000028D2DF80    0000000000000000  ********    20191101  C/C++     POSIX  XPLINK  ASCII  IEEE
    9     00000050082FEC20  0000000028D21590    0000000000000000  ********    20191101  C/C++     POSIX  XPLINK  ASCII  IEEE
    10    00000050082FEEE0  0000000028D1FDF0    0000000000000000  ********    20191101  C/C++     POSIX  XPLINK  ASCII  IEEE
    11    00000050082FEFE0  0000000028D27B98    0000000000000000  ********    20191101  C/C++     POSIX  XPLINK  ASCII  IEEE
    12    00000050082FF0E0  0000000028D1D7E0    0000000000000000  ********    20191101  C/C++     POSIX  XPLINK  ASCII  IEEE
    13    00000050082FF220  0000000029549010    0000000029549010  00001A98    20180628  CEL       POSIX  XPLINK  EBCDIC  HFP
    
    Fully Qualified Names
    DSA   Entry       Program Unit                                        Load Module
    6     Curl_vsetopt                                                    /tst/rct20a1/usr/lpp/rocket/curl/bin/curl
    7     curl_easy_setopt
                                                                          /tst/rct20a1/usr/lpp/rocket/curl/bin/curl
    8     tool_setopt                                                     /tst/rct20a1/usr/lpp/rocket/curl/bin/curl
    9     create_transfers
                                                                          /tst/rct20a1/usr/lpp/rocket/curl/bin/curl
    10    operate_do                                                      /tst/rct20a1/usr/lpp/rocket/curl/bin/curl
    11    operate                                                         /tst/rct20a1/usr/lpp/rocket/curl/bin/curl
    12    main                                                            /tst/rct20a1/usr/lpp/rocket/curl/bin/curl
    

    Condition Information for Active Routines
    Condition Information for (DSA address 00000050082FE820)
    CIB Address: 00000050082FAC00
    Current Condition:
    CEE0198S The termination of a thread was signaled due to an unhandled condition.

    CEE3DMP V2 R2.0: Condition processing resulted in the unhandled condition. Fri Nov 8 18:44:10 2019 Page: 2
    ASID: 00F8 PID: 65996 Parent PID: 33620430 User name: S0100JK

      Original Condition:
        CEE3201S The system detected an operation exception (System Completion Code=0C1).
      Location:
        Program Unit:  Entry: Curl_vsetopt
        Statement:     Offset: +0000422E
      Machine State:
        ILC..... 0006    Interruption Code..... 0001
        PSW..... 0785040180000000 0000000028D4014C
        GPR0..... 0000000000000000  GPR1..... 000000500883EDD0  GPR2..... 000000000000002B  GPR3..... 00000050082FF1E8
        GPR4..... 00000050082FE820  GPR5..... 000000500865E3F0  GPR6..... 0000000000000090  GPR7..... 0000000000000010
        GPR8..... 0000000028D40B5E  GPR9..... 000000000000002B  GPR10.... 000000500865E3F0  GPR11.... 000000500883EDD0
        GPR12.... 0000000000000000  GPR13.... 00000050082FF1E8  GPR14.... 00000050082FF2F8  GPR15.... 000000500883EDD0
        FPC...... 00000000
        FPR0..... 432ADFD3  3A25A37B            FPR1..... 4124D763  776AAA2B
        FPR2..... 40B504F3  33F9DE65            FPR3..... 413243F6  A8885A31
        FPR4..... 406F2DEC  549B9439            FPR5..... 416487ED  5110B461
        FPR6..... 40B17217  F7D1CF7A            FPR7..... 411921FB  54442D18
        FPR8..... 00000000  00000000            FPR9..... 00000000  00000000
        FPR10.... 00000000  00000000            FPR11.... 00000000  00000000
        FPR12.... 00000000  00000000            FPR13.... 00000000  00000000
        FPR14.... 00000000  00000000            FPR15.... 00000000  00000000
    
    Storage dump near condition, beginning at location(0000000028D40136)
      +0000 0000000028D40136  BFACB901 0000EB00 003F000C B9160000  !................!
      +0010 0000000028D40146  EC603B3B 04594260 BF42EB06 000400DE  !.-.....-........!
    GPREG STORAGE:
      Storage around GPR0 (0000000000000000)
        +0000 0000000000000000  Inaccessible storage.
        +0010 0000000000000010  Inaccessible storage.
        +0020 0000000000000020  Inaccessible storage.
        +0030 0000000000000030  Inaccessible storage.
        +0040 0000000000000040  Inaccessible storage.
        +0050 0000000000000050  Inaccessible storage.
      Storage around GPR1 (000000500883EDD0)
        -0020 000000500883EDB0  42543131 312E7A69 70000000 00000000  !......:.........!
        -0010 000000500883EDC0  00000050 08800000 00000000 00001780  !...&............!
        +0000 000000500883EDD0  00000000 00000000 00000000 00000000  !................!
        +0010 000000500883EDE0 - +00003F 000000500883EE0F             same as above
      Storage around GPR2 (000000000000002B)
        -0020 000000000000000B  Inaccessible storage.
        -0010 000000000000001B  Inaccessible storage.
        +0000 000000000000002B  Inaccessible storage.
        +0010 000000000000003B  Inaccessible storage.
        +0020 000000000000004B  Inaccessible storage.
        +0030 000000000000005B  Inaccessible storage.
      Storage around GPR3 (00000050082FF1E8)
        -0020 00000050082FF1C8  00000000 7F73A9D0 00000050 08844690  !....".z....&.d..!
        -0010 00000050082FF1D8  00000050 0851E320 00000000 28D2B78A  !...&..T......K..!
        +0000 00000050082FF1E8  00000050 082FF2B0 00000050 082FF2B8  !...&..2....&..2.!
        +0010 00000050082FF1F8  00000050 082FF2FA 00000000 00000002  !...&..2.........!
        +0020 00000050082FF208  00000000 00000100 00000000 00000000  !................!
        +0030 00000050082FF218  00000000 00000000 00000050 082FEC20  !...........&....!
      Storage around GPR4 (00000050082FE820)
        +0800 00000050082FF020  00000050 082FE920 00000000 29E6D180  !...&..Z......WJ.!
        +0810 00000050082FF030  00000050 082FF2B0 00000000 28D40CF0  !...&..2......M.0!
        +0820 00000050082FF040  00000000 28D2EAB8 00000000 00000000  !.....K..........!
        +0830 00000050082FF050  00000000 00000000 00000000 00000000  !................!
    

    CEE3DMP V2 R2.0: Condition processing resulted in the unhandled condition. Fri Nov 8 18:44:10 2019 Page: 3
    ASID: 00F8 PID: 65996 Parent PID: 33620430 User name: S0100JK

        +0840 00000050082FF060  00000000 00000000 00000050 0861FA30  !...........&./..!
        +0850 00000050082FF070  00000050 082FF2F8 00000050 0883EDD0  !...&..28...&.c..!
      Storage around GPR5 (000000500865E3F0)
        -0020 000000500865E3D0  00000050 086151B0 00000000 28E33C10  !...&./.......T..!
        -0010 000000500865E3E0  00000050 086151B0 00000000 28E33E60  !...&./.......T.-!
        +0000 000000500865E3F0  00000050 086D7350 00000050 086D73D0  !...&._.&...&._..!
        +0010 000000500865E400  00000050 086C3AD0 00000000 28D660C8  !...&.%.......O-H!
        +0020 000000500865E410  00000050 08601638 00000000 28D4D728  !...&.-.......MP.!
        +0030 000000500865E420  00000050 08601638 00000000 28D4D6F0  !...&.-.......MO0!
      Storage around GPR6 (0000000000000090)
        -0020 0000000000000070  Inaccessible storage.
        -0010 0000000000000080  Inaccessible storage.
        +0000 0000000000000090  Inaccessible storage.
        +0010 00000000000000A0  Inaccessible storage.
        +0020 00000000000000B0  Inaccessible storage.
        +0030 00000000000000C0  Inaccessible storage.
      Storage around GPR7 (0000000000000010)
        -0010 0000000000000000  Inaccessible storage.
        +0000 0000000000000010  Inaccessible storage.
        +0010 0000000000000020  Inaccessible storage.
        +0020 0000000000000030  Inaccessible storage.
        +0030 0000000000000040  Inaccessible storage.
        +0040 0000000000000050  Inaccessible storage.
      Storage around GPR8 (0000000028D40B5E)
        -0020 0000000028D40B3E  0024E300 60000004 E300B718 0024B914  !..T.-...T.......!
        -0010 0000000028D40B4E  003CEB7E 48180004 41404100 47F07002  !...=..... ...0..!
        +0000 0000000028D40B5E  0000FFFF FFFFFFFF FFFA0000 00000000  !................!
        +0010 0000000028D40B6E  00020000 00000000 00010000 00000000  !................!
        +0020 0000000028D40B7E  00030000 0000FFFF FFFF0000 00000000  !................!
        +0030 0000000028D40B8E  00070000 00000000 00100000 00000000  !................!
      Storage around GPR9 (000000000000002B)
        -0020 000000000000000B  Inaccessible storage.
        -0010 000000000000001B  Inaccessible storage.
        +0000 000000000000002B  Inaccessible storage.
        +0010 000000000000003B  Inaccessible storage.
        +0020 000000000000004B  Inaccessible storage.
        +0030 000000000000005B  Inaccessible storage.
      Storage around GPR10(000000500865E3F0)
        -0020 000000500865E3D0  00000050 086151B0 00000000 28E33C10  !...&./.......T..!
        -0010 000000500865E3E0  00000050 086151B0 00000000 28E33E60  !...&./.......T.-!
        +0000 000000500865E3F0  00000050 086D7350 00000050 086D73D0  !...&._.&...&._..!
        +0010 000000500865E400  00000050 086C3AD0 00000000 28D660C8  !...&.%.......O-H!
        +0020 000000500865E410  00000050 08601638 00000000 28D4D728  !...&.-.......MP.!
        +0030 000000500865E420  00000050 08601638 00000000 28D4D6F0  !...&.-.......MO0!
      Storage around GPR11(000000500883EDD0)
        -0020 000000500883EDB0  42543131 312E7A69 70000000 00000000  !......:.........!
        -0010 000000500883EDC0  00000050 08800000 00000000 00001780  !...&............!
        +0000 000000500883EDD0  00000000 00000000 00000000 00000000  !................!
        +0010 000000500883EDE0 - +00003F 000000500883EE0F             same as above
      Storage around GPR12(0000000000000000)
        +0000 0000000000000000  Inaccessible storage.
        +0010 0000000000000010  Inaccessible storage.
        +0020 0000000000000020  Inaccessible storage.
        +0030 0000000000000030  Inaccessible storage.
        +0040 0000000000000040  Inaccessible storage.
        +0050 0000000000000050  Inaccessible storage.
    

    CEE3DMP V2 R2.0: Condition processing resulted in the unhandled condition. Fri Nov 8 18:44:10 2019 Page: 4
    ASID: 00F8 PID: 65996 Parent PID: 33620430 User name: S0100JK

      Storage around GPR13(00000050082FF1E8)
        -0020 00000050082FF1C8  00000000 7F73A9D0 00000050 08844690  !....".z....&.d..!
        -0010 00000050082FF1D8  00000050 0851E320 00000000 28D2B78A  !...&..T......K..!
        +0000 00000050082FF1E8  00000050 082FF2B0 00000050 082FF2B8  !...&..2....&..2.!
        +0010 00000050082FF1F8  00000050 082FF2FA 00000000 00000002  !...&..2.........!
        +0020 00000050082FF208  00000000 00000100 00000000 00000000  !................!
        +0030 00000050082FF218  00000000 00000000 00000050 082FEC20  !...........&....!
      Storage around GPR14(00000050082FF2F8)
        -0020 00000050082FF2D8  00000000 00000000 00000000 00000000  !................!
        -0010 00000050082FF2E8 - +FFFFFF 00000050082FF2F7             same as above
        +0000 00000050082FF2F8  304C0034 30304C00 00000000 00000000  !.<....<.........!
        +0010 00000050082FF308  00000000 0000002A 00000050 08633DC0  !...........&....!
        +0020 00000050082FF318  00000000 00000000 00000000 00000000  !................!
        +0030 00000050082FF328  00000050 001055E8 00000000 28D40CA8  !...&...Y.....M.y!
      Storage around GPR15(000000500883EDD0)
        -0020 000000500883EDB0  42543131 312E7A69 70000000 00000000  !......:.........!
        -0010 000000500883EDC0  00000050 08800000 00000000 00001780  !...&............!
        +0000 000000500883EDD0  00000000 00000000 00000000 00000000  !................!
        +0010 000000500883EDE0 - +00003F 000000500883EE0F             same as above
    

    Regards.
    Juergen



  • 7.  RE: ABEND S0C1 using cURL 7.66.0

    Posted 11-08-2019 20:38

    Hello Rick,

    uname -Ia brings z/OS R1S1 02.00 02 2818

    Regards
    Juergen



  • 8.  RE: ABEND S0C1 using cURL 7.66.0

    Posted 11-12-2019 08:40

    Hello Juergen,

    Uname output indicates that your hardware is model 2818, which corresponds to z/Architecture level 9. Unfortunately curl 7.66.0 requires at least architecture level 10 to work properly. The abend is caused by an instruction (namely, RISBGN) that is not supported by your CPU.

    You can read more about various architecture levels on this page:

    https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.cbcux01/archcop.htm

    Regards,
    Vladimir Ein



  • 9.  RE: ABEND S0C1 using cURL 7.66.0

    Posted 11-12-2019 09:00

    Hello Vladimir,

    thanks for this information. Fortunately we are just in the process migrating our hardware from z114 to z14 ZR1 in the next weeks. Another question
    would be, if the hardware change is sufficient or if this requires also a change in the operating system as well. Further IMHO it would be good idea to document this requirement somewhere in a README file, or did I oversee this?

    image001.jpg



  • 10.  RE: ABEND S0C1 using cURL 7.66.0

    Posted 11-12-2019 11:34

    Hello Juergen,

    Upgrading your hardware will be sufficient because the minimum OS level required for curl is z/OS 2.1. As for listing the requirements somewhere in the README file - it’s currently not documented in the README, but we’ll take your suggestion into consideration.

    Thanks,
    Vladimir