libreoffice draw / impress crash if user service publishing is disabled in avahi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LibreOffice |
Fix Released
|
Critical
|
|||
libreoffice (Debian) |
Fix Released
|
Unknown
|
|||
libreoffice (Ubuntu) |
Fix Released
|
High
|
Björn Michaelsen | ||
Trusty |
Fix Released
|
High
|
Björn Michaelsen | ||
Vivid |
Fix Released
|
High
|
Björn Michaelsen |
Bug Description
[Impact]
* Impress and Draw will not work (Crash) with Avahi enabled, but user/all publishing disabled.
* The fix is basically some check before free, and return earlier if failing.
[Test Case]
* Restart avahi daemon with either disable-
* Patch was also tested with avahi on, making sure it publishes and with avahi just to make sure a new bug was not introduced.
[Regression Potential]
* If a regression occurs it would be avahi specific and should only affect Impress and Draw. It will be less likely to manifest in an outright crash now.
* I was unable to test actually using a remote control. (but the avahi service was published which is the only part my fix touches.
[Other Info]
Avahi is NOT enabled in Upstream LibreOffice builds (so don't try to test them for this bug) although pushing to have source fix included in 4.2.x and 4.3.x anyways
Master Upstream fix (TB4.4): http://
Proposed 4.3: https:/
Proposed 4.2: http://
Both loimpress and lodraw fail to start with an error message related to avahi:
$ loimpress
avahi_entry_
soffice.bin: client.c:626: avahi_client_free: Assertion `client' failed.
$ ps ax | grep avahi
7617 pts/0 S+ 0:00 grep --color=auto avahi
21356 ? S 0:07 avahi-daemon: running [hostname.local]
21380 ? S 0:00 avahi-daemon: chroot helper
This is the backtrace of the crash:
$ cat gdbtrace.log
warning: Currently logging to gdbtrace.log. Turn the logging off and on to make the new setting effective.
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Program received signal SIGABRT, Aborted.
0x00007ffff41f2f79 in __GI_raise (sig=sig@entry=6) at ../nptl/
56 ../nptl/
#0 0x00007ffff41f2f79 in __GI_raise (sig=sig@entry=6) at ../nptl/
#1 0x00007ffff41f6388 in __GI_abort () at abort.c:89
#2 0x00007ffff41ebe36 in __assert_fail_base (fmt=0x7ffff433d718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
#3 0x00007ffff41ebee2 in __GI___assert_fail (assertion=
#4 0x00007fffe95af06b in avahi_client_free () from /usr/lib/
#5 0x00007fffbac7c40c in ?? () from /usr/lib/
#6 0x00007fffbac7c678 in ?? () from /usr/lib/
#7 0x00007fffe95aec2c in ?? () from /usr/lib/
#8 0x00007fffe95af3aa in avahi_client_new () from /usr/lib/
#9 0x00007fffbac7c8a5 in ?? () from /usr/lib/
#10 0x00007fffbac7d195 in ?? () from /usr/lib/
#11 0x00007fffbac7d30b in ?? () from /usr/lib/
#12 0x00007fffbac74756 in ?? () from /usr/lib/
#13 0x00007fffbaa12b9b in ?? () from /usr/lib/
#14 0x00007fffbab83bc0 in sd_component_
This is on trusty.
libreoffice-impress 1:4.2.3~rc3-0ubuntu
description: | updated |
summary: |
- libreoffice draw / impress crash on startup + libreoffice draw / impress crash on startup with avahi errors |
Changed in libreoffice (Debian): | |
status: | Unknown → Fix Released |
Changed in df-libreoffice: | |
importance: | Unknown → Critical |
status: | Unknown → Confirmed |
description: | updated |
description: | updated |
Changed in libreoffice (Ubuntu): | |
assignee: | nobody → Björn Michaelsen (bjoern-michaelsen) |
importance: | Undecided → High |
Changed in df-libreoffice: | |
status: | Confirmed → Fix Released |
Changed in libreoffice (Ubuntu Trusty): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Björn Michaelsen (bjoern-michaelsen) |
tags: | added: regression-release |
Status changed to 'Confirmed' because the bug affects multiple users.