Steps to reproduce the problem: 1. Try to launch LibreOffice Impress (via Shortcut, by opening a file, via command line with "libreoffice --impress") 2. An assertion error occurs and 3 lines are written to the terminal: Adding service 'eversmanni' Failed to add _impressremote._tcp service: Not permitted soffice.bin: client.c:626: avahi_client_free: Assertion `client' failed. 3. The application is killed by SIGABRT and crashes with exit code 134. As nothing is written in /var/log files (nor in the systemd journal) I don't know what is "not permitted". Could you give me more information about this? System information: * OS: Arch Linux * CPU: x86_64 * Version: libreoffice-impress 4.2.5-1 (distribution package) * libreoffice --version: LibreOffice 4.2.5.2 420m0(Build:2) * Host name: eversmanni * Avahi daemon running with package version 0.6.31-12
Can't reproduce on LibO: * Version: 4.2.5.2 * Build ID: 61cb170a04bb1f12e77c884eab9192be736ec5f5 * Version: 4.2.6.2 * Build ID: 185f2ce4dcc34af9bd97dec29e6d42c39557298f * Version: 4.3.1.0.0+ * Build ID: 764fdb983d2fd0e24f56db987eba307ae5ae6eea * TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:libreoffice-4-3, Time: 2014-07-24_16:46:54 Tested on Ubuntu 14.04 X86_64 with avahi-daemon 0.6.31 Can you try again with a fresh user profile? https://wiki.documentfoundation.org/UserProfile
I remembered that I changed the default avahi configuration on my machine and once I reverted it back to default the bug disappeared. Then I re-enabled every customization I made and found that this setting in /etc/avahi/avahi-daemon.conf caused the initial bug (libreoffice --impress crashing): disable-publishing=yes When this setting is set, "strace -s256 -f /usr/lib/libreoffice/program/soffice.bin --impress" shows something like: [pid 9294] sendmsg(33, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1g\0\0\0\v\0\0\0\231\0\0\0\1\1o\0\24\0\0\0/Client5/EntryGroup1\0\0\0\0\6\1s\0\25\0\0\0org.freedesktop.Avahi\0\0\0\2\1s\0 \0\0\0org.freedesktop.Avahi.EntryGroup\0\0\0\0\0\0\0\0\3\1s\0\n\0\0\0AddService\0\0\0\0\0\0\10\1g\0\viiussssqaay\0\0\0\0\0\0\0\0", 176}, {"\377\377\377\377\377\377\377\377\0\0\0\0\n\0\0\0nicolaptop\0\0\23\0\0\0_impressremote._tcp\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\6\37\0\0\0\5\0\0\0local\0\0\0\17\0\0\0random=49590626", 103}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 279 [pid 9294] poll([{fd=33, events=POLLIN}], 1, 25000) = 1 ([{fd=33, revents=POLLIN}]) [pid 9294] recvmsg(33, {msg_name(0)=NULL, msg_iov(1)=[{"l\3\1\1\22\0\0\0/\0\0\0^\0\0\0\6\1s\0\5\0\0\0:1.71\0\0\0\4\1s\0'\0\0\0org.freedesktop.Avahi.NotPermittedError\0\5\1u\0\v\0\0\0\10\1g\0\1s\0\0\7\1s\0\5\0\0\0:1.59\0\0\0\r\0\0\0Not permitted\0", 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 130 ... and then displays "Failed to add _impressremote._tcp service: Not permitted", "soffice.bin: client.c:626: avahi_client_free: Assertion `client' failed." and crash with SIGABRT. In short, setting "disable-publishing=yes" in /etc/avahi/avahi-daemon.conf makes LibreOffice Impress crash on start. I successfully reproduced this bug in Debian sid with: * libreoffice-impress Debian package 1:4.2.5-1+b1 * LibreOffice 4.2.5.2 420m0(Build:2) * /usr/lib/libreoffice/program/soffice.bin build ID: 399767a6728b5aa705637242d589ffd5b7b1c412 * avahi-daemon Debian package 0.6.31-4
Created attachment 103601 [details] strace_libreoffice_impress_crash.txt Here is the full output of "strace -s256 -f /usr/lib/libreoffice/program/soffice.bin --impress" on Debian sid when /etc/avahi/avahi-daemon.conf contains "disable-publishing=yes".
This is fixed in 4.3.2 and 4.2.7: https://bugs.freedesktop.org/show_bug.cgi?id=81552 *** This bug has been marked as a duplicate of bug 81552 ***