Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

Error when collect locksandwatis

Zhao__Ethan
Beginner
784 Views

I'm using amplxe-cl to collect locksandwaits on a running process.

/opt/intel/vtune_amplifier/bin64/amplxe-cl -collect locksandwaits -target-pid=9929

I got the error:


amplxe: Warning: The analysis type 'locksandwaits' is deprecated. Use 'threading' analysis type instead. See more details with 'amplxe-cl -help collect threading'.
amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r /data1/sunkaicheng/indigo/brec_indigo_recall/build/r002lw -command stop.
amplxe: Warning: Cannot stop posix timer: __NR_timer_settime() system call returned -1.
amplxe: Collection detached.
amplxe: Collection stopped.
amplxe: Using result path `/data1/sunkaicheng/indigo/brec_indigo_recall/build/r002lw'
amplxe: Executing actions 50 % done
amplxe: Error: 0x40000003 (Unexpected internal error / invalid state) -- locale::facet::_S_create_c_locale name not valid

 

system: ubuntu 16.04

kernal: 4.9.70-040970-generic

CPU: Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz

 

0 Kudos
2 Replies
Zhao__Ethan
Beginner
784 Views

I got the same error when collection threading.

sudo /opt/intel/vtune_amplifier/bin64/amplxe-cl -collect threading -target-pid=27333


amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r /data1/sunkaicheng/indigo/brec_indigo_recall/build/r003tr -command stop.
^Camplxe: Collection detached.
amplxe: Collection stopped.
amplxe: Using result path `/data1/sunkaicheng/indigo/brec_indigo_recall/build/r003tr'
amplxe: Executing actions 50 % done
amplxe: Error: 0x40000003 (Unexpected internal error / invalid state) -- locale::facet::_S_create_c_locale name not valid

 

 

0 Kudos
Vladimir_R_Intel
Employee
784 Views

Hi Ethan,

could you please check your locale settings using 'locale' command?

BR,

Vladimir

0 Kudos
Reply