[Digikam-devel] [Bug 132649] random crash when editing image in IE

Heiner Lamprecht heiner at heiner-lamprecht.net
Thu Aug 24 10:58:13 BST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=132649         




------- Additional Comments From heiner heiner-lamprecht net  2006-08-24 11:58 -------
I changed the type of the variable "size" in "int DImg::allocateData()" from int to ullong, and it seems to help a lot:

  ullong size = m_priv->width * m_priv->height * (m_priv->sixteenBit ? 8 : 4);

instead of:

  int size = m_priv->width * m_priv->height * (m_priv->sixteenBit ? 8 : 4);

I'm not 100% sure, because the crash only occured randomly.  But while stressing digikam, nothing happend.

The only crashes still remaining are related to debugging information.  They occur in lines, where kdDebug() is called.  I'll keep on investigating on this.


    Heiner



More information about the Digikam-devel mailing list