[vbox-dev] a process crash bug

Huihong Luo huisinro at yahoo.com
Sun Aug 23 18:36:17 GMT 2009


this application crashes happens when there is only one virtual disk

--- On Sun, 8/16/09, Huihong Luo <huisinro at yahoo.com> wrote:


From: Huihong Luo <huisinro at yahoo.com>
Subject: a process crash bug
To: vbox-dev at virtualbox.org
Date: Sunday, August 16, 2009, 11:04 PM







Sometimes, the virtualbox gui crashes when a hard disk is deleted from media dialog.
see the following call stack. (in amd64 host), happens also on 32-bit host
 
seems crashed from VBoxMediaManagerDLg.cpp line 1441, 
 
Unhandled exception at 0x6709d624 in VirtualBox.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
 
if (item)
{
QString usage = item->usage().isNull() ?
formatPaneText (tr ("<i>Not Attached</i>"), false) :
formatPaneText (item->usage());
if (item->treeWidget() == mHardDiskView)
{
mHdsPane1->setText (formatPaneText (item->location(), true, "end"));
mHdsPane2->setText (formatPaneText (QString ("%1 (%2)").arg (item->hardDiskType())
.arg (item->hardDiskFormat()), false));  <======== line 1441
mHdsPane3->setText (usage);
}
 
call stack:
 
  QtCore4.dll!000000006709d624()  
  [Frames below may be incorrect and/or missing, no symbols loaded for QtCore4.dll] 
  QtCore4.dll!000000006709d7a5()  
> VirtualBox.exe!VBoxMediaManagerDlg::processCurrentChanged(QTreeWidgetItem * aItem=0x0000000000000020, QTreeWidgetItem * aPrevItem=0x00000000007b4a70)  Line 1441 + 0x189 bytes C++
  VirtualBox.exe!VBoxMediaManagerDlg::qt_metacall(QMetaObject::Call _c=9135792, int _id=1219528, void * * _a=0x0000000000000067)  Line 121 + 0x16 bytes C++
  QtCore4.dll!0000000067183fef()  
  QtCore4.dll!000000006718436f()  
  QtGui4.dll!0000000065606761()  
  QtGui4.dll!00000000656167d2()  
  VirtualBox.exe!QITreeWidget::qt_metacall(QMetaObject::Call _c=43623440, int _id=1219992, void * * _a=0x0000000002a25aa0)  Line 63 C++
  QtCore4.dll!0000000067183fef()  
  QtCore4.dll!000000006718436f()  
  QtGui4.dll!00000000655d4a4a()  
  QtGui4.dll!000000006557a605()  
  QtGui4.dll!000000006560ba72()  
  VirtualBox.exe!VBoxMediaManagerDlg::processCurrentChanged(QTreeWidgetItem * aItem=0x0000000000000000, QTreeWidgetItem * aPrevItem=0x00000000007b4a70)  Line 1399 + 0x7e bytes C++
  VirtualBox.exe!VBoxMediaManagerDlg::qt_metacall(QMetaObject::Call _c=9135792, int _id=1221352, void * * _a=0x0000000000000067)  Line 121 + 0x16 bytes C++
  QtCore4.dll!0000000067183fef()  
  QtCore4.dll!000000006718436f()  
  QtGui4.dll!0000000065606761()  
  QtGui4.dll!00000000656167d2()  
  VirtualBox.exe!QITreeWidget::qt_metacall(QMetaObject::Call _c=InvokeMetaMethod, int _id=0, void * * _a=0x0000000002a25aa0)  Line 63 C++
  QtCore4.dll!0000000067183fef()  
  QtCore4.dll!000000006718436f()  
  QtGui4.dll!00000000655dd4d5()  
  QtGui4.dll!00000000655e08ac()  
  QtCore4.dll!0000000067183fef()  
  QtCore4.dll!000000006718436f()  
  QtCore4.dll!00000000671c6d63()  
  QtCore4.dll!000000006715ed5b()  
  QtGui4.dll!000000006560ac1d()  
  QtGui4.dll!000000006560b30d()  
  VirtualBox.exe!MediaItem::`scalar deleting destructor'()  + 0x30 bytes C++
  VirtualBox.exe!VBoxMediaManagerDlg::mediumRemoved(VBoxDefs::MediaType aType=1221552, const QString & aId={...})  Line 914 C++
  VirtualBox.exe!VBoxMediaManagerDlg::qt_metacall(QMetaObject::Call _c=1079203984, int _id=1222568, void * * _a=0x0000000000000009)  Line 109 + 0x12 bytes C++
  QtCore4.dll!0000000067183fef()  
  QtCore4.dll!000000006718436f()  
  VirtualBox.exe!VBoxGlobal::mediumRemoved(VBoxDefs::MediaType _t1=MediaType_HardDisk, const QString & _t2={...})  Line 215 C++
  VirtualBox.exe!VBoxGlobal::removeMedium(VBoxDefs::MediaType aType=MediaType_HardDisk, const QString & aId={...})  Line 2611 C++
  VirtualBox.exe!VBoxMediaManagerDlg::doRemoveMedium()  Line 1117 C++
  VirtualBox.exe!VBoxMediaManagerDlg::qt_metacall(QMetaObject::Call _c=9160240, int _id=0, void * * _a=0x0000000000000006)  Line 115 + 0x8 bytes C++
  QtCore4.dll!0000000067183fef()  
  QtCore4.dll!0000000067184402()  
  QtGui4.dll!000000006500be6d()  
  QtGui4.dll!00000000653da539()  
  QtGui4.dll!00000000653da897()  
  QtGui4.dll!00000000654c997f()  
  QtGui4.dll!0000000065086d45()  
  QtGui4.dll!0000000065020d66()  
  QtGui4.dll!0000000065025e71()  
  QtCore4.dll!0000000067167376()  
  QtGui4.dll!0000000065025288()  
  QtGui4.dll!000000006509495f()  
  QtGui4.dll!0000000065097ac6()  
  user32.dll!0000000077c439fc()  
  user32.dll!0000000077c43e9c()  
  QtCore4.dll!000000006719ca00()  
  QtGui4.dll!0000000065096cd5()  
  QtCore4.dll!0000000067166fd1()  
  QtCore4.dll!000000006716bc09()  
  VirtualBox.exe!TrustedMain(int argc=1, char * * argv=0x0000000000000000, char * * __formal=0x00000000007e7e60)  Line 554 + 0x6 bytes C++
  VirtualBox.exe!main(int argc=1, char * * argv=0x0000000000000001, char * * envp=0x0000000000000001)  Line 647 C++
  VirtualBox.exe!WinMain()  + 0x236 bytes C++
  VirtualBox.exe!__tmainCRTStartup()  Line 589 + 0x26 bytes C
  kernel32.dll!0000000077d596cc()  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090823/9438d89a/attachment.html>


More information about the vbox-dev mailing list