FE and Copy/Paste crash

A forum for general AmigaOS 4.x support questions that are not platform-specific

Re: FE and Copy/Paste crash

Postby zzd10h » Sat Dec 31, 2016 5:10 pm

Bug still present in FE update 1 with MUNGE activated.
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
zzd10h
 
Posts: 543
Joined: Sun Sep 16, 2012 6:40 am
Location: France

Re: FE and Copy/Paste crash

Postby tonyw » Sun Jan 01, 2017 4:50 am

There has been a lot of discussion about this bug and its manifestations over the years. Please repeat the steps you took to retest and reproduce it, so that I can do the same here.

I haven't seen this bug appear for a long time now. Yes, I have MUNGE enabled on every machine except the X5000 and A1222.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1176
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: FE and Copy/Paste crash

Postby Raziel » Sun Jan 01, 2017 1:32 pm

tonyw wrote:There has been a lot of discussion about this bug and its manifestations over the years. Please repeat the steps you took to retest and reproduce it, so that I can do the same here.

I haven't seen this bug appear for a long time now. Yes, I have MUNGE enabled on every machine except the X5000 and A1222.

Here are my steps to reproduce:

Please take into account that it doesn't crash for me but simply produces broken output in Snoopy and doesn't paste anything to destination

I'm trying to c&p a file from Storage: to RAM: with help of the ContextMenus commodity

1) Browse to the file you wish to copy
2) Right click to bring up the ContextMenu and choose "Copy"
--> See that Context Menus is working correctly by finding a file called "ContextMenu Clipboard1" in RAM:T which holds the file's path that is going to be copied
3) Browse to RAM:
4) Right click and choose "Paste"

For me, nothing gets copied to RAM:, but Snoopy shows some weird stuff, which seems to look exactly like zzd10h's crash window output:
Code: Select all
25191 : ContextMenus    : o.k. = Lock("System:Utilities/Commodities",SHARED) [29uS]
25192 : ContextMenus    : o.k. = Lock("System:Utilities/Commodities",SHARED) [11uS]
25193 : ContextMenus    : o.k. = [exec] FindPort("WORKBENCH") [1uS]
25194 : ContextMenus    : o.k. = Lock("System:Utilities/Commodities",SHARED) [12uS]
25195 : ContextMenus    : o.k. = Lock("T:ContextMenus Clipboard1",SHARED) [27uS]
25196 : ContextMenus    : o.k. = [exec] OpenDevice("input.device",0,0x4E717690,0x00000000) = 0 [10uS]
25197 : ContextMenus    : o.k. = [exec] OpenLibrary("iffparse.library",50) [6uS]
25198 : ContextMenus    : o.k. = Open("ENV:sys/PopupMenu.prefs",OLD) = [0x13D9B7C8] [52uS]

26667 : ContextMenus Command Dispatcher : o.k. = CreateNewProc("ContextMenus Paste Task") [403uS]

29117 : ContextMenus Paste Task : 0    = FindSegmentStackSize("<untracked>") [6uS]
29118 : ContextMenus Paste Task : o.k. = Lock("System:Utilities/Commodities",SHARED) [32uS]
29119 : ContextMenus Paste Task : o.k. = Open("T:ContextMenus Clipboard1",OLD) = [0x13D9BCD8] [45uS]
29120 : ContextMenus Paste Task : o.k. = Lock("Storage:X1000",SHARED) [20uS]
29121 : ContextMenus Paste Task : FAIL = Lock("Þ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­
29122 : ContextMenus Paste Task : o.k. = Lock("Storage:X1000",SHARED) [13uS]
29123 : ContextMenus Paste Task : FAIL = Lock("Þ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­ŸïÞ­
29124 : ContextMenus Paste Task : o.k. = DupLock("Storage:X1000") [5uS]
29125 : ContextMenus Paste Task : FAIL = DupLock("<ZERO>") [1uS]


edit: gathered some more snoopy ContextMenu specific stuff out of the mess of timer.device spam
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 723
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: FE and Copy/Paste crash

Postby tonyw » Mon Jan 02, 2017 9:39 am

You will notice that the "weird stuff" is a repeated pattern of 4 characters, usually the ASCII equivalents of "DEADBEEF" or "ABADCAFE" or one of those kernel indicators (depends on the machine).
It results from a wild pointer to the "name" being passed or corrupted somewhere. We've had this problem on and off for years. It seems to be fixed, then reoccurs somewhere. I suspect that it really has been fixed, but the actual component has not been updated to the new version.

I can't get it to happen on my X5000 with its clean Update 1 installation, but it happens on the Sam 460 with Update 1.

I'll try to find out what is different.

BTW, I forgot to say "Thank you" for the precise instructions !

I have raised bug #9797 for this problem. It may not be the fault of ContextMenus, but it's a place to start.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1176
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: FE and Copy/Paste crash

Postby Raziel » Mon Jan 02, 2017 1:21 pm

tonyw wrote:You will notice that the "weird stuff" is a repeated pattern of 4 characters, usually the ASCII equivalents of "DEADBEEF" or "ABADCAFE" or one of those kernel indicators (depends on the machine).
It results from a wild pointer to the "name" being passed or corrupted somewhere. We've had this problem on and off for years. It seems to be fixed, then reoccurs somewhere. I suspect that it really has been fixed, but the actual component has not been updated to the new version.

I can't get it to happen on my X5000 with its clean Update 1 installation, but it happens on the Sam 460 with Update 1.

I'll try to find out what is different.

BTW, I forgot to say "Thank you" for the precise instructions !

I have raised bug #9797 for this problem. It may not be the fault of ContextMenus, but it's a place to start.

Ohhh, you are very welcome, trying the best to help being not a betatester :-)
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 723
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: FE and Copy/Paste crash

Postby zzd10h » Mon Jan 02, 2017 2:34 pm

@TonyW
"I have raised bug #9797 for this problem. "

Many thanks, hoping that AmiUpdate will work better with Update 1 :D
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
zzd10h
 
Posts: 543
Joined: Sun Sep 16, 2012 6:40 am
Location: France

Previous

Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 1 guest