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

Stephan Bergmann <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[email protected]
     Ever Confirmed|0                           |1

--- Comment #3 from Stephan Bergmann <[email protected]> 2012-05-10 02:34:23 
PDT ---
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

cd sthw
mkdir -p /tmp/lmn/$1
cp $1* /tmp/lmn/$1/
cd /tmp/lmn/$1
tar zxvf $1*gz
vi *.c
cd -
cd ..

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.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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