Re: K3b 1.0.1 eject problem

[email protected]
Newsgroups gmane.comp.kde.k3b
Message-ID <[email protected]>
With the patch (k3b-thread.diff), that you sent, 

I get the following K3b output (with DVD+RW Video, ejects):
 ................................
(K3bDevice::Device) ***ooo_x12_in   ::eject() const
(K3bDevice::Device) ***ooo_x12a  Q_OS_LINUX
(K3bDevice::ScsiCommand) ***ooo_x14e           <-- !!!

Explanation:
(in "k3bscsicommand_linux.cpp" I added):

bool needToClose = false;
  if( m_device ) {
      k3bDebug() << "(K3bDevice::ScsiCommand) ***ooo_x14a  " << endl;
      m_device->usageLock();
      k3bDebug() << "(K3bDevice::ScsiCommand) ***ooo_x14b  " << endl;
      if( !m_device->isOpen() ) {
          needToClose = true;
      }
      if ( !m_device->open( dir == TR_DIR_WRITE ) ) {
          k3bDebug() << "(K3bDevice::ScsiCommand) ***ooo_x14c  " << endl;
          m_device->usageUnlock();
          k3bDebug() << "(K3bDevice::ScsiCommand) ***ooo_x14d  " << endl;
          return -1;
      }

if ( m_device ) {
      k3bDebug() << "(K3bDevice::ScsiCommand) ***ooo_x14e  " << endl;
      m_device->usageUnlock();
      k3bDebug() << "(K3bDevice::ScsiCommand) ***ooo_x14f  " << endl;
  }

(in "k3bdevice.cpp" I added into "::eject() const"):

#elif defined(Q_OS_LINUX)

    k3bDebug() << "(K3bDevice::Device) ***ooo_x12a " << " Q_OS_LINUX " << 
endl;

    bool success = false;
    bool needToClose = !isOpen();

    usageLock();

    k3bDebug() << "(K3bDevice::Device) ***ooo_x12b " << endl;


The K3b output (with DVD+R Video, doesn't eject) is:

 ................................
(K3bDevice::Device) ***ooo_x12_in   ::eject() const
(K3bDevice::Device) ***ooo_x12a  Q_OS_LINUX


Conclusion:
With (DVD+R) K3b doesn't reach "ooo_x14e" to 
execute "m_device->usageUnlock()", so "usageLock()" in 
"::eject() const" cannot be executed.

The K3b outputs I attach below.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
K3b-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/k3b-user
x88_K3b-user_x1 (text/x-diff, 10.2 KB)
*****************                    with k3b-thread.diff 
VIDEO (false)     (DVD+R)                   QMutexLocker ml( &d->openCloseMutex );              in    bool K3bDevice::Device::open( bool write ) const
                                            usageLock();        usageUnlock();                  in    bool K3bDevice::Device::eject() const
*****************

...@..:~> k3b

k3b: (K3bMedium) found medium:
k3b: =====================================================
DiskInfo:
Mediatype:       DVD+R
Current Profile: DVD+R
Disk state:      empty
Empty:           1
Rewritable:      0
Appendable:      0
Sessions:        0
Tracks:          0
Layers:          1
Capacity:        510:01:29 (LBA 2295104) (4700372992 Bytes)
Remaining size:  510:01:29 (LBA 2295104) (4700372992 Bytes)
Used Size:       00:00:00 (LBA 0) (0 Bytes)
k3b: =====================================================

k3b: ***** growisofs parameters:
k3b: /usr/bin/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:1805222 -use-the-force-luke=dao:1805222 -dvd-compat -speed=16 -use-the-force-luke=bufsize:32m k3b:
(K3bDevice::HalConnection) lock queued for /org/freedesktop/Hal/devices/storage_serial_202515
k3b: (K3bVideoDvdImager) creating temp dir: /tmp/kde-.../k3bVideoDvd0
k3b: (K3bIsoImager) creating dummy dir: /home/.../.kde/share/apps/k3b/temp/1065726465000118262258500000045590017_1/dummydir_0
k3b: (K3bActivePipe) successfully opened pipe.
k3b: ***** mkisofs parameters:
k3b: /usr/bin/mkisofs -gui -graft-points -volid VIDEO_TS -volset  -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-.../k3bfHCkkb.tmp -no-cache-inodes -udf -iso-level 1 -path-list /tmp/kde-.../k3bPD7yjb.tmp -dvd-video -f /tmp/kde-.../k3bVideoDvd0
k3b: (K3bActivePipe) started thread.
k3b: (mkisofs) I: -input-charset not specified, using UTF-8 (detected in locale settings)
k3b: (growisofs) Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0'
k3b: (growisofs) :-? the LUN appears to be stuck writing LBA=10h, keep retrying in 46ms
k3b: (growisofs) :-? the LUN appears to be stuck writing LBA=10h, keep retrying in 43ms
k3b: (mkisofs) Total translation table size: 0
k3b: (mkisofs) Total rockridge attributes bytes: 0
k3b: (mkisofs) Total directory bytes: 4248
k3b: (mkisofs) Path table size(bytes): 42
k3b: (mkisofs) Max brk space used 0
k3b: [virtual void K3bIsoImager::slotProcessExited(KProcess*)]
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = -1 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 13
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::HalConnection) unlock queued for /org/freedesktop/Hal/devices/storage_serial_202515
(K3bDevice::ScsiCommand) ***ooo_x14e
(K3bDevice::ScsiCommand) ***ooo_x14f
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = -1 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 13
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 13 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 13
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::ScsiCommand) ***ooo_x14e
(K3bDevice::ScsiCommand) ***ooo_x14f
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 13 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 13
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::ScsiCommand) ***ooo_x14e
(K3bDevice::ScsiCommand) ***ooo_x14f
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 13 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 13
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::ScsiCommand) ***ooo_x14e
(K3bDevice::ScsiCommand) ***ooo_x14f
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 13 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 13
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::ScsiCommand) ***ooo_x14e
(K3bDevice::ScsiCommand) ***ooo_x14f
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 13 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 13
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::ScsiCommand) ***ooo_x14e
(K3bDevice::ScsiCommand) ***ooo_x14f
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 13 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 13
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::ScsiCommand) ***ooo_x14e
(K3bDevice::ScsiCommand) ***ooo_x14f
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 13 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 13
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
k3b: (K3bDevice::DeviceHandler) ***ooo_x11_in   ::sendCommand( int command )
k3b: (K3bDevice::DeviceHandler) starting command: 1024
k3b: (K3bDevice::DeviceHandler) ***ooo_x11_out  ::sendCommand( int command )  <--- END
k3b: (K3bDevice::DeviceHandler) ***ooo  ::DeviceHandler( int command, Device* dev, const char* name )
k3b:  +++++++++++++++++++++++++++++++++++++++++++
k3b: (K3bDevice::DeviceHandler) ***ooo_x4_in   DeviceHandlerThread: run()  dev = 0x835cc30
k3b: (K3bDevice::DeviceHandler) ***ooo_x4_in   DeviceHandlerThread: if( dev )
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 13 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 13
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
k3b: (K3bDevice::DeviceHandler) ***ooo_x4a  success (dev->open()) = true
k3b: (K3bDevice::DeviceHandler) ***ooo_x4b
k3b: (K3bDevice::DeviceHandler) ***ooo_x4c
k3b: (K3bDevice::DeviceHandler) ***ooo_x4d
k3b: (K3bDevice::DeviceHandler) ***ooo_x4e
k3b: (K3bDevice::DeviceHandler) ***ooo_x4f
k3b: (K3bDevice::DeviceHandler) ***ooo_x4g
k3b: (K3bDevice::DeviceHandler) ***ooo_x4h
k3b: (K3bDevice::DeviceHandler) ***ooo_x4h_1  if( !m_bCanceled && command & EJECT )
 ................................
(K3bDevice::Device) ***ooo_x12_in   ::eject() const
(K3bDevice::Device) ***ooo_x12a  Q_OS_LINUX
k3b: (K3bJobProgressDialog) received finished signal!
k3b: (K3bProjectBurnDialog) job done. cleaning up.
k3b: [void K3bMediaCache::clearDeviceList()]
k3b: [void K3bMediaCache::clearDeviceList()]  waiting for info thread /dev/hdc to finish

...@..:~>
x13_K3b-user_x1 (text/x-diff, 8.7 KB)
*****************                    with k3b-thread.diff 
VIDEO (true)   (DVD+RW)                     QMutexLocker ml( &d->openCloseMutex );              in    bool K3bDevice::Device::open( bool write ) const
                                            usageLock();        usageUnlock();                  in    bool K3bDevice::Device::eject() const
*****************

...@..:~> k3b

k3b: (K3bMedium) found medium:
k3b: =====================================================
DiskInfo:
Mediatype:       DVD+RW
Current Profile: DVD+RW
Disk state:      complete
Empty:           0
Rewritable:      1
Appendable:      0
Sessions:        0
Tracks:          1
Layers:          1
Capacity:        510:01:29 (LBA 2295104) (4700372992 Bytes)
Remaining size:  30:54:55 (LBA 139105) (284887040 Bytes)
Used Size:       479:06:49 (LBA 2155999) (4415485952 Bytes)
Bg Format:       incomplete
k3b: =====================================================

k3b: ***** growisofs parameters:
k3b: /usr/bin/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:1649747 -use-the-force-luke=dao:1649747 -speed=4 -use-the-force-luke=bufsize:32m k3b:
(K3bDevice::HalConnection) lock queued for /org/freedesktop/Hal/devices/storage_serial_202515
k3b: (K3bVideoDvdImager) creating temp dir: /tmp/kde-.../k3bVideoDvd0
k3b: (K3bIsoImager) creating dummy dir: /home/.../.kde/share/apps/k3b/temp/1065726465000118261882000000045480049_1/dummydir_0
k3b: (K3bActivePipe) successfully opened pipe.
k3b: ***** mkisofs parameters:
k3b: /usr/bin/mkisofs -gui -graft-points -volid VIDEO_TS -volset  -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-.../k3bfvKDfa.tmp -no-cache-inodes -udf -iso-level 1 -path-list /tmp/kde-.../k3buQmwBb.tmp -dvd-video -f /tmp/kde-.../k3bVideoDvd0
k3b: (K3bActivePipe) started thread.
k3b: (mkisofs) I: -input-charset not specified, using UTF-8 (detected in locale settings)
k3b: (growisofs) WARNING: /dev/hdc already carries isofs!
k3b: (growisofs) About to execute 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0'
k3b: (growisofs) /dev/hdc: restarting DVD+RW format...
k3b: (mkisofs) Total translation table size: 0
k3b: (mkisofs) Total rockridge attributes bytes: 0
k3b: (mkisofs) Total directory bytes: 4248
k3b: (mkisofs) Path table size(bytes): 42
k3b: (mkisofs) Max brk space used 0
k3b: [virtual void K3bIsoImager::slotProcessExited(KProcess*)]
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = -1 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::HalConnection) unlock queued for /org/freedesktop/Hal/devices/storage_serial_202515
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 14
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::ScsiCommand) ***ooo_x14e
(K3bDevice::ScsiCommand) ***ooo_x14f
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = -1 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 14
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 14 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 14
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::ScsiCommand) ***ooo_x14e
(K3bDevice::ScsiCommand) ***ooo_x14f
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 14 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 14
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
k3b: (K3bDevice::DeviceHandler) ***ooo_x11_in   ::sendCommand( int command )
k3b: (K3bDevice::DeviceHandler) starting command: 1024
k3b: (K3bDevice::DeviceHandler) ***ooo_x11_out  ::sendCommand( int command )  <--- END
k3b: (K3bDevice::DeviceHandler) ***ooo  ::DeviceHandler( int command, Device* dev, const char* name )
k3b:  +++++++++++++++++++++++++++++++++++++++++++
k3b: (K3bDevice::DeviceHandler) ***ooo_x4_in   DeviceHandlerThread: run()  dev = 0x835ce98
k3b: (K3bDevice::DeviceHandler) ***ooo_x4_in   DeviceHandlerThread: if( dev )
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 14 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 14
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
k3b: (K3bDevice::DeviceHandler) ***ooo_x4a  success (dev->open()) = true
k3b: (K3bDevice::DeviceHandler) ***ooo_x4b
k3b: (K3bDevice::DeviceHandler) ***ooo_x4c
k3b: (K3bDevice::DeviceHandler) ***ooo_x4d
k3b: (K3bDevice::DeviceHandler) ***ooo_x4e
k3b: (K3bDevice::DeviceHandler) ***ooo_x4f
k3b: (K3bDevice::DeviceHandler) ***ooo_x4g
k3b: (K3bDevice::DeviceHandler) ***ooo_x4h
k3b: (K3bDevice::DeviceHandler) ***ooo_x4h_1  if( !m_bCanceled && command & EJECT )
 ................................
