Bug 7242

Summary: k3b hangs at volume change event
Product: Mageia Reporter: Frank Griffin <ftg>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: nic
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Frank Griffin 2012-08-29 13:21:11 CEST
In current cauldron, k3b hangs when you eject a DVD.

If you fire up k3b with a DVD in the drive, use Tools->Copy Medium to copy the DVD to an ISO image file, and Start, the operation works perfectly.  If you then eject the DVD to mount another, the GUI freezes at the eject.  The Copy dialog window showing the successful copy operation will not dismiss.

If you dismiss the Copy window before the eject, it closes.  If you then eject, the main GUI freezes.

If you double-click on Window-Close, you'll get the usual "not responding" dialog, and selecting "Close" does close KDE.

Basically, to process multiple DVDs with k3b, you have to premount a DVD, run k3b, kill k3b, mount another, etc.

Running k3b from the command line, the last message before the freeze is the MEDIA CHANGE event message.
Comment 1 Frank Griffin 2012-08-29 14:21:26 CEST
Here's the STDOUT/STDERR from a run in a terminal.  In this case, I successfully closed the Copy dialog prior to hitting EJECT:

k3b
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
[ftg@ftgme2 ~]$ K3bQProcess::QProcess(0x0)
K3bQProcess::QProcess(0x0)
K3bQProcess::QProcess(0x0)
K3bQProcess::QProcess(0x0)
k3b(19244)/kdeui (kdelibs): Attempt to use QAction "view_projects" with KXMLGUIFactory! 
k3b(19244)/kdeui (kdelibs): Attempt to use QAction "view_dir_tree" with KXMLGUIFactory! 
k3b(19244)/kdeui (kdelibs): Attempt to use QAction "view_contents" with KXMLGUIFactory! 
k3b(19244)/kdeui (kdelibs): Attempt to use QAction "location_bar" with KXMLGUIFactory! 
Disc in /dev/sr0 is a Video DVD
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
k3b(19244) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Warning: Service printers defines a print command, but rameter is ignored when using CUPS libraries.
" 
Disc in /dev/sr0 is a Video DVD
QLayout: Attempting to add QLayout "" to QFrame "", which already has a layout
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
"/org/freedesktop/UDisks2/block_devices/sr0" lost interfaces: ("org.freedesktop.UDisks2.Filesystem") 
"/org/freedesktop/UDisks2/drives/ATAPI___iHAS524___A_3743524292_228026500" 's interface "org.freedesktop.UDisks2.Drive" changed props: 
         modified: "Media" : QVariant(QString, "") 
         modified: "MediaAvailable" : QVariant(bool, false) 
         modified: "Optical" : QVariant(bool, false) 
         modified: "OpticalNumDataTracks" : QVariant(uint, 0) 
         modified: "OpticalNumSessions" : QVariant(uint, 0) 
         modified: "OpticalNumTracks" : QVariant(uint, 0) 
         modified: "Size" : QVariant(qulonglong, 0) 
         modified: "TimeMediaDetected" : QVariant(qulonglong, 0) 
"/org/freedesktop/UDisks2/drives/ATAPI___iHAS524___A_3743524292_228026500" 's interface "org.freedesktop.UDisks2.Drive" changed props: 
         modified: "Media" : QVariant(QString, "") 
         modified: "MediaAvailable" : QVariant(bool, false) 
         modified: "Optical" : QVariant(bool, false) 
         modified: "OpticalNumDataTracks" : QVariant(uint, 0) 
         modified: "OpticalNumSessions" : QVariant(uint, 0) 
         modified: "OpticalNumTracks" : QVariant(uint, 0) 
         modified: "Size" : QVariant(qulonglong, 0) 
         modified: "TimeMediaDetected" : QVariant(qulonglong, 0) 
"/org/freedesktop/UDisks2/block_devices/sr0" 's interface "org.freedesktop.UDisks2.Block" changed props: 
         modified: "IdLabel" : QVariant(QString, "") 
         modified: "IdType" : QVariant(QString, "") 
         modified: "IdUsage" : QVariant(QString, "") 
         modified: "Size" : QVariant(qulonglong, 0) 
         modified: "Symlinks" : QVariant(QDBusArgument, ) 
MEDIA CHANGED in "/org/freedesktop/UDisks2/block_devices/sr0" ; size is: 0 
REMOVING OPTDISC "/org/freedesktop/UDisks2/block_devices/sr0"
Comment 2 Nic Baxter 2015-03-29 03:10:29 CEST
I can't reproduce in 5Beta3. Works. Assume it was fixed in the last 30 months so closed.

Status: NEW => RESOLVED
CC: (none) => nic
Resolution: (none) => FIXED