Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#42 os3: can't run dopus5.9x without startup-sequence

5.91
closed
nobody
None
2014-06-23
2014-05-22
kas1e
No

While previous version of dopus5 (5.82) which done on SASC can runs without problems without s-s , our one just stuck when open dopus5.library. I.e. code think that opening of library happens fine, but then, seems libinit code of dopus5.library fail by some reasons.

To have it works the same as sasc version will be good because of that reasons:

  1. 5.82 works without startup-sequence on the same setup, while 5.90 not, and i currently didn't see why it should't.

  2. some 68k users already report that they can't run it without s-s , so they try it and fail (so they use it like this in some conditions). There is no "error" , or anything like that, just "forever stuck and eat of memory" when it open dopus5.library.

  3. testing stuff without s-s always was (and still) good, when user want faster check when nothing involved.

The good suggestion come from Xenic:

Before you start debugging the library I suggest you find what is missing in the startup-sequence that 68k Dopus5 needs. Start at the bottom of the startup-sequence and eliminate one thing at a time, rebooting in between and trying to start Dopus5. Dopus5 should start each time until you eliminate the thing that it needs. Then you'll know what to look for in the library,

Discussion

  • kas1e
    kas1e
    2014-05-22

    I found that it is enough to just do :

    c:adddatatypes refresh quiet

    after we boot without s-s to make dopus5.9x runs.

    probably its some datatypes check or something in the library.

     
  • kas1e
    kas1e
    2014-06-23

    After checks we found that problem is to open datatypes.library in os3 when we run without startup-sequence. I.e. OpenLibrary("datatypes.library",0) just fail.

    So we add checks in library init code so to avoid silence eating of memory, and exit with proper message that dopus5.library can't be found (but, better of course to add info about what library exactly can't be opened, so probably need to restrucure a bit opening of libraries in libinit.c of library, to have open not all libs at once and then final prinfs, but check-if-fail-do-printf after each).

    Also when we will make release need to add words about needs to do "c:adddatatypes refresh quiet" , to be able to open datatypes.library and run dopus5 without s-s.

     
  • kas1e
    kas1e
    2014-06-23

    • status: open --> closed