Bug#430413: openoffice.org-core: ooqstart fails to fork /usr/lib/openoffice/program/soffice ('Bad address')
- To: Rene Engelhard <rene@debian.org>
- Subject: Bug#430413: openoffice.org-core: ooqstart fails to fork /usr/lib/openoffice/program/soffice ('Bad address')
- From: Tobias Diedrich <ranma@tdiedrich.de>
- Date: Sat, 13 Oct 2007 23:33:15 +0200
- Message-id: <[🔎] 20071013213315.GA9497@yamamaya.is-a-geek.org>
- Reply-to: Tobias Diedrich <ranma@tdiedrich.de>, 430413@bugs.debian.org
- In-reply-to: <20070625164615.GA2621@yamamaya.is-a-geek.org>
- References: <20070624110758.23966.53003.reportbug@melchior.yamamaya.is-a-geek.org> <20070625142032.GB20287@rene-engelhard.de> <20070625164615.GA2621@yamamaya.is-a-geek.org>
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: