bugtherion - Bugs: bug #18538, Crash: Inserting huge image...

 
 

bug #18538: Crash: Inserting huge image crashes map editor

Submitted by:  Will Moffat <hamstersoup>
Submitted on:  Sat 16 Dec 2006 05:10:49 PM UTC  
 
Status: Works For MeAssigned to: Stacho Mudrak <stacho>
Originator Name: ???Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 16 Dec 2006 05:22:09 PM UTC, comment #1:

Here's a 56KB png file that represents a 122MB bitmap.

My computer only has 512MB of ram.

(file #11537)

Will Moffat <hamstersoup>
Sat 16 Dec 2006 05:10:49 PM UTC, original submission:

I tried to insert a 122MB image (4000x4000) in the Map Editor.

XTherion crashes with the following warning:

Fatal Error in Wish
Fail to create pixmap with Tk_GetPixmap in ImgPhotoInstanceSetSize.

Maybe it's not a good idea to insert such a big image :-) but XTherion should give a warning rather than just crash.

I also found that with a slightly smaller image, the Map Editor would insert the image OK but after zooming in and out a few times it would crash. This is really annoying but unfortunately I can't reproduce it reliably.

I haven't attached the 122MB image! But any huge image seems to cause this problem.

Platform: WinXP
Version: Developer's snapshot 2006-12-15

Will Moffat <hamstersoup>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #11537:  4000x4000_122MB.png added by hamstersoup (55KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by stacho (Updated the item)
  • -unavailable- added by hamstersoup (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 12 Feb 2009 02:29:41 PM UTCstachoOpen/ClosedOpen=>Closed
    Fri 23 Jan 2009 02:26:32 PM UTCstachoAssigned toNone=>stacho
      Originator Name=>???
    Tue 06 Feb 2007 07:18:12 AM UTCstachoStatusNone=>Works For Me
    Sat 16 Dec 2006 05:22:09 PM UTChamstersoupAttached File-=>Added 4000x4000_122MB.png, #11537

    Back to the top


    Powered by Savane 3.1-cleanup1