"Suhaib M. Siddiqi" wrote:
>
> I ported a SGI 3D software to Linux using Mesa 3.0 a while ago. The
> original author of the code
> now has a newer version fo source code and had been struggling to get
> binaries working with
> libGLw.so on RedHat Linux 6.2. Since I was the one who originally
> ported code, he asked for help.
>
> It lloks like problem is in libGLw. It does a core dump. Here is the
> cut and paste. He and I used
> widgets-sgi. Any suggestions?
>
> Regards
> Suhaib
>
> Your data initialized ok, building X/Motif widgets ...
> trying to create GlGeomWidgetSB
> created GlGeomWidgetSB
> trying to create GlGeomWidgetSB
> ribbons: GLwDrawA.c:411: createAttribList: Assertion
> `(ptr-w->glwDrawingArea.attribList)<30' failed.
> Aborted (core dumped)
It looks like the interger attribute array might be one element
too small to accomodate all possible GLX options that the widget
might specify.
In widgets-sgi/GLwDrawA.c try changing the value of ATTRIBLIST_SIZE
to a value larger than 30, even 31 might be sufficient.
-Brian
|