I met same bug with "xvnc4viewer -via target localhost:1".
I tried with DEB_BUILD_OPTIONS=nostrip,debug and get backtrace.
(gdb) bt
#0 0x00130416 in __kernel_vsyscall ()
#1 0x003c5c8f in raise () from /lib/i386-linux-gnu/libc.so.6
#2 0x003c92b5 in abort () from /lib/i386-linux-gnu/libc.so.6
#3 0x003fbdfc in ?? () from /lib/i386-linux-gnu/libc.so.6
#4 0x0047f8d5 in __fortify_fail () from /lib/i386-linux-gnu/libc.so.6
#5 0x0047f887 in __stack_chk_fail () from /lib/i386-linux-gnu/libc.so.6
#6 0x08082f91 in __stack_chk_fail_local ()
#7 0x0807e534 in network::TcpSocket::sameMachine (this=0x80b0e20)
at TcpSocket.cxx:266
#8 0x0805064b in CConn::CConn (this=0xbfffd7e8, dpy_=0x809d648, argc_=4,
argv_=0xbffff314, sock_=0x0, vncServerName=0x809d320 "localhost::5599",
reverse=false, ipVersion=0) at CConn.cxx:119
#9 0x0805a056 in main (argc=4, argv=0xbffff314) at vncviewer.cxx:325
I add
addrlen = sizeof(struct sockaddr_in);
before
getsockname(getFd(), (struct sockaddr *)&myaddr, &addrlen);
in common/network/TcpSocket.cxx, and then
xvnc4viewer -via target localhost:1
works for me.
** Patch added: "TcpSocket.cxx.patch"
https://bugs.launchpad.net/ubuntu/+source/vnc4/+bug/845855/+attachment/2547852/+files/TcpSocket.cxx.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845855
Title:
xvnc4viewer assert failure: *** stack smashing detected ***: vncviewer
terminated
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vnc4/+bug/845855/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs