-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGSEGV with max_width/height > 0 with AUR version and no result at all with Git Build #84
Comments
hey, thanks for reporting. Maybe the image you are trying to use doesn't work with opencv. Add the |
Ok, tried it with AUR installed versionNow I get this error instead:
Build from Git masterStill just does nothing. And it does not write anything to the log-file either. |
Hm, I will forget about my build that I did from Git master. There must be something basic broken. However, with the AUR-version, I tried it again the "socket way"; and it's just the same behavior. It works without
I think that error msg is just because the target-instance of ueberzugpp died. At least I get the same message with any invalid socket. That error msg could be enhanced, btw. I also tried the Works:
Does not work:
If only one dimension is set to a value > 0, the image is shown but not scaled down into the bounding box. |
it's fine, use the master version and be sure to make a debug compilation. Once you have this, trigger the segfault and then run |
Again with the
I just realized that with the |
that'd only mean that opencl is not working on your system for some reason.I'd suggest to stick with libvips. |
Hm... I actually doubt that there is a problem with my system. But let's assume there is, then I would still suggest...
I will try the same thing on a VM at work next week. Let's see if it's reproducible on another machine. |
Those messages are there because arch's libvips package is compiled in debug mode. To get a release build install
There's only so much error handling I can do, Can you try again to post the backtrace, but be sure to have the debug symbols installed. The aur package should have built a |
Yup, alright, I did a new build (because of system update), and installed the debug package. When trying first with opencv, the image was successfully shown, also with given
Another try changes the stacktrace:
Strangely, after this happened, when I added |
yeah, it looks ike it's a probem with rocm and opencl. Maybe those opencl errors are messing with your gpu? Nothing I can do about that. Just stay with libvips, I should probably add that to the docs. |
Hm, strange that such an error does not break something else too... AFAIK, OpenCV is not exactly a niche-thing. Anyway, enhancing the docs and explaining about these backends is a good idea for sure. How is that? OpenCV and libvips are two alternatives for the X and Wayland “output methods”? But not for sixel, kitty, iterm2, chafa? No need to answer that here, but a rough overview how these things relate in the readme or some linked, dedicated Markdown file would help users troubleshooting such problems. Maybe some "FAQ" section or something would also be helpful, where problems with certain distros, drivers, and some basic debug-instructions can be collected. BTW, thanks for the cool project and the great idea to provide a drop-in replacement for the old Überzug! The community really has a need for that. 👍 |
yeah, but AMD's opencl implementation has its hiccups. At least it works fine with my 6700XT. Also, thanks for shilling |
Hi!
I'm trying to get ueberzugpp to work on X11. I'm using the Kitty terminal.
I'm on arch and I tried ueberzugpp installed from the AUR and a build from Git master (d4c3a57). Both variants don't succeed but yield different behavior.
After I had installed the AUR version, I had to additionally install the packages
opencv
andopenslide
to get rid of error messages. I built the version from Git after I installed those packages. Maybe that influences the different behavior.Given
max_height
andmax_width
> 0, AUR version SIGSEGVs 🧨Terminal 1
Terminal 2
The image is a RGBA PNG with 8 bit per channel. Nothing special.
Result with AUR version
The AUR-installed version terminates by signal SIGSEGV`.
The log file does not show anything that looks suspicious to me:
Given
max_height
==max_width
== 0, AUR version works 👍With the same as above but feeding
ueberzugpp
withmax_height = 0
andmax_width = 0
, it works with both, the X11 and the kitty output option.Build from Repo is moody 🤢
In both test-cases from above, the build from master just does nothing. Really nothing. Sometimes, it just seems to freeze. Very strange. Killing
ueberzugpp
andtail
does not help. I have to kill the terminal.The logs nicely tells me that
ueberzugpp
receives my SIGINT, but it seems not care about it...Bad luck with the versions I use?
The text was updated successfully, but these errors were encountered: