Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112845 - kaudiocreator: When "Rip Selection" is initiated, a "Malformed URL" error happens, followed by kaudiocreator crashing.
Summary: kaudiocreator: When "Rip Selection" is initiated, a "Malformed URL" error hap...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 09:03 UTC by Kamaji
Modified: 2005-12-25 02:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kamaji 2005-11-17 09:03:08 UTC
This bug specifically relates to the kaudiocreator application within the
kmultimedia package.
Currently using stable kmultimedia package: kmultimedia-3.4.1-r1
Unknown whether this bug was introduced in later kmultimedia/kcore-3.4 ebuilds,
or even whether it existed pre 3.4.

When "Rip Selection" is initiated, a "Malformed URL" error happens, followed by
kaudiocreator crashing, and the KDE Crash Handler being invoked (which doesn't
provide much detail, even when kdemultimedia was compiled debug.
The bug seems to be in kdecore and/or Qt, and I don't currently have the
patience to recompile all of KDE debug -- if I have time, I'll do that and
provide more info.

Reproducible: Always
Steps to Reproduce:
1.Start kaudiocreator and insert audio cd (any order)
2.Choose a track or tracks to rip, doesn't matter if CDDB detection is done or not.
3. Choose either toolbar or menu item "Rip Selection", any encoder choice (I've
tried OggEnc, LAME, and "Leave as wav").

Actual Results:  
1.) a "Jobs started" window pops up, letting you know that a rip/encode job has
been started.
2.) at pretty much the same time, an error dialog pops up, reporting a malformed
URL (I suppose it's a file:// url, since it shouldn't be calling out to the network)
3.) 3-4 seconds later, whether or not the dialogs are dismissed, the kde crash
handler pops up.

I would attach the backtrace, but alas, even via a kdemultimedia debug build the
results are not useful.  They change every time, and sometimes result in kde
crash handler stating that it couldn't generate a valid backtrace.



Expected Results:  
The track(s) to be ripped and encoded without error.

# emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://gentoo.chem.wisc.edu/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/
ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bmp
bzip2 calendar cdparanoia cdr crypt cups curl curlwrappers directfb divx4linux
doc dv eds emboss encode esd exif expat fam fbcon ffmpeg flac foomaticdb fortran
gd gdbm ggi gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icc icq idn
imagemagick imap imlib ipv6 jabber java javascript joystick jpeg junit kde
kdeenablefinal kdexdeltas kerberos krb4 lcms ldap libcaca libg++ libwww
lm_sensors mad matroska mcal mhash mikmod mmap mmx mng motif mozilla mp3 mpeg
mpi msn mysql mysqli ncurses nis nls odbc offensive ogg oggvorbis openal opengl
osc oscar oss pam pcre pda pdflib perl php png python qt quicktime readline
samba sasl sdl session sharedmem slang slp sndfile speex spell sse ssl svg
symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts udev
unicode usb v4l vcd videos vorbis win32codecs wmf xine xinerama xml2 xmms xosd
xpm xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Ben Laenen 2005-11-30 06:58:02 UTC
Had the same error when trying to rip a cd. When I started KAudioCreator from 
Konsole, this was printed: 
 
kaudiocreator: WARNING: KTempFile: Error trying to create /XXXXXX.wav: 
Permission denied 
QFile::remove: Empty or null file name 
 
I then figured out I had changed the default temporary file directory for 
putting the wav files. So I unckecked "Default Temporary Directory" in the 
"Ripper" tab in KAudioCreator configuration screen and it works again now. 
 
Comment 2 Kamaji 2005-12-01 07:00:34 UTC
(In reply to comment #1)
> Had the same error when trying to rip a cd. When I started KAudioCreator from 
> Konsole, this was printed: 
>  
> kaudiocreator: WARNING: KTempFile: Error trying to create /XXXXXX.wav: 
> Permission denied 
> QFile::remove: Empty or null file name 

Not the same error as the one I'm encountering, but just in case, I just went
back and made sure that my temp directory was available, and no luck.
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2005-12-23 11:33:10 UTC
Reproduced here as well with 3.5.0.  Been using it a couple weeks and this is the first time I've run into this.

backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1233348944 (LWP 16353)]
[KCrash handler]
#4  KURL::parse (this=0xbff06d0c, _url=@0x82bf530, encoding_hint=0)
    at qstring.h:270
#5  0xb777ef4e in KURL (this=0xbff06d0c, url=@0x82bf530, encoding_hint=0)
    at kurl.cpp:468
#6  0x080841bd in KCompactDisc::urlToDevice (device=@0x82bf530)
    at kcompactdisc.cpp:236
#7  0x0805f044 in TracksImp::changeDevice (this=0x8290900, file=@0x82bf530)
    at tracksimp.cpp:180
#8  0x0805f1e9 in TracksImp::ejectDevice (this=0x8290900, 
    deviceToEject=@0x82bf530) at tracksimp.cpp:530
#9  0x08077591 in TracksImp::qt_invoke (this=0x8290900, _id=51, _o=0xbff06f04)
    at tracksimp.moc:179
#10 0xb709a359 in QObject::activate_signal (this=0x8322c10, clist=0x833dd30, 
    o=0xbff06f04) at qobject.cpp:2355
#11 0xb709ac51 in QObject::activate_signal (this=0x8322c10, signal=5, 
    param=@0xbff06f60) at qobject.cpp:2450
#12 0x0805eee7 in Ripper::eject (this=0x8322c10, t0=@0x8322c38)
    at ripper.moc:177
