tracker issue : CF-3044009

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 87084:[maestrofjp] I've confirmed there is a bug in ACF9 having to do with StructKeyDelete() and structs shared by reference

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Peter Farrell / Peter Farrell (MaestroFJP)

Created: 08/29/2011

Components: Language, Datastructure

Versions: 9.0.1

Failure Type:

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 36

Problem:

[maestrofjp] I've confirmed there is a bug in ACF9 having to do with StructKeyDelete() and structs shared by reference.  Below is a download that Doug Smith at Dave Ramsey put together to prove the issue.  This issue does not exist on ACF8, Railo or OpenBD.  It happens on ACF9 and 9.01.http://dl.dropbox.com/u/12411108/machii_19_reload_bug_test.zip> FROM: http://trac.mach-ii.com/machii/ticket/795>> The problem always happens in a loop similar to this:> <cfloop collection="#variables.logAdapters#" item="key">> <cfset variables.logAdapters[key].info(channel, arguments.message) />> </cfloop>>> The key exists in the loop, but when the call to "...info(...)" is attempted, the key is no longer in the logAdapters struct.I can confirm that this is NOT a race issue.  It appears that calling StructKeyDelete() does not get the struct shared by reference updated therefore looping over that struct later on in the code causes the loop to think a key is available when it is not. Is there a Java Weak Hash Map or something going on behind the scenes?  This type of error sounds like weak hash map issue in Java if I was going to guess.
Method:

Use this test case to illustrate the issue.Element 690A54784FACC6DD06E3D45D396E0BB6 is undefined in a CFML structure referenced as part of an expression. 
Result:

Element 690A54784FACC6DD06E3D45D396E0BB6 is undefined in a CFML structure referenced as part of an expression.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3044009

External Customer Info:
External Company:  
External Customer Name: Peter Farrell
External Customer Email: 49ED14CD43A7342099201674
External Test Config: 08/29/2011

Attachments:

Comments:

We are also seeing this issue. It is a signicant problem for us as well.
Vote by External U.
20943 | November 11, 2011 07:30:14 AM GMT
We get multiple user errors per day because of this issue. Please resolve as soon as possible!
Vote by External U.
20944 | November 11, 2011 07:30:15 AM GMT
This bug has been voted..
Vote by External U.
20945 | November 11, 2011 07:30:16 AM GMT
This bug has been voted..
Vote by External U.
20946 | November 11, 2011 07:30:17 AM GMT
This bug has been voted..
Vote by External U.
20947 | November 11, 2011 07:30:18 AM GMT
This bug has been voted..
Vote by External U.
20948 | November 11, 2011 07:30:19 AM GMT
This bug has been voted..
Vote by External U.
20949 | November 11, 2011 07:30:20 AM GMT
This bug has been voted..
Vote by External U.
20950 | November 11, 2011 07:30:21 AM GMT
This bug has been voted..
Vote by External U.
20951 | November 11, 2011 07:30:22 AM GMT
This bug has been voted..
Vote by External U.
20952 | November 11, 2011 07:30:23 AM GMT
This bug has been voted..
Vote by External U.
20953 | November 11, 2011 07:30:24 AM GMT
This bug should be resolved.
Vote by External U.
20954 | November 11, 2011 07:30:26 AM GMT
This bug is holding up an important upgrade to Mach-II that we need for our main web site. We'd love to see it resolved soon. Thanks!
Vote by External U.
20955 | November 11, 2011 07:30:27 AM GMT
This is keeping us from moving forward. Any help you can give would be greatly appreciated. Thanks.
Vote by External U.
20956 | November 11, 2011 07:30:29 AM GMT
This bug has been voted..
Vote by External U.
20957 | November 11, 2011 07:30:30 AM GMT
It would be awesome if we could fix this! Plauging problem
Vote by External U.
20958 | November 11, 2011 07:30:31 AM GMT
If this really is the problem that Peter describes in M-II, then it absolutely should be fixed.
Vote by External U.
20959 | November 11, 2011 07:30:32 AM GMT
This bug has been voted..
Vote by External U.
20960 | November 11, 2011 07:30:33 AM GMT
This bug has been voted..
Vote by External U.
20961 | November 11, 2011 07:30:34 AM GMT
This bug has been voted..
Vote by External U.
20962 | November 11, 2011 07:30:35 AM GMT
This bug has been voted..
Vote by External U.
20963 | November 11, 2011 07:30:36 AM GMT
This bug has been voted..
Vote by External U.
20964 | November 11, 2011 07:30:37 AM GMT
This bug has been voted..
Vote by External U.
20965 | November 11, 2011 07:30:38 AM GMT
I believe this bug should be fixed as it is effecting apps running under CF 9 that worked great under CF 8. I believe it may effect more then just Mach II based apps.
Vote by External U.
20966 | November 11, 2011 07:30:39 AM GMT
This bug has been voted..
Vote by External U.
20967 | November 11, 2011 07:30:40 AM GMT
Agree, this needs to be fixed.
Vote by External U.
20968 | November 11, 2011 07:30:41 AM GMT
Too much MG code already in the wild to ignore this bug. It should vault to the top when verified (please!).
Vote by External U.
20969 | November 11, 2011 07:30:42 AM GMT
This bug has been voted..
Vote by External U.
20970 | November 11, 2011 07:30:43 AM GMT
This is BLOCKER with no known workaround. This is breaks all Mach-II applications on ACF9.
Vote by External U.
20971 | November 11, 2011 07:30:44 AM GMT
This bug has been voted..
Vote by External U.
20972 | November 11, 2011 07:30:45 AM GMT
This bug has been voted..
Vote by External U.
20973 | November 11, 2011 07:30:46 AM GMT
This bug has been voted..
Vote by External U.
20974 | November 11, 2011 07:30:47 AM GMT
This is stopping us from moving forward with our architecture. It prevents a mach-ii upgrade.
Vote by External U.
20975 | November 11, 2011 07:30:48 AM GMT
This bug has been voted..
Vote by External U.
20976 | November 11, 2011 07:30:49 AM GMT
This bug has been voted..
Vote by External U.
20977 | November 11, 2011 07:30:50 AM GMT
breaking StructKeyDelete() was a bad idea
Vote by External U.
20978 | November 11, 2011 07:30:51 AM GMT
What's the story with this one? I've been periodically keeping an eye on it, and it seems to have been on "PRNeedInfo" for an awful long time. I suspect the "PR" means "pre-release", so has it been sitting on that status since the ColdFusion 10 pre-release?! -- Adam
Comment by External U.
20939 | September 02, 2013 04:11:57 PM GMT
PRNeedInfo is applicable to anyone who logs the bug and a notification is sent to that person whenever status reason is changed to PRNeedInfo. As I understand, the dropbox link given did not work and we were not able to reproduce the bug and we had asked for the repro case. If you can provide any other information which would help us understand the bug and the desired behavior, it would be great.
Comment by Rupesh K.
20940 | September 03, 2013 03:21:33 AM GMT
Thanks Rupesh: that makes it far more clear, and gives people a chance to help you progress this issue. I personally don't have further info, but I'm sure other people will (now that they know you're looking for help!) -- Adam
Comment by External U.
20941 | September 03, 2013 09:36:33 AM GMT
As there is no response from the user, Closing the bug as Cannot Reproduce. If you are still facing the issue, please provide the repro case, will re-open the bug.
Comment by Suchika S.
20942 | December 03, 2014 04:24:54 AM GMT