11 July 2018, 05:51 | #21 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
Thank you both hexaae and PeterK.
Bug and proposed solution has been reported to the dev team. If anyone else wishes to report any other unknown bug, now it is the time to do it, as I can relay them back to the AmigaOS 3.1.4 devs. |
14 July 2018, 00:06 | #22 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
@hexaae
What has happened to my little CopyFix on the way to Aminet ? Instead of the freely distributable spatch from SAS/C it now comes with a WPatch utility which has nothing to do with WPatch.lha on Aminet as stated. The creation date of the new Copy 40.2 command is now suddenly (9.7.18) and not (10.7.18). This is a fake of facts! The CopyUpdate script has a "FailAt 1" instruction in the 1. line which makes the "If WARN" construction pretty useless, and the output window is closed on failure after a short delay instead of waiting for the user to read the message and close it. - The readme has no icon and default tool. ... but at least it should still work. Never mind, it's out now and that's alright. |
14 July 2018, 07:20 | #23 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
http://aminet.net/package/util/cli/WDelta ouch… listed wrong archive… Will contact Aminet admins.
Yes, I preferred to reduce hex-editing and keep $VER: string spacing, 1 day before it's not a problem Yep, was done a bit in a hurry. FailAt 1 was required in case WPatch can't patch mismatching C:Copy as I've experienced testing (returns $RC = 3 instead of usual 5+)... even though at that point if warn was useless. Forgot to add WINDOW=CON://///WAIT/CLOSE at the end. Noticed the moment after I already uploaded it! I can update it to 1.1 but hey… installation does work fine also like this even if a bit rough Last edited by hexaae; 14 July 2018 at 07:36. |
14 July 2018, 07:46 | #24 | ||
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Quote:
Wait for the reaction of the users who may get confused when finding two versions of Copy v40.2 with different dates in the net and will ask you which one to install now. Quote:
|
||
14 July 2018, 07:58 | #25 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
LOL, did you already share it? Remove link please, let's keep the Aminet version only
Okay, okay, just reupped fixed 1.1 version LOL |
14 July 2018, 08:02 | #26 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Ok, I've killed my baby ...
|
14 July 2018, 08:10 | #27 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
As a proud Amiga user I've upped it using AmFTP from AmigaOS… eh eh
Having fun in this Amiga Retro Summer for me! |
14 July 2018, 21:11 | #28 | |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Quote:
It only happens when VisualPrefs and ThoR's layers.library and his rtg.library are coming together. If one of these 3 components is missing, everything works fine. I already played with some ENV:VisualPrefs variables like SaftyLevel=2, MinStackSize=3000 and Special=0x020 for a different Semaphore handling, but it didn't fix the freezes yet. PS: Btw, what is the CD "" good for? The CopyUpdate script also works without it. But the CopyFix is okay now. Last edited by PeterK; 15 July 2018 at 15:53. |
|
29 July 2018, 12:45 | #29 | |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
Quote:
Mmmh, today I tried to patch only one instance of the two AllocVec() and works fine as well with >83 filenames. Better minimal changes to avoid potential mem-leaks? |
|
29 July 2018, 14:33 | #30 | |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Quote:
AllocVec() adds 4 bytes to the requested size and sends it together with the attributes to AllocMem(). When it gets the memblock from AllocMem() it stores the size in the first longword and then returns the address of the second longword as result of the function call. FreeVec() takes the address of the memblock, subtracts 4 bytes and reads the full size from the first longword before it passes this to FreeMem(). So, the program never has to keep track of the memblock size. I guess, these two buffers are for the input and output strings. Not every buffer overflow causes a trashing in critical memory areas. Did you check your new copy at least with MungWall or WipeOut or other debugging tools? I would not change anything in the CopyFix now. ThoR could do that for OS 3.1.4. And I'm too lazy to examine the Copy code further. I'm busy with a new feature for icon.library. |
|
29 July 2018, 16:23 | #31 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
29 July 2018, 18:44 | #32 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
No, that might not work. I fear hexaae is figthing with a phantom bug now. That's the the worst sort, you can never catch them ...
|
29 July 2018, 19:05 | #33 | ||
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
No, I'm not a programmer and forgot a lot of things about AmigaOS after all these years
Quote:
Quote:
The single patch seems to work fine for me from WinUAE with 060+MMU and MuForce + MuGuardianAngel (are them reliable under WinUAE?): As you explained above there is no need to update the patch on Aminet anyway. Last edited by hexaae; 29 July 2018 at 19:13. |
||
29 July 2018, 20:04 | #34 |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
|
29 July 2018, 20:19 | #35 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Don't know how good the MuTools are, because I never use the MMU, but I would expect them to do their job even on a WinUAE system.
On the other side, I can't see what could go wrong with a larger buffer, except that it would waste a few bytes of extra memory if it doesn't help. My suspicion is that two buffers with the same size may have similar tasks. |
29 July 2018, 20:22 | #36 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
|
31 July 2018, 08:23 | #37 | |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
Quote:
[8.Workbench:] ver sys:Classes/DataTypes/amigaguide.datatype amigaguide 45.6 ( 7-Settembre-01) [8.Workbench:] ver LIBS:datatypes.library datatypes.library 44.47 (25-Dicembre-99) [8.Workbench:] ver sys:Utilities/MultiView MultiView 45.9 (18-Gennaio-02) [8.Workbench:] ver LIBS:layers.library layers.library 45.27 (12-Dicembre-14) [8.Workbench:] ver LIBS:Picasso96/rtg.library rtg.library 40.4029 (26-Ottobre-14) ©1991-99 A.Kneer T.Abt P.S. ThoR found the reason behind UFO incompatibility with layers.library 45.27 and sent me a patch for InstallClipRegion() Last edited by hexaae; 31 July 2018 at 09:46. |
|
31 July 2018, 10:08 | #38 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Classic Workbench UAE Speed Issues | jonesypeter | project.ClassicWB | 2 | 25 April 2017 22:06 |
well i have update my Workbench to Classic Workbench | mcbone | Amiga scene | 0 | 02 May 2015 21:22 |
Amiga 1200 Workbench Issues/Fixes? | Spyhunter | support.Apps | 21 | 14 September 2012 23:56 |
[FIXED] Xybots | haynor666 | HOL data problems | 7 | 25 February 2004 03:56 |
[Fixed] little little error | Marcuz | HOL data problems | 6 | 15 December 2002 14:24 |
|
|