mirror of
https://github.com/cy384/ssheven.git
synced 2026-05-15 14:15:58 -06:00
[GH-ISSUE #16] Type 7 Error on Power Macintosh 6100/60 (System 7.6.1) #13
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
question
upkeep
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ssheven#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @frogsquire on GitHub (Mar 5, 2022).
Original GitHub issue: https://github.com/cy384/ssheven/issues/16
I have a Power Macintosh 6100/60 running System 7.6.1. I can launch the PPC version of the application, and enter a password or key, but after that it rapidly displays a line of text which says "connecting endpoint ...done" and then crashes with the error "the application "unknown" has unexpectedly quit, because an error of type 7 occurred."'
Putting in a bogus connection URL or port yields "connecting endpoint..." and the whole system locks up.
I tried the 68k version instead (just to see if it worked as PPC supports most 68k apps) and it quit with an error of type 2 after entering the password.
Any thoughts on how I can debug?
@goshhhy commented on GitHub (Mar 5, 2022):
I am seeing identical behavior on a Quadra 700 with a PowerPC upgrade card, also running 7.6.1. I was just about to file an issue myself.
@frogsquire commented on GitHub (Mar 5, 2022):
@goshhhy ha, what are the chances?
What happens if you try the 68k version, out of curiosity?
@goshhhy commented on GitHub (Mar 5, 2022):
same thing as you. i haven't tried it with the card off, though - just running the 68k-only binary.
@frogsquire commented on GitHub (Mar 6, 2022):
For further evaluation, I pulled some older versions of the program, and none of them worked - they all failed to even open because an unknown error occurred.
Also, I suspect some sort of incorrect memory is being read (or not cleared/calloc'd) when I launch 0.8.9, because there is garbage text in the various fields on the initial window.
@cy384 commented on GitHub (Mar 6, 2022):
thanks for the report and the testing, I'll look into this, maybe an issue again with some functionality not being available on early PPC systems.
the garbage in the text fields is an issue with loading the preferences file, sounds like I messed up something with the version check
@goshhhy commented on GitHub (Mar 6, 2022):
on the same machine with the PowerPC card disabled, i just get a line in the console window, "Failed to open Open Transport TCP endpoint."
@goshhhy commented on GitHub (Mar 6, 2022):
actually, now it's doing that on PowerPC too, so i think something else is up. no idea what's going on here
@frogsquire commented on GitHub (Mar 6, 2022):
@goshhhy Do you have a working TCP/IP connection? Do other apps (e. g. Cyberdog) successfully make connections?
@goshhhy commented on GitHub (Mar 6, 2022):
apparently not. it looks like a cable was loose, and my browser was caching the page i was using to test my connection :P
with that fixed, i'm seeing the crashes on PowerPC again (regardless of whether the PowerPC or 68k version is running), and on the same machine with a 68k processor, i am able to successfully connect to machines on my local network.
@frogsquire commented on GitHub (Mar 6, 2022):
@goshhhy Totally distracting from the point of this ticket, but I would be interested to hear what browser and other tooling you're using. I have had mixed luck getting browser packages to work on my machine. I use Cyberdog for web and FTP (but it has trouble listing FTP directories from some FTP services for some reason). I have tried to get other packages for FTP (e. g. Fetch) set up, but I haven't found a .sit that'll actually expand on my machine instead of crashing Stuffit.
Long-term, I am thinking about setting up a reverse proxy to strip HTTPS from connections so I can browse more sites. But haven't looked into that much as it'd require more work on another machine to host.
@goshhhy commented on GitHub (Mar 6, 2022):
i use iCab 2.99 and Netscape depending on what i'm doing. I use Frogfind as my search engine, which usefully will act as a proxy for pages which the browser normally wouldn't be able to view.
to transfer files from other machines i've installed DAVE so that i can connect to my NAS via SMB.
also, you probably just need to figure out how to get a newer version of Stuffit installed.
@frogsquire commented on GitHub (Mar 6, 2022):
Interesting, thanks. Frogfind sounds like a great help indeed.
At the moment I've got stuffit 5. I've downloaded newer versions up through Stuffit 7 but I have so far been unable to get them extracted.
Edit: Just now I was able to get Stuffit 7 extracted to an SMI using stuffit for windows. Who would have thought?
edit 2: unfortunately, on system 7.6.1 I don't think I can run versions of stuffit newer than 5.5.1, @goshhhy, unless you know of a way.
@ryandesign commented on GitHub (Aug 3, 2022):
Correct. StuffIt Expander 6 requires Mac OS 8.1 or later and a PowerPC processor. See https://en.wikipedia.org/wiki/StuffIt_Expander.
@cy384 commented on GitHub (Aug 7, 2022):
I'm unable to reproduce this running Mac OS 7.6 on my powerbook 3400c, wondering if it's an issue specifically with the PPC 601 in your machines
can you try running this version? has some tweaks to some PPC code
@frogsquire commented on GitHub (Aug 8, 2022):
@cy384 thank you so much for looking into this.
Unfortunately, the version you linked doesn't crash, but also doesn't do anything. The system just freezes with a blank top menu bar after launching it, and then has to be rebooted.
Also, in the last few months I have acquired machines running System 8.5, System 9.1, and OS X 10.6.8, so that has increased my ability to unstuff things and move software between machines substantially. They all run on the same network, so they can happily talk to each other.
I grabbed the latest ssheven on my iMac G3 running System 9.1 (regular 0.8.9). On this machine, it works pretty well. I can connect and do most things. I can't run
htop, for example; it gives me: "error opening terminalxterm-16color. If you know how to work around that, I'd be interested. Once I ranecho TERM=xterm, setting the terminal to black and white, it worked fine.TERM=xterm-256coloralso worked OK, but no colors appear.Thanks again.
@cy384 commented on GitHub (Aug 8, 2022):
thanks for testing!
ok, that's very interesting to hear, I'll need to experiment more to narrow it down.
ssheven only supports the classic 16 terminal colors right now (actually it can only do 8) and sends either
xterm-16colororxterm-monoterminal strings; these are available on most (but not all) systems. A setting to customize what ssheven sends is on the list of things to do.@frogsquire commented on GitHub (Aug 8, 2022):
I suspect then that it has something to do with my server's configuration rather than ssheven. I'll look into it when I have a chance.
Is there anything I can do to help narrow it down? Happy to help. If you have ideas for where in code the problem might live, I can also take a look. I know enough C to be dangerous. Just not sure there's a way to attach a debugger or anything?
@cy384 commented on GitHub (Aug 8, 2022):
actually, you could try installing MacsBug, which may give you a stack trace or something
some guesses about what the problem could be:
of course, I'm just leaning in the 601 weirdness direction, it could be something completely different, or a combination of issues
@frogsquire commented on GitHub (Aug 8, 2022):
I'll take a look when I have some time - probably next weekend - if I can get MacsBug to work. Hit me up if you have another binary for me to try.
@goshhhy commented on GitHub (Aug 8, 2022):
i'm having trouble booting my 601 upgrade card in my Quadra 700, or i would test it out. if i can get it working again i'll see what i can do.
if i were to hazard a guess, the assembly in mbed-tls being incompatible with the 601 seems a likely candidate to me.
@frogsquire commented on GitHub (Aug 16, 2022):
Just a quick update - I tried the latest ssheven on my Performa 5215CD running system 8.5, and it works great there. Colors and everything. It's just the 7.5.1 Power Macintosh I'm having issues with now.
@cy384 commented on GitHub (Aug 21, 2022):
here's a PPC build with the mbedtls assembly disabled
@frogsquire commented on GitHub (Aug 21, 2022):
OK, this is getting me a lot farther. I am able to connect and enter a password. However, the password takes a very long time to appear in the box (each keypress takes >1 second), and it is always rejected, even though I know I am typing it right (and very slowly)!
I will try key authentication instead later on.
@cy384 commented on GitHub (Aug 21, 2022):
thanks again for testing! that's very weird behavior. I'm wondering if retro68's PPC compiler is targeting something later than a powerpc 601 by default, so here's two more ssheven builds specifically for the 601:
@frogsquire commented on GitHub (Aug 21, 2022):
OK, here's what we got:
ssheven-TEST-601-without-asm.bin: Typing is fast, authentication works! For the first time, I have a fully functional connection!ssheven-TEST-601-with-asm.bin: Also works!So both of these seem great. I assume the mbedtls one is superior in some way? They both seem to perform the same speedwise, and are perfectly usable.
@cy384 commented on GitHub (Aug 21, 2022):
fantastic! in theory the assembly should make the encryption run faster, especially for the initial handshake. There's a line like "Beginning SSH session handshake... done (XX ticks)." when ssheven connects, a tick is ~1/60th of a second. If they're about the same it may be using a key exchange method that doesn't have any assembly in it, or maybe the assembly doesn't make much speed difference, or who knows. If it works at all I'm happy!
@cy384 commented on GitHub (Aug 29, 2022):
seems like Retro68 was indeed targeting the PPC 603 by default (issue over there), going to call this one solved for ssheven.
thanks again for your testing!