Univention Bugzilla – Bug 43092
italc 3.0 segfault in User::loggedOnUser()
Last modified: 2017-03-21 12:35:58 CET
(gdb) bt #0 0x00007fd078d9ef6b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 <signal handler called> #2 0x0000000000000000 in ?? () #3 0x00007fd07099fa24 in QHostInfo::localDomainName () at kernel/qhostinfo_unix.cpp:345 #4 0x00007fd052c311de in LocalSystem::User::loggedOnUser () at /var/build/temp/tmp.aYCByandhG/pbuilder/italc-2.0.25/lib/src/LocalSystem.cpp:285 #5 0x00007fd052c2bd85 in ItalcVncConnection::handleSecTypeItalc (client=client@entry=0x7fd04c060860) at /var/build/temp/tmp.aYCByandhG/pbuilder/italc-2.0.25/lib/src/ItalcVncConnection.cpp:788 #6 0x00007fd052c2c175 in handleSecTypeItalc (client=client@entry=0x7fd04c060860) at /var/build/temp/tmp.aYCByandhG/pbuilder/italc-2.0.25/lib/src/ItalcVncConnection.cpp:871 #7 0x00007fd052c4f6cb in InitialiseRFBConnection (client=client@entry=0x7fd04c060860) at /var/build/temp/tmp.aYCByandhG/pbuilder/italc-2.0.25/ica/x11/libvncclient/rfbproto.c:1265 #8 0x00007fd052c50d15 in rfbInitConnection (client=0x7fd04c060860) at /var/build/temp/tmp.aYCByandhG/pbuilder/italc-2.0.25/ica/x11/libvncclient/vncviewer.c:253 #9 rfbInitClient (client=0x7fd04c060860, argc=<optimized out>, argv=<optimized out>) at /var/build/temp/tmp.aYCByandhG/pbuilder/italc-2.0.25/ica/x11/libvncclient/vncviewer.c:365 #10 0x00007fd052c2c2fa in ItalcVncConnection::doConnection (this=this@entry=0x7fd04c05e1a0) at /var/build/temp/tmp.aYCByandhG/pbuilder/italc-2.0.25/lib/src/ItalcVncConnection.cpp:571 #11 0x00007fd052c2c628 in ItalcVncConnection::run (this=0x7fd04c05e1a0) at /var/build/temp/tmp.aYCByandhG/pbuilder/italc-2.0.25/lib/src/ItalcVncConnection.cpp:526 #12 0x00007fd075b07d0b in QThreadPrivate::start (arg=0x7fd04c05e1a0) at thread/qthread_unix.cpp:307 #13 0x00007fd078d96b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #14 0x00007fd07824030d in clone () from /lib/x86_64-linux-gnu/libc.so.6
italc/lib/src/LocalSystem.cpp: 285 » QString domainName = QHostInfo::localDomainName();
This happens with libitalc_2.0.25-12.95.201611281345_amd64.deb without the ucs-school-umc-computerroom changes of Bug #43044. This package was installed on a UCS@school slave of one of our customers as test pacakge. So I think we should wait I we get this reported again with the modified ucs-school-umc-computerroom. It might only be a side effect.
We received 5 core dumps with this error.
https://github.com/openwebos/qt/blob/master/src/network/kernel/qhostinfo_unix.cpp#L345
We received 6 other core dumps containing this error.
I added the suggested idea from Tobias, maybe this fixes it. I will provide these test packages for the customer. italc.yaml: r75557 | YAML Bug #43092 italc (2:2.0.25-18): r75556 | Bug #43092: try to prevent segfault by mutex locking
The last batch of packages seem to be successfull. The customer says there were no more issues since the installation of the last test-packages.
OK: code change OK: functional test OK: advisory
UCS@school 4.1 R2 v10 has been released. http://docs.software-univention.de/changelog-ucsschool-4.1R2v10-de.html If this error occurs again, please clone this bug.