Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13015

Binary editor crashes after removing media

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.3.0-rc1
    • Qt Creator 3.2.1, Qt Creator 3.3.0-rc1
    • Editors
    • Ubuntu 12.04 LTS 64 bit
      Ubuntu 14.04 LTS 64 bit
      Qt 5.3.1, 5.3.2, 5.4.0

    Description

      Follow the instructions from QTCREATORBUG-13014, but let the opened file be on a removable media and instead of deleting the file, remove the media.
      Creator will not write a file to the location selected using "Save as". After some seconds (scroll the editor if needed), the editor will complain about the file not being available on the removed media and will crash:

      0	qpen_fast_equals	qpainter_p.h	86	0x7ffff68f3d20	
      1	QRasterPaintEngine::ensurePen	qpaintengine_raster_p.h	259	0x7ffff690d0a0	
      2	QRasterPaintEngine::ensurePen	qpaintengine_raster_p.h	262	0x7ffff690d11d	
      3	QRasterPaintEngine::drawTextItem	qpaintengine_raster.cpp	3048	0x7ffff6906a65	
      4	QPainterPrivate::drawTextItem	qpainter.cpp	6464	0x7ffff6924cfd	
      5	QPainter::drawTextItem	qpainter.cpp	6340	0x7ffff69243f3	
      6	QPainter::drawText	qpainter.cpp	5909	0x7ffff6922e61	
      7	QPainter::drawText	qpainter.cpp	5694	0x7ffff6921c81	
      8	QPainter::drawText	qpainter.h	891	0x7fffdccb9771	
      9	BINEditor::BinEditorWidget::drawItems	bineditor.cpp	677	0x7fffdccb1552	
      10	BINEditor::BinEditorWidget::paintEvent	bineditor.cpp	869	0x7fffdccb2da2	
      11	QWidget::event	qwidget.cpp	8117	0x7ffff7377e1b	
      12	QFrame::event	qframe.cpp	534	0x7ffff74a8b3f	
      13	QAbstractScrollArea::viewportEvent	qabstractscrollarea.cpp	1194	0x7ffff754635b	
      14	QAbstractScrollAreaPrivate::viewportEvent	qabstractscrollarea_p.h	110	0x7ffff754754b	
      15	QAbstractScrollAreaFilter::eventFilter	qabstractscrollarea_p.h	126	0x7ffff7547612	
      16	QCoreApplicationPrivate::sendThroughObjectEventFilters	qcoreapplication.cpp	1031	0x7ffff60c3fe0	
      17	QApplicationPrivate::notify_helper	qapplication.cpp	3495	0x7ffff732c98f	
      18	QApplication::notify	qapplication.cpp	3464	0x7ffff732c81c	
      19	QCoreApplication::notifyInternal	qcoreapplication.cpp	935	0x7ffff60c3c82	
      20	QCoreApplication::sendSpontaneousEvent	qcoreapplication.h	240	0x7ffff732eba1	
      ...	<Mehr>				
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              davschul David Schulz
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes