Ask Your Question
0

ps shows [soffice.bin] <defunct> calling V4.4.4.3 oosplash in command line

asked 2015-08-03 06:07:58 +0100

lancecl gravatar image

updated 2015-08-23 19:04:42 +0100

Alex Kemp gravatar image

I install LibreOffice_4.4.4.3_Linux_x86-64 with rpm package and test it using the command line:

/opt/libreoffice/program/oosplash --headless --convert-to pdf --outdir /sysvol /sysvol/1.doc

When I check it by ps -ef, I find sometings like

root 18579 18577 0 01:16 pts/1 00:00:00 [soffice.bin] <defunct>

everytime during converting. This defunct will disappear when its parent (main) process exits. The converting process seems just no problem and output is right. However, when I test the same command line with LibreOffice_4.2.1.1 later, it works well and no defunct found.

How can I solve this problem ? Is it possible to avoid the [soffice.bin] defunct by a different command line? I work on x86_64 Linux, en_US.UTF-8. My question may be related to #53039 which has no answers by now. http://ask.libreoffice.org/en/questio...

edit retag flag offensive close merge delete

Comments

I am trying to find a right way to use LibreOffice 4.4.4.3 in command-line without [soffice.bin] <defunct>. But i am not sure the problem is version-related or just because the wrong command line i used. As 4.2.1.1 works fine, it's not like the a environment-related problem.

lancecl gravatar imagelancecl ( 2015-08-03 12:56:37 +0100 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-08-03 08:11:02 +0100

Alex Kemp gravatar image

oosplash is designed to show the splash screen:-

Starting OpenOffice.org takes a considerable time. Splash screen was created to show the progress, but unfortunately, quite an amount of the time is spent on linking - at that time no splash can be shown, and the user is not sure if the application started or not.

To solve it, we create a small external binary with nearly no dependencies, that shows the splash screen immediately, and then forks (starts) the OOo binary itself. Additionally, if there is an already running OOo instance, the splash will directly pass the parameters through the OSL pipe making the 2nd start extremely fast (because the OOo binary does not have to be started at all).

If you are running Headless, do you actually want the Splash screen at all? According to my KDE installation LO is started from soffice.bin (more accurately, the script linked to soffice.bin).

If any of this helps then please tick the answer (✔).

edit flag offensive delete link more

Comments

Alex, thx for your answer! I don't need Splash screen. Only the converting process itself is what i need actually, even without processing info is acceptable. Between v4.2.1.1 and v4.4.4.3, the [soffice.bin] <defunct> during converting with 4.4.4.3 is the only thing that make me confused. I use "/opt/libreoffice4.4/program/soffice.bin --headless --convert-to pdf --outdir /sysvol /sysvol/1.doc" but the defunct is still there. If i use the command in a wrong way?

lancecl gravatar imagelancecl ( 2015-08-03 12:44:32 +0100 )edit

same issue here as well and I am using LO v4.4 and ps -ef showing lot of [defunct] processes. If I fire new conversion command it just hung. System reboot solves issue for some conversions and again after some conversions same issue persists.

Satishakumar gravatar imageSatishakumar ( 2015-09-29 21:47:28 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-08-03 06:07:58 +0100

Seen: 1,344 times

Last updated: Aug 03 '15