lsb

Failure in /convenience/cupsConvenience 37

Bug #1335247 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lsb
In Progress
Medium
Unassigned
Mandriva
In Progress
Medium

Bug Description

I am getting following failure on RHEL-7 testing composes on s390x platform
(only)

400|0 37 1 11:29:56|IC Start
200|0 37 11:29:56|TP Start
520|0 37 00052098 1 1|Test 37
520|0 37 00052098 1 2|When cupsSetDests2 is called to save the list of
destinations for the specified server, the destinations are saved to either
/etc/cups/loptions (root) or ~/.cups/lpoptions (normal user) and the function
returns 0 on success -1 on error
520|0 37 00052098 1 3|unexpected signal 6 (SIGABRT) received
220|0 37 2 11:29:56|UNRESOLVED
410|0 37 1 11:29:56|IC End

I tried to rebuilt the cupsConvenience test suite and it passed. So it is
failing only with the version shipped in LSB.

(gdb) r 37
Starting program: /opt/lsb/test/printing/convenience/cupsConvenience.orig 37
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
*** Error in `/opt/lsb/test/printing/convenience/cupsConvenience.orig':
realloc(): invalid pointer: 0x00000000800063e6 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x8e8b0)[0x3fffdd638b0]
/lib64/libc.so.6(realloc+0x6e4)[0x3fffdd6a110]
/lib64/libcups.so.2(+0x1ec56)[0x3fffdf76c56]
/lib64/libcups.so.2(cupsAddDest+0x182)[0x3fffdf786a6]
/opt/lsb/test/printing/convenience/cupsConvenience.orig[0x8000dbb2]
/opt/lsb/test/printing/convenience/cupsConvenience.orig[0x80009138]
/opt/lsb/test/printing/convenience/cupsConvenience.orig[0x80004e36]
/opt/lsb/test/printing/convenience/cupsConvenience.orig[0x800054f8]
/opt/lsb/test/printing/convenience/cupsConvenience.orig[0x800067e4]
/lib64/libc.so.6(__libc_start_main+0x120)[0x3fffdcf9818]
/opt/lsb/test/printing/convenience/cupsConvenience.orig[0x80004212]
======= Memory map: ========
80000000-80014000 r-xp 00000000 fd:02 75855128
/opt/lsb/test/printing/convenience/cupsConvenience.orig
80014000-80015000 r--p 00014000 fd:02 75855128
/opt/lsb/test/printing/convenience/cupsConvenience.orig
80015000-80017000 rw-p 00015000 fd:02 75855128
/opt/lsb/test/printing/convenience/cupsConvenience.orig
80017000-80038000 rw-p 00000000 00:00 0 [heap]
3fffd67d000-3fffd68e000 r-xp 00000000 fd:02 83886275
/usr/lib64/libgcc_s-4.8.0-20130510.so.1
3fffd68e000-3fffd68f000 r--p 00010000 fd:02 83886275
/usr/lib64/libgcc_s-4.8.0-20130510.so.1
3fffd68f000-3fffd690000 rw-p 00011000 fd:02 83886275
/usr/lib64/libgcc_s-4.8.0-20130510.so.1
3fffd69a000-3fffd69e000 rw-p 00000000 00:00 0
3fffd69e000-3fffd6e7000 r-xp 00000000 fd:02 83892321
/usr/lib64/libpcre.so.1.2.0
3fffd6e7000-3fffd6e8000 r--p 00049000 fd:02 83892321
/usr/lib64/libpcre.so.1.2.0
3fffd6e8000-3fffd6e9000 rw-p 0004a000 fd:02 83892321
/usr/lib64/libpcre.so.1.2.0
3fffd6e9000-3fffd6ea000 rw-p 00000000 00:00 0
3fffd6ea000-3fffd70e000 r-xp 00000000 fd:02 83892339
/usr/lib64/libselinux.so.1
3fffd70e000-3fffd70f000 r--p 00024000 fd:02 83892339
/usr/lib64/libselinux.so.1
3fffd70f000-3fffd710000 rw-p 00025000 fd:02 83892339
/usr/lib64/libselinux.so.1
3fffd710000-3fffd712000 rw-p 00000000 00:00 0
3fffd712000-3fffd773000 r-xp 00000000 fd:02 83886659
/usr/lib64/libfreebl3.so
3fffd773000-3fffd774000 r--p 00061000 fd:02 83886659
/usr/lib64/libfreebl3.so
3fffd774000-3fffd775000 rw-p 00062000 fd:02 83886659
/usr/lib64/libfreebl3.so
3fffd775000-3fffd779000 rw-p 00000000 00:00 0
3fffd779000-3fffd7cb000 r-xp 00000000 fd:02 83892350
/usr/lib64/libdbus-1.so.3.7.2
3fffd7cb000-3fffd7cc000 r--p 00051000 fd:02 83892350
/usr/lib64/libdbus-1.so.3.7.2
3fffd7cc000-3fffd7cd000 rw-p 00052000 fd:02 83892350
/usr/lib64/libdbus-1.so.3.7.2
3fffd7cd000-3fffd7ce000 rw-p 00000000 00:00 0
3fffd7ce000-3fffd853000 r-xp 00000000 fd:02 83892412
/usr/lib64/libgmp.so.10.1.1
3fffd853000-3fffd854000 r--p 00085000 fd:02 83892412
/usr/lib64/libgmp.so.10.1.1
3fffd854000-3fffd85d000 rw-p 00086000 fd:02 83892412
/usr/lib64/libgmp.so.10.1.1
3fffd85d000-3fffd871000 r-xp 00000000 fd:02 84095391
/usr/lib64/libhogweed.so.2.3
3fffd871000-3fffd872000 r--p 00013000 fd:02 84095391
/usr/lib64/libhogweed.so.2.3
3fffd872000-3fffd873000 rw-p 00014000 fd:02 84095391
/usr/lib64/libhogweed.so.2.3
3fffd873000-3fffd8a4000 r-xp 00000000 fd:02 84099201
/usr/lib64/libnettle.so.4.5
3fffd8a4000-3fffd8a5000 r--p 00031000 fd:02 84099201
/usr/lib64/libnettle.so.4.5
3fffd8a5000-3fffd8a6000 rw-p 00032000 fd:02 84099201
/usr/lib64/libnettle.so.4.5
3fffd8a6000-3fffd8a7000 rw-p 00000000 00:00 0
3fffd8a7000-3fffd8bb000 r-xp 00000000 fd:02 84018055
/usr/lib64/libtasn1.so.6.1.1
3fffd8bb000-3fffd8bc000 r--p 00013000 fd:02 84018055
/usr/lib64/libtasn1.so.6.1.1
3fffd8bc000-3fffd8bd000 rw-p 00014000 fd:02 84018055
/usr/lib64/libtasn1.so.6.1.1
3fffd8bd000-3fffd8de000 r-xp 00000000 fd:02 84018057
/usr/lib64/libp11-kit.so.0.0.0
3fffd8de000-3fffd8e0000 r--p 00020000 fd:02 84018057
/usr/lib64/libp11-kit.so.0.0.0
3fffd8e0000-3fffd8e1000 rw-p 00022000 fd:02 84018057
/usr/lib64/libp11-kit.so.0.0.0
3fffd8e1000-3fffd8e9000 r-xp 00000000 fd:02 83889378
/usr/lib64/librt-2.17.so
3fffd8e9000-3fffd8ea000 r--p 00007000 fd:02 83889378
/usr/lib64/librt-2.17.so
3fffd8ea000-3fffd8eb000 rw-p 00008000 fd:02 83889378
/usr/lib64/librt-2.17.so
3fffd8eb000-3fffd8ec000 rw-p 00000000 00:00 0
3fffd8ec000-3fffd905000 r-xp 00000000 fd:02 83889376
/usr/lib64/libresolv-2.17.so
3fffd905000-3fffd906000 r--p 00019000 fd:02 83889376
/usr/lib64/libresolv-2.17.so
3fffd906000-3fffd907000 rw-p 0001a000 fd:02 83889376
/usr/lib64/libresolv-2.17.so
3fffd907000-3fffd909000 rw-p 00000000 00:00 0
3fffd909000-3fffd90c000 r-xp 00000000 fd:02 83934816
/usr/lib64/libkeyutils.so.1.4
3fffd90c000-3fffd90d000 r--p 00002000 fd:02 83934816
/usr/lib64/libkeyutils.so.1.4
3fffd90d000-3fffd90e000 rw-p 00003000 fd:02 83934816
/usr/lib64/libkeyutils.so.1.4
3fffd90e000-3fffd91d000 r-xp 00000000 fd:02 84125142
/usr/lib64/libkrb5support.so.0.1
3fffd91d000-3fffd91e000 r--p 0000e000 fd:02 84125142
/usr/lib64/libkrb5support.so.0.1
3fffd91e000-3fffd91f000 rw-p 0000f000 fd:02 84125142
/usr/lib64/libkrb5support.so.0.1
3fffd91f000-3fffd920000 rw-p 00000000 00:00 0
3fffd920000-3fffd938000 r-xp 00000000 fd:02 83892341
/usr/lib64/libz.so.1.2.7
3fffd938000-3fffd939000 r--p 00017000 fd:02 83892341
/usr/lib64/libz.so.1.2.7
3fffd939000-3fffd93a000 rw-p 00018000 fd:02 83892341
/usr/lib64/libz.so.1.2.7
3fffd93a000-3fffd94a000 r-xp 00000000 fd:02 83889064
/usr/lib64/libcrypt-2.17.so
3fffd94a000-3fffd94b000 r--p 0000f000 fd:02 83889064
/usr/lib64/libcrypt-2.17.so
3fffd94b000-3fffd94c000 rw-p 00010000 fd:02 83889064
/usr/lib64/libcrypt-2.17.so
Program received signal SIGABRT, Aborted.
0x000003fffdd11ce6 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt full
#0 0x000003fffdd11ce6 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
        _ret = 0
        pd = 0x3fffd69b7f0
        pid = 52639
        selftid = 52639
#1 0x000003fffdd1363a in __GI_abort () at abort.c:90
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0},
sa_flags = 4398046508029, sa_restorer = 0x37, sa_mask = {__val = {
              4398011189218, 3, 4398046502616, 8, 4398011189222, 2,
4398046502637, 3, 4398011178222, 1, 4398011189218, 3, 4398046502613, 11,
              4398011189222, 2}}}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x000003fffdd5c848 in __libc_message (do_abort=<optimized out>,
fmt=<optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:196
        ap = {{__gpr = 5, __fpr = 0, __overflow_arg_area = 0x3ffffffe8a0,
__reg_save_area = 0x3ffffffe800}}
        ap_copy = {{__gpr = 2, __fpr = 0, __overflow_arg_area = 0x3ffffffe8a0,
__reg_save_area = 0x3ffffffe800}}
        fd = 9
        on_2 = <optimized out>
        list = <optimized out>
        nlist = <optimized out>
        cp = <optimized out>
        written = <optimized out>
#3 0x000003fffdd638b0 in malloc_printerr (action=<optimized out>,
str=0x3fffde4f168 "realloc(): invalid pointer", ptr=<optimized out>)
    at malloc.c:4916
        buf = "00000000800063e6"
        cp = <optimized out>
#4 0x000003fffdd6a110 in __GI___libc_realloc (oldmem=0x800063e6
<tet_tpstart+478>, bytes=18446744073709379872) at malloc.c:2947
        ar_ptr = <optimized out>
        nb = <optimized out>
        newp = <optimized out>
        hook = <optimized out>
        oldp = 0x800063d6 <tet_tpstart+462>
        oldsize = 1337989686893272
#5 0x000003fffdf76c56 in cups_add_dest (name=0x80010720 <dname> "foo",
instance=0x0, num_dests=num_dests@entry=0x3ffffffeacc,
    dests=dests@entry=0x3ffffffeb78) at dest.c:2540
        insert = <optimized out>
        diff = 1
        dest = <optimized out>
#6 0x000003fffdf786a6 in cupsAddDest (name=0x80010720 <dname> "foo",
instance=0x0, num_dests=-5368, dests=0x3ffffffeb78) at dest.c:322
        i = <optimized out>
        dest = <optimized out>
        parent = 0x0
        doption = <optimized out>
        poption = <optimized out>
#7 0x000000008000dbb2 in test37 ()
No symbol table info available.
#8 0x0000000080009138 in tet_invoketp ()
No symbol table info available.
#9 0x0000000080004e36 in call_1tp ()
No symbol table info available.
#10 0x00000000800054f8 in tet_tcm_main ()
No symbol table info available.
#11 0x00000000800067e4 in main ()
No symbol table info available.

Tags: update
Changed in mandriva:
importance: Unknown → Medium
status: Unknown → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.