Bug 1317949

Summary: crash on ppc64le
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: ghostscriptAssignee: David Kaspar // Dee'Kej <deekej>
Status: CLOSED DUPLICATE QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 7.3CC: deekej, kdudka, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-11 11:25:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1250914    
Bug Blocks:    

Description Vladimir Benes 2016-03-15 15:17:38 UTC
Description of problem:
running gs from command line:
[root@ibm-p8-05-lp2 ~]# gs
GPL Ghostscript 9.07 (2013-02-14)
Copyright (C) 2012 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Segmentation fault (core dumped)


Version-Release number of selected component (if applicable):
ghostscript-9.07-18.el7.ppc64le


backtrace:
#0  cmsGetColorSpace (hProfile=0x0) at cmsio0.c:901
        Icc = 0x0
#1  0x00003fffb76cb818 in gscms_get_input_channel_count (
    profile=<optimized out>) at base/gsicc_lcms2.c:110
        colorspace = <optimized out>
#2  0x00003fffb76c757c in gsicc_set_device_profile (pdev=0x100de078, 
    mem=0x10031e68, file_name=<optimized out>, pro_enum=<optimized out>)
    at base/gsicc_manage.c:1553
        icc_profile = 0x101eb570
        str = 0x10384b60
        __FUNCTION__ = "gsicc_set_device_profile"
#3  0x00003fffb76c792c in gsicc_init_device_profile_struct (dev=0x100de078, 
    profile_name=0x10384b38 "default_rgb.icc", profile_type=<optimized out>)
    at base/gsicc_manage.c:1477
        code = <optimized out>
        curr_profile = <optimized out>
        profile_struct = <optimized out>
#4  0x00003fffb7887bf0 in gs_setdevice_no_erase (pgs=0x10066ac8, 
    dev=0x100de078) at base/gsdevice.c:472
        dev_profile = 0x0
        open_code = 0
        code = <optimized out>
        libctx = 0x100301e0
#5  0x00003fffb76372b0 in zsetdevice (i_ctx_p=0x100828d8) at psi/zdevice.c:467
        dev = <optimized out>
        op = 0x1006b708
        code = 0
#6  0x00003fffb75f7dd8 in interp (pi_ctx_p=0x100303d8, pref=<optimized out>, 
    perror_object=0x3fffffffdfc8) at psi/interp.c:1552
        index = <optimized out>
        i_ctx_p = <optimized out>
        iref_packed = 0x1005cf9e
        icount = 2
        iosp = 0x1006b708
        iesp = 0x1006ea98
        code = <optimized out>
        token = {tas = {type_attrs = 3460, rsize = 84}, value = {
            intval = 268644824, boolval = 12760, realval = 2.58735929e-29, 
            saveid = 268644824, bytes = 0x100331d8 "\270\354\005\020", 
            const_bytes = 0x100331d8 "\270\354\005\020", refs = 0x100331d8, 
            const_refs = 0x100331d8, pname = 0x100331d8, 
            const_pname = 0x100331d8, pdict = 0x100331d8, 
            const_pdict = 0x100331d8, packed = 0x100331d8, 
            writable_packed = 0x100331d8, opproc = 0x100331d8, 
            pfile = 0x100331d8, pdevice = 0x100331d8, pstruct = 0x100331d8, 
            dummy = 268644824}}
        pvalue = <optimized out>
        opindex = <optimized out>
        whichp = <optimized out>
        ierror = {code = -20, line = 1576, obj = 0x3fffffffd0b0, full = {
            tas = {type_attrs = 3968, rsize = 816}, value = {
              intval = 70367525840064, boolval = 42176, 
              realval = -1.34494039e-05, saveid = 70367525840064, 
              bytes = 0x3fffb761a4c0 <zbind> "a", 
              const_bytes = 0x3fffb761a4c0 <zbind> "a", 
              refs = 0x3fffb761a4c0 <zbind>, 
              const_refs = 0x3fffb761a4c0 <zbind>, 
              pname = 0x3fffb761a4c0 <zbind>, 
              const_pname = 0x3fffb761a4c0 <zbind>, 
              pdict = 0x3fffb761a4c0 <zbind>, 
              const_pdict = 0x3fffb761a4c0 <zbind>, 
              packed = 0x3fffb761a4c0 <zbind>, 
              writable_packed = 0x3fffb761a4c0 <zbind>, 
              opproc = 0x3fffb761a4c0 <zbind>, pfile = 0x3fffb761a4c0 <zbind>, 
              pdevice = 0x3fffb761a4c0 <zbind>, 
              pstruct = 0x3fffb761a4c0 <zbind>, dummy = 70367525840064}}}
        int_nt = 0x1004b828
        ticks_left = 5
#7  0x00003fffb75f877c in gs_call_interp (perror_object=0x3fffffffdfc8, 
    pexit_code=0x3fffffffdfc4, user_errors=<optimized out>, 
    pref=<optimized out>, pi_ctx_p=0x100303d8) at psi/interp.c:501
        doref = {tas = {type_attrs = 1768, rsize = 1}, value = {
            intval = 270983592, boolval = 57768, realval = 3.29115668e-29, 
            saveid = 270983592, 
            bytes = 0x1026e1a8 "\202", <incomplete sequence \340>, 
            const_bytes = 0x1026e1a8 "\202", <incomplete sequence \340>, 
            refs = 0x1026e1a8, const_refs = 0x1026e1a8, pname = 0x1026e1a8, 
            const_pname = 0x1026e1a8, pdict = 0x1026e1a8, 
            const_pdict = 0x1026e1a8, packed = 0x1026e1a8, 
            writable_packed = 0x1026e1a8, opproc = 0x1026e1a8, 
            pfile = 0x1026e1a8, pdevice = 0x1026e1a8, pstruct = 0x1026e1a8, 
            dummy = 270983592}}
        error_name = {tas = {type_attrs = 3332, rsize = 113}, value = {
            intval = 268645056, boolval = 12992, realval = 2.5874291e-29, 
            saveid = 268645056, bytes = 0x100332c0 "\001", 
            const_bytes = 0x100332c0 "\001", refs = 0x100332c0, 
            const_refs = 0x100332c0, pname = 0x100332c0, 
            const_pname = 0x100332c0, pdict = 0x100332c0, 
            const_pdict = 0x100332c0, packed = 0x100332c0, 
            writable_packed = 0x100332c0, opproc = 0x100332c0, 
            pfile = 0x100332c0, pdevice = 0x100332c0, pstruct = 0x100332c0, 
            dummy = 268645056}}
        ccode = <optimized out>
        saref = {tas = {type_attrs = 4168, rsize = 0}, value = {
            intval = 70367523962880, boolval = 0, realval = -1.1742115e-05, 
            saveid = 70367523962880, 
            bytes = 0x3fffb7450000 "\177ELF\002\001\001", 
            const_bytes = 0x3fffb7450000 "\177ELF\002\001\001", 
            refs = 0x3fffb7450000, const_refs = 0x3fffb7450000, 
            pname = 0x3fffb7450000, const_pname = 0x3fffb7450000, 
            pdict = 0x3fffb7450000, const_pdict = 0x3fffb7450000, 
            packed = 0x3fffb7450000, writable_packed = 0x3fffb7450000, 
            opproc = 0x3fffb7450000, pfile = 0x3fffb7450000, 
            pdevice = 0x3fffb7450000, pstruct = 0x3fffb7450000, 
            dummy = 70367523962880}}
        i_ctx_p = 0x100828d8
        perrordict = 0x10060958
        gc_signal = 0
        epref = 0x3fffffffd878
        code = <optimized out>
#8  gs_interpret (pi_ctx_p=0x100303d8, pref=<optimized out>, 
    user_errors=<optimized out>, pexit_code=0x3fffffffdfc4, 
    perror_object=0x3fffffffdfc8) at psi/interp.c:459
        i_ctx_p = <optimized out>
        error_root = {next = 0x10037e60, 
          ptype = 0x3fffb7a956a0 <ptr_ref_procs>, p = 0x3fffffffd858, 
          free_on_unregister = 0}
#9  0x00003fffb75e8d04 in gs_main_interpret (perror_object=0x3fffffffdfc8, 
    pexit_code=0x3fffffffdfc4, user_errors=<optimized out>, 
    pref=0x3fffffffd9e0, minst=0x10030340) at psi/imain.c:235
No locals.
#10 gs_run_init_file (minst=0x10030340, pexit_code=0x3fffffffdfc4, 
    perror_object=0x3fffffffdfc8) at psi/imain.c:540
        i_ctx_p = 0x100667e8
        ifile = {tas = {type_attrs = 1000, rsize = 1}, value = {
            intval = 269202000, boolval = 45648, realval = 2.75502834e-29, 
            saveid = 269202000, bytes = 0x100bb250 "@;\251\267\377?", 
            const_bytes = 0x100bb250 "@;\251\267\377?", refs = 0x100bb250, 
            const_refs = 0x100bb250, pname = 0x100bb250, 
            const_pname = 0x100bb250, pdict = 0x100bb250, 
            const_pdict = 0x100bb250, packed = 0x100bb250, 
            writable_packed = 0x100bb250, opproc = 0x100bb250, 
            pfile = 0x100bb250, pdevice = 0x100bb250, pstruct = 0x100bb250, 
            dummy = 269202000}}
        first_token = {tas = {type_attrs = 2816, rsize = 16383}, value = {
            intval = 907, boolval = 907, realval = 1.27097771e-42, 
            saveid = 907, bytes = 0x38b <Address 0x38b out of bounds>, 
            const_bytes = 0x38b <Address 0x38b out of bounds>, refs = 0x38b, 
            const_refs = 0x38b, pname = 0x38b, const_pname = 0x38b, 
            pdict = 0x38b, const_pdict = 0x38b, packed = 0x38b, 
            writable_packed = 0x38b, opproc = 0x38b, pfile = 0x38b, 
            pdevice = 0x38b, pstruct = 0x38b, dummy = 907}}
        code = <optimized out>
        state = {s_file = {tas = {type_attrs = 1000, rsize = 1}, value = {
              intval = 269202000, boolval = 45648, realval = 2.75502834e-29, 
              saveid = 269202000, bytes = 0x100bb250 "@;\251\267\377?", 
              const_bytes = 0x100bb250 "@;\251\267\377?", refs = 0x100bb250, 
              const_refs = 0x100bb250, pname = 0x100bb250, 
              const_pname = 0x100bb250, pdict = 0x100bb250, 
              const_pdict = 0x100bb250, packed = 0x100bb250, 
              writable_packed = 0x100bb250, opproc = 0x100bb250, 
              pfile = 0x100bb250, pdevice = 0x100bb250, pstruct = 0x100bb250, 
              dummy = 269202000}}, s_pstack = 0, s_pdepth = 16383, 
          s_options = 0, s_scan_type = scanning_none, s_da = {
            base = 0x3fffb7477238 "", 
            next = 0x3fffb746fb40 <incomplete sequence \357>, 
            limit = 0x100000000 <Address 0x100000000 out of bounds>, 
            is_dynamic = 3745, 
            buf = "\001\000\000\000\001", '\000' <repeats 15 times>, "\320\333\377\377\377?", '\000' <repeats 34 times>, "\200)\377\267\377?\000\000;\301\312\020\000\000\000\000\260\333\377\377\377?\000\000\063\000\000\000\000\000\000\000[\000\000\000\000\000\000\000\240Y?\267\377?\000\000n\000\000\000\000\000\000\000w\000\000\000\000\000\000\000|\000\000\000\000\000\000\000\200\332\377\377\377?\000\000\320V?\267\377?\000\000P\334\377\377\377?\000\000k\000\000\000\000\000\000\000\240Y?\267\377?\000\000p\000\000\000\000\000\000\000w\000\000\000\000\000\000\000|\000\000\000\000\000\000\000\300\332\377\377\377"..., 
            memory = 0x100612c8}, s_ss = {binary = {num_format = 12, 
              cont = 0x7fffffff8, bin_array = {tas = {type_attrs = 37376, 
                  rsize = 2821098661}, value = {intval = 70368744173448, 
                  boolval = 61320, realval = -nan(0x7fef88), 
                  saveid = 70368744173448, 
                  bytes = 0x3fffffffef88 "\355\362\377\377\377?", 
                  const_bytes = 0x3fffffffef88 "\355\362\377\377\377?", 
                  refs = 0x3fffffffef88, const_refs = 0x3fffffffef88, 
                  pname = 0x3fffffffef88, const_pname = 0x3fffffffef88, 
                  pdict = 0x3fffffffef88, const_pdict = 0x3fffffffef88, 
                  packed = 0x3fffffffef88, writable_packed = 0x3fffffffef88, 
                  opproc = 0x3fffffffef88, pfile = 0x3fffffffef88, 
                  pdevice = 0x3fffffffef88, pstruct = 0x3fffffffef88, 
                  dummy = 70368744173448}}, index = 3079969992, 
              max_array_index = 16383, min_string_index = 3080563304, 
              top_size = 16383, size = 3079969960, token_type = 16383, 
              lsize = 70367529180408}, s_name = {s_name_type = 12, 
              s_try_number = 0}, st = {templat = 0xc, memory = 0x7fffffff8, 
              report_error = 0xa8268ca57aad9200, min_left = -4216, 
              error_string = "\377?\000\000Ȝ\224\267\377?\000\000h\252\235\267\377?\000\000\250\234\224\267\377?\000\000\370\234\224\267\377?\000\000\200\003\003\020\000\000\000\000Pi\006\020\000\000\000\000\330\336\377\377\377?\000\000\330i\006\020\000\000\000\000\b\222\224\267\377?\000\000 \337\377\377"}, a85d = {
              templat = 0xc, memory = 0x7fffffff8, 
              report_error = 0xa8268ca57aad9200, min_left = -4216, 
              error_string = "\377?\000\000Ȝ\224\267\377?\000\000h\252\235\267\377?\000\000\250\234\224\267\377?\000\000\370\234\224\267\377?\000\000\200\003\003\020\000\000\000\000Pi\006\020\000\000\000\000\330\336\377\377\377?\000\000\330i\006\020\000\000\000\000\b\222\224\267\377?\000\000 \337\377\377", 
              odd = 16383, word = 8704, pdf_rules = -1218500456, 
              require_eod = 16383}, axd = {templat = 0xc, 
              memory = 0x7fffffff8, report_error = 0xa8268ca57aad9200, 
              min_left = -4216, 
              error_string = "\377?\000\000Ȝ\224\267\377?\000\000h\252\235\267\377?\000\000\250\234\224\267\377?\000\000\370\234\224\267\377?\000\000\200\003\003\020\000\000\000\000Pi\006\020\000\000\000\000\330\336\377\377\377?\000\000\330i\006\020\000\000\000\000\b\222\224\267\377?\000\000 \337\377\377", 
              odd = 16383}, pssd = {templat = 0xc, memory = 0x7fffffff8, 
              report_error = 0xa8268ca57aad9200, min_left = -4216, 
              error_string = "\377?\000\000Ȝ\224\267\377?\000\000h\252\235\267\377?\000\000\250\234\224\267\377?\000\000\370\234\224\267\377?\000\000\200\003\003\020\000\000\000\000Pi\006\020\000\000\000\000\330\336\377\377\377?\000\000\330i\006\020\000\000\000\000\b\222\224\267\377?\000\000 \337\377\377", 
              from_string = 16383, depth = 8704}}, s_error = {object = {tas = {
                type_attrs = 0, rsize = 16383}, value = {
                intval = 70368744169376, boolval = 57248, 
                realval = -nan(0x7fdfa0), saveid = 70368744169376, 
                bytes = 0x3fffffffdfa0 "\020\340\377\377\377?", 
                const_bytes = 0x3fffffffdfa0 "\020\340\377\377\377?", 
                refs = 0x3fffffffdfa0, const_refs = 0x3fffffffdfa0, 
                pname = 0x3fffffffdfa0, const_pname = 0x3fffffffdfa0, 
                pdict = 0x3fffffffdfa0, const_pdict = 0x3fffffffdfa0, 
                packed = 0x3fffffffdfa0, writable_packed = 0x3fffffffdfa0, 
                opproc = 0x3fffffffdfa0, pfile = 0x3fffffffdfa0, 
                pdevice = 0x3fffffffdfa0, pstruct = 0x3fffffffdfa0, 
                dummy = 70368744169376}}, is_name = 0, 
            string = "\000\002\000\000@E\003\020\000\000\000\000\000\222\255z\245\214&\250\344K\374\267\377?\000\000\210\357\377\377\a@\000\000\330\337\377\377\377?\000\000\b\222\224\267\377?\000\000\330i\006\020\000\000\000\000@\003\003\020\000\000\000\000\240\337\377\377\377?\000\000\240\340\377\377\377?\000\000\244C_\267\377?\000\000\070N·\377?\000\000`\262m\267\377?\000\000\000\222\255z\245\214&\250\210\357\377\377\377"}}
#11 0x00003fffb75e93f0 in gs_main_init2aux (minst=0x10030340)
    at psi/imain.c:277
        code = <optimized out>
        exit_code = 0
        error_object = {tas = {type_attrs = 3584, rsize = 816}, value = {
            intval = 70367525840064, boolval = 42176, 
            realval = -1.34494039e-05, saveid = 70367525840064, 
            bytes = 0x3fffb761a4c0 <zbind> "a", 
            const_bytes = 0x3fffb761a4c0 <zbind> "a", 
            refs = 0x3fffb761a4c0 <zbind>, 
            const_refs = 0x3fffb761a4c0 <zbind>, 
            pname = 0x3fffb761a4c0 <zbind>, 
            const_pname = 0x3fffb761a4c0 <zbind>, 
            pdict = 0x3fffb761a4c0 <zbind>, 
            const_pdict = 0x3fffb761a4c0 <zbind>, 
            packed = 0x3fffb761a4c0 <zbind>, 
            writable_packed = 0x3fffb761a4c0 <zbind>, 
            opproc = 0x3fffb761a4c0 <zbind>, pfile = 0x3fffb761a4c0 <zbind>, 
            pdevice = 0x3fffb761a4c0 <zbind>, 
            pstruct = 0x3fffb761a4c0 <zbind>, dummy = 70367525840064}}
        ifa = {tas = {type_attrs = 4704, rsize = 65}, value = {
            intval = 70367529181712, boolval = 41488, 
            realval = -1.77184411e-05, saveid = 70367529181712, 
            bytes = 0x3fffb794a210 <gs_emulators> "PostScript", 
            const_bytes = 0x3fffb794a210 <gs_emulators> "PostScript", 
            refs = 0x3fffb794a210 <gs_emulators>, 
            const_refs = 0x3fffb794a210 <gs_emulators>, 
            pname = 0x3fffb794a210 <gs_emulators>, 
            const_pname = 0x3fffb794a210 <gs_emulators>, 
            pdict = 0x3fffb794a210 <gs_emulators>, 
            const_pdict = 0x3fffb794a210 <gs_emulators>, 
            packed = 0x3fffb794a210 <gs_emulators>, 
            writable_packed = 0x3fffb794a210 <gs_emulators>, 
            opproc = 0x3fffb794a210 <gs_emulators>, 
            pfile = 0x3fffb794a210 <gs_emulators>, 
            pdevice = 0x3fffb794a210 <gs_emulators>, 
            pstruct = 0x3fffb794a210 <gs_emulators>, dummy = 70367529181712}}
        i_ctx_p = <optimized out>