(K3bDevice::Device) ***ooo_x12_in   ::eject() const
(K3bDevice::Device) ***ooo_x12a  Q_OS_LINUX
(K3bDevice::ScsiCommand) ***ooo_x14e
(K3bDevice::Device) ***ooo_x12b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 14 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 14
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
(K3bDevice::Device) ***ooo_x12b_1  if( open() ) {
(K3bDevice::ScsiCommand) ***ooo_x14f
(K3bDevice::ScsiCommand) ***ooo_x14_in   ::transport( TransportDirection dir,
(K3bDevice::ScsiCommand) ***ooo_x14a
(K3bDevice::Device) ***ooo_x12b_2  success ( if( open() ) { ) = 1
(K3bDevice::Device) ***ooo_x12c  success = 1
(K3bDevice::Device) ***ooo_x12_out  ::eject() const  <--- END
 ................................
(K3bDevice::ScsiCommand) ***ooo_x14b
(K3bDevice::Device) ***ooo_x5_in  ::open( bool write ) const  --->  write = 0    d->openedReadWrite = 0
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5b
(K3bDevice::Device) ***ooo_x5c
(K3bDevice::Device) ***ooo_x5d  d->deviceFd = 14 if == -1 then openDevice( QFile::encodeName(devicename()), write )
(K3bDevice::Device) ***ooo_x5e  d->deviceFd = 14
(K3bDevice::Device) ***ooo_x5_out  ::open( bool write ) const  <--- END  if d->deviceFd != -1 then TRUE
k3b: (K3bDevice::DeviceHandler) ***ooo_x4h_2  success (success && dev->eject()) = true
k3b: (K3bDevice::DeviceHandler) ***ooo_x4i
k3b: (K3bDevice::DeviceHandler) ***ooo_x4j
k3b: (K3bDevice::DeviceHandler) ***ooo_x4k
k3b: (K3bDevice::DeviceHandler) ***ooo_x4_out  DeviceHandlerThread: if( dev )   <--- END
k3b: (K3bThreadJob) waiting for the thread to finish.
k3b: (K3bDevice::DeviceHandler) ***ooo_x4_out  DeviceHandlerThread: run()  <--- END
k3b:  +++++++++++++++++++++++++++++++++++++++++++
k3b: (K3bThreadJob) thread finished.
k3b: (K3bJobProgressDialog) received finished signal!
k3b: (K3bDevice::DeviceHandler) thread emitted finished. Waiting for thread actually finishing
k3b: (K3bDevice::DeviceHandler) success: true
k3b: (K3bDevice::DeviceHandler) deleting thread.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.