- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use PCM Version 1.7.
When the screen display "Alternatively you can try to reset PMU configuration at your own risk. Try to reset? (y/n)", unexpected, I press Ctrl+C, and then it block.
I tracked it. The reason is the function sem_wait(numInstancesSemaphore) (cpucounters.cpp:1269).
When the screen display "Alternatively you can try to reset PMU configuration at your own risk. Try to reset? (y/n)", unexpected, I press Ctrl+C, and then it block.
I tracked it. The reason is the function sem_wait(numInstancesSemaphore) (cpucounters.cpp:1269).
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for reporting this.
We did not expect users pressing Ctrl-C when asked for "y/n". To handle this situation please add these lines into cpucounters.cpp just above this sem_wait call:
We did not expect users pressing Ctrl-C when asked for "y/n". To handle this situation please add these lines into cpucounters.cpp just above this sem_wait call:
[cpp] } #else + int oldValue = -1; + sem_getvalue(numInstancesSemaphore, &oldValue); + if(oldValue == 0) return false; sem_wait(numInstancesSemaphore); int curValue = -1; sem_getvalue(numInstancesSemaphore, &curValue); [/cpp]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ifpcm.x is already blocked, there is a method to restore to a normal state:
1. press Ctrl-Z to send pcm.x into background
2. killall -9 pcm.x
3. rm -rf /dev/shm/sem.Intel*
Roman
1. press Ctrl-Z to send pcm.x into background
2. killall -9 pcm.x
3. rm -rf /dev/shm/sem.Intel*
Roman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok,thanksforyour support.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page