- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am analyzing a multithreaded application with one main thread and 100 threads-child.
I am trying to get the waitandlocks. when I am running this command line:
./amplxe-cl -collect locksandwaits -target-duration-type=medium -follow-child --target-pid "pid"
I have this error:
amplxe: Error: Assertion '(blocked == tpss_tls_op_err_ok)' failed.[ASSERTION CONTEXT][CONTEXT END]. Please contact the technical support.
amplxe: Error: Assertion 'head.sp >= sp' failed.[ASSERTION CONTEXT]head.sp = 0xfec6c286, sp = 0x7f3e8e7f
[CONTEXT END]. Please contact the technical support.
any ideas to fix it?
Thanks,
Mourad
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> any other way to do locks and waits analysis without to attach the process?
Sure, try the following command:
amplxe-cl -collect locksandwaits -- <path to application executable and its command line>
It'll start your application. Probably that way it won't crash.
Anyway, it would be good to know if crash related to attach mode only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please also tell the result of the following command:
amplxe-cl -collect hotspots -duration 10 -target-pid <PID>
Does it cause this issue or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the hotspots analysis is working well. thanks for your message.
--mb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the hotspots analysis is working well. thanks for your message.
--mb

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »