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

Bug#540428: openoffice.org-common: Soffice.bin seems to be the culprit, and existing session hides the issue



Package: openoffice.org-common
Version: 1:3.1.1-1~bpo50+1
Followup-For: Bug #540428

Hi,

doing some more tests, I found out some more things:

1. if OpenOffice is already running, the problem doesn't appear, in
none of my further tests.

2. Doing some strace on soffice, I pinned point the problem to
soffice.bin, and the following actions:
$ strace -v /usr/lib/openoffice/program/soffice.bin -no-oosplash -writer 'test.odt'
[...]
open("/usr/lib/openoffice/program/../basis-link/program/libpackage2.so", O_RDONLY) = 22
read(22, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\257\0\0004\0\0\0\224"..., 512) = 512
fstat64(22, {st_dev=makedev(8, 7), st_ino=872412, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=720, st_size=360988, st_atime=2009/09/19-10:39:45, st_mtime=2009/09/06-10:04:05, st_ctime=2009/09/19-10:15:04}) = 0
mmap2(NULL, 359904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 22, 0) = 0xb3154000
mmap2(0xb31a9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 22, 0x55) = 0xb31a9000
close(22)                               = 0
write(2, "terminate called after throwing a"..., 48terminate called after throwing an instance of ') = 48
write(2, "com::sun::star::uno::RuntimeExcep"..., 37com::sun::star::uno::RuntimeException) = 37
write(2, "'\n"..., 2'
)                   = 2
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(11285, 11285, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
exit_group(78)                          = ?

The interesting thing is that a direct call of $ strace -v /usr/lib/openoffice/program/soffice.bin 'test.odt'
also leads to the same (faulty) behavior (with or without strace).
Then I looked into /usr/bin/soffice (script!) and found out that it calls different binaries dependent on the -no-oosplash option:
- with -no-oosplash it calls /usr/lib/openoffice/program/soffice.bin
- without it, it calls /usr/lib/openoffice/program/oosplash.bin

And in deed:
$ /usr/lib/openoffice/program/oosplash.bin test.odt
<works!>
$ /usr/lib/openoffice/program/soffice.bin test.odt
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'

I tried then to compare the strace outputs of:
	a. oosplash.bin
	b. soffice.bin while another instance of Oo already runs
	c. soffice.bin without other instance
but I must honestly say that I reached the limits of my knowledge. It
looks different is all I can say ;-)

Hope this helps,
Eric

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-bpo.1-686 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openoffice.org-common depends on:
ii  openoffice.org-style-g 1:3.1.1-1~bpo50+1 full-featured office productivity 

Versions of packages openoffice.org-common recommends:
ii  openoffice.org-style-c 1:3.1.1-1~bpo50+1 full-featured office productivity 
ii  openoffice.org-style-o 1:3.1.1-1~bpo50+1 full-featured office productivity 
ii  openoffice.org-style-t 1:3.1.1-1~bpo50+1 full-featured office productivity 
ii  xfonts-mathml          2                 Type1 Symbol font for MathML

Versions of packages openoffice.org-common suggests:
pn  openoffice.org-style-hicontra <none>     (no description available)
pn  openoffice.org-style-industri <none>     (no description available)

-- no debconf information



Reply to: