#1 Creating an instance sometimes causes segfault

Errors
closed-works-for-me
9
2004-08-01
2004-07-15
No

When calling an creation functions many times, it
happens that eventually applications segfault. This
behaviour is not predictable: any BuildInstance()
scenario can cause it.

Discussion

  • Francesco Garosi

    • assigned_to: nobody --> franzg
     
  • Francesco Garosi

    Logged In: YES
    user_id=328337

    The problem seem to reside in the macros which manage the
    clips_InstanceObject structure. Should be fixed within next
    minor pre-release.

     
  • Francesco Garosi

    Logged In: YES
    user_id=328337

    Since the error in the source code that referred to an invalid
    field has been fixed, the problem is not likely to appear
    anymore. I do not see other causes for this error: it should
    not be related to the original CLIPS source at all. The current
    CVS contains the code that in my opinion fixes this issue.

    All users who downloaded the 1.0 version of the package,
    both in source and in binary form, should download it again, or
    better checkout the CVS HEAD version in order to also benefit
    of other fixes.

     
  • Francesco Garosi

    • status: open --> open-works-for-me
     
  • Francesco Garosi

    • status: open-works-for-me --> closed-works-for-me
     

Log in to post a comment.