Menu

#25 Segfault on long project

open
nobody
None
5
2012-07-18
2006-08-07
No

Submitted by Vlastimil Masek.

Can you please help me; I am using opensched to generate a
documentation for my new project that spans over 5
years. Using the
test.sched in the examples folder, I am getting a
segmentation fault
when:

Project starts on 2006 Oct 30, and
Project a+b+c: total length 1197 days -> segmentation
fault ???
(Project a+b+c: total length 1196 days -> OK)

It may be the year 2010 or exceeding a variable size.

Discussion

  • Guilhem BONNEFILLE

    Logged In: YES
    user_id=50353

    It seems that the maximum duration of the project is
    currently limited to 1000 (see MAX_TIME in base.h).

    A temporary solution could be to increase this constant.

     
  • Guilhem BONNEFILLE

    Logged In: YES
    user_id=50353

    the days array has been moved to vector.

    Next step: allow to change the MAX_TIME from command line.

     
  • Guilhem BONNEFILLE

    Logged In: YES
    user_id=50353

    A new option has been added: -D. It allows to set the number
    of worked days.

     
  • Guilhem BONNEFILLE

    Logged In: YES
    user_id=50353

    The days structure has been improved. It is now more dynamic.

     
  • Guilhem BONNEFILLE

     

Anonymous
Anonymous

Add attachments
Cancel