#13 0x0805f018 in Ripper::ejectNow (this=0x8322c10) at ripper.cpp:246
#14 0x08076c15 in Ripper::qt_invoke (this=0x8322c10, _id=8, _o=0xbff07004)
    at ripper.moc:195
#15 0xb709a359 in QObject::activate_signal (this=0x82e50c8, clist=0x8277fe0, 
    o=0xbff07004) at qobject.cpp:2355
#16 0xb73cd1aa in QSignal::signal (this=0x82e50c8, t0=@0x82e50f0)
    at moc_qsignal.cpp:100
#17 0xb70b682d in QSignal::activate (this=0x82e50c8) at qsignal.cpp:212
#18 0xb70bdf53 in QSingleShotTimer::event (this=0x82e50a0) at qtimer.cpp:286
#19 0xb703c8aa in QApplication::internalNotify (this=0xbff07b38, 
    receiver=0x82e50a0, e=0xbff07334) at qapplication.cpp:2635
#20 0xb703d33f in QApplication::notify (this=0xbff07b38, receiver=0x82e50a0, 
    e=0xbff07334) at qapplication.cpp:2358
#21 0xb7770762 in KApplication::notify (this=0xbff07b38, receiver=0x82e50a0, 
    event=0xbff07334) at kapplication.cpp:550
#22 0xb703173d in QEventLoop::activateTimers (this=0x8209050)
    at qapplication.h:491
#23 0xb6fec98e in QEventLoop::processEvents (this=0x8209050, 
    flags=<value optimized out>) at qeventloop_x11.cpp:389
#24 0xb7052ed4 in QEventLoop::enterLoop (this=0x8209050) at qeventloop.cpp:198
#25 0xb703c22f in QApplication::enter_loop (this=0xbff07b38)
    at qapplication.cpp:2790
#26 0xb721ba1d in QDialog::exec (this=0x826ed20) at qdialog.cpp:432
#27 0xb79aa9e4 in KDialogQueue::slotShowQueuedDialog (this=0x82bd170)
    at kdialog.cpp:308
#28 0xb79aab02 in KDialogQueue::qt_invoke (this=0x82bd170, _id=2, 
    _o=0xbff075e4) at kdialog.moc:191
#29 0xb709a359 in QObject::activate_signal (this=0x831a6a8, clist=0x82bd350, 
    o=0xbff075e4) at qobject.cpp:2355
#30 0xb73cd1aa in QSignal::signal (this=0x831a6a8, t0=@0x831a6d0)
    at moc_qsignal.cpp:100
#31 0xb70b682d in QSignal::activate (this=0x831a6a8) at qsignal.cpp:212
#32 0xb70bdf53 in QSingleShotTimer::event (this=0x831a680) at qtimer.cpp:286
#33 0xb703c8aa in QApplication::internalNotify (this=0xbff07b38, 
    receiver=0x831a680, e=0xbff07914) at qapplication.cpp:2635
#34 0xb703d33f in QApplication::notify (this=0xbff07b38, receiver=0x831a680, 
    e=0xbff07914) at qapplication.cpp:2358
#35 0xb7770762 in KApplication::notify (this=0xbff07b38, receiver=0x831a680, 
    event=0xbff07914) at kapplication.cpp:550
#36 0xb703173d in QEventLoop::activateTimers (this=0x8209050)
    at qapplication.h:491
#37 0xb6fec98e in QEventLoop::processEvents (this=0x8209050, 
    flags=<value optimized out>) at qeventloop_x11.cpp:389
#38 0xb7052ed4 in QEventLoop::enterLoop (this=0x8209050) at qeventloop.cpp:198
#39 0xb7052df6 in QEventLoop::exec (this=0x8209050) at qeventloop.cpp:145
#40 0xb703c1ff in QApplication::exec (this=0xbff07b38)
    at qapplication.cpp:2758
#41 0x0807ebef in main (argc=1, argv=0xbff07cc4) at main.cpp:50


emerge --info:
Portage 2.1_pre1 (!/usr/portage/profiles/default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.14.4 i686)
=================================================================
System uname: 2.6.14.4 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1, 2.16.90.0.3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -ggdb3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -ggdb3 -pipe"
DISTDIR="/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs digest distlocks nostrip sandbox sfperms sign strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/build/packages"
PORTAGE_TMPDIR="/build"
PORTDIR="/portage"
PORTDIR_OVERLAY="/home/ka0ttic/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aim alsa arts bash-completion berkdb bzip2 bzlib cdr crypt cscope dbus dvd esd fam fbcon gdbm gif gtk gtk2 hal imap imlib jpeg kde kdeenablefinal maildir mailwrapper mmx mp3 ncurses nls nptl nvidia offensive opengl oss pam pcre perl png python qt readline sasl sdl slang snmp sse ssl svga tcpd truetype unicode usb v4l xml2 xmms xscreensaver zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-12-24 02:24:34 UTC
Can you test if this is the same as
http://bugs.kde.org/show_bug.cgi?id=117759
(non existing tmp directory)
Comment 5 Aaron Walker (RETIRED) gentoo-dev 2005-12-24 08:35:54 UTC
(In reply to comment #4)
> Can you test if this is the same as
> http://bugs.kde.org/show_bug.cgi?id=117759
> (non existing tmp directory)
> 

Yup that was the cause.  I had specified ~/tmp as my tmp directory and at some point forgot what it was for and removed it.  Recreating it solved the problem.
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-12-25 02:01:41 UTC
Closing. It will be fixed in 3.5.1 and there is a workaround, so I don't think it's necessary to patch 3.5.0.