#417 Drag/Double Click Crash on Queues

Latest Subversion
closed-fixed
Interface (116)
6
2009-05-01
2009-04-24
No

Start game up, enqueue the rightmost tech on the queue by double-clicking. Start double clicking furiously on the top of the tech queue, while dragging the mouse around. Eventually while doing this, I get a crash. The app freezes with a tech panel being dragged and the mouse over top. The cursor is usually over the panel that was dragged off the queue, and I think this occurs when I click again on the being dragged and dragged away panels.

The debugger catches a crash, and the error is:

Unhandled exception at 0x10154a63 (GiGi.dll) in freeorion.exe: 0xC0000005: Access violation reading location 0x00000128.

The location in code is:

> GiGi.dll!GG::ListBox::Row::operator[](unsigned int n=0) Line 239 + 0x3 bytes C++
freeorion.exe!QueueListBox::Render() Line 45 C++

which is:

Control* ListBox::Row::operator[](std::size_t n) const
{ return m_cells[n]; }

Perhaps rendering is happening part way through the listbox row delete operation?

Discussion

  • Zach Laine

    Zach Laine - 2009-05-01

    Fixed in GG Subversion. (The fix wasn't in the FreeOrion code
    itself, but in GG, the GUI library FreeOrion uses.)

     
  • Zach Laine

    Zach Laine - 2009-05-01
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks