You are not logged in.

#1 2014-03-31 17:24:41

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

[SOLVED] Libreoffice Draw does not start.

Hi all, I've got problems to start LibreOffice Draw. I can start other libreoffice software (writer, calc, math,...) but Draw is not starting at all.

Libreoffice version: 4.2.2.1
Gnome Shell: 3.10.4

When I try to start it in my terminal i get this:

$ libreoffice --draw
Xlib:  extension "XINERAMA" missing on display ":0".
avahi_client_new failed.

XINERAMA error seems not important cause all libreoffice software works with that error. I tried to reinstall libreoffice, clear "~/.config/libreoffice", disable Java inside libreoffice... Nothing works.
I found nothing about this avahi error.

Thanks for the help.

Last edited by ChuckDaniels (2014-04-02 18:10:55)


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#2 2014-03-31 17:27:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: [SOLVED] Libreoffice Draw does not start.

Is avahi installed?

Offline

#3 2014-03-31 17:32:04

bdjnk
Member
Registered: 2009-08-24
Posts: 78

Re: [SOLVED] Libreoffice Draw does not start.

I've the same (or a very similar) issue.

$ libreoffice --draw
avahi_client_new failed.

Nothing about a missing extension though.

I do have avahi installed.

# pacman -Ss avahi
extra/avahi 0.6.31-11 [installed]

p.s. A search for libreoffice "avahi_client_new failed" is surprisingly unhelpful.

Last edited by bdjnk (2014-03-31 17:36:23)

Offline

#4 2014-03-31 17:32:36

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: [SOLVED] Libreoffice Draw does not start.

Avahi is installed.


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#5 2014-03-31 17:38:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: [SOLVED] Libreoffice Draw does not start.

Hmm, I get the same error, but the program runs fine anyway. If I start the avahi-daemon service, the error goes away and everything still runs fine. I don't think this is related to avahi.

Anything helpful in your journal?

Last edited by Scimmia (2014-03-31 17:52:22)

Offline

#6 2014-03-31 19:08:56

bdjnk
Member
Registered: 2009-08-24
Posts: 78

Re: [SOLVED] Libreoffice Draw does not start.

# journalctl --since=11:54:00
-- Logs begin at Sat 2013-12-07 18:06:17 PST, end at Mon 2014-03-31 11:54:47 PDT. --
Mar 31 11:54:47 ativarch dbus[253]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
Mar 31 11:54:47 ativarch dbus[253]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory.
Mar 31 11:54:47 ativarch kernel: soffice.bin[7247]: segfault at 8 ip 00007f6f60b6a054 sp 00007fff7222ecf0 error 4 in libsfxlo.so[7f6f60a42000+4e2000]
Mar 31 11:54:47 ativarch systemd-coredump[7257]: Process 7247 (soffice.bin) dumped core.

I'm not sure what this means that I don't have an Avahi service (I don't though, I checked). Seems odd. Further, why the missing service would cause a segfault for some people, and not for others. Very strange.

Offline

#7 2014-03-31 19:28:08

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: [SOLVED] Libreoffice Draw does not start.

My journal WITHOUT avahi-daemon running:

-- Logs begin at sáb 2014-01-11 00:15:57 CET, end at lun 2014-03-31 21:19:28 CEST. --
mar 31 21:19:27 Arch-PC dbus[239]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
mar 31 21:19:27 Arch-PC dbus[239]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
mar 31 21:19:28 Arch-PC dbus[239]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
mar 31 21:19:28 Arch-PC dbus[239]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory.
mar 31 21:19:28 Arch-PC dbus[239]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
mar 31 21:19:28 Arch-PC dbus[239]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory.
mar 31 21:19:28 Arch-PC kernel: soffice.bin[5667]: segfault at 40 ip 00007f66444a8023 sp 00007ffff96c2ea8 error 4 in libcomphelper.so[7f664443e000+162000]

My journal WITH avahi-daemon running:

-- Logs begin at mié 2014-02-05 14:59:41 CET, end at lun 2014-03-31 21:23:06 CEST. --
mar 31 21:22:27 Arch-PC systemd-coredump[7080]: Process 7069 (soffice.bin) dumped core.
mar 31 21:22:51 Arch-PC systemd[1]: systemd-journald.service watchdog timeout!
mar 31 21:22:58 Arch-PC systemd-coredump[7351]: Process 7340 (soffice.bin) dumped core.
mar 31 21:23:40 Arch-PC kernel: soffice.bin[7069]: segfault at 6f83 ip 00007f533f7e3023 sp 00007fffce264a48 error 4 in libcomphelper.so[7f533f779000+162000]
mar 31 21:23:40 Arch-PC systemd[1]: Starting Journal Service...
mar 31 21:23:40 Arch-PC kernel: soffice.bin[7340]: segfault at 6f83 ip 00007fc665b65023 sp 00007fffecb5b268 error 4 in libcomphelper.so[7fc665afb000+162000]
mar 31 21:22:26 Arch-PC dbus[239]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
mar 31 21:22:26 Arch-PC dbus[239]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory.
mar 31 21:22:58 Arch-PC dbus[239]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
mar 31 21:22:58 Arch-PC dbus[239]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such file or directory.
mar 31 21:23:27 Arch-PC dbus[239]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
mar 31 21:23:27 Arch-PC dbus[239]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.

“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#8 2014-03-31 20:16:40

bdjnk
Member
Registered: 2009-08-24
Posts: 78

Re: [SOLVED] Libreoffice Draw does not start.

Curiouser and curiouser.

# avahi-daemon &
$ libreoffice --draw
Adding service 'ativarch'
# journalctl --since=13:11:00
-- Logs begin at Sat 2013-12-07 18:06:17 PST, end at Mon 2014-03-31 13:11:25 PDT. --
Mar 31 13:11:24 ativarch kernel: soffice.bin[9242]: segfault at 8 ip 00007fbc4d192054 sp 00007fffe4a0cff0 error 4 in libsfxlo.so[7fbc4d06a000+4e2000]
Mar 31 13:11:24 ativarch systemd-coredump[9253]: Process 9242 (soffice.bin) dumped core.

edit, in case it wasn't clear:

# cat /etc/hostname 
ativarch

Last edited by bdjnk (2014-03-31 20:39:37)

Offline

#9 2014-04-01 01:15:42

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: [SOLVED] Libreoffice Draw does not start.

Alright, so we know for sure that this is not related to avahi, it's segv'ing either way. This will need reported upstream. They'll ask for a backtrace, so you'll need to rebuild with debugging symbols and run it in gdb; I would do it myself if I could reproduce.

Offline

#10 2014-04-01 11:29:06

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: [SOLVED] Libreoffice Draw does not start.

I'll try to do that bt as soon as possible.


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#11 2014-04-01 11:50:39

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Libreoffice Draw does not start.

Before you go upstream, create a new user and try to start draw while logged in as that new user. There is a good chance that you have some stale configuration file that is causing trouble.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#12 2014-04-01 12:26:31

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: [SOLVED] Libreoffice Draw does not start.

R00KIE wrote:

Before you go upstream, create a new user and try to start draw while logged in as that new user. There is a good chance that you have some stale configuration file that is causing trouble.

No luck.


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#13 2014-04-01 17:45:36

skualito
Member
Registered: 2008-11-19
Posts: 203

Re: [SOLVED] Libreoffice Draw does not start.

ChuckDaniels wrote:

Hi all, I've got problems to start LibreOffice Draw. I can start other libreoffice software (writer, calc, math,...) but Draw is not starting at all.

Libreoffice version: 4.2.2.1

On my system libreoffice is at version 4.2.2-5, it will maybe help to run a 'pacman -Syu'

Offline

#14 2014-04-01 22:44:28

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: [SOLVED] Libreoffice Draw does not start.

Mine is 4.2.2-5 too but language pack is 4.2.2-1 (all except en-US are this version). I've installed en-US package and removed mine, it still doesn't work.


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#15 2014-04-01 23:50:43

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Libreoffice Draw does not start.

libreoffice is fairly broken as a split package and often needs other components to work. Try and install libreoffice-impress and see if that fixes it.

Offline

#16 2014-04-02 00:36:19

bdjnk
Member
Registered: 2009-08-24
Posts: 78

Re: [SOLVED] Libreoffice Draw does not start.

Scimmia wrote:

Alright, so we know for sure that this is not related to avahi, it's segv'ing either way. This will need reported upstream. They'll ask for a backtrace, so you'll need to rebuild with debugging symbols and run it in gdb; I would do it myself if I could reproduce.

I am not actually sure this isn't avahi related. Whether avahi is running or not, either way the output immediately prior to the segfault seems to be generated by AvahiNetworkService.

I've reported it upstream, but not very well (I simply haven't the hours and energy to track down the bug in more detail, especially since draw is not something I need on a daily basis). Please add additional information to the bug report if you've got time.

Regarding the version and split packages. I've got the entire libreoffice group, each package of which is showing version 4.2.2-5; so that should be good.

Regarding the possibility of bad user configuration data. I tested that before initially posting.

Offline

#17 2014-04-02 00:54:07

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Libreoffice Draw does not start.

bdjnk,

I can reproduce your segfault with only draw installed, but it will work with impress installed. It all works if I install the whole group. I'm curious to see how things work with other users.

Offline

#18 2014-04-02 03:09:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: [SOLVED] Libreoffice Draw does not start.

Yep, segv's for me without impress installed.

Offline

#19 2014-04-02 03:34:20

bdjnk
Member
Registered: 2009-08-24
Posts: 78

Re: [SOLVED] Libreoffice Draw does not start.

Just for the fun of it I reinstalled the libreoffice group, which brought in kdelibs for libreoffice-kde4. I had previously excluded it from installation, since I don't use kde. Lo and behold, draw was now working (with and without avahi). I then used -Rs on libreoffice-kde4, tested again, and sure enough, it all seems to have resolved itself. Bizarre stuff.

Offline

#20 2014-04-02 17:51:07

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: [SOLVED] Libreoffice Draw does not start.

I've installed Impress and now Draw is working. Thank you all. big_smile


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#21 2014-04-02 18:10:35

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: [SOLVED] Libreoffice Draw does not start.

Marked as solved wink


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#22 2014-04-02 19:20:51

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: [SOLVED] Libreoffice Draw does not start.

Looks like a hidden dependency to me.

Offline

#23 2014-04-02 19:23:22

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: [SOLVED] Libreoffice Draw does not start.

Should I open a new thread? Or reopen this one? Or something else?


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#24 2014-04-03 03:34:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: [SOLVED] Libreoffice Draw does not start.

A bug report in the Arch bug tracker would be most appropriate.

Offline

#25 2014-04-09 08:15:29

vadmium
Member
Registered: 2010-11-02
Posts: 63

Re: [SOLVED] Libreoffice Draw does not start.

For the record, the bug is FS#39774

Offline

Board footer

Powered by FluxBB