[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug Report and Patch for g-wrap
From: |
Puneet |
Subject: |
Bug Report and Patch for g-wrap |
Date: |
Tue, 3 Jul 2007 20:25:50 +0530 |
Hello Andy
I am using g-wrap 1.9.8 with great success. But I was facing facing
some problems with some crashes.
I traced down the problem. It was with how GW_TYPESPEC_AGGREGATED was
being handled in guile-runtime.c. For functions with multiple
arguments the flag was getting enabled for the first argument --
irrespective of which argument is tied with 'aggregated' flag in the
specs file. Also if the argument is of type 'null-ok' and is actually
SCM_BOOL_F at run-time, we should not add it to the dependecy list --
otherwise it results in a crash.
I have fixed this much and I have attached the resulting patch with
this email. It works for me now and I am no longer facing problems
with frequent crahses at the time of Garbage Collection.
Please include the patch in the official distribution. And let me know
if you need some clarifications.
Regards
Puneet
g-wrap-1.9.8.patch
Description: Text Data
- Bug Report and Patch for g-wrap,
Puneet <=