cddbcmd cddb query Command code 500: Illegal input

Bug #785958 reported by Andrew Crosson
6
This bug affects 1 person
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-Maintainer: Timur Birsh <email address hidden>
Architecture: i386
Version: 1.1-1
Depends: libc6 (>= 2.3.4)
Filename: pool/universe/c/cd-discid/cd-discid_1.1-1_i386.deb
Size: 8310
MD5sum: 5de55819b572904b138eb3860dff3d6f
SHA1: d4c6f097eacc1e3644431a7649f23ab8e7676035
SHA256: d6716d83fae3f9fd508b2b01c22de30578c876186c83e6adf6a83fbcc94e3813

Package: cddb
Priority: optional
Section: universe/sound
Installed-Size: 148
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian QA Group <email address hidden>
Architecture: i386
Source: xmcd
Version: 2.6-23
Replaces: xmcd (<= 2.3-1)
Depends: libc6 (>= 2.10)
Conflicts: suidmanager (<< 0.50)
Filename: pool/universe/x/xmcd/cddb_2.6-23_i386.deb
Size: 62074
MD5sum: 405e013d611dd49d15415a75f7ab5838
SHA1: 28144e2f1bef18962cc06de39b7 2.6.35-23-generic#if I move $HOME/.bashrc
mv .bashrc .bashrc-bak

kernel: 2.6.35-23-generic

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cddb 2.6-23
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic 2.6.35.7
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

Revision history for this message
Andrew Crosson (amclinux) wrote :
Revision history for this message
Andrew Crosson (amclinux) wrote :

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

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.