Modify ↓
#386 closed bug (fixed)YAM crashes when edit window is closed
Description
This crash occurs when runnning YAM 2.8 on my A3000 with a
To cause the crash I pick any item from the inbox mail list, then
Cyberguard shows a couple of hits prior to the alert, a long-write
The same thing happens with the 3-Feb dev. build, except the crash Attachments (0)Change History (11)comment:1 Changed 43 years ago by mikesteed
comment:1 Changed 4 months ago by thboeckel
comment:2 Changed 4 months ago by mikesteed
The confirmation requester doesn't appear in the dev. builds, but it does in
I tried the 7-Feb dev. build, and it didn't make any difference. I also tried
So I had to resort to writing the output down by hand and then typing it in
Here it is:
LONG WRITE to 81811212 PC:0807D54E
Name:"YAM_Dev"
This was from the 7-Feb dev. build.
The address of the first long write this time was slightly different than I
Version 0, edited 4 months ago
by mikesteed
(next)
comment:3 Changed 4 months ago by thboeckel
Have you tried a different theme already? Although I can confirm the requester asking for confirmation with YAM 2.8 I am unable to make TheBar/TheButton crash anything. Are you using a special theme? Did this crash happen with YAM 2.7 already? What about the demo applications of TheBar? comment:4 Changed 4 months ago by mikesteed
I normally use the MagicWB_reduced theme. When I switch to the default theme
This reminded me that there seemed to be a problem when I first tried to use
After this YAM seemed to work with this theme, with all the proper images comment:5 Changed 4 months ago by thboeckel
Are you using a graphic board or native screens? I get an Enforcer hit whenever I quit YAM after running it on a native screen (i.e. PAL hires/interlaced), no matter which theme was used. Running YAM on a Picasso96/Cybergraphics screen makes no problems. I am running AmigaOS 3.9 on WinUAE. In the end it is picture.datatype writing to an illegal address. If this is the true culprit then there is nothing we can do about this. comment:6 Changed 4 months ago by mikesteed
I have YAM running on an 8-bit colormapped screen under Picasso 96.
The fact that the system crashes so readily after YAM crashes (especially with any kind of disk activity) suggests that a lot more than just the two long words of memory are getting overwritten. Those two writes are just the ones that get trapped because they're to invalid addresses.
I retract what I said earlier about using the MagicWB_reduced theme- I did start to use that one, but switched to the regular MagicWB theme when I saw that some of the images weren't there, and for those that were the file sizes were identical. I did have to rename the images in the 'config' directory to add the "_big" suffix.
As a test I used MultiView to display every one of the images in the theme on my Workbench screen, which is also 8-bit colormapped. All of them displayed with no problem except toolbar/tb_Config, which drew a "The icon(s) have no default tool(s)" error. That seems to be a DefIcons bug, since renaming the file to "tb_Configg" allowed it to be displayed correctly. comment:8 Changed 4 months ago by thboeckel
comment:9 Changed 4 months ago by thboeckel
I must add that the fixed images only fix the memory trashing caused by TheButton.mcc. During my tests on my WinUAE/AmigaOS 3.9/AmiKit installation there were other Enforcer hits in different components (picture.datatype, exec.library, intuition.library). Since this is out of the scope of YAM and the classes it is using there is no way for us to fix these issues.
Please get the updated theme images from the next nightly build. comment:10 Changed 4 months ago by thboeckel
Yet another note. The next version of TheBar.mcc will check the images' dimensions and pop up a warning requester in case anything does not match. The requester will show the affected image's name plus the dimensions. comment:11 Changed 4 months ago by mikesteed
The nightly build hasn't updated since the 19th, so it doesn't have the new images- perhaps it's not triggered by a change only to one of the 'resources' files?
I grabbed the updated images direct from the source browser and installed them, and can confirm that the crash is gone. Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber
| ||||||||||||||||||||||||||||



First of all, the confirmation requester should not appear at all if you didn't modify anything. I just tried to reproduce this issue on WinUAE running AmigaOS 3.9 without luck. Editing a received mail and immediately closing the write window just closes the window, as is to be expected.
Also the hits being caused by TheButton.mcc really make me wonder whether the problem is not located somewhere completely different. This really sounds like trashed memory and TheButton.mcc being a false culprit.
It might be a good idea to redirect the Cyberguard output to a file immediately rather than trying to save it later with an already unstable system.
Finally, please try to reproduce this issue with the latest nightly build (05-Feb-2013). Things might have changed already.