program freezes up crashes on large picture
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mypaint (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Continued to draw and back out using mouse adding more details to picture, After doing this for 20 mins the program froze up and lost latest info. Error message follows:
Traceback (most recent call last):
File "/usr/share/
else:
variables: {'self.save_file': ('local', <bound method FileHandler.wrapper of <gui.filehandli
File "/usr/share/
try:
variables: {'self': ('local', <gui.filehandli
File "/usr/share/
except document.
variables: {'options': ('local', None), 'self.doc.save': ('local', <bound method Document.save of <lib.document.
File "/usr/share/
try:
except gobject.GError, e:
variables: {'kwargs': ('local', None), 'save': ('local', <bound method Document.save_ora of <lib.document.
File "/usr/share/
# save background as layer (solid color or tiled)
s = pixbufsurface.
variables: {'h0': ('local', 11072), 's': (None, None), 'pixbufsurface.
File "/usr/share/
dx = x-self.ex
RuntimeError: could not create GdkPixbuf object
I am using Linux Mint 10 with a Wacom Tablet and program running.
MyPaint 0.8.2
I had been expanding picture to add detail previously and usually it is able to handle it with no problem. Today was the
first it froxe up. It could be just the nature of the size of the picture and I am going be more careful to watch the size of the picture and prevent future losses.
The message stands for "out of memory" while trying to save the file.
MyPaint was trying to create a 3824 x 11072 (127MB) pixbuf, which would be the size of your image. If your image should have been much smaller, you probably made some accidental faint strokes while zoomed out. Check whether your tablet pressure goes to exactly zero when you lift the pen.
The good news: starting with MyPaint 0.9 we no longer allocate such a large pixbuf while saving, and saving is around 5 to 10 times faster than 0.8.
The bad news: we still allocate the same sized pixbuf while loading (but drop it after). And people still occasionally report out of memory when working with huge images.