Comments (7)
The real problem is it doesn't work on Arch anyway.
I successfully built it from source (not using your PKGBUILD or anything, just manually), and you get this:
: CommandLine Error: Option 'no-x86-call-frame-opt' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
[1] 32468 abort (core dumped) ./procmon
from procmon-for-linux.
We are reworking procmon a bit to be able to more easily support new distros. We are well on our way to getting it enabled. Stay tuned.
from procmon-for-linux.
I've tried creating symbolic links but the result is the same (version error):
cd /usr/lib
sudo ln -s libncursesw.so.6.2 libncurses.so.5
sudo ln -s libtinfo.so.6 libtinfo.so.5
sudo ln -s libpanelw.so.6.2 libpanel.so.5
from procmon-for-linux.
I'm getting the same error on Fedora 34.
$ ./procmon
: CommandLine Error: Option 'no-x86-call-frame-opt' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
Build environment:
clang-devel-12.0.0-0.3.rc1
cmake-3.19.7-1
elfutils-libelf-devel-0.183-1
iperf3-3.9-6
llvm-devel-12.0.0-0.1.rc1
ncurses-devel-6.2-4.20200222
sqlite-devel-3.34.1-2
from procmon-for-linux.
Yeah same problem after building it from source. strace log
from procmon-for-linux.
I'm adding backtrace for above problem:
$ sudo procmon
: CommandLine Error: Option 'no-x86-call-frame-opt' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted
$ sudo coredumpctl gdb
PID: 36650 (procmon)
UID: 0 (root)
GID: 0 (root)
Signal: 6 (ABRT)
Timestamp: Sat 2021-05-22 14:22:36 CEST (3min 40s ago)
Command Line: procmon
Executable: /usr/bin/procmon
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (xxx)
Boot ID: 13a246595eee4206a70c0ae9394f1293
Machine ID: da15940e30964d5683cee21811e4b832
Hostname: xxx
Storage: /var/lib/systemd/coredump/core.procmon.0.13a246595eee4206a70c0ae9394f1293.36650.1621686156000000.zst (present)
Disk Size: 1.2M
Message: Process 36650 (procmon) of user 0 dumped core.
Stack trace of thread 36650:
#0 0x00007f7a694bcd22 raise (libc.so.6 + 0x3cd22)
#1 0x00007f7a694a6862 abort (libc.so.6 + 0x26862)
#2 0x0000564f9fb8a324 _ZN4llvm18report_fatal_errorERKNS_5TwineEb (procmon + 0x261f324)
#3 0x0000564f9fb8a449 _ZN4llvm18report_fatal_errorEPKcb (procmon + 0x261f449)
#4 0x0000564f9fb70744 n/a (procmon + 0x2605744)
#5 0x0000564f9fb716fe _ZN4llvm2cl6Option11addArgumentEv (procmon + 0x26066fe)
#6 0x0000564f9da239bd _ZN4llvm24get_thread_affinity_maskEv (procmon + 0x4b89bd)
#7 0x0000564f9fccd07d n/a (procmon + 0x276207d)
#8 0x00007f7a694a7ab1 __libc_start_main (libc.so.6 + 0x27ab1)
#9 0x0000564f9da8d71e _ZN4llvm24get_thread_affinity_maskEv (procmon + 0x52271e)
GNU gdb (GDB) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/procmon...
(No debugging symbols found in /usr/bin/procmon)
[New LWP 36650]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `procmon'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f7a694bcd22 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007f7a694bcd22 in raise () from /usr/lib/libc.so.6
#1 0x00007f7a694a6862 in abort () from /usr/lib/libc.so.6
#2 0x0000564f9fb8a324 in llvm::report_fatal_error(llvm::Twine const&, bool) ()
#3 0x0000564f9fb8a449 in llvm::report_fatal_error(char const*, bool) ()
#4 0x0000564f9fb70744 in ?? ()
#5 0x0000564f9fb716fe in llvm::cl::Option::addArgument() ()
#6 0x0000564f9da239bd in llvm::get_thread_affinity_mask() ()
#7 0x0000564f9fccd07d in ?? ()
#8 0x00007f7a694a7ab1 in __libc_start_main () from /usr/lib/libc.so.6
#9 0x0000564f9da8d71e in llvm::get_thread_affinity_mask() ()
from procmon-for-linux.
Duplicate of #70
from procmon-for-linux.
Related Issues (20)
- Provide a GUI.
- Binary for RHEL based systems HOT 3
- Support additional distros
- Where can I see the file path HOT 4
- Can't see anything on opening HOT 2
- Cmake creating empty folders HOT 2
- Please document which kernel options are needed for procmon to work HOT 6
- Optimize performance and graphics output with latest notcurses HOT 2
- Doesn't seem to work on ubuntu 21.04 HOT 1
- Issue to build/run on Debian 11 due clang library HOT 1
- Segmentation fault after loading procmon Debian 11 HOT 3
- [Makefile:163: all] Error 2 - Debian 10 with cmake 3.14.0 HOT 4
- Can not build on Fedora 35 HOT 4
- ProcMon-for-Linux doesn't work in WSL2 HOT 3
- Build fails with gcc 12
- WSL2 Ubuntu 20.04: Exception is thrown HOT 4
- Procmon for Android HOT 2
- make error HOT 3
- compress backing files
- Build failed whit llvm14 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from procmon-for-linux.