-
-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error 11 issues #2391
Comments
If you can make it start compiling(without tossing out all the new
content), you will be a hero.
…On Thu, Oct 14, 2021 at 10:16 AM noah the goodra ***@***.***> wrote:
trying to compile the master branch fails with error 11.
I did some research on where it fails and it seems like this commit is
where the error starts
1d85e48 ("Prometheus Additions", 2021-10-03) 1d85e48
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2391>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGYPSI4F5CQKGE2ZM2BSVTUG4F5DANCNFSM5GAE64DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
My hat off to you. That is some deep diving there. Trying to prune out that
line and seeing what happens.
…On Thu, Oct 14, 2021 at 1:43 PM noah the goodra ***@***.***> wrote:
well i dug into the 6GB dump i did using procdump.exe -ma -e -w ni.exe
and here is what the compiler seems to crap out on (in the sense of going
into an infinate loop of fail)
<https://github.com/camo/090e1407da1e72c9bf9f98f237f76135bd58aba9eb4143f782bebe478593d202/68747470733a2f2f692e696d6775722e636f6d2f51744155654f6f2e706e67>
extracted segment
#ifdef DEBUG; if (suppress_text_substitution) { print "~[if HP of Fang is 3 or HP of Fang is 4]The scent of your alpha wolf is strong and exciting[else]The scarred wolf has an arousing scent[end if].~"; rtrue; }
#endif; ! DEBUG
! [1: ~[if HP of Fang is 3 or HP of Fang is 4]The scent of your alpha wolf is strong and exciting[else]The scarred wolf has an arousing scent[end if].~]
to be more specific it seems atleast based off these function names in the
callstack
<https://github.com/camo/d61b2e9f7086b98e484519114b32f8193764334926eedf8e5ad60a82ab55158d/68747470733a2f2f692e696d6775722e636f6d2f57434e4c3379442e706e67>
the sequences of events possibly is "load the code block above" -> "parse
inner statement" -> "observe need to allocate more nodes (because of the
[if] [else] parts)" -> "attempt to allocate more nodes" -> "fail because it
reached some limit"
After More examination it seems to have some limit which can be observed
here
<https://github.com/camo/5d5ec4f194d93be6ddb2846aaa87df8c5ec269027fe9f125768f9a7d33babd79/68747470733a2f2f692e696d6775722e636f6d2f624d6d333468342e706e67>
specificly that cmp line
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGYPSIDJCVPRF2EV22X64DUG46GDANCNFSM5GAE64DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Pushed the revised files up, did not compile alas. |
its still compiling here but so far it seems to have worked. current memsize of the ni.exe process is 6.49GB |
Ok compilation completed successfully. |
You patched it?! You are a miracle worker.
…On Thu, Oct 14, 2021 at 3:03 PM noah the goodra ***@***.***> wrote:
Ok compilation completed successfully.
I am attaching the patched version of the ni.exe to this post
ni.zip <https://github.com/Nuku/Flexible-Survival/files/7349628/ni.zip>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGYPSLMGKWRVCI3RTTG2PDUG5HSVANCNFSM5GAE64DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hrm, windows is very unhappy about that file.
…On Thu, Oct 14, 2021 at 3:08 PM David Silver ***@***.***> wrote:
You patched it?! You are a miracle worker.
On Thu, Oct 14, 2021 at 3:03 PM noah the goodra ***@***.***>
wrote:
> Ok compilation completed successfully.
> I am attaching the patched version of the ni.exe to this post
> ni.zip <https://github.com/Nuku/Flexible-Survival/files/7349628/ni.zip>
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#2391 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAGYPSLMGKWRVCI3RTTG2PDUG5HSVANCNFSM5GAE64DQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
|
self patching info: the location you need to patch is at the file offset of this turns the original limit of
Patched Asm
|
Hm hm hm, any idea what the name of that variable is? |
If you mean in your code I think you more or less reached the upper limit of inform7 at least as far as the developer made it |
I will try to track down all the needed changes to get it to compile under unpached exe |
I am compiling with your patched file.
…On Thu, Oct 14, 2021 at 3:34 PM noah the goodra ***@***.***> wrote:
I will try to track down all the needed changes to get it to compile under
unpached exe
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGYPSK42FIXTV64G5VEPLTUG5LI3ANCNFSM5GAE64DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
well if you use my patched file this commit is no longer needed f299a9c |
All fixed. Thank you for your help. |
btw I saw the godot commits I almost want to guess you plan to use https://www.inklestudios.com/ to get away from the inform7 compiler. |
That appears to be a specific game?
…On Fri, Oct 15, 2021 at 1:24 PM noah the goodra ***@***.***> wrote:
btw I saw the godot commits I almost want to guess you plan to use
https://www.inklestudios.com/ to get away from the inform7 compiler.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGYPSOVXCBJP2ZUXYRBNE3UHCEWLANCNFSM5GAE64DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
i mostly saw these commits f2d7980 and thought you were going to slowly attempt to convert to godot to get away from inform7 |
We are exploring Godot, we had a poll about it on the Patreon even.
…On Fri, Oct 15, 2021 at 1:34 PM noah the goodra ***@***.***> wrote:
i mostly saw these commits f2d7980
<f2d7980>
and thought you were going to slowly attempt to convert to godot to get
away from inform7
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGYPSKBSST5G7HVWPPRAYTUHCF4BANCNFSM5GAE64DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
well that ink thing i linked was my attempt at finding a possible replacement for inform7 (it was searched while i tried to find a fix for the 11 error) |
Someone just has to code it. Speaking of, seeing as you hacked this together, may as well ask, are you available as a coder? |
well it depends on what you are trying todo I am no pro at godot or inform for that matter I am just good well I guess general coding/RE |
Being a coder means you can learn new languages if you want to, but would
you want to?
…On Fri, Oct 15, 2021 at 9:32 PM noah the goodra ***@***.***> wrote:
well it depends on what you are trying todo I am no pro at godot or inform
for that matter I am just good well I guess general coding/RE
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGYPSO6WXS3VWOU4HF4BHLUHD55HANCNFSM5GAE64DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
yes because it sounds fun but for now I wouldnt like todo it |
Yes, the ni compiler keeps track of how many "memory pages" it has allocated (where each memory page is just an arbitrary block of memory, if this gets over 15,000 then ni assumes it has got itself trapped in a loop and dies. For the next Inform 7 6M62 release (at https://github.com/DavidKinder/Windows-Inform7) I will push up this limit. |
Oh, very interesting. Don't suppose this number could become something we can override with an in-code option? |
Graham is currently working on a rewrite of the compiler, so I'm very reluctant to change the existing 6M62 compiler any more than absolutely necessary. If this issue shows up with the rewritten compiler then adding an option somewhere should be feasible for that, but not for 6M62. |
Fair Enough, thanks! |
A new build of Windows Inform 7 is out at https://github.com/DavidKinder/Windows-Inform7/releases/tag/6m62_w64_b5 which should have the raised compiler limit in it. I have not actually tested that your game compiles, but it should ... |
Thanks kindly! Compiling now.
…On Fri, Dec 3, 2021 at 6:42 AM David Kinder ***@***.***> wrote:
A new build of Windows Inform 7 is out at
https://github.com/DavidKinder/Windows-Inform7/releases/tag/6m62_w64_b5
which should have the raised compiler limit in it. I have not actually
tested that your game compiles, but it should ...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGYPSKTKJRYSHDEOCOPTI3UPDJN3ANCNFSM5GAE64DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Now that the source code is available, it's possible to compile a patched version of 6M62 for any platform by increasing the https://github.com/ganelson/inform/blob/master/retrospective/6M62/ni.c |
while you can increase that its probably best for it to be caclulated at runtime depending on the pc trying to compile the game. |
trying to compile the master branch fails with error 11.
I did some research on where it fails and it seems like this commit is where the error starts
The text was updated successfully, but these errors were encountered: