On Sun, 26 May 2013 21:17:42 +1000
Bruce & Breeanna Rennie <bren...@dcsi.net.au> wrote:

> Clint and Jafar,
> 
> As a bit of a detour in trying to understand the structure of the 
> IDE/3D/etc classes in Unicon, I have compiled and I am in the process of 
> running/testing each of the graphics programs in ipl/gprogs.
> 
> I have come across a number of problem so far (which I will be 
> documenting in more detail over the next week). The first found was 
> "can't allocate a mutable color". This was found as an error in calib.icn.
> 
> I then found a program called gpxtest which gives the following error 
> messages after one initial screen being displayed.
> 

I posted a backtrace for this a few years ago at : 
http://sourceforge.net/p/unicon/bugs/97/

If you need the broken function used by gpxtest, 
and don't mind a memory leak,
 try my old (possibly obsolete) test patch: 

fwindow.r:2498: remove:    if (p != answer) free(p);

This only 'fixes' the one function that crashes gpxtest.

IIRC many graphics functions are called from many places passing 
strings, some of which need to be freed, and are, 
and some that must not be freed, and are, thus the crash.

I assume by the lack of related bugs that the affected functions are not
often needed.

Charles






------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to