Anders Brandt Petersen <[EMAIL PROTECTED]> writes:
> It is not linked to guile.
> Below is a new backtrace:
Thanks!
> (gdb) bt
> #0 0x000000000050b59f in calculateEigthPoints ()
> #1 0x0000000000506bf4 in preDraw3d ()
Aha. I bet there was never a problem with Guile at all.
Would it be possible for you to apply a patch and rebuild the package as a
test? I think this patch will fix the segfaults:
Index: board3d/misc3d.c
===================================================================
--- board3d/misc3d.c (revision 348)
+++ board3d/misc3d.c (working copy)
@@ -787,10 +787,10 @@
float ***Alloc3d(int x, int y, int z)
{ /* Allocate 3d array */
int i, j;
- float ***array = (float ***)malloc(sizeof(float) * x);
+ float ***array = (float ***)malloc(sizeof(float **) * x);
for (i = 0; i < x; i++)
{
- array[i] = (float **)malloc(sizeof(float) * y);
+ array[i] = (float **)malloc(sizeof(float *) * y);
for (j = 0; j < y; j++)
array[i][j] = (float *)malloc(sizeof(float) * z);
}
I'm pretty sure this is right, but if you could test before I do the
upload, that would be wonderful.
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]