| To: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] pcp updates - qa/628 (aka e_ext_t) fixup |
| From: | Nathan Scott <nathans@xxxxxxxxxx> |
| Date: | Tue, 16 Dec 2014 00:23:41 -0500 (EST) |
| Cc: | PCP <pcp@xxxxxxxxxxx> |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <548E7E9A.30509@xxxxxxxxxxxxxxxx> |
| References: | <548E7E9A.30509@xxxxxxxxxxxxxxxx> |
| Reply-to: | Nathan Scott <nathans@xxxxxxxxxx> |
| Thread-index: | cJ7c/vGlVzIkW6Tum+7dGFks0ytd7w== |
| Thread-topic: | pcp updates - qa/628 (aka e_ext_t) fixup |
----- Original Message ----- > qa/628 has been run 100 times without failure since these changes were made. > > [...] > The e_ext_t struct IS only manipulated within libpcp_pmda, but the > the associated pmdaInterface struct is created outside libpcp_pmda, > and the back pointer ONLY works if the pmdaInterface struct is NOT > moved or relocated. > > For most PMDAs this is not a problem. But pmcd sometimes will shuffle > and array of pmdaInterface structs and sometimes realloc the whole array, > thereby both moving AND relocating the pmdaInterface struct. Bravo. Yes, very good diagnosis and that certainly explains it; ah, these sorts of issues are tough to crack... hats off to you! cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] Help needed with qa/660, Nathan Scott |
|---|---|
| Next by Date: | pcp updates, Ken McDonell |
| Previous by Thread: | pcp updates - qa/628 (aka e_ext_t) fixup, Ken McDonell |
| Next by Thread: | pcp updates: build, qa, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |