Bug 251915 - crash in audex not testing a pointer for being 0
Summary: crash in audex not testing a pointer for being 0
Status: RESOLVED FIXED
Alias: None
Product: kdemultimedia
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks: 251964
  Show dependency treegraph
 
Reported: 2010-09-21 12:31 UTC by bill p. (aka google01103)
Modified: 2010-12-21 23:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bill p. (aka google01103) 2010-09-21 12:31:37 UTC
Version:           unspecified (using Devel) 
OS:                Linux

not sure exactly where this should be posted but "Hardware awareness in KDE" seems appropriate

when I run audex or k3b I get the errors below and the apps crash, if I try to view in Dolphin I get "the process for the audio cd protocol died unexpectedly". Common error seems to be "QSocketNotifier: Invalid socket 10 and type 'Read', disabling.."

VLC and sMplayer see and play the disc fine


Device notifier notifies and lists actions but clicking on an action does nothing

Issue is not new but pretty sure it worked fine after upgrading to svn


audex(25629) refreshListOfCdromDevices: /org/freedesktop/Hal/devices/storage_model_DVDRW_SOHW_1693S
audex(25629) refreshListOfCdromDevices: /org/freedesktop/UDisks/devices/sr0
KCrash: Application 'audex' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/smiley/.kde4/socket-circus.site/kdeinit4__0
audex(25627): Communication problem with "audex" , it probably crashed. 
Error message was: "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name de.maniatek.audex was not provided by any .service files" " 

QSocketNotifier: Invalid socket 10 and type 'Read', disabling..
===========
KCrash: Application 'k3b' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/smiley/.kde4/socket-circus.site/kdeinit4__0
circus:~/MyTemp> QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
========================
--- this is from .xsessions-errors------
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Solid::Backends::UDisks::UDisksDevice(0xc46c80), parent's thread is QThread(0x615280), current thread is ThreadWeaver::Thread(0xe3ee50)
audex(27411) refreshListOfCdromDevices: /org/freedesktop/Hal/devices/storage_model_DVDR___PX_755A
audex(27411) refreshListOfCdromDevices: /org/freedesktop/Hal/devices/storage_model_DVDRW_SOHW_1693S
audex(27411) refreshListOfCdromDevices: /org/freedesktop/UDisks/devices/sr0
audex(27411) refreshListOfCdromDevices: /org/freedesktop/UDisks/devices/sr1
KCrash: Application 'audex' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
audex(27410): Communication problem with "audex" , it probably crashed. 
Error message was: "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name de.maniatek.audex was not provided by any .service files" " 

QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
KDirWatch: /home/smiley/.xsession-errors is a file. Use addFile!


running 4.6svn

thanks

Reproducible: Always

Steps to Reproduce:
try and run k4b or audex 
try and access cd using Dolphin

Actual Results:  
crash in Audex and K3b, unable to access cd in Dolphin

Expected Results:  
apps work w/o crashing and cd is available
Comment 1 Pino Toscano 2010-09-21 16:49:20 UTC
Please provide a backtrace of the crash.
Comment 2 bill p. (aka google01103) 2010-09-21 18:13:07 UTC
audex crash  http://pastebin.com/UeZ3X8Er
k3b crash http://pastebin.com/XH3mPhRb
Comment 3 Kevin Ottens 2010-09-21 18:43:32 UTC
It's in fact two different bugs, one in k3b and one in audex which share the same mistake. Reassigning.
Comment 4 bill p. (aka google01103) 2010-09-21 18:59:13 UTC
cd problems seems to be rampant in my system including Dolphin mentioned in op

the Dolphin error displaying today is "an error occurred while accessing 'cd-rwd/dvd+rw dl drive', the system responded: com.trolltech.QtDBus.Error.invalidObjectPath: Invalid object path: /org/freedesktop/UDisks/devices/sr0:media"

should I post this a separate Dolphin bug?
Comment 5 bill p. (aka google01103) 2010-11-27 00:39:19 UTC
this, for me has, not been resolved in the newly published beta

QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
Comment 6 bill p. (aka google01103) 2010-12-01 12:47:52 UTC
update - K3b now works but neither Audex nor K9copy do
Comment 7 Mark Fraser 2010-12-11 09:55:23 UTC
I've upgraded Kubuntu 10.10 to KDE 4.6 beta 2 and at first I had problems with both k3b and Audex. An update this week fixed the k3b problem, but not Audex. As I compiled Audex from source, is there anything I can do to fix it?
Comment 8 Craig Drummond 2010-12-20 21:52:09 UTC
I've looked at the audex code, and simply calling KCompactDisc::defaultCdromDeviceName() (which is a static function) triggers this crash. I fail to see *how* audex can be at fault. To me the issue seems to be with either libkcompactdisc, or Solid.
Comment 9 Craig Drummond 2010-12-21 23:27:29 UTC
SVN commit 1208479 by craig:

Check that the cast to Solid::Block works - it does not always! This
fixes a crash with Audex CD ripper.
BUG:251915


 M  +5 -0      kcompactdisc.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1208479