#12 0x00003fffb75e9c58 in gs_main_init2 (minst=0x10030340) at psi/imain.c:310
        i_ctx_p = 0x100828d8
        code = <optimized out>
#13 0x00003fffb75ed288 in gs_main_init_with_args (minst=0x10030340, 
    argc=<optimized out>, argv=0x3fffffffef88) at psi/imainarg.c:234
        arg = 0x0
        args = {expand_ats = 1, 
          arg_fopen = 0x3fffb75ea580 <gs_main_arg_fopen>, 
          fopen_data = 0x10030340, argp = 0x3fffffffef90, argn = 0, depth = 0, 
          cstr = "\200\017\377\267\377?\000\000P\345\377\377\377?\000\000\001\000\000\000\377?\000\000\200n\377\267\377?\000\000\260\340\377\377\377?\000\000\260\345\377\377\377?\000\000\200\017\377\267\377?\000\000P\345\377\377\377?\000\000\001\000\000\000\377?\000\000\260i\377\267\377?\000\000\340\340\377\377\377?\000\000\260\345\377\377\377?\000\000\200\017\377\267\377?\000\000P\345\377\377\377?\000\000\001\000\000\000\377?\000\000\340d\377\267\377?\000\000\020\341\377\377\377?\000\000\260\345\377\377\377?\000\000\200\017\377\267\377?\000\000P\345\377\377\377?\000\000\001\000\000\000\377?\000\000\020`\377\267\377?\000\000@\341\377\377\377?\000\000\260\345\377\377\377?\000\000\200\017\377\267\377?\000\000"..., sources = {{is_file = -5920, u = {s = {parsed = -5536, chars = 0x0, 
                  memory = 0x3fffb7fbe7f4 <_dl_lookup_symbol_x+324>, 
                  str = 0x7d4cb8 <Address 0x7d4cb8 out of bounds>}, 
                file = 0x3fffffffea60}}, {is_file = 1, u = {s = {parsed = 0, 
                  chars = 0x1 <Address 0x1 out of bounds>, memory = 0x0, 
                  str = 0x1 <Address 0x1 out of bounds>}, file = 0x0}}, {
              is_file = -1208015352, u = {s = {parsed = 51, 
                  chars = 0x5b <Address 0x5b out of bounds>, memory = 0x1, 
                  str = 0x0}, file = 0x33}}, {is_file = 1, u = {s = {
                  parsed = -1208020752, chars = 0x3fffffffe920 "\001", 
                  memory = 0x3fffb73f56d0, 
                  str = 0xffffc000000016f1 <Address 0xffffc000000016f1 out of bounds>}, file = 0x3fffb7ff10f0}}, {is_file = -5873, u = {s = {
                  parsed = -1220109912, chars = 0x3fffb7ff2608 "", 
                  memory = 0x0, 
                  str = 0xffffffff <Address 0xffffffff out of bounds>}, 
                file = 0x3fffb74699a8}}, {is_file = 0, u = {s = {parsed = 0, 
                  chars = 0x0, memory = 0x0, str = 0x0}, file = 0x0}}, {
              is_file = 0, u = {s = {parsed = 0, chars = 0x0, memory = 0x0, 
                  str = 0x0}, file = 0x0}}, {is_file = 0, u = {s = {
                  parsed = 0, chars = 0x0, memory = 0x7d2990, 
                  str = 0x3fffb7450000 "\177ELF\002\001\001"}, file = 0x0}}, {
              is_file = -1219214464, u = {s = {parsed = -4216, 
                  chars = 0x3fffb7ff2608 "", memory = 0x3fffffffea90, 
                  str = 0x0}, file = 0x3fffffffef88}}, {is_file = -1208202268, 
              u = {s = {parsed = 268437408, chars = 0x3fffb74699a8 "\255", 
                  memory = 0x3fffb7ff10f0, str = 0x3fffffffeac0 ""}, 
                file = 0x100007a0}}}}
        code = 0
#14 0x00003fffb75ee8ac in gsapi_init_with_args (lib=<optimized out>, 
    argc=<optimized out>, argv=<optimized out>) at psi/iapi.c:180
        ctx = <optimized out>
#15 0x0000000010000ac8 in main (argc=<optimized out>, argv=0x3fffffffef88)
    at psi/dxmainc.c:86
        exit_status = <optimized out>
        code = <optimized out>
        code1 = <optimized out>
        instance = 0x100301e0
        exit_code = 0

Comment 1 Kamil Dudka 2016-03-15 16:58:41 UTC
Is this a duplicate of bug #1297828 and bug #1243784?