cddbcmd cddb query Command code 500: Illegal input
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xmcd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cddb
Produces and error if run from a non login shell if $HOME/.bashrc is present. (terminal shell)
cddbcmd cddb query `cd-discid /dev/sr0`
Command code 500: Illegal input.
However if I move $HOME/.bashrc or rename it and run command it works as correctly.
#if I move $HOME/.bashrc
mv .bashrc .bashrc-bak
# open a new non login terminal
cddbcmd cddb query "`cd-discid /dev/sr0`"
misc 8d0dd00b Cradle of Filth / Midian
rock 8d0dd00b Cradle Of Filth / Midian
I am not sure if the problem is with cd-discid or with cddb package. I have provided the versions of each package as well as the version of Ubuntu I am running this on. I can also run the command from a direct login shell on the VT console with out any problems.
I have been able to reproduce then on several accounts. I have created a few test accounts to see what happens and as soon as a .bashrc is added to home directory the command fails .
Here is some information that might help track down the problem.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
Package: cd-discid
Priority: optional
Section: universe/sound
Installed-Size: 64
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: i386
Version: 1.1-1
Depends: libc6 (>= 2.3.4)
Filename: pool/universe/
Size: 8310
MD5sum: 5de55819b572904
SHA1: d4c6f097eacc1e3
SHA256: d6716d83fae3f9f
Package: cddb
Priority: optional
Section: universe/sound
Installed-Size: 148
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: i386
Source: xmcd
Version: 2.6-23
Replaces: xmcd (<= 2.3-1)
Depends: libc6 (>= 2.10)
Conflicts: suidmanager (<< 0.50)
Filename: pool/universe/
Size: 62074
MD5sum: 405e013d611dd49
SHA1: 28144e2f1bef189
mv .bashrc .bashrc-bak
kernel: 2.6.35-23-generic
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cddb 2.6-23
ProcVersionSign
Uname: Linux 2.6.35-23-generic i686
Architecture: i386
Date: Fri May 20 16:19:10 2011
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: xmcd
I also should note that cd-discid does not have any problems if $HOME/.bashrc is present. and works correctly .
cd-discid /dev/sr0
8d0dd00b 11 150 10728 30034 59494 86023 116876 147204 160730 189591 193398 230393 3538