Comments (7)
closing as already fixed
from hyprpicker.
@vaxerski , I'm still getting a SIGSEGV error with the latest code. Cloned the repo and ran make all
to build the binary.
Getting this error:
./build/hyprpicker
fish: Job 1, './build/hyprpicker' terminated by signal SIGSEGV (Address boundary error)
Some debug logs (do let me know if anything else would help):
GDB:
gdb ./build/hyprpicker
GNU gdb (GDB) 13.2
Copyright (C) 2023 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 ./build/hyprpicker...
(gdb) run
Starting program: /home/devansh/Temp/hyprpicker/build/hyprpicker
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) n
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f499d4 in wl_proxy_get_version () from /usr/lib/libwayland-client.so.0
Coredumpctl:
PID: 37147 (hyprpicker)
UID: 1000 (devansh)
GID: 1000 (devansh)
Signal: 11 (SEGV)
Timestamp: Thu 2023-11-23 18:54:16 IST (4min 10s ago)
Command Line: ./build/hyprpicker
Executable: /home/devansh/Temp/hyprpicker/build/hyprpicker
Control Group: /user.slice/user-1000.slice/[email protected]/app.slice/app-konsole-7d7f6a4c402a480e84c39ac96f0e575a.scope
Unit: [email protected]
User Unit: app-konsole-7d7f6a4c402a480e84c39ac96f0e575a.scope
Slice: user-1000.slice
Owner UID: 1000 (devansh)
Boot ID: 260197b5e909474bbc005fe694afec5f
Machine ID: d96bafd23c124394af4d86ced7c59e74
Hostname: arch
Storage: /var/lib/systemd/coredump/core.hyprpicker.1000.260197b5e909474bbc005fe694afec5f.37147.1700745856000000.zst (present)
Size on Disk: 227.1K
Message: Process 37147 (hyprpicker) of user 1000 dumped core.
Stack trace of thread 37147:
#0 0x00007fe54154f9d4 wl_proxy_get_version (libwayland-client.so.0 + 0x79d4)
#1 0x00005559efefe9be n/a (/home/devansh/Temp/hyprpicker/build/hyprpicker + 0x79be)
ELF object binary architecture: AMD x86-64
Running this on Arch Linux KDE Wayland.
from hyprpicker.
can you try from head? b6130e3 fixed this IIRC.
from hyprpicker.
Sorry if this sounds dumb but because I downloaded a pre-built package from the openSUSE build service I don't know how to build this properly or if I'm missing dependencies.
To build the package to be able to answer you question I did the following:
git clone https://github.com/hyprwm/hyprpicker.git
cd hyprpicker
make all
And I got this output:
make clear
make[1]: Entering directory '/media/Almacen/Programas/hyprpicker'
rm -rf build
rm -f *.o *-protocol.h *-protocol.c
make[1]: Leaving directory '/media/Almacen/Programas/hyprpicker'
make protocols
make[1]: Entering directory '/media/Almacen/Programas/hyprpicker'
/usr/bin/wayland-scanner private-code \
protocols/wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
/usr/bin/wayland-scanner client-header \
protocols/wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.h
Package wlroots was not found in the pkg-config search path.
Perhaps you should add the directory containing `wlroots.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wlroots', required by 'virtual:world', not found
cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -I. -DWLR_USE_UNSTABLE -std=c99 -I/usr/include/wayland -c -o wlr-layer-shell-unstable-v1-protocol.o wlr-layer-shell-unstable-v1-protocol.c
/usr/bin/wayland-scanner private-code \
protocols/wlr-screencopy-unstable-v1.xml wlr-screencopy-unstable-v1-protocol.c
/usr/bin/wayland-scanner client-header \
protocols/wlr-screencopy-unstable-v1.xml wlr-screencopy-unstable-v1-protocol.h
Package wlroots was not found in the pkg-config search path.
Perhaps you should add the directory containing `wlroots.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wlroots', required by 'virtual:world', not found
cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -I. -DWLR_USE_UNSTABLE -std=c99 -I/usr/include/wayland -c -o wlr-screencopy-unstable-v1-protocol.o wlr-screencopy-unstable-v1-protocol.c
/usr/bin/wayland-scanner private-code \
/stable/xdg-shell/xdg-shell.xml xdg-shell-protocol.c
Could not open input file: No such file or directory
make[1]: *** [Makefile:40: xdg-shell-protocol.c] Error 1
make[1]: Leaving directory '/media/Almacen/Programas/hyprpicker'
make: *** [Makefile:61: all] Error 2
from hyprpicker.
Package wlroots was not found in the pkg-config search path.
errors are quite clear, missing wlroots
from hyprpicker.
It works, I had to install this deps wlroots-devel wayland-protocols-devel ninja cairo-devel pango-devel libjpeg8-devel Mesa-libGLESv3-devel
but the program was able to build and open. It printed the HEX value of the pixel I selected on the console.
So the problem was that your last commit is still not saved in a new release?
from hyprpicker.
it's after the latest release. Yes.
from hyprpicker.
Related Issues (20)
- I want to adapt it into a library to obtain color information
- Add option for lowercase hex
- Add color preview HOT 2
- Magnifying lens size HOT 2
- Focus windows before picking
- Error building git on Ubuntu 23.10 HOT 2
- Hyprland crashes when I launch hyprpicker HOT 3
- Error while downloading hyprpicker via yay HOT 1
- AUR hyrpricker-git - can not be built - not in chroot not with makepkg HOT 1
- Flatpak? HOT 1
- Add a flag to hide the cursor in hyprpicker HOT 1
- Notifications are no longer blurred HOT 1
- Copy of magnifier stays on screen after moving cursor to another screen
- Fails to build if `wp-cursor-shape-v1-protocol.h` not available HOT 2
- new release? HOT 3
- v0.3.0 fails to build with Clang HOT 2
- Frozen image is lower quality than original screen with fractional scaling HOT 1
- Current nixos package is out of date HOT 1
- [Feature Request] Show hex code below cursor/zoom lens
- Build issue with openGL on ARM64 target HOT 5
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 hyprpicker.