![]() |
![]() |
#1 |
Registered User
Join Date: Sep 2019
Location: Finland
Posts: 371
|
Shell detachment trick crashes on OS4
Hi,
Based on a crash report by @samo79 and with his assistance we discovered that HippoPlayer crashes when exiting on OS4 on a certain spot in the code. It uses a "detachment" trick which was employed by some applications back in the day. It goes as follows:
Two questions:
Also, I know next to nothing about OS4 ![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,062
|
jmp _LVOUnLoadSeg(a6) (or equivalent) must be the last instruction in the bootstrap code, you cannot close libs etc. after unloading, for obvious reasons.
If you stick with this, app should work on OS4. Unless they deliberately broke this feature (and a number of apps with it, eg. asm-one&co is using it). |
![]() |
![]() |
#3 |
Registered User
Join Date: Sep 2019
Location: Finland
Posts: 371
|
Thanks! I heard that with this fix there's no total crash every time at exit anymore.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Clear background color for Shell window- Shell-StartUp | fc.studio | support.Apps | 13 | 25 March 2022 18:52 |
help with Amiga Shell - quiting shell windows properly | lost_lemming | support.Apps | 2 | 03 January 2021 19:37 |
notepad++ trick | jotd | Coders. Asm / Hardware | 3 | 30 March 2020 18:29 |
OS4 update - A late xmas present from the OS4 team | Paul | News | 1 | 28 December 2004 20:48 |
CLi & Shell CRASHES !!!! | THX1138 | support.Apps | 2 | 23 January 2003 12:06 |
|
|