Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
51 user(s) are online (28 user(s) are browsing Forums)

Members: 0
Guests: 51

more...

Support us!

Headlines

Forum Index


Board index » All Posts (FlynnTheAvatar)




How to report issues with wiki.amigaos.net?
Just popping in
Just popping in


Hi,

It seems there was a recent update to wiki.amigaos.net (AmigaOS4 Documentation Wiki). A lot of pages work, but there are a number of Tutorial pages that throw an internal error:

https://wiki.amigaos.net/wiki/The_Hacking_Way:_Part_1_-_First_Steps
https://wiki.amigaos.net/wiki/The_Right_Tool_for_the_Job_(Shared_Objects)
https://wiki.amigaos.net/wiki/How_to_Build_Stubs_for_68k_Libraries
https://wiki.amigaos.net/wiki/AmiWest_Lesson_1
...

and perhaps a lot of others.

How can I report these broken to the correct person to get the Wiki fixed?

Thanks,
Josef

Go to top


Re: Updater tool: latest releases and updates
Just popping in
Just popping in


@amigakit

Thank you!

Version 54.22 no longer has issues with getting its own version string. This also fixes the "not found" issue in Updater.

Go to top


Re: copy 54.11 fails to indicate non-extant file/folder and returns successfully
Just popping in
Just popping in


There should be a newer version of copy:

version full file c:copy
Copy 54.14 
(13.07.2024)
Copyright (C2024 AmigaKit Ltd.


Does 54.14 work for your use case?

Go to top


Re: Updater tool: latest releases and updates
Just popping in
Just popping in


@skynet

It looks that Version 54.21 has sometimes issues getting its own version string:

4. Workbench: > version full file c:version
Could not find version information 
for 'c:version'
4. Workbench: > version full file c:version
Version 54.21 
(22.10.2024)
Copyright (C2024 AmigaKit Ltd.
4. Workbench: > version full file c:version
Could not find version information 
for 'c:version'
4. Workbench: > version full file c:version
Version 54.21 
(22.10.2024)
Copyright (C2024 AmigaKit Ltd.
4. Workbench: > version full file c:version
Could not find version information 
for 'c:version'
4. Workbench: > version full file c:version
Version 54.21 
(22.10.2024)
Copyright (C2024 AmigaKit Ltd.


This seems to be only an issue with the latest version 54.21.

Go to top


Re: Strange crash with ARexx and RexxReqTools on Amiga OS4
Just popping in
Just popping in


@msteed:

That is a very good point, thank you very much!

I changed the check to the following:
if (!glob->prwin || (ULONGglob->prwin == ~|| !glob->prwin->UserPort
      
|| (glob->prwin->UserPort->mp_SigTask != ThisProcess()))
    
glob->shareidcmp FALSE;

Go to top


Re: Strange crash with ARexx and RexxReqTools on Amiga OS4
Just popping in
Just popping in


@pjs

No, I am not trying anything ;)

Some very talented AREXX coder from the German IMP3 chat created very nice scripts to automatically insert text from webservice (weather information) to system information and away messages.

I just investigated why sometimes the scripts crash on Amiga OS4 and at least for one other 3.2.2 user.

And it is a bit more than displaying one string. And it should also work on 3.x.

Go to top


Re: Strange crash with ARexx and RexxReqTools on Amiga OS4
Just popping in
Just popping in


Duh, rookie mistake. Now it works. Thank you, joerg.

Go to top


Re: Strange crash with ARexx and RexxReqTools on Amiga OS4
Just popping in
Just popping in


@Hypex

Thank you for your input. I already blacklisted the reqtools.library so I got the correct piece of code in the stack trace.

And it is a coding issue, as the code does not check if the WindowPtr is -1, it only checks for null.

The remaining issue is that I cannot convince the C compiler (gcc 3.3 classic) to generate the correct assembler code. I do not run the code, I disassemble the generated object file with IRA to check the assembler code.

Go to top


Re: Strange crash with ARexx and RexxReqTools on Amiga OS4
Just popping in
Just popping in


Okay, this is C code:

if (!glob->prwin || !glob->prwin->UserPort
         
|| (glob->prwin->UserPort->mp_SigTask != ThisProcess()))


I tried to rewrite it as
if ((ULONGglob->prwin <= || !glob->prwin->UserPort
         
|| (glob->prwin->UserPort->mp_SigTask != ThisProcess()))


but the generated assembler code still uses a simple null check (tst.l a0, beq.s) ignoring the less than 0 condition.

Any ideas how to force GCC 3.3 to check for -1?

Go to top


Re: Strange crash with ARexx and RexxReqTools on Amiga OS4
Just popping in
Just popping in


@joerg

Yes, read the Assembler code correctly. Thank you very much for the detailed explaination. I patched the library with a hex editor and changed the beq.s to a ble.s (less or equals). This seems to fix the crash.

Still trying to identify the corresponding C code to do a proper fix and create a pull request in the AROS repo.

Go to top


Re: Strange crash with ARexx and RexxReqTools on Amiga OS4
Just popping in
Just popping in


@joerg:

Thank you, found the 68k disassembly in GrimReaper's report.

And this seems to be the issue:

68k disassembly:
 
650df776206b0062             movea.l           0x62(a3),a0
 650df77a
4a88                 tst.l             a0
 650df77c
671a                 beq.b             0x650df798
*650df77e24680056             movea.l           0x56(a0),a2
 650df782
4a8a                 tst.l             a2


The code tests if a0 is properly set. But Arexx sets the WindowPtr to -1 instead of 0.

Arexx fault or ReqTools?

Go to top


Re: Strange crash with ARexx and RexxReqTools on Amiga OS4
Just popping in
Just popping in


The strange thing is that the requester opens if I ignore the DSI. Also, calling impsend.rexx directly from the shell works regardless if CALL PRAGMA('W', 'N') is used or not in impsend.rexx.

Is there is way to extract the exact location of the failing code in the 68k library from the GrimReaper? So far I could not compile reqtools.library 39.3 (AROS backport). But I could use IRA to disassemble the library to see it does, but without the location of the failing code it does not help me much.

Thanks,
Flynn

Go to top


Re: Strange crash with ARexx and RexxReqTools on Amiga OS4
Just popping in
Just popping in


@nbache

Yes, this makes a difference.

CALL PRAGMA('w')

does not crash.

Is this really the same as PRAGMA('W','N') or PRAGMA('W','NULL')?

Update:
No, it is not.
Calling PRAGMA('W') without second parameters is (re-)enabling DOS requesters.

Thanks,
Flynn


Edited by FlynnTheAvatar on 2024/11/30 17:53:04
Reason: Added information
Go to top


Strange crash with ARexx and RexxReqTools on Amiga OS4
Just popping in
Just popping in


Hi,

I get a strange DSI when calling a rexx script that calls another rexx script that uses RexxReqTools.

Minimal testcase:

IMPsend.rexx (opening requester):
/*
$VER: impsend.rexx 1.0
 */
addlib('rexxreqtools.library',0,-30,0)

string rtgetstring('Hello' ,'Test''Title''Okay|Okay & Send|Cancel')

say string
exit


IMPwttr.rexx (calling impsend):
/*
$VER: IMPwttr.rexx 1.0
*/

call pragma('w','NULL')
call impsend.rexx()


Calling IMPSend.rexx directly does not cause any issue.

GrimReaper:
Guru Meditiation: 8000 0003
Task: 0x646fcaa0 ('ARexx')
verursachte einen Fehler des Typs DSI (Data Storage Interrup)
an Adresse 0x01824ae0
'Rote Zone' des Stacks wude nicht beschädigt
Stackpointer ist innerhalb der Grenze

It crashes somewhere in the reqtools.library.

If I remove the line
call pragma('w','NULL')

it no longer crashes.

Anybody has any idea why the pragma call is causing issues?

Versions:
68k:
rexxreqtools.library 37.95 (16.08.1994)
68k with PPC glue code:
reqtools.library 39.3 (15.11.2001)


Thank you,
Flynn

Go to top


AK-ILBM 54.15 has issues with some ILBM files
Just popping in
Just popping in


Hi,

The Amigakit AK-ILBM 54.15 datatype fails to load some ILBM files that are displayed fine with other ILBM datatypes (stock OS4 ILBM 53.1 or OS3 ILBM 53.3). The files also can be loaded into PersonalPaint without any issues.

MCE (https://os4depot.net/share/game/utility/mce.lha) contains three such files:
Images/games/neuromancer.iff
Images/games/nitro.iff
Images/games/rorke.iff

Thanks,
Josef

Go to top


Re: Version 54.17 (AmigaKit) does not set Workbench and Kickstart local variables
Just popping in
Just popping in


@amigakit

Thank you for your fast response. Yes, version 54.21 indeed fixes the issue for me.

And I sent you a PM regarding the Amiga.org issue.

Thanks again for your help!

Go to top


Version 54.17 (AmigaKit) does not set Workbench and Kickstart local variables
Just popping in
Just popping in


Hi,

Yes, amiga.org might be a better place for the bug report, but I do not get the validations emails from there.

So, my issue is that the latest AmigaKit version no longer sets the local variables for Workbench and Kickstart correctly:

4. Workbench: > version
Kickstart 54.30
Workbench 53.18
4. 
Workbench: > version c:version full
Version 54.17 
(05.07.2024)
Copyright (C2024 AmigaKit Ltd.
4. Workbench: > set
hRà             53.18
jmL
@             53.18
n²             54.30
n²Ð             53.18
Process          4
RC               0
Result2          0
_LastCommand     version
_LastCommandArgs c
:version full
_mchar           
||
_pchar           |
_RunTime         0.001717
_ShellVersion    53.15


It works correctly with Version 53.7 (Hyperion) and Version 54.15 (AmigaKit):
4. Workbench: > version Shared:Version 
Version 53.7
4. 
Workbench: > Shared:Version 
Kickstart 54.30
Workbench 53.18
4. 
Workbench: > set
hRà             53.18
jmL
@             53.18
Kickstart        54.30
n²             54.30
n²Ð             53.18
Process          4
RC               0
Result2          0
Workbench        53.18
_LastCommand     Shared
:Version
_LastCommandArgs 
_mchar           
||
_pchar           |
_RunTime         0.000473
_ShellVersion    53.15


X5000/20
AmigaOS4.1 FE 2
Enhancer 2.2
Radeon RX 550
8 GB RAM
German locale

Go to top


Re: How to reboot ?
Just popping in
Just popping in


Hi @Boabster,

The issue is that if OS 4 crashes, it most likely also kills the USB stack. This means that it does not matters if you have a wired or wireless keyboard; because the stack is dead, no input will be processed.

Go to top


Re: How to reboot ?
Just popping in
Just popping in


@elfpipe

If you are using RadeonHD gfx card, you need to downgrade your RadeonHD driver to 3.7. With version 5.x the driver lost its ability to do a warm reboot.

Best regards,
Flynn

Go to top


Re: A1222 support in the SDK and problems
Just popping in
Just popping in


@Maijestro

The log file is in ffbuild/config.log.

That is not a standard location, normally it should be in the same directory where you ran configure.

Go to top



TopTop
« 1 2 3 (4) 5 6 7 8 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project