JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-3302

We still get Message scribbling under certain conditions (Request Response) (It gets caught but we need to remove the underlying probblem)

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Reopened Reopened
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0.1
  • Fix Version/s: Tech. Debt
  • Component/s: Core: Concurrency / Threading
  • Labels:
    • 20-messages
  • User impact:
    Medium
  • Effort points:
    10
  • Similar Issues:
    None

Description

From Dan D.
I was getting slightly annoyed by the build server today so I tracked down a reliable way to reproduce this issue. To reproduce this issue locally just add a Thread.sleep(1000) to VMMessageRequester at line 89 - right after the resetAccessControl().

I think I can even explain the issue here. We have thread #1 which sends off a message which is in essence "new DefaultMuleMessage(new DefaultMuleMessageAdapter());"

Thread #2 (i.e. the main thread in the test case), picks this up via the VMMessageRequester and calls resetAccessControl().

So far so good, except this message has been sent with MuleClient.send() so its going to build a response using the request message's properties. This happens in MuleClient:330:

response = OptimizedRequestContext.unsafeRewriteEvent(response);

This eventually calls RequestContext.newMessage(message) which creates a copy of the message by doing new DefaultMuleMessage(payload, originalMessageAdapter) and resets the MessageAdapter that is also being picked up by the VMMessageRequester. Since it is not deterministic whether this happens after or before the VMMessageRequester gets the message and resets the access control, sometimes it fails and sometimes it doesn't.

Issue Links

relates to

Sub-task - The sub-task of the issue MULE-3300 VMRequestorTestCase fails due to message scribbling

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Bug - A problem which impairs or prevents the functions of the product. MULE-893 Clarify/reachitect MuleMessage property mutability & handling

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Bug - A problem which impairs or prevents the functions of the product. MULE-1564 VMLoanBrokerSynchronousFunctionalTestCase logs a warning regarding a null MULE_REMOTE_SYNC property

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
  • Options
    • Show All
    • Show Open

Sub-Tasks

1.
VMRequestorTestCase fails due to message scribbling Sub-task Closed Closed Pablo Kraan
 

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Ross Mason made changes - 05/May/08 11:42 AM
Field Original Value New Value
Priority To be reviewed [ 6 ] Major [ 3 ]
Dirk Olmes made changes - 06/May/08 02:07 AM
Link This issue relates to MULE-3300 [ MULE-3300 ]
Dirk Olmes made changes - 06/May/08 02:08 AM
Link This issue relates to MULE-893 [ MULE-893 ]
Dirk Olmes made changes - 06/May/08 02:09 AM
Link This issue relates to MULE-1564 [ MULE-1564 ]
Andrew Perepelytsya made changes - 06/May/08 11:08 AM
Workflow Copy of Main Mule Workflow [ 59631 ] Fixed Main Mule Workflow (after JIRA upgrade) [ 59649 ]
Daniel Feist made changes - 12/May/08 07:28 PM
Fix Version/s 2.0.x Backlog [ 10352 ]
Andrew Perepelytsya made changes - 15/May/08 10:19 AM
Workflow Fixed Main Mule Workflow (after JIRA upgrade) [ 59649 ] Copy of Main Mule Workflow [ 66446 ]
Andrew Perepelytsya made changes - 15/May/08 10:55 AM
Workflow Copy of Main Mule Workflow [ 66446 ] Fixed Main Mule Workflow (after JIRA upgrade) [ 70087 ]
Travis Carlson made changes - 11/Jun/08 12:55 PM
Priority Major [ 3 ] Critical [ 2 ]
Daniel Feist made changes - 03/Jul/08 02:10 PM
Labels 20-messages
Daniel Feist made changes - 03/Jul/08 02:11 PM
Assignee Ross Mason [ ross ]
Daniel Feist made changes - 10/Jul/08 06:29 AM
Effort points 10
Ross Mason made changes - 03/Sep/08 11:18 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]
Ross Mason made changes - 04/Sep/08 07:17 PM
Resolution Fixed [ 1 ]
Status Closed [ 6 ] Reopened [ 4 ]
Ross Mason made changes - 04/Sep/08 07:17 PM
Priority Critical [ 2 ] Major [ 3 ]
Daniel Feist made changes - 11/Sep/08 01:53 PM
Fix Version/s 2.x Backlog [ 10440 ]
Fix Version/s 2.0.x Backlog [ 10352 ]
Daniel Feist made changes - 12/Nov/08 08:58 PM
Fix Version/s Tech. Debt [ 10572 ]
Fix Version/s 2.x Backlog [ 10440 ]
Daniel Feist made changes - 28/Nov/08 07:27 AM
Labels 20-messages 20-messages 22-techdebt-candidates
Daniel Feist made changes - 12/Dec/08 09:23 AM
Labels 20-messages 22-techdebt-candidates 20-messages
Ross Mason made changes - 10/May/09 05:45 AM
Assignee Ross Mason [ ross ]
Daniel Feist made changes - 22/Dec/09 04:36 AM
Link This issue is blocked by BL-13 [ BL-13 ]

People

  • Assignee:
    Unassigned
    Reporter:
    Ross Mason
Vote (0)
Watch (0)

Dates

  • Created:
    05/May/08 11:36 AM
    Updated:
    22/Dec/09 04:36 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.