Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
43 user(s) are online (34 user(s) are browsing Forums)

Members: 2
Guests: 41

MazinKaesar, bigmac, more...

Support us!

Headlines

Forum Index


Board index » All Posts (FlynnTheAvatar)




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


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


@Maijestro

Static assertions should be in gcc starting with gcc-4.6. So, they are definitely part of gcc-6.4.0.

Please check the log file config.log. GCC should have logged there why the check failed. Please post the complete error message from config.log here.

Go to top


Re: Amiga X5000 and Sound Blaster Audigy FX problem
Just popping in
Just popping in


@geennaam
I never said it is your fault. And it is not the fault of users trying to get the drivers to get sound.

It is the fault of companies that either:
- distribute your driver without your consent
- company that bundle non-supported audio cards with their full systems.

It is really shitty what the companies do. But do not blame users that just want to have a working system.

Go to top


Re: Amiga X5000 and Sound Blaster Audigy FX problem
Just popping in
Just popping in


@geennaam

Sorry, but it is not the user's fault that certain Amiga vendors keep bundling a non-supported audio card with their systems.

People spend a lot of money for systems and just want to get sound.

I also spend ~2.5k for my X5020 that also came with an Audigy (and no driver for it at all)...

Go to top


Re: X5000 adding HD with sata3114 Raid card
Just popping in
Just popping in


Hi Swisso,

UBoot does not recognize the sii3114 card at all. This means that you cannot boot from any device connected to your sii3114. But once you booted into Amiga OS 4.1, its drivers take over and you should have access to all devices connected to the card.

Could you please check if you have the following line (not comment out) in your Sys:Kickstart/kicklayout file?

MODULE Kickstart/sii3114ide.device.kmod

Amiga OS 4.1 needs that to access the card and the devices connected to it.

If you have the driver activated, maybe you need to configure the HDs in Media Toolbox first before they show up in your system. Are the HDs empty, or did you already initialize them on a different Amiga system?

And I also have a sii3114, but I have only a DVD drive connected to it. On my card, the connectors are not covered in hotglue. But I think somebody did this to secure their cables.

Go to top


Re: AmiUpdate 2.50
Just popping in
Just popping in


@Rigo

Thank you very much for the new version. AmiUpdate 2.51 did not show the 2.52 update, so I downloaded the full 2.52 archive and installed that.

As others already said, 2.52 now works flawlessly. No more error messages, and it also showed two additional updates that I never saw with 2.49, 2.50 or 2.51.

Thanks again for your great work!

Go to top



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



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1
Pegasos2
X5000
X1000
A1222
Sam 440/460
Classic PowerPC Amiga
WinUAE emulation
Qemu emulation
Total Votes: 182
The poll will close at 2025/12/1 12:00
4 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project