audiocd kioslave in kde4

Chris Burel chrisburel at gmail.com
Sat Apr 11 22:06:11 BST 2009


A more informative backtrace
#0  0xb80bf424 in __kernel_vsyscall ()
#1  0xb6752bb9 in raise () from /lib/libc.so.6
#2  0xb6754138 in abort () from /lib/libc.so.6
#3  0xb7eccf0d in qt_message_output () from /opt/qt/lib/libQtCore.so.4
#4  0xb7eccff1 in qFatal () from /opt/qt/lib/libQtCore.so.4
#5  0xb7ecd09c in qt_assert_x () from /opt/qt/lib/libQtCore.so.4
#6  0xb5df986a in QList<QString>::at (this=0xbf8d872c, i=0) at
/opt/qt-4.5.0/include/QtCore/qlist.h:395
#7  0xb5df7d66 in KCompactDisc::defaultCdromDeviceName ()
    at
/usr/src/rpm/build/kdemultimedia-4.2.2/libkcompactdisc/kcompactdisc.cpp:148
#8  0xb5df7dd6 in KCompactDisc (this=0x97c794c,
infoMode=KCompactDisc::Asynchronous)
    at
/usr/src/rpm/build/kdemultimedia-4.2.2/libkcompactdisc/kcompactdisc.cpp:172
#9  0xb7e7d5e2 in Private (this=0x97c78b8) at
/usr/src/rpm/build/kdemultimedia-4.2.2/kioslave/audiocd/audiocd.cpp:106
#10 0xb7e7a600 in AudioCDProtocol (this=0xbf8d8878, protocol=@0xbf8d88dc,
pool=@0xbf8d88d4, app=@0xbf8d88cc)
    at
/usr/src/rpm/build/kdemultimedia-4.2.2/kioslave/audiocd/audiocd.cpp:164
#11 0xb7e7ac39 in kdemain (argc=4, argv=0x9771910)
    at
/usr/src/rpm/build/kdemultimedia-4.2.2/kioslave/audiocd/audiocd.cpp:88
#12 0x0804dced in launch ()
#13 0x0804e44d in handle_launcher_request ()
#14 0x0804e910 in handle_requests ()
#15 0x0804f05c in main ()

The problem is that KCompactDisc is not getting a list of devices back from
Solid/HAL because HAL isn't detecting my cdrom.
$> hal-device | grep ': udi'
0: udi = '/org/freedesktop/Hal/devices/computer_drm_r300_card0'
1: udi = '/org/freedesktop/Hal/devices/computer'
2: udi = '/org/freedesktop/Hal/devices/acpi_PWRF'
3: udi = '/org/freedesktop/Hal/devices/acpi_PWRB'
4: udi = '/org/freedesktop/Hal/devices/acpi_CPU1'
5: udi = '/org/freedesktop/Hal/devices/acpi_CPU2'

That's why it's not working, but that shouldn't make audiocd crash.  A more
descriptive error message like "Couldn't detect cdrom device, check HAL
configuration" would be nice.

Should I submit a bug report?

2009/4/11 Thiago Macieira <thiago at kde.org>

> Chris Burel wrote:
> >Hmm, that gives me a pretty worthless stacktrace:
> >#0  0xb8076424 in __kernel_vsyscall ()
> >#1  0xb6709e86 in kill () from /lib/libc.so.6
> >#2  0x0804dcd5 in launch ()
> >#3  0x0804e44d in handle_launcher_request ()
> >#4  0x0804e910 in handle_requests ()
> >#5  0x0804f05c in main ()
>
> You have to continue executing from there. That's the SIGSTOP signal that
> the ioslave sends itself so that you can attach.
>
> >
> >Although I do get this:
> >ASSERT failure in QList<T>::at: "index out of range", file
> >/opt/qt-4.5.0/include/QtCore/qlist.h, line 395
> >
> >I'd have to build a debug kdelibs to get a decent stacktrace?
>
> Not build, but at least have debug symbols. And, of course, for
> kio_audiocd.
>
> --
>   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
>    PGP/GPG: 0x6EF45358; fingerprint:
>    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
>
> _______________________________________________
> kde-multimedia mailing list
> kde-multimedia at kde.org
> https://mail.kde.org/mailman/listinfo/kde-multimedia
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20090411/dd06d6e2/attachment.htm>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


More information about the kde-multimedia mailing list