-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Stack overflow error during build, during loadup-db-from-full.sh
execution
#1935
Comments
I don't expect any different outcomes but in general it's worth executing |
|
@masinter, @sethm - that's an XQuartz window on a Mac, right? So this is SDL on the Linux box driving a remote X11 display back on a Mac ? Whether the display subsystem is X11 or SDL (and SDL's choice of back-end display) won't make a difference to things like Lisp's stack. @pamoroso the Makefiles have the correct dependencies, as far as I know, so |
@nbriggs @masinter It's actually KDE Plasma 6.2 (which does look very much like macOS!), so it's running locally under Wayland. I must confess I'm very new to Wayland and KDE myself, I have a lot of X11 history under my belt so this is new territory. I have tried a few things based on this conversation so far:
I think I need to learn basic Interlisp debugging so I can explore the stack trace, hopefully that will give some more info. EDIT: Looks like @masinter added a comment just as I was completing my own, race condition! :) |
the loadup process doesn't halt when an error occurs during the loadup. This was something Ron brought up but I'm not sure an issue was ever made up. So yes, a full sysout should always have TEDIT loaded. I'm wondering about the file name of TEDIT -- it's lower case in the arguments in the call, but not in the file name. The stack overflow I wonder if the difference is a case sensitive file system on linux but not on macos. |
@nbriggs when I change Maiko to an older version from an older release -- e.g., medley-full-wsl-x86_64-240319-2f7972e7_240211-ce20acca I no longer get the stack overflow. I believe the problem has to do with the changes to the caching of directory enumeration for {DSK} files when Medley is run on a case sensitive file system. |
@masinter that's odd, I just did a loadup-full.sh and loadup-db.sh on FreeBSD which also has a case-sensitive file system -- but I'll try some more tests. |
@masinter - so the first place things go wrong is that it is producing a "full.sysout" where TEDIT is not loaded, right? That then cascades into the loadup-db.sh failing? |
this git hash is before the TEdit round 5 merge to master, can you retry at the current head of the medley branch? I haven't been able to reproduce the failure on a FreeBSD system which also has a case-sensitive file system. I don't have a Linux system to test on. |
If you think Tedit might be an issue, start from Lisp.sysout and then (FILESLOAD TEDIT). Then at least it would put in you a break.
… On Dec 26, 2024, at 1:20 PM, Nick Briggs ***@***.***> wrote:
@sethm <https://github.com/sethm>
$HOME/Interlisp/medley (git hash f896885 <f896885>)
this git hash is before the TEdit round 5 merge to master, can you retry at the current head of the medley branch?
I haven't been able to reproduce the failure on a FreeBSD system which also has a case-sensitive file system. I don't have a Linux system to test on.
—
Reply to this email directly, view it on GitHub <#1935 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJLMGP3I2RQBHTC2XDL2HRXJXAVCNFSM6AAAAABUFG2RSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGEYDOMBSGY>.
You are receiving this because you are subscribed to this thread.
|
@rmkaplan that works perfectly - both before and after the 5th round merge, with my current maiko, in every configuration I've tried. |
There is another potential issue with /RENAMEFILE in FILEIO, which now calls TRUEDEVICE. That is stubbed out in ADIR, but the ultimate version in PSEUDOHOSTS has not been merged. So if a pseudohost is involved anywhere in the loadup sequence, particularly when it is renaming sysouts from the /tmp directory, it won’t be resolved properly. But I think that would only impact efficiency—it wouldn’t use the special UFS rename method, it would copybytes.
… On Dec 26, 2024, at 1:29 PM, Nick Briggs ***@***.***> wrote:
@rmkaplan <https://github.com/rmkaplan> that works perfectly - both before and after the 5th round merge, with my current maiko, in every configuration I've tried.
—
Reply to this email directly, view it on GitHub <#1935 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJLUHGHGXG3GHSTWNP32HRYM3AVCNFSM6AAAAABUFG2RSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGEYTCNBSGM>.
You are receiving this because you were mentioned.
|
Actually, I think that the PSEUDOHOST update was merged. There was a lingering PR for that, but it was apparently old and incompatible. I deleted it.
I don’t think RENAMEFILE would be a problem.
… On Dec 26, 2024, at 1:50 PM, Ron Kaplan ***@***.***> wrote:
There is another potential issue with /RENAMEFILE in FILEIO, which now calls TRUEDEVICE. That is stubbed out in ADIR, but the ultimate version in PSEUDOHOSTS has not been merged. So if a pseudohost is involved anywhere in the loadup sequence, particularly when it is renaming sysouts from the /tmp directory, it won’t be resolved properly. But I think that would only impact efficiency—it wouldn’t use the special UFS rename method, it would copybytes.
> On Dec 26, 2024, at 1:29 PM, Nick Briggs ***@***.***> wrote:
>
>
> @rmkaplan <https://github.com/rmkaplan> that works perfectly - both before and after the 5th round merge, with my current maiko, in every configuration I've tried.
>
> —
> Reply to this email directly, view it on GitHub <#1935 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJLUHGHGXG3GHSTWNP32HRYM3AVCNFSM6AAAAABUFG2RSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGEYTCNBSGM>.
> You are receiving this because you were mentioned.
>
|
@rmkaplan @nbriggs This is a problem with maiko. I have a clear case where the loadup fails on WSL with current maiko, but doesn't fail with an older maiko. The loadup also doesn't fail on macos ith current darwin. but renamefile etc. aren't the problem. Now I see that UPPER-CASE-DILE-NAMES is T and FINDFILE(FILESEts) retrns NILL. |
I'm not saying it's NOT a Maiko problem -- but I've tried FreeBSD (because I have one) and Linux Mint 22 (because I had an image I could run on VirtualBox), and I can't develop a smaller test-case because I can't reproduce the problem. Do you have a test case that doesn't involve doing a loadup? |
All variations of case, atom or string, of FILESETS in |
@masinter - can you try on WSL with maiko at 86ba485c3eb25e9d734d60c48d7149b69668dd97 (before version array changes) and fae5c4956ee005339c029bcb1b274f51d3560253 (with version array changes)? |
I just wanted to confirm that with the latest changes in medley and maiko, everything is working perfectly now! The full build completes without any errors that I've seen. Thank you all for your work! |
@sethm - well that's confusing. I didn't change anything in Maiko and you were already at the latest released version. |
not working for me in WSL:
|
@masinter Is your medley branch up to date? |
|
Well, I don't know what to say. Does the dribble output show what actually failed? It's now working for Seth on WSL. It's working for me (I just rolled back to the same commit that failed for you) on Mint with a case-sensitive file system. What version of Linux are you on for WSL - I can see if I can get the same .iso and run it on VirtualBox. |
I'm not sure what's going on. Current master for medley and maiko now work for me with an updated Ubuntu distro in WSL. I get failures of different kinds with the Pengwin distro (WLinux). I had trouble with an older Ubuntu (I think; can't try it out now because I updated). Updating pengwin (using sudo apt update and I like the pengwin distro but I can use ubuntu for now. We need to fix the loadup so that it doesn't plow on if there is an earlier error.
|
That error (signature verification) is because somebody's GPG key has expired. |
Describe the bug
I am seeing a failure in the
loadup-db-from-full.sh
when trying to build Medley from a Git checkout. The screenshot and build log below demonstrate the error in full.To Reproduce
I have three repositories checked out under the directory
$HOME/Interlisp/
, at the following Git hashes:f23a43f1a0cffebdfa08660dbb5cd1a1dac7f7c3
)f896885720d31c92f8bc244d586a5b2534107f0f
)8bc5368052bbcedc143e4fd1e3e7e34688b1b732
)Maiko was built with:
Here were the steps I took when I encountered the error after building Maiko:
The execution of
./scripts/loadup-all.sh -apps
ran successfully to completion. The execution of./scripts/loadup-db.sh
stopped while running./scripts/loadup-db-from-full.sh
when Medley encountered a stack overflow error (attached below).Expected behavior
The full build should complete without error.
Screenshots
The complete build log is here, to the point where it stopped:
build.log
Context (please complete the following information):
f23a43f1a0cffebdfa08660dbb5cd1a1dac7f7c3
IL:MAKESYSDATE
: N/AAdditional context
I'm sure I'm probably something wrong here or missing a step. Maybe this is a documentation omission rather than a build error?
The text was updated successfully, but these errors were encountered: