Bugs item #1576373, was opened at 2006-10-13 06:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1576373&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: dooglus (dooglus)
Assigned to: Nobody/Anonymous (nobody)
Summary: invalid palette entries are accessed

Initial Comment:
gif::output_curr_palette() in
synfig/src/modules/mod_gif/trgt_gif.cpp outputs
PaletteItems which haven't been defined.  The palette
size is typically less than 250 entries, but
output_curr_palette() loops from 0 to 255 trying to
look up a colour for each.

There is code in place to avoid looking up entries
which haven't been defined, but it's commented out (and
a little wrong, too).  This patch uncomments and fixes it:

* http://dooglus.rincevent.net/random/gif1.txt

Could this be what is causing rendering to .gif files
to crash sometimes?  I'm not sure, becuase I've not
been able to reproduce the crash since I compiled with
debugging enabled and optimization disabled.

I'm raised a separate bug for this rather than adding a
comment to bug 1346746, since that one seems to be
about more than just the gif target.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1576373&group_id=144022

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to