Date: Fri, 08 Jan 2021 22:11:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 252534] net/libvncserver - 0.9.12_2 - SIGBUS in rfbClientDesKey with example program Message-ID: <bug-252534-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252534 Bug ID: 252534 Summary: net/libvncserver - 0.9.12_2 - SIGBUS in rfbClientDesKey with example program Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: nc@FreeBSD.org Reporter: will.brokenbourgh2877@gmail.com Flags: maintainer-feedback?(nc@FreeBSD.org) Assignee: nc@FreeBSD.org - FreeBSD 12.2-RELEASE-p1 running on amd64 architecture - libvncserver 0.9.12_2 - binary package installed from 'pkg install' After building and running the SDLvncviewer.c example program at: https://libvnc.github.io/doc/html/_s_d_lvncviewer_8c-example.html I attempted to connect to any TightVNC server running on Windows 7 or 10 and receive the following error (gdb output): (gdb) r Starting program: /usr/home/will/Projects/sdl-vnc-viewer/sdlvncviewer 192.168.0.128 08/01/2021 13:52:51 VNC server supports protocol version 3.8 (viewer 3.8) 08/01/2021 13:52:51 We have 2 security types to read 08/01/2021 13:52:51 0) Received security type 2 08/01/2021 13:52:51 Selecting security type 2 (0/2 in the list) 08/01/2021 13:52:51 1) Received security type 16 08/01/2021 13:52:51 Selected Security Scheme 2 Password:=20 Program received signal SIGBUS, Bus error. 0x000000080026b3e5 in rfbClientDesKey () from /usr/local/lib/libvncclient.s= o.1 (gdb) bt=20=20=20=20=20 #0 0x000000080026b3e5 in rfbClientDesKey () from /usr/local/lib/libvncclient.so.1 #1 0x000000080026afba in rfbClientEncryptBytes () from /usr/local/lib/libvncclient.so.1 #2 0x000000080025c9d9 in ?? () from /usr/local/lib/libvncclient.so.1 #3 0x000000080025b4e8 in InitialiseRFBConnection () from /usr/local/lib/libvncclient.so.1 #4 0x0000000800272bee in rfbInitClient () from /usr/local/lib/libvncclient.so.1 #5 0x0000000000202de1 in main (argc=3D2, argv=3D0x7fffffffda48) at sdlvncviewer.c:446 This appears to be an issue only on FreeBSD as building and running this wo= rks fine on Linux. Build command line was: $ cc -Wall -o sdlvncviewer sdlvncviewer.c -I/usr/local/include -I/usr/inclu= de -I/usr/local/include/SDL2 -L/usr/local/lib -lvncclient -lSDL2 -O0 -g $ cc --version FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin Thank you! :-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252534-7788>