Bug 990069 - Trace back when you try to attach more than available quantity
Summary: Trace back when you try to attach more than available quantity
Keywords:
Status: CLOSED DUPLICATE of bug 988430
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510
TreeView+ depends on / blocked
 
Reported: 2013-07-30 10:29 UTC by Shwetha Kallesh
Modified: 2013-07-30 15:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-30 15:46:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Shwetha Kallesh 2013-07-30 10:29:58 UTC
Description of problem:
Trace back when you try to attach more  than available quantity

Version-Release number of selected component (if applicable):
[root@client64vm ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.17-1
subscription-manager: 1.9.0-1.git.55.dc62f78.el5
python-rhsm: 1.9.0-1.git.3.337cfd0.el5


How reproducible:


Steps to Reproduce:
1.

[root@client64vm ~]# subscription-manager list --avail
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+

 Subscription Name: Awesome OS for All Arch (x86content)
SKU:               awesomeos-all-x86-cont
Pool ID:           8ac6a3a2400fdfa801400fe0c89e0711
Available:         5
Service Level:     
Service Type:      
Multi-Entitlement: Yes
Ends:              07/24/2014
System Type:       Physical


root@client64vm ~]# subscription-manager attach --pool 8ac6a3a2400fdfa801400fe0c89e0711 --quantity 199999
No subscriptions are available from the pool with ID '8ac6a3a2400fdfa801400fe0c89e0711'.
*** glibc detected *** /usr/bin/python: corrupted double-linked list: 0x000000001b7f0df0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x333ce717c8]
/lib64/libc.so.6(cfree+0x4b)[0x333ce7597b]
/usr/lib64/libpython2.4.so.1.0[0x334ec98253]
/usr/lib64/libpython2.4.so.1.0[0x334ec4cd43]
/usr/lib64/libpython2.4.so.1.0[0x334ec5a727]
/usr/lib64/libpython2.4.so.1.0(PyDict_SetItem+0x89)[0x334ec5c9f9]
/usr/lib64/libpython2.4.so.1.0(_PyModule_Clear+0x15d)[0x334ec5e24d]
/usr/lib64/libpython2.4.so.1.0(PyImport_Cleanup+0x23d)[0x334ecae64d]
/usr/lib64/libpython2.4.so.1.0(Py_Finalize+0xb3)[0x334ecb4cd3]
/usr/lib64/libpython2.4.so.1.0(Py_Exit+0x8)[0x334ecb4de8]
/usr/lib64/libpython2.4.so.1.0[0x334ecb4ea0]
/usr/lib64/libpython2.4.so.1.0(PyErr_PrintEx+0x165)[0x334ecb50b5]
/usr/lib64/libpython2.4.so.1.0(PyRun_SimpleFileExFlags+0xfd)[0x334ecb545d]
/usr/lib64/libpython2.4.so.1.0(Py_Main+0xaf9)[0x334ecbbdc9]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x333ce1d9c4]
/usr/bin/python[0x400629]
======= Memory map: ========
00400000-00401000 r-xp 00000000 fd:00 1108772                            /usr/bin/python
00600000-00601000 rw-p 00000000 fd:00 1108772                            /usr/bin/python
1b7d5000-1c5a9000 rw-p 1b7d5000 00:00 0                                  [heap]
333ca00000-333ca1c000 r-xp 00000000 fd:00 1786710                        /lib64/ld-2.5.so
333cc1c000-333cc1d000 r--p 0001c000 fd:00 1786710                        /lib64/ld-2.5.so
333cc1d000-333cc1e000 rw-p 0001d000 fd:00 1786710                        /lib64/ld-2.5.so
333ce00000-333cf4f000 r-xp 00000000 fd:00 1786711                        /lib64/libc-2.5.so
333cf4f000-333d14f000 ---p 0014f000 fd:00 1786711                        /lib64/libc-2.5.so
333d14f000-333d153000 r--p 0014f000 fd:00 1786711                        /lib64/libc-2.5.so
333d153000-333d154000 rw-p 00153000 fd:00 1786711                        /lib64/libc-2.5.so
333d154000-333d159000 rw-p 333d154000 00:00 0 
333d200000-333d282000 r-xp 00000000 fd:00 1786724                        /lib64/libm-2.5.so
333d282000-333d481000 ---p 00082000 fd:00 1786724                        /lib64/libm-2.5.so
333d481000-333d482000 r--p 00081000 fd:00 1786724                        /lib64/libm-2.5.so
333d482000-333d483000 rw-p 00082000 fd:00 1786724                        /lib64/libm-2.5.so
333d600000-333d614000 r-xp 00000000 fd:00 1786716                        /lib64/libz.so.1.2.3
333d614000-333d813000 ---p 00014000 fd:00 1786716                        /lib64/libz.so.1.2.3
333d813000-333d814000 rw-p 00013000 fd:00 1786716                        /lib64/libz.so.1.2.3
333da00000-333da02000 r-xp 00000000 fd:00 1786712                        /lib64/libdl-2.5.so
333da02000-333dc02000 ---p 00002000 fd:00 1786712                        /lib64/libdl-2.5.so
333dc02000-333dc03000 r--p 00002000 fd:00 1786712                        /lib64/libdl-2.5.so
333dc03000-333dc04000 rw-p 00003000 fd:00 1786712                        /lib64/libdl-2.5.so
333de00000-333de16000 r-xp 00000000 fd:00 1786718                        /lib64/libpthread-2.5.so
333de16000-333e016000 ---p 00016000 fd:00 1786718                        /lib64/libpthread-2.5.so
333e016000-333e017000 r--p 00016000 fd:00 1786718                        /lib64/libpthread-2.5.so
333e017000-333e018000 rw-p 00017000 fd:00 1786718                        /lib64/libpthread-2.5.so
333e018000-333e01c000 rw-p 333e018000 00:00 0 
333e200000-333e207000 r-xp 00000000 fd:00 1786700                        /lib64/librt-2.5.so
333e207000-333e407000 ---p 00007000 fd:00 1786700                        /lib64/librt-2.5.so
333e407000-333e408000 r--p 00007000 fd:00 1786700                        /lib64/librt-2.5.so
333e408000-333e409000 rw-p 00008000 fd:00 1786700                        /lib64/librt-2.5.so
333e600000-333e63b000 r-xp 00000000 fd:00 1786729                        /lib64/libsepol.so.1
333e63b000-333e83b000 ---p 0003b000 fd:00 1786729                        /lib64/libsepol.so.1
333e83b000-333e83c000 rw-p 0003b000 fd:00 1786729                        /lib64/libsepol.so.1
333e83c000-333e846000 rw-p 333e83c000 00:00 0 
333ea00000-333ea15000 r-xp 00000000 fd:00 1786730                        /lib64/libselinux.so.1
333ea15000-333ec15000 ---p 00015000 fd:00 1786730                        /lib64/libselinux.so.1
333ec15000-333ec17000 rw-p 00015000 fd:00 1786730                        /lib64/libselinux.so.1
333ec17000-333ec18000 rw-p 333ec17000 00:00 0 
333ee00000-333ee5f000 r-xp 00000000 fd:00 1116528                        /usr/lib64/librpmio-4.4.so
333ee5f000-333f05e000 ---p 0005f000 fd:00 1116528                        /usr/lib64/librpmio-4.4.so
333f05e000-333f063000 rw-p 0005e000 fd:00 1116528                        /usr/lib64/librpmio-4.4.so
333f063000-333f085000 rw-p 333f063000 00:00 0 
333f200000-333f30f000 r-xp 00000000 fd:00 1116531                        /usr/lib64/librpmdb-4.4.so
333f30f000-333f50e000 ---p 0010f000 fd:00 1116531                        /usr/lib64/librpmdb-4.4.so
333f50e000-333f516000 rw-p 0010e000 fd:00 1116531                        /usr/lib64/librpmdb-4.4.so
333f600000-333f612000 r-xp 00000000 fd:00 1116530                        /usr/lib64/libelf-0.137.so
333f612000-333f811000 ---p 00012000 fd:00 1116530                        /usr/lib64/libelf-0.137.so
333f811000-333f813000 rw-p 00011000 fd:00 1116530                        /usr/lib64/libelf-0.137.so
333fa00000-333fa59000 r-xp 00000000 fd:00 1116529                        /usr/lib64/libsqlite3.so.0.8.6
333fa59000-333fc58000 ---p 00059000 fd:00 1116529                        /usr/lib64/libsqlite3.so.0.8.6
333fc58000-333fc5b000 rw-p 00058000 fd:00 1116529                        /usr/lib64/libsqlite3.so.0.8.6
333fe00000-333fe59000 r-xp 00000000 fd:00 1116532                        /usr/lib64/librpm-4.4.so
333fe59000-3340059000 ---p 00059000 fd:00 1116532                        /usr/lib64/librpm-4.4.so
3340059000-334005e000 rw-p 00059000 fd:00 1116532                        /usr/lib64/librpm-4.4.so
334005e000-3340091000 rw-p 334005e000 00:00 0 
3340200000-3340223000 r-xp 00000000 fd:00 1116533                        /usr/lib64/librpmbuild-4.4.so
3340223000-3340422000 ---p 00023000 fd:00 1116533                        /usr/lib64/librpmbuild-4.4.so
3340422000-3340425000 rw-p 00022000 fd:00 1116533                        /usr/lib64/librpmbuild-4.4.so
3340425000-3340433000 rw-p 3340425000 00:00 0 
3341200000-3341203000 r-xp 00000000 fd:00 1786733                        /lib64/libcap.so.1.10
3341203000-3341403000 ---p 00003000 fd:00 1786733                        /lib64/libcap.so.1.10
3341403000-3341404000 rw-p 00003000 fd:00 1786733                        /lib64/libcap.so.1.10
3341a00000-3341a21000 r-xp 00000000 fd:00 1786738                        /lib64/libexpat.so.0.5.0
3341a21000-3341c20000 ---p 00021000 fd:00 1786738                        /lib64/libexpat.so.0.5.0
3341c20000-3341c23000 rw-p 00020000 fd:00 1786738                        /lib64/libexpat.so.0.5.0
3342600000-3342639000 r-xp 00000000 fd:00 1786734                        /lib64/libdbus-1.so.3.4.0
3342639000-3342839000 ---p 00039000 fd:00 1786734                        /lib64/libdbus-1.so.3.4.0
3342839000-334283b000 rw-p 00039000 fd:00 1786734                        /lib64/libdbus-1.so.3.4.0
3342e00000-3342e11000 r-xp 00000000 fd:00 1786726                        /lib64/libresolv-2.5.so
3342e11000-3343011000 ---p 00011000 fd:00 1786726                        /lib64/libresolv-2.5.so
3343011000-3343012000 r--p 00011000 fd:00 1786726                        /lib64/libresolv-2.5.so
3343012000-3343013000 rw-p 00012000 fd:00 1786726                        /lib64/libresolv-2.5.so
3343013000-3343015000 rw-p 3343013000 00:00 0 
3343600000-3343734000 r-xp 00000000 fd:00 1116450                        /usr/lib64/libxml2.so.2.6.26
3343734000-3343934000 ---p 00134000 fd:00 1116450                        /usr/lib64/libxml2.so.2.6.26
3343934000-334393d000 rw-p 00134000 fd:00 1116450                        /usr/lib64/libxml2.so.2.6.26
334393d000-334393e000 rw-p 334393d000 00:00 0 
3344200000-334432d000 r-xp 00000000 fd:00 1786717                        /lib64/libcrypto.so.0.9.8e
334432d000-334452c000 ---p 0012d000 fd:00 1786717                        /lib64/libcrypto.so.0.9.8e
334452c000-334454d000 rw-p 0012c000 fd:00 1786717                        /lib64/libcrypto.so.0.9.8e
334454d000-3344551000 rw-p 334454d000 00:00 0 
3346600000-3346607000 r-xp 00000000 fd:00 1116482                        /usr/lib64/libpopt.so.0.0.0
3346607000-3346807000 ---p 00007000 fd:00 1116482                        /usr/lib64/libpopt.so.0.0.0
3346807000-3346808000 rw-p 00007000 fd:00 1116482                        /usr/lib64/libpopt.so.0.0.0
3346a00000-3346a04000 r-xp 00000000 fd:00 1786725                        /lib64/libgthread-2.0.so.0.1200.3
3346a04000-3346c03000 ---p 00004000 fd:00 1786725                        /lib64/libgthread-2.0.so.0.1200.3
3346c03000-3346c04000 rw-p 00003000 fd:00 1786725                        /lib64/libgthread-2.0.so.0.1200.3
3347200000-3347202000 r-xp 00000000 fd:00 1786731                        /lib64/libcom_err.so.2.1
3347202000-3347401000 ---p 00002000 fd:00 1786731                        /lib64/libcom_err.so.2.1
3347401000-3347402000 rw-p 00001000 fd:00 1786731                        /lib64/libcom_err.so.2.1
3348c00000-3348c91000 r-xp 00000000 fd:00 1116462                        /usr/lib64/libkrb5.so.3.3
3348c91000-3348e91000 ---p 00091000 fd:00 1116462                        /usr/lib64/libkrb5.so.3.3
3348e91000-3348e95000 rw-p 00091000 fd:00 1116462                        /usr/lib64/libkrb5.so.3.3
3349000000-334902c000 r-xp 00000000 fd:00 1116463                        /usr/lib64/libgssapi_krb5.so.2.2
334902c000-334922c000 ---p 0002c000 fd:00 1116463                        /usr/lib64/libgssapi_krb5.so.2.2
334922c000-334922e000 rw-p 0002c000 fd:00 1116463                        /usr/lib64/libgssapi_krb5.so.2.2
3349400000-3349424000 r-xp 00000000 fd:00 1116461                        /usr/lib64/libk5crypto.so.3.1
3349424000-3349623000 ---p 00024000 fd:00 1116461                        /usr/lib64/libk5crypto.so.3.1
3349623000-3349625000 rw-p 00023000 fd:00 1116461                        /usr/lib64/libk5crypto.so.3.1
3349800000-3349802000 r-xp 00000000 fd:00 1786728                        /lib64/libkeyutils-1.2.so
3349802000-3349a01000 ---p 00002000 fd:00 1786728                        /lib64/libkeyutils-1.2.so
3349a01000-3349a02000 rw-p 00001000 fd:00 1786728                        /lib64/libkeyutils-1.2.so
3349c00000-3349c08000 r-xp 00000000 fd:00 1116460                        /usr/lib64/libkrb5support.so.0.1
3349c08000-3349e07000 ---p 00008000 fd:00 1116460                        /usr/lib64/libkrb5support.so.0.1
3349e07000-3349e08000 rw-p 00007000 fd:00 1116460                        /usr/lib64/libkrb5support.so.0.1
334a400000-334a448000 r-xp 00000000 fd:00 1786732                        /lib64/libssl.so.0.9.8e
334a448000-334a648000 ---p 00048000 fd:00 1786732                        /lib64/libssl.so.0.9.8e
334a648000-334a64e000 rw-p 00048000 fd:00 1786732                        /lib64/libssl.so.0.9.8e
334ac00000-334ac02000 r-xp 00000000 fd:00 1786736                        /lib64/libutil-2.5.so
334ac02000-334ae01000 ---p 00002000 fd:00 1786736                        /lib64/libutil-2.5.so
334ae01000-334ae02000 r--p 00001000 fd:00 1786736                        /lib64/libutil-2.5.so
334ae02000-334ae03000 rw-p 00002000 fd:00 1786736                        /lib64/libutil-2.5.so
334ec00000-334ed03000 r-xp 00000000 fd:00 1116681                        /usr/lib64/libpython2.4.so.1.0
334ed03000-334ef03000 ---p 00103000 fd:00 1116681                        /usr/lib64/libpython2.4.so.1.0
334ef03000-334ef30000 rw-p 00103000 fd:00 1116681                        /usr/lib64/libpython2.4.so.1.0
334ef30000-334ef35000 rw-p 334ef30000 00:00 0 
334f400000-334f529000 r-xp 00000000 fd:00 1116466                        /usr/lib64/libnss3.so
334f529000-334f729000 ---p 00129000 fd:00 1116466                        /usr/lib64/libnss3.so
334f729000-334f730000 rw-p 00129000 fd:00 1116466                        /usr/lib64/libnss3.so
334f730000-334f731000 rw-p 334f730000 00:00Aborted

2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Carter Kozak 2013-07-30 12:41:17 UTC
How often can you produce this?  It might be a duplicate of bz 988430

Comment 2 Carter Kozak 2013-07-30 15:46:17 UTC

*** This bug has been marked as a duplicate of bug 988430 ***


Note You need to log in before you can comment on or make changes to this bug.