[Pkg-tigervnc-devel] Bug#932499: tigervnc-standalone-server: does not start in buster on arm64
Bernhard Übelacker
bernhardu at mailbox.org
Sun Jul 21 14:38:16 BST 2019
Dear Maintainer,
this looks like the same issue reported in #923962.
I have reassigned that bug to libunwind8, but that
did not receive an answer yet.
More details in [1].
@Kevin Otte: Could you confirm that you did not set a view-only password?
Because doing so could be a workaround.
Kind regards,
Bernhard
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923962#15
(gdb) bt
#0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x0000ffffb65058e8 in __GI_abort () at abort.c:79
#2 0x0000aaaad98a64dc in OsAbort () at ././unix/xserver/os/utils.c:1350
#3 0x0000aaaad98abc24 in AbortServer () at ././unix/xserver/os/log.c:879
#4 0x0000aaaad98ac984 in FatalError (f=f at entry=0xaaaad98cb890 "Caught signal %d (%s). Server aborting\n") at ././unix/xserver/os/log.c:1017
#5 0x0000aaaad98a38b4 in OsSigHandler (unused=<optimized out>, sip=0xffffca477910, signo=6) at ././unix/xserver/os/osinit.c:156
#6 OsSigHandler (signo=6, sip=0xffffca477910, unused=<optimized out>) at ././unix/xserver/os/osinit.c:110
#7 <signal handler called>
#8 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#9 0x0000ffffb65058e8 in __GI_abort () at abort.c:79
#10 0x0000ffffb67caac4 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:50
#11 0x0000ffffb67c88ac in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:47
#12 0x0000ffffb67c88f8 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:57
#13 0x0000ffffb67c8c10 in __cxxabiv1::__cxa_rethrow () at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:133
#14 0x0000ffffb67caa60 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:80
#15 0x0000ffffb67c88ac in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:47
#16 0x0000ffffb67c88f8 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:57
#17 0x0000ffffb67c8bb0 in __cxxabiv1::__cxa_throw (obj=obj at entry=0xaaab185fb590, tinfo=0xaaaad993adf8 <typeinfo for rdr::Exception>, dest=0xaaaad97fb7e8 <rdr::Exception::~Exception()>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:95
#18 0x0000aaaad98344d4 in rfb::PlainPasswd::PlainPasswd (this=0xffffca478fa0, obfPwd=...) at ./common/rfb/Password.cxx:46
#19 0x0000aaaad9823144 in rfb::VncAuthPasswdParameter::getVncAuthPasswd (this=<optimized out>, password=0xffffca479030, readOnlyPassword=0xffffca479038) at ./common/rfb/SSecurityVncAuth.cxx:149
#20 0x0000aaaad98235a8 in rfb::SSecurityVncAuth::processMsg (this=0xaaab1866a040, sc=<optimized out>) at ./common/rfb/SSecurityVncAuth.cxx:93
#21 0x0000aaaad981b348 in rfb::SConnection::processSecurityMsg (this=0xaaab18668f60) at ./common/rfb/SConnection.cxx:213
#22 0x0000aaaad9827f64 in rfb::VNCSConnectionST::processMessages (this=0xaaab18668f60) at ./common/rfb/VNCSConnectionST.cxx:151
#23 0x0000aaaad9805178 in XserverDesktop::handleSocketEvent (this=this at entry=0xaaab182bbf70, fd=fd at entry=10, sockserv=0xaaab182cdd50, read=read at entry=true, write=write at entry=false) at ././unix/xserver/hw/vnc/XserverDesktop.cc:428
#24 0x0000aaaad980528c in XserverDesktop::handleSocketEvent (this=0xaaab182bbf70, fd=10, read=<optimized out>, write=<optimized out>) at ././unix/xserver/hw/vnc/XserverDesktop.cc:377
#25 0x0000aaaad98a42d8 in ospoll_wait (ospoll=0xaaab182bbb80, timeout=<optimized out>) at ././unix/xserver/os/ospoll.c:651
#26 0x0000aaaad989d090 in WaitForSomething (are_ready=0) at ././unix/xserver/os/WaitFor.c:208
#27 0x0000aaaad9855774 in Dispatch () at ././unix/xserver/dix/dispatch.c:421
#28 0x0000aaaad985aae8 in dix_main (argc=20, argv=0xffffca47a4b8, envp=0xffffca47a560) at ././unix/xserver/dix/main.c:276
#29 0x0000ffffb6505d24 in __libc_start_main (main=0xaaaad9729150 <main>, argc=20, argv=0xffffca47a4b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:308
#30 0x0000aaaad972a9c0 in _start () at /usr/include/c++/8/bits/stl_tree.h:210
-------------- next part --------------
# Buster/stable aarch64 qemu VM 2019-07-21
apt update
apt dist-upgrade
apt install systemd-coredump net-tools openbox xterm gdb tigervnc-standalone-server tigervnc-standalone-server-dbgsym libstdc++6-8-dbg
vncserver :1 -verbose -geometry 1024x600 -depth 16 -fg
vncserver -list
ssh -p2222 -L "127.0.0.1:5901:127.0.0.1:5901" benutzer@$LOCALIP
vncviewer localhost:5901
vncserver -kill :1
##########
benutzer at debian:~$ vncserver :1 -verbose -geometry 1024x600 -depth 16 -fg
You will require a password to access your desktops.
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
/usr/bin/Xtigervnc :1 -desktop debian:1 (benutzer) -auth /home/benutzer/.Xauthority -geometry 1024x600 -depth 16 -rfbwait 30000 -rfbauth /home/benutzer/.vnc/passwd -rfbport 5901 -pn -localhost -SecurityTypes VncAuth
New 'debian:1 (benutzer)' desktop at :1 on machine debian
Starting applications specified in /etc/X11/Xvnc-session
Log file is /home/benutzer/.vnc/debian:1.log
Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/benutzer/.vnc/passwd :1 to connect to the VNC server.
/etc/X11/Xvnc-session
...
vncserver: Failed command '/etc/X11/Xvnc-session': 256!
=================== tail -15 /home/benutzer/.vnc/debian:1.log ===================
terminate called after throwing an instance of 'rdr::Exception'
terminate called recursively
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xtigervnc (OsLookupColor+0x1a8) [0xaaaad98a39d0]
(EE) unw_get_proc_info failed: no unwind info found [-10]
(EE)
(EE)
Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(EE)
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
after 211 requests (210 known processed) with 0 events remaining.
Killing Xtigervnc process ID 3527... which seems to be deadlocked. Using SIGKILL!
Killing Xtigervnc process ID 3527... which seems to be deadlocked. Using SIGKILL!
=================================================================================
Starting applications specified in /etc/X11/Xvnc-session has failed.
Maybe try something simple first, e.g.,
tigervncserver -xstartup /usr/bin/xterm
##########
benutzer at debian:~$ vncserver -list
TigerVNC server sessions:
X DISPLAY # RFB PORT # PROCESS ID
:1 5901 3527
##########
root at debian:/home/benutzer# coredumpctl list
TIME PID UID GID SIG COREFILE EXE
Sun 2019-07-21 14:51:16 CEST 3527 1000 1000 6 present /usr/bin/Xtigervnc
root at debian:~# coredumpctl gdb 3527
PID: 3527 (Xtigervnc)
UID: 1000 (benutzer)
GID: 1000 (benutzer)
Signal: 6 (ABRT)
Timestamp: Sun 2019-07-21 14:51:12 CEST (3min 1s ago)
Command Line: /usr/bin/Xtigervnc :1 -desktop debian:1 (benutzer) -auth /home/benutzer/.Xauthority -geometry 1024x600 -depth 16 -rfbwait 30000 -rfbauth /home/benutzer/.vnc/passwd -rfbport 5901 -pn -localhost -SecurityTypes VncAuth
Executable: /usr/bin/Xtigervnc
Control Group: /user.slice/user-1000.slice/session-4.scope
Unit: session-4.scope
Slice: user-1000.slice
Session: 4
Owner UID: 1000 (benutzer)
Boot ID: 9f331fce44014c59a8585e14cceb092b
Machine ID: b26c6a7c3b16414d8985adaa2301400c
Hostname: debian
Storage: /var/lib/systemd/coredump/core.Xtigervnc.1000.9f331fce44014c59a8585e14cceb092b.3527.1563713472000000.lz4
Message: Process 3527 (Xtigervnc) of user 1000 dumped core.
Stack trace of thread 3527:
#0 0x0000ffffb6517714 raise (libc.so.6)
#1 0x0000ffffb65058e8 abort (libc.so.6)
#2 0x0000aaaad98a64dc OsAbort (Xtigervnc)
#3 0x0000aaaad98abc24 AbortServer (Xtigervnc)
#4 0x0000aaaad98ac984 FatalError (Xtigervnc)
#5 0x0000aaaad98a38b4 n/a (Xtigervnc)
#6 0x0000ffffb713466c n/a (linux-vdso.so.1)
#7 0x0000ffffb713466c n/a (linux-vdso.so.1)
#8 0x0000ffffb65176a4 raise (libc.so.6)
#9 0x0000ffffb5c5a010 n/a (n/a)
GNU gdb (Debian 8.2.1-2) 8.2.1
Copyright (C) 2018 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 "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /usr/bin/Xtigervnc...(no debugging symbols found)...done.
[New LWP 3527]
[New LWP 3541]
[New LWP 3540]
[New LWP 3544]
[New LWP 3547]
[New LWP 3542]
[New LWP 3545]
[New LWP 3543]
[New LWP 3546]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/Xtigervnc :1 -desktop debian:1 (benutzer) -auth /home/benutzer/.Xautho'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0xffffb5c5a010 (LWP 3527))]
(gdb) set width 0
(gdb) set pagination off
(gdb) bt
#0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x0000ffffb65058e8 in __GI_abort () at abort.c:79
#2 0x0000aaaad98a64dc in OsAbort ()
#3 0x0000aaaad98abc24 in AbortServer ()
#4 0x0000aaaad98ac984 in FatalError ()
#5 0x0000aaaad98a38b4 in ?? ()
#6 <signal handler called>
#7 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#8 0x0000ffffb65058e8 in __GI_abort () at abort.c:79
#9 0x0000ffffb67caac4 in __gnu_cxx::__verbose_terminate_handler() () from /lib/aarch64-linux-gnu/libstdc++.so.6
#10 0x0000ffffb67c88ac in ?? () from /lib/aarch64-linux-gnu/libstdc++.so.6
#11 0x0000ffffb67c88f8 in std::terminate() () from /lib/aarch64-linux-gnu/libstdc++.so.6
#12 0x0000ffffb67c8c10 in __cxa_rethrow () from /lib/aarch64-linux-gnu/libstdc++.so.6
#13 0x0000ffffb67caa60 in __gnu_cxx::__verbose_terminate_handler() () from /lib/aarch64-linux-gnu/libstdc++.so.6
#14 0x0000ffffb67c88ac in ?? () from /lib/aarch64-linux-gnu/libstdc++.so.6
#15 0x0000ffffb67c88f8 in std::terminate() () from /lib/aarch64-linux-gnu/libstdc++.so.6
#16 0x0000ffffb67c8bb0 in __cxa_throw () from /lib/aarch64-linux-gnu/libstdc++.so.6
#17 0x0000aaaad98344d4 in rfb::PlainPasswd::PlainPasswd(rfb::ObfuscatedPasswd const&) ()
#18 0x0000aaaad9823144 in rfb::VncAuthPasswdParameter::getVncAuthPasswd(rfb::PlainPasswd*, rfb::PlainPasswd*) ()
#19 0x0000aaaad98235a8 in rfb::SSecurityVncAuth::processMsg(rfb::SConnection*) ()
#20 0x0000aaaad981b348 in rfb::SConnection::processSecurityMsg() ()
#21 0x0000aaaad9827f64 in rfb::VNCSConnectionST::processMessages() ()
#22 0x0000aaaad9805178 in XserverDesktop::handleSocketEvent(int, network::SocketServer*, bool, bool) ()
#23 0x0000aaaad980528c in XserverDesktop::handleSocketEvent(int, bool, bool) ()
#24 0x0000aaaad98a42d8 in ospoll_wait ()
#25 0x0000aaaad989d090 in WaitForSomething ()
#26 0x0000aaaad9855774 in Dispatch ()
#27 0x0000aaaad985aae8 in dix_main ()
#28 0x0000ffffb6505d24 in __libc_start_main (main=0xaaaad9729150 <main>, argc=20, argv=0xffffca47a4b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:308
#29 0x0000aaaad972a9c0 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Core was generated by `/usr/bin/Xtigervnc :1 -desktop debian:1 (benutzer) -auth /home/benutzer/.Xautho'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0xffffb5c5a010 (LWP 3527))]
(gdb) set width 0
(gdb) set pagination off
(gdb) bt
#0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x0000ffffb65058e8 in __GI_abort () at abort.c:79
#2 0x0000aaaad98a64dc in OsAbort () at ././unix/xserver/os/utils.c:1350
#3 0x0000aaaad98abc24 in AbortServer () at ././unix/xserver/os/log.c:879
#4 0x0000aaaad98ac984 in FatalError (f=f at entry=0xaaaad98cb890 "Caught signal %d (%s). Server aborting\n") at ././unix/xserver/os/log.c:1017
#5 0x0000aaaad98a38b4 in OsSigHandler (unused=<optimized out>, sip=0xffffca477910, signo=6) at ././unix/xserver/os/osinit.c:156
#6 OsSigHandler (signo=6, sip=0xffffca477910, unused=<optimized out>) at ././unix/xserver/os/osinit.c:110
#7 <signal handler called>
#8 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#9 0x0000ffffb65058e8 in __GI_abort () at abort.c:79
#10 0x0000ffffb67caac4 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:50
#11 0x0000ffffb67c88ac in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:47
#12 0x0000ffffb67c88f8 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:57
#13 0x0000ffffb67c8c10 in __cxxabiv1::__cxa_rethrow () at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:133
#14 0x0000ffffb67caa60 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:80
#15 0x0000ffffb67c88ac in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:47
#16 0x0000ffffb67c88f8 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:57
#17 0x0000ffffb67c8bb0 in __cxxabiv1::__cxa_throw (obj=obj at entry=0xaaab185fb590, tinfo=0xaaaad993adf8 <typeinfo for rdr::Exception>, dest=0xaaaad97fb7e8 <rdr::Exception::~Exception()>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:95
#18 0x0000aaaad98344d4 in rfb::PlainPasswd::PlainPasswd (this=0xffffca478fa0, obfPwd=...) at ./common/rfb/Password.cxx:46
#19 0x0000aaaad9823144 in rfb::VncAuthPasswdParameter::getVncAuthPasswd (this=<optimized out>, password=0xffffca479030, readOnlyPassword=0xffffca479038) at ./common/rfb/SSecurityVncAuth.cxx:149
#20 0x0000aaaad98235a8 in rfb::SSecurityVncAuth::processMsg (this=0xaaab1866a040, sc=<optimized out>) at ./common/rfb/SSecurityVncAuth.cxx:93
#21 0x0000aaaad981b348 in rfb::SConnection::processSecurityMsg (this=0xaaab18668f60) at ./common/rfb/SConnection.cxx:213
#22 0x0000aaaad9827f64 in rfb::VNCSConnectionST::processMessages (this=0xaaab18668f60) at ./common/rfb/VNCSConnectionST.cxx:151
#23 0x0000aaaad9805178 in XserverDesktop::handleSocketEvent (this=this at entry=0xaaab182bbf70, fd=fd at entry=10, sockserv=0xaaab182cdd50, read=read at entry=true, write=write at entry=false) at ././unix/xserver/hw/vnc/XserverDesktop.cc:428
#24 0x0000aaaad980528c in XserverDesktop::handleSocketEvent (this=0xaaab182bbf70, fd=10, read=<optimized out>, write=<optimized out>) at ././unix/xserver/hw/vnc/XserverDesktop.cc:377
#25 0x0000aaaad98a42d8 in ospoll_wait (ospoll=0xaaab182bbb80, timeout=<optimized out>) at ././unix/xserver/os/ospoll.c:651
#26 0x0000aaaad989d090 in WaitForSomething (are_ready=0) at ././unix/xserver/os/WaitFor.c:208
#27 0x0000aaaad9855774 in Dispatch () at ././unix/xserver/dix/dispatch.c:421
#28 0x0000aaaad985aae8 in dix_main (argc=20, argv=0xffffca47a4b8, envp=0xffffca47a560) at ././unix/xserver/dix/main.c:276
#29 0x0000ffffb6505d24 in __libc_start_main (main=0xaaaad9729150 <main>, argc=20, argv=0xffffca47a4b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:308
#30 0x0000aaaad972a9c0 in _start () at /usr/include/c++/8/bits/stl_tree.h:210
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
set width 0
set pagination off
More information about the Pkg-tigervnc-devel
mailing list