Build ID: 350m1(Build:202)
On Ubuntu 12.04 Precise Pangolin
Machine: HP Mini 210 netbook
The splash screen gets stuck up (hangs) at the end of the "progress bar". The file does not open.
On killing the splash screen program (oosplash) manually, the file opens.
>ooffice Marks-OS-2012-Ty-Comp-endsem.xls &
# results in hang
>ps -eF|grep splash
>kill -9 10050
# now the file opens
Created attachment 61329 [details]
Created attachment 61330 [details]
Thread 1 waits in popen("sh -c paperconf 2>/dev/null", "r") (PaperInfo::getSystemDefaultPaper in i18nutil/source/utility/paper.cxx). The strace log shows that the "sh -c paperconf" process (pid 6475) spawns a vi instance (pid 6480: execve("/usr/bin/vi", ["vi", "*.c"], ...)) on which it hangs waiting.
This is because you apparently have a /home/abhijit/bin/sh in PATH that contains
mkdir -p /tmp/lmn/$1
cp $1* /tmp/lmn/$1/
tar zxvf $1*gz
Please move that away as a preliminary fix.
(A better fix would be to use an absolute path for "sh" in popen, or change PaperInfo::getSystemDefaultPaper to not use popen at all.)
Just moved the ~/bin/sh file to ~/bin/nosh
Will consider changing the path also.
The problem is solved.
You may close this bug.
Stephan Bergmann committed a patch related to this issue.
It has been pushed to "master":
Fix fdo#49720: Dropped unnecessary "sh -c" from popen call