This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/2056] Cannot iterate pmaps


------- Additional Comments From joshua dot i dot stone at intel dot com  2005-12-21 20:37 -------
(In reply to comment #1)
> Created an attachment (id=809)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=809&action=view)
> enable pmap iteration

The patch allows the testcase to build, but it deadlocks when you run it.  The
deadlock is here:

  foreach (i in foo)
          printf("count of foo[%d] = %d\n", i, @count(foo[i]))

This happens because the 'foreach' opens a readlock on foo, and then '@count'
tries to open a writelock.  While this is a valid problem, it may be out of the
scope of this bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joshua dot i dot stone at
                   |                            |intel dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2056

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]