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
zbarcam crashes on ubuntu server #239
Comments
I confirm the same bug on Linux Mint 21. |
I have same issue on (gdb) bt full
#0 0x0000fffff7e31e64 in ___pthread_mutex_lock (mutex=0x98) at ./nptl/pthread_mutex_lock.c:80
type = <optimized out>
__PRETTY_FUNCTION__ = "___pthread_mutex_lock"
id = <optimized out>
#1 0x0000fffff7f6aa58 in zbar_negotiate_format () from /lib/aarch64-linux-gnu/libzbar.so.0
No symbol table info available.
#2 0x0000fffff7f6c894 in zbar_processor_init () from /lib/aarch64-linux-gnu/libzbar.so.0
No symbol table info available.
#3 0x0000aaaaaaaa1ba4 in main (argc=<optimized out>, argv=<optimized out>) at zbarcam/zbarcam.c:307
video_device = 0xaaaaaaaa2a18 ""
dbus = 1
display = 0
infmt = 0
outfmt = 0
i = 4
active = <optimized out> |
Probably related to calling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all,
I was trying to use zbarcam on some notebooks but it crashes.
OS: ubuntu 22.04 lts server & 22.10 server Zbarcam: 0.23.92
I'm using the following command: zbarcam --nodisplay --verbose=3
It gives the following log: https://pastebin.com/pcZcJHUG After v4l2_get_supported_resolutions fails in v4l2_probe_iomode, which leads to a segmentation fault.
I thought I dig into the issue, so I've installed the tools built my own version.
Surprisingly that leads to a different failiure(Probably because I haven't set HAVE_SYS_MMAN_H switch...?), see: https://pastebin.com/Nrd71Ebt
The v4l2_probe_iomode finishes, but doesn't set vdo->iomode so after the probe_iomode finished it defaults to READWRITE, but it still fails.
I've hardcoded the idomode to MMAP and with that it runs just fine. See: https://pastebin.com/0USHcj0h
It also works with USERPTR. (No log saved) Strange that it defaults to READWRITE, which is the only not working option.
So my conclusion is, that there are two issues:
Could you fix this? I can offer some support.
The text was updated successfully, but these errors were encountered: