-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
FCB Rename causes FDPP crash #33
Comments
This should be something very |
here's the log |
Yes, the FAR emulator couldn't evaluate this line: |
But not because of the missed FAR cache entry, hmm... |
I've uploaded the test for this
Then run test_mfs.bat from the C: drive |
BTW this FCB test is one of the few that actually pass on FreeDOS, so I figure this has to work before I can chase down the others. |
I think this should be fixed, although I haven't |
Still seeing a crash, log here test2.zip Note: I rebuilt both fdpp and dosemu2 |
Please test this one:
|
Crash is seemingly the same, except the line reported moved quite a bit - new log test3.zip |
OK, trying myself. :) |
Don't forget to update the fdppkrnl.sys in test-imagedir/dXXXXs/c if you think you need to. |
Damn, a small typo in a patch I copy/pasted here. :) |
This is not needed as the kernel is changed |
Compiling now, but whilst I wait do you still need the patch 7348473 to the kernel source as it would be nice to have as little diff to freedos? |
Jfyi, the first patch was not redundant. |
You can try reverting it yourself, so far its need. |
In fact I don't even know how it is possible |
Thanks the crash is gone, test is failing(the DOS reports success, but file isn't renamed), but that's an FCB problem for me to fix! No worries about backing that previous commit out. Thanks again! |
In this particular case the |
If I want to use gdb on fdpp do I need to use any special dosemu settings? I tried:
but I ended up with segv |
Ahh |
fullsim should be good. |
Normally you should use sim, not fullsim. |
you can also use |
ahh |
So should I be able to see the contents of the extended FCB as per here
|
You should, if you use the |
okay thanks but the data looks like zeros
|
|
I'm sure I'm doing something wrong in gdb as all I get are zeros on the
And we are entering FcbRename, so lr.AL must have been 0x17 |
See |
I think this code is full of problems though. |
|
Try |
Okay will try that tomorrow, thanks. |
I wasn't able to reproduce that problem, |
So using EXTRA_DEBUG=1 and the latest commit enables
with:
I can also do It's different with
I don't seem to be able to print individual fields directly
but I can do this
|
Yes, that looks correct. And no more |
Use |
Would be nice to see if the garbage was |
Thanks, maybe I try turning off EXTRA_DEBUG later, but I'm on the track of the FCB problem now. |
this works quite nicely
Same pointer printed as an rfcb (which it is)
|
The extra stuff on the end of the gdb print line was fixed by the commit The second one surprised me
|
Yes, absolutely. |
Or maybe the code works properly |
Happy to chase this one down myself, but perhaps you can indicate what I might be looking for
The text was updated successfully, but these errors were encountered: