Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57061

Summary: xcdroast crashed
Product: Gentoo Linux Reporter: Mat Lee <b89209021>
Component: Current packagesAssignee: Gentoo Optical Media project <media-optical>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mat Lee 2004-07-14 11:46:08 UTC
When I read the music track via xcdroast.
It often pop up this vital error(after click Read Tracks):

(xcdroast:30669): Gtk-CRITICAL **: file gtkwidget.c: line 3359 (gtk_widget_event): assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed


Reproducible: Always
Steps to Reproduce:
1. open the Xcdroast
2. click "Create CD"
3. click "Read Tracks"

Actual Results:  
(xcdroast:30669): Gtk-CRITICAL **: file gtkwidget.c: line 3359
(gtk_widget_event): assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

Expected Results:  
I guess that is the Gtk's problem...

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r10)
=================================================================
System uname: 2.6.7-gentoo-r10 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=k6-2 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=k6-2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="rsync://cudlug.cudenver.edu/gentoo
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
http://gentoo.ccccom.com rsync://linux.ntcu.net/gentoo-distfiles"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apache2 apm arts avi berkdb cdr cjk crypt cups encode esd
fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jikes jpeg kde libg++
libwww mad mikmod mmx motif mozilla mpeg mule mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline ruby sdl slang spell ssl
svga tcltk tcpd tetex truetype unicode x86 xml2 xmms xv zlib"
=============================================================
by the way...
I use the scsi emulation to read the CD Device
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2004-10-30 20:35:33 UTC
Sorry for the delay to this bug...

Can you tell me your installed gtk+-version?  Or test with a more recent one?
Comment 2 Mat Lee 2004-10-31 02:32:12 UTC
That's all right...:-)

The problem is still there.And my gtk+ version is:
    x11-libs/gtk+-2.4.9-r1 *
    x11-libs/gtk+-1.2.10-r11 *

Thank you very much...
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2004-12-02 20:16:32 UTC
Okay.  Verified.  I get the same error.  The message you posted is not critical, as it appears quite often.  But the real error is

** ERROR **: got unexpected artist/title

When I name the Track in CD/Image Information, everything runs fine.  This seems to be a bug in xcdroast.  Can you verify this workaround?
Comment 4 Mat Lee 2004-12-04 09:38:58 UTC
yes...I see the same message.
But the behavier is a little strange.

If the AudioCD was already in CDROM when i started to run xcdroast,
 i get the same message.
If i load the CD after open xcdroast, the message will be the 
  "(gtk_widget_event): assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed".

I set the debug level to 10 ( xcdroast -d 10 )
and get the whole message:

DGB10: readtoc: Tracks:48 58:30.30
DGB10: readtoc: CDINDEX discid: 8JI7yJ1fM3PDT3WlPZ177xg5Wok-
DGB10: readtoc: CDDB discid: 0xb60db630
DGB10: readtoc: CD-Text: not detected
DGB10: readtoc: CD-Extra: not detected
DGB10: readtoc: Album title: '' from ''
DGB10: readtoc: T01:      75  0:39.63 audio linear copyallowed stereo title '' from ''
...( etc...)
DGB10: readtoc: T10:   49397  0:51.02 audio linear copyallowed stereo title '' from ''
DGB10: readtoc: T11:   53224

** ERROR **: Unexpected output in cdda2wav toc-output

I think you are right.
But I am not sure whether it's the only bug.
The problem occured every time.
And the older version did not.
Thank you for your help, 
I spent some time to test the bug, 
  so that i reply the bug a little later.

Mat.
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2005-01-08 09:22:06 UTC
Probably calling xcdroast with the debug switch will give more information:
xcdroast -d 10 2>/tmp/debugoutput.txt
Comment 6 Mat Lee 2005-01-16 02:36:25 UTC
I have tested the several case, and compare the debug messages.
I found that 
  ** ERROR **: got unexpected artist/title
 is the common problem which cause the program crash.

But I can not rename the Track in CD/Image Information.
What can I do to solve the problem?
or just wait for the next version?

Thank you very much
Comment 7 Lars Weiler (RETIRED) gentoo-dev 2005-01-24 18:05:25 UTC
I just searched a bit more and found that Bug in the X-CD-Roast FAQ: http://www.xcdroast.org/faq/#33

I guess, there is not much to do beside compiling with GTK(1) only.

As we can't do much, and that there isn't any new version out since 15 months, I will close this bug with UPSTREAM.

Probably you should try another GTK2-Application: graveman.  It's new and active developed.