[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#430413: openoffice.org-core: ooqstart fails to fork /usr/lib/openoffice/program/soffice ('Bad address')



Tobias Diedrich wrote:

> |[pid  2728] execve("/usr/lib/openoffice/program/soffice", ["/usr/lib/openoffice/program/soff"..., "-writer", "-splash-pipe=5", umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, umovestr: Input/output error
> |0x4b4b4b4b4b4b4b4b, ...], [/* 52 vars */]) = -1 EFAULT (Bad address)
> |Process 2728 detached
> |--- SIGCHLD (Child exited) @ 0 (0) ---
> |Error forking '/usr/lib/openoffice/program//soffice': 'Failed to execute child process "/usr/lib/openoffice/program/soffice" (Bad address)'
> |Process 2726 detached
> |ranma@melchior:~$ uname -a
> |Linux melchior 2.6.21.3 #25 PREEMPT Fri Jun 1 18:03:58 CEST 2007 x86_64 GNU/Linux
> |ranma@melchior:~$ 
> 
> > > [pid 24017] fcntl(7, F_SETFD, FD_CLOEXEC) = 0
> > > [pid 24017] open("/dev/null", O_RDONLY) = 6
> > > [pid 24017] dup2(6, 0)                  = 0
> > > [pid 24017] close(6)                    = 0
> > > [pid 24017] close(4)                    = 0
> > > [pid 24017] execve("/usr/lib/openoffice/program/soffice", ["/usr/lib/openoffice/program/soff"..., "-writer", "-splash-pipe=5", umovestr: Input/output error


Duh, but still a bug in openoffice:

ranma@melchior:~$ set | grep MALLOC
MALLOC_PERTURB_=11854

If I unset MALLOC_PERTURB_, openoffice behaves fine. So it seems
ooqstart is using uninitialized memory somewhere (and I completely
forgot I had this env variable set).

See also:
http://udrepper.livejournal.com/11429.html

HTH,

-- 
Tobias						PGP: http://9ac7e0bc.uguu.de
このメールは十割再利用されたビットで作られています。




Reply to: