https://bugs.freedesktop.org/show_bug.cgi?id=81349

--- Comment #2 from Nicolas Iooss <[email protected]> